Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0004085Dwarf FortressDwarf Mode -- Idle Behaviorpublic2011-02-27 15:582011-03-08 05:12
brian 
Footkerchief 
highcrashalways
resolvedduplicate 
x86 Environment (AMD 64 Proc)Ubuntu10.10
0.31.19 
 
0004085: Crash to desktop--seemingly random but reproducible
A crash occurs less than one minute after loading and playing the save here:
http://dffd.wimbli.com/file.php?id=3864 [^]


Log:

brian@epi:~/df_linux$ ./df
Loading bindings from data/init/interface.txt
New window size: 1440x450
Font size: 18x18
Resizing grid to 80x25
Resizing font to 18x18
Picked font at 15 points for ceiling 18

Resetting textures
Resetting textures
New window size: 1280x1024
Font size: 18x18
Resizing grid to 80x56
Resizing font to 15x15
Picked font at 13 points for ceiling 15

*** glibc detected *** ./libs/Dwarf_Fortress: munmap_chunk(): invalid pointer: 0xb53bb4d8 ***
======= Backtrace: =========
/lib/libc.so.6(+0x6c501)[0x850501]
/lib/libc.so.6(+0x6d77e)[0x85177e]
/usr/lib/nvidia-current/tls/libnvidia-tls.so.260.19.06(+0xa20)[0x671a20]
./libs/Dwarf_Fortress[0x85dc7e3]
======= Memory map: ========
00110000-0023b000 r-xp 00000000 08:05 924374 /home/brian/df_linux/libs/libgraphics.so
0023b000-0023f000 rw-p 0012b000 08:05 924374 /home/brian/df_linux/libs/libgraphics.so
0023f000-0051f000 rw-p 00000000 00:00 0
0051f000-00543000 r-xp 00000000 08:04 4456694 /lib/libm-2.12.1.so
00543000-00544000 r--p 00023000 08:04 4456694 /lib/libm-2.12.1.so
00544000-00545000 rw-p 00024000 08:04 4456694 /lib/libm-2.12.1.so
00545000-0055a000 r-xp 00000000 08:04 4463967 /lib/libpthread-2.12.1.so
0055a000-0055b000 ---p 00015000 08:04 4463967 /lib/libpthread-2.12.1.so
0055b000-0055c000 r--p 00015000 08:04 4463967 /lib/libpthread-2.12.1.so
0055c000-0055d000 rw-p 00016000 08:04 4463967 /lib/libpthread-2.12.1.so
0055d000-0055f000 rw-p 00000000 00:00 0
0055f000-0059e000 r-xp 00000000 08:04 3540057 /usr/lib/libpulse.so.0.12.2
0059e000-0059f000 ---p 0003f000 08:04 3540057 /usr/lib/libpulse.so.0.12.2
0059f000-005a0000 r--p 0003f000 08:04 3540057 /usr/lib/libpulse.so.0.12.2
005a0000-005a1000 rw-p 00040000 08:04 3540057 /usr/lib/libpulse.so.0.12.2
005a1000-005e2000 r-xp 00000000 08:04 3539700 /usr/lib/libgobject-2.0.so.0.2600.1
005e2000-005e3000 r--p 00040000 08:04 3539700 /usr/lib/libgobject-2.0.so.0.2600.1
005e3000-005e4000 rw-p 00041000 08:04 3539700 /usr/lib/libgobject-2.0.so.0.2600.1
005e4000-005e9000 r-xp 00000000 08:04 3542439 /usr/lib/libSDL_ttf-2.0.so.0.6.3
005e9000-005ea000 r--p 00004000 08:04 3542439 /usr/lib/libSDL_ttf-2.0.so.0.6.3
005ea000-005eb000 rw-p 00005000 08:04 3542439 /usr/lib/libSDL_ttf-2.0.so.0.6.3
005eb000-005ec000 r-xp 00000000 08:04 3541755 /usr/lib/libX11-xcb.so.1.0.0
005ec000-005ed000 r--p 00000000 08:04 3541755 /usr/lib/libX11-xcb.so.1.0.0
005ed000-005ee000 rw-p 00001000 08:04 3541755 /usr/lib/libX11-xcb.so.1.0.0
005ef000-005f2000 r-xp 00000000 08:04 3540058 /usr/lib/libpulse-simple.so.0.0.3
005f2000-005f3000 r--p 00002000 08:04 3540058 /usr/lib/libpulse-simple.so.0.0.3
005f3000-005f4000 rw-p 00003000 08:04 3540058 /usr/lib/libpulse-simple.so.0.0.3
005f4000-005ff000 r-xp 00000000 08:04 3542400 /usr/lib/libSDL_image-1.2.so.0.8.2
005ff000-00600000 r--p 0000a000 08:04 3542400 /usr/lib/libSDL_image-1.2.so.0.8.2
00600000-00601000 rw-p 0000b000 08:04 3542400 /usr/lib/libSDL_image-1.2.so.0.8.2
00601000-00611000 rw-p 00000000 00:00 0
00611000-00618000 r-xp 00000000 08:04 4463981 /lib/librt-2.12.1.so
00618000-00619000 r--p 00006000 08:04 4463981 /lib/librt-2.12.1.so
00619000-0061a000 rw-p 00007000 08:04 4463981 /lib/librt-2.12.1.so
0061a000-0062f000 r-xp 00000000 08:04 3541732 /usr/lib/libICE.so.6.3.0
0062f000-00630000 r--p 00014000 08:04 3541732 /usr/lib/libICE.so.6.3.0
00630000-00631000 rw-p 00015000 08:04 3541732 /usr/lib/libICE.so.6.3.0
00631000-00633000 rw-p 00000000 00:00 0
00633000-0063a000 r-xp 00000000 08:04 3541753 /usr/lib/libSM.so.6.0.1
0063a000-0063b000 r--p 00006000 08:04 3541753 /usr/lib/libSM.so.6.0.1
0063b000-0063c000 rw-p 00007000 08:04 3541753 /usr/lib/libSM.so.6.0.1
0063c000-00640000 r-xp 00000000 08:04 3541802 /usr/lib/libXtst.so.6.1.0
00640000-00641000 r--p 00003000 08:04 3541802 /usr/lib/libXtst.so.6.1.0
00641000-00642000 rw-p 00004000 08:04 3541802 /usr/lib/libXtst.so.6.1.0
00642000-00645000 r-xp 00000000 08:04 3542711 /usr/lib/libxcb-atom.so.1.0.0
00645000-00646000 r--p 00002000 08:04 3542711 /usr/lib/libxcb-atom.so.1.0.0
00646000-00647000 rw-p 00003000 08:04 3542711 /usr/lib/libxcb-atom.so.1.0.0
00647000-0065f000 r-xp 00000000 08:04 3542723 /usr/lib/libxcb.so.1.1.0
0065f000-00660000 r--p 00017000 08:04 3542723 /usr/lib/libxcb.so.1.1.0
00660000-00661000 rw-p 00018000 08:04 3542723 /usr/lib/libxcb.so.1.1.0
00661000-0066f000 r-xp 00000000 08:04 3541774 /usr/lib/libXext.so.6.4.0
0066f000-00670000 r--p 0000d000 08:04 3541774 /usr/lib/libXext.so.6.4.0
00670000-00671000 rw-p 0000e000 08:04 3541774 /usr/lib/libXext.so.6.4.0
00671000-00672000 r-xp 00000000 08:04 3809653 /usr/lib/nvidia-current/tls/libnvidia-tls.so.260.19.06
00672000-00673000 rw-p 00000000 08:04 3809653 /usr/lib/nvidia-current/tls/libnvidia-tls.so.260.19.06
00673000-0068d000 r-xp 00000000 08:05 924376 /home/brian/df_linux/libs/libgcc_s.so.1
0068d000-0068e000 rw-p 00019000 08:05 924376 /home/brian/df_linux/libs/libgcc_s.so.1
0068e000-006fb000 r-xp 00000000 08:04 3541723 /usr/lib/libGLU.so.1.3.070900
006fb000-006fc000 ---p 0006d000 08:04 3541723 /usr/lib/libGLU.so.1.3.070900
006fc000-006fd000 r--p 0006d000 08:04 3541723 /usr/lib/libGLU.so.1.3.070900
006fd000-006fe000 rw-p 0006e000 08:04 3541723 /usr/lib/libGLU.so.1.3.070900
006fe000-00700000 r-xp 00000000 08:04 3541784 /usr/lib/libXinerama.so.1.0.0
00700000-00701000 r--p 00001000 08:04 3541784 /usr/lib/libXinerama.so.1.0.0
00701000-00702000 rw-p 00002000 08:04 3541784 /usr/lib/libXinerama.so.1.0.0
00702000-00704000 r-xp 00000000 08:04 3541766 /usr/lib/libXcomposite.so.1.0.0
00704000-00705000 r--p 00001000 08:04 3541766 /usr/lib/libXcomposite.so.1.0.0
00705000-00706000 rw-p 00002000 08:04 3541766 /usr/lib/libXcomposite.so.1.0.0
00707000-007d8000 r-xp 00000000 08:05 924373 /home/brian/df_linux/libs/libstdc++.so.6
007d8000-007dc000 r--p 000d0000 08:05 924373 /home/brian/df_linux/libs/libstdc++.so.6
007dc000-007dd000 rw-p 000d4000 08:05 924373 /home/brian/df_linux/libs/libstdc++.so.6
007dd000-007e4000 rw-p 00000000 00:00 0
007e4000-0093b000 r-xp 00000000 08:04 4456690 /lib/libc-2.12.1.so
0093b000-0093d000 r--p 00157000 08:04 4456690 /lib/libc-2.12.1.so
0093d000-0093e000 rw-p 00159000 08:04 4456690 /lib/libc-2.12.1.so
0093e000-00941000 rw-p 00000000 00:00 0
00941000-00a5a000 r-xp 00000000 08:04 3541757 /usr/lib/libX11.so.6.3.0
00a5a000-00a5b000 r--p 00118000 08:04 3541757 /usr/lib/libX11.so.6.3.0
00a5b000-00a5d000 rw-p 00119000 08:04 3541757 /usr/lib/libX11.so.6.3.0
00a5d000-00a5e000 rw-p 00000000 00:00 0
00a5e000-00a66000 r-xp 00000000 08:04 3541796 /usr/lib/libXrender.so.1.3.0
00a66000-00a67000 r--p 00007000 08:04 3541796 /usr/lib/libXrender.so.1.3.0
00a67000-00a68000 rw-p 00008000 08:04 3541796 /usr/lib/libXrender.so.1.3.0
00a68000-00a74000 r-xp 00000000 08:04 3541782 /usr/lib/libXi.so.6.1.0
00a74000-00a75000 r--p 0000b000 08:04 3541782 /usr/lib/libXi.so.6.1.0
00a75000-00a76000 rw-p 0000c000 08:04 3541782 /usr/lib/libXi.so.6.1.0
00a76000-00a7e000 r-xp 00000000 08:04 3541768 /usr/lib/libXcursor.so.1.0.2
00a7e000-00a7f000 r--p 00007000 08:04 3541768 /usr/lib/libXcursor.so.1.0.2
00a7f000-00a80000 rw-p 00008000 08:04 3541768 /usr/lib/libXcursor.so.1.0.2Aborted
brian@epi:~/df_linux$

