Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0002732Dwarf FortressMiscellaneous Crashespublic2010-07-17 14:312010-08-10 00:09
Hagenbart 
Baughn 
normalcrashalways
resolvedfixed 
Linux
0.31.10 
0.31.11 
0002732: Crash when using [PRINT_MODE:TEXT]
If using [PRINT_MODE:TEXT], DF crashes right after launch, giving the the message "Symbol not found: waddnstrw".

In 0.31.08 the text-mode worked well, in .10 not at all, I didn't try .09.
(There's a similar issue with the sound library... Maybe wrong compiler options?)
No tags attached.
Issue History
2010-07-17 14:31HagenbartNew Issue
2010-07-17 15:00DawideNote Added: 0010511
2010-07-17 15:00DawideIssue Monitored: Dawide
2010-07-17 15:22HagenbartNote Added: 0010515
2010-07-17 15:30DawideIssue End Monitor: Dawide
2010-07-18 02:02FootkerchiefIssue Monitored: Baughn
2010-07-18 02:02FootkerchiefNote Added: 0010548
2010-07-18 02:02FootkerchiefTag Attached: AWAITING UPDATE
2010-07-18 05:03BaughnNote Added: 0010555
2010-07-18 06:56oliverNote Added: 0010557
2010-07-18 06:57oliverNote Edited: 0010557bug_revision_view_page.php?bugnote_id=0010557#r4099
2010-07-18 11:08BaughnNote Added: 0010583
2010-07-18 11:09BaughnStatusnew => resolved
2010-07-18 11:09BaughnFixed in Version => 0.31.11
2010-07-18 11:09BaughnResolutionopen => fixed
2010-07-18 11:09BaughnAssigned To => Baughn
2010-08-10 00:09DwarfuTag Detached: AWAITING UPDATE

Notes
(0010511)
Dawide   
2010-07-17 15:00   
Try to install the library: libncursesw5-dev
(0010515)
Hagenbart   
2010-07-17 15:22   
Thanks, text mode is now working after installing libncursesw5-dev.
I'm still wondering why DF needs the (static library?)-stuff out of -dev, where previously the normal shared libncursesw5 was enough.
(0010548)
Footkerchief   
2010-07-18 02:02   
Reminder sent to: Baughn

Hey Baughn, I'm not sure this differs substantially from 0002056 but you may want to take a look.
(0010555)
Baughn   
2010-07-18 05:03   
It shouldn't need -dev, actually.

I wonder why. Any chance you could attach the output of dpkg -L for the two packages?
(0010557)
oliver   
2010-07-18 06:56   
(edited on: 2010-07-18 06:57)
On my ubuntu system, the base package provides libncursesw.so.5 (which is the name that everything is linked against); the -dev package adds a symlink from libncursesw.so to libncursesw.so.5 (presumably so "-lncursesw" does the right thing)

DF is dlopen()ing "libncursesw.so", which is going to fail without the symlink from -dev.

(0010583)
Baughn   
2010-07-18 11:08   
I see. I'd like to say "the symlink is /in the wrong package/", but..

Right. I'll make sure to check both.