View Issue Details

IDProjectCategoryView StatusLast Update
0005575Dwarf FortressTechnical -- Generalpublic2012-03-08 14:18
ReporterToksyuryel Assigned ToBaughn  
PriorityimmediateSeveritycrashReproducibilityalways
Status closedResolutionnot fixable 
PlatformAMD64OSGentoo LinuxOS VersionN/A
Product Version0.34.05 
Summary0005575: Assertion failed when attempting to launch the game under Linux
Description$ ./df $? 134 17:41:54
Sound devices available:
ALSA Default
No Output
Picking ALSA Default. If your desired device was missing, make sure you have the appropriate 32-bit libraries installed. If you wanted a different device, configure ~/.openalrc appropriately.
Perfect OpenAL context attributes GET
Loading bindings from data/init/interface.txt
Dwarf_Fortress: sndfile.c:312: sf_open: Assertion `sizeof (sf_count_t) == 8' failed.
./df: line 6: 7965 Aborted ./libs/Dwarf_Fortress $*
$
Steps To Reproduce1.) Attempt to launch the game on a Linux system.
2.) Observe the error message.
TagsNo tags attached.

Activities

user6

2012-03-07 18:10

  ~0021244

Last edited: 2012-03-07 18:11

Most Linux systems do not experience this problem. If your system is 64-bit, I think you may need 32-bit versions of the sound libraries. Let us know if that fixes the problem.

Toksyuryel

2012-03-07 20:31

reporter   ~0021248

I run a full multilib system, I have 32-bit versions of everything. Which sound libraries does DF use, maybe I simply don't have them installed to begin with?

user6

2012-03-08 06:33

  ~0021256

I think fmodex? I'm not sure.

user6

2012-03-08 06:34

  ~0021257

Reminder sent to: Baughn

Might need some assistance on this one.

plynxis

2012-03-08 07:52

reporter   ~0021259

maybe this thread is related:
http://www.bay12forums.com/smf/index.php?topic=62159.0

with that issue, you had to make hardlinks to the libraries in the /lib directory under the names expected by df - maybe that can help here?

krenshala

2012-03-08 11:04

reporter   ~0021267

Last edited: 2012-03-08 11:05

I haven't had a chance to try 34.05 yet, but I'm also running 64bit Gentoo on an AMD system. I will check this when I get home from work this evening (approx 5 hrs).

Baughn

2012-03-08 11:09

manager   ~0021268

Last edited: 2012-03-08 11:10

That assertion failure implies a version mismatch between the installed libsndfile and the one DF was compiled against; it is unfortunately not wholly compatible.

You should be able to play if you turn sound off in init.txt, but it'd be nice to map this out (and I'll put a check in for next version).

For reference, mine is /usr/lib/libsndfile.so.1.0.25. Which do you have?

(On a 64-bit system, it'll be /usr/lib32)

Toksyuryel

2012-03-08 12:38

reporter   ~0021270

Last edited: 2012-03-08 12:42

Mine appears to be /usr/lib32/libsndfile.so.1.0.25
Looks like we have the same version, so that should make things easier!
And you are correct, turning sound off allows the game to launch with no problems- thanks!

Since there's a functional workaround, the priority can probably be dropped down to high or medium. I'd do it myself but I can't seem to locate how, if I'm able to do so at all.

Baughn

2012-03-08 14:18

manager   ~0021271

Last edited: 2012-03-08 14:19

Actually, this is an outright bug in your distro; the assertion failure is from a sanity check testing whether compilation worked or not.

It apparently didn't.

As it is, your copy of libsndfile cannot possibly work with *any* application. You should file a bug against the distro.

Issue History

Date Modified Username Field Change
2012-03-07 17:43 Toksyuryel New Issue
2012-03-07 18:10 user6 Note Added: 0021244
2012-03-07 18:11 user6 Note Edited: 0021244
2012-03-07 18:11 user6 Tag Attached: AWAITING UPDATE
2012-03-07 20:31 Toksyuryel Note Added: 0021248
2012-03-08 06:33 user6 Note Added: 0021256
2012-03-08 06:34 user6 Tag Detached: AWAITING UPDATE
2012-03-08 06:34 user6 Note Added: 0021257
2012-03-08 07:52 plynxis Note Added: 0021259
2012-03-08 11:04 krenshala Note Added: 0021267
2012-03-08 11:05 krenshala Note Edited: 0021267
2012-03-08 11:09 Baughn Note Added: 0021268
2012-03-08 11:10 Baughn Note Edited: 0021268
2012-03-08 12:04 Baughn Status new => assigned
2012-03-08 12:04 Baughn Assigned To => Baughn
2012-03-08 12:38 Toksyuryel Note Added: 0021270
2012-03-08 12:42 Toksyuryel Note Edited: 0021270
2012-03-08 14:18 Baughn Note Added: 0021271
2012-03-08 14:18 Baughn Status assigned => closed
2012-03-08 14:18 Baughn Resolution open => not fixable
2012-03-08 14:19 Baughn Note Edited: 0021271