Just load the save and wait. I don't know if the crash is system/os dependent.
No tags attached.
duplicate of 0001271resolved Toady One Modding in SHELL body part after world generation results in crash 
Issue History
2011-02-27 15:58brianNew Issue
2011-02-27 17:40FootkerchiefNote Added: 0015550
2011-02-27 19:08brianNote Added: 0015552
2011-02-27 19:39FootkerchiefTag Attached: Save Needs Testing
2011-02-27 20:00DwarfuNote Added: 0015556
2011-02-28 03:10brianNote Added: 0015564
2011-02-28 03:24brianNote Added: 0015565
2011-02-28 07:36InfiltratorNote Added: 0015568
2011-02-28 07:36InfiltratorIssue Monitored: Infiltrator
2011-02-28 07:45InfiltratorNote Edited: 0015568bug_revision_view_page.php?bugnote_id=0015568#r5852
2011-02-28 08:03InfiltratorNote Edited: 0015568bug_revision_view_page.php?bugnote_id=0015568#r5853
2011-02-28 08:06InfiltratorNote Edited: 0015568bug_revision_view_page.php?bugnote_id=0015568#r5854
2011-02-28 08:21FootkerchiefNote Added: 0015571
2011-02-28 08:21FootkerchiefTag Attached: AWAITING UPDATE
2011-02-28 15:32brianNote Added: 0015588
2011-02-28 15:48FootkerchiefNote Added: 0015589
2011-02-28 15:51FootkerchiefNote Edited: 0015589bug_revision_view_page.php?bugnote_id=0015589#r5862
2011-02-28 15:52FootkerchiefRelationship addedduplicate of 0001271
2011-03-05 10:44brianNote Added: 0015767
2011-03-05 10:54FootkerchiefNote Added: 0015768
2011-03-05 10:54FootkerchiefStatusnew => resolved
2011-03-05 10:54FootkerchiefResolutionopen => duplicate
2011-03-05 10:54FootkerchiefAssigned To => Footkerchief
2011-03-05 10:54FootkerchiefTag Detached: AWAITING UPDATE
2011-03-05 10:54FootkerchiefTag Detached: Save Needs Testing
2011-03-08 05:12InfiltratorIssue End Monitor: Infiltrator

