View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0005575 | Dwarf Fortress | Technical -- General | public | 2012-03-07 17:43 | 2012-03-08 14:18 |
| Reporter | Toksyuryel | Assigned To | Baughn | ||
| Priority | immediate | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | not fixable | ||
| Platform | AMD64 | OS | Gentoo Linux | OS Version | N/A |
| Product Version | 0.34.05 | ||||
| Summary | 0005575: 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 Reproduce | 1.) Attempt to launch the game on a Linux system. 2.) Observe the error message. | ||||
| Tags | No tags attached. | ||||
|
|
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. |
|
|
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? |
|
|
I think fmodex? I'm not sure. |
|
|
Reminder sent to: Baughn Might need some assistance on this one. |
|
|
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? |
|
|
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). |
|
|
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) |
|
|
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. |
|
|
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. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-03-07 17:43 | Toksyuryel | New Issue | |
| 2012-03-07 18:10 |
|
Note Added: 0021244 | |
| 2012-03-07 18:11 |
|
Note Edited: 0021244 | |
| 2012-03-07 18:11 |
|
Tag Attached: AWAITING UPDATE | |
| 2012-03-07 20:31 | Toksyuryel | Note Added: 0021248 | |
| 2012-03-08 06:33 |
|
Note Added: 0021256 | |
| 2012-03-08 06:34 |
|
Tag Detached: AWAITING UPDATE | |
| 2012-03-08 06:34 |
|
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 |