Notes
(0015550)
Footkerchief   
2011-02-27 17:40   
Reminder sent to: brian

Is this explained by 0003555? I.e., is there a kobold escaping your map?
(0015552)
brian   
2011-02-27 19:08   
Nah there are no outstanding kill orders. I did get that one earlier but I was able to figure it out.
(0015556)
Dwarfu   
2011-02-27 20:00   
Reminder sent to: brian

You have some remapped tiles, what mod(s) are you using? Does it turn on TrueType? Did you make any changes to the raws in the save file after the world was generated (specifically to creature_subterranean)?

Oddly, there is a goblin pikemaster still on his dead giant cave swallow mount, which is now a skeleton, both being stuck on top of a cedar tree.
(0015564)
brian   
2011-02-28 03:10   
Yeah goblins came in on GCS mounts, which is an abandon-or-tinker situation. I removed their brains to kill them (after homeotherm didn't work like in nuclear catsplosion). I had also tried removing their mountability but I think it turns out that doesn't get checked mid-flight.

You know, maybe this isn't valid. This game started on Windows with a graphics set release like Mayday's (not that one specifically though), then I moved the installed raws ontop of a Linux installation and ran with it there. I wouldn't think there'd be anything specifically wrong with doing that but it certainly isn't the normal case.
(0015565)
brian   
2011-02-28 03:24   
AH found it, using Ironhand. http://www.bay12forums.com/smf/index.php?topic=53180.0 [^]
(0015568)
Infiltrator   
2011-02-28 07:36   
(edited on: 2011-02-28 08:06)
brian, try upgrading your nvidia drivers to the latest version, and then load.

EDIT: nevermind, that won't fix it. I just tried it. Lasted about ten seconds.

What version did you generate this world in?

(0015571)
Footkerchief   
2011-02-28 08:21   
Reminder sent to: brian

Does it still crash if you disable TrueType in init.txt?
(0015588)
brian   
2011-02-28 15:32   
Disabling TrueType didn't stop it from producing the same crash.
(0015589)
Footkerchief   
2011-02-28 15:48   
(edited on: 2011-02-28 15:51)
Yeah goblins came in on GCS mounts, which is an abandon-or-tinker situation. I removed their brains to kill them (after homeotherm didn't work like in nuclear catsplosion). I had also tried removing their mountability but I think it turns out that doesn't get checked mid-flight.

If you removed their brains after generating the world, that is probably the cause of the crash. See Toady's note at 0001271:0008465. Adding the brains back may or may not fix your problem.

(0015767)
brian   
2011-03-05 10:44   
FYI (just for some closure) replacing the brains didn't work, but restoring to the last seasonal did. Thanks for the help.
(0015768)
Footkerchief   
2011-03-05 10:54   
Alright, thanks for the followup! Closure is indeed what we seek.