View Issue Details

IDProjectCategoryView StatusLast Update
0004085Dwarf FortressDwarf Mode -- Idle Behaviorpublic2011-03-08 05:12
Reporterbrian Assigned Touser6 
PriorityhighSeveritycrashReproducibilityalways
Status resolvedResolutionduplicate 
Platformx86 Environment (AMD 64 Proc)OSUbuntuOS Version10.10
Product Version0.31.19 
Summary0004085: Crash to desktop--seemingly random but reproducible
DescriptionA 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$

Steps To ReproduceJust load the save and wait. I don't know if the crash is system/os dependent.
TagsNo tags attached.

Relationships

duplicate of 0001271 resolvedToady One Modding in SHELL body part after world generation results in crash 

Activities

user6

2011-02-27 17:40

  ~0015550

Reminder sent to: brian

Is this explained by 0003555? I.e., is there a kobold escaping your map?

brian

2011-02-27 19:08

reporter   ~0015552

Nah there are no outstanding kill orders. I did get that one earlier but I was able to figure it out.

user11

2011-02-27 20:00

  ~0015556

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.

brian

2011-02-28 03:10

reporter   ~0015564

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.

brian

2011-02-28 03:24

reporter   ~0015565

AH found it, using Ironhand. http://www.bay12forums.com/smf/index.php?topic=53180.0

Infiltrator

2011-02-28 07:36

reporter   ~0015568

Last edited: 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?

user6

2011-02-28 08:21

  ~0015571

Reminder sent to: brian

Does it still crash if you disable TrueType in init.txt?

brian

2011-02-28 15:32

reporter   ~0015588

Disabling TrueType didn't stop it from producing the same crash.

user6

2011-02-28 15:48

  ~0015589

Last edited: 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.

brian

2011-03-05 10:44

reporter   ~0015767

FYI (just for some closure) replacing the brains didn't work, but restoring to the last seasonal did. Thanks for the help.

user6

2011-03-05 10:54

  ~0015768

Alright, thanks for the followup! Closure is indeed what we seek.

Issue History

Date Modified Username Field Change
2011-02-27 15:58 brian New Issue
2011-02-27 17:40 user6 Note Added: 0015550
2011-02-27 19:08 brian Note Added: 0015552
2011-02-27 19:39 user6 Tag Attached: Save Needs Testing
2011-02-27 20:00 user11 Note Added: 0015556
2011-02-28 03:10 brian Note Added: 0015564
2011-02-28 03:24 brian Note Added: 0015565
2011-02-28 07:36 Infiltrator Note Added: 0015568
2011-02-28 07:45 Infiltrator Note Edited: 0015568
2011-02-28 08:03 Infiltrator Note Edited: 0015568
2011-02-28 08:06 Infiltrator Note Edited: 0015568
2011-02-28 08:21 user6 Note Added: 0015571
2011-02-28 08:21 user6 Tag Attached: AWAITING UPDATE
2011-02-28 15:32 brian Note Added: 0015588
2011-02-28 15:48 user6 Note Added: 0015589
2011-02-28 15:51 user6 Note Edited: 0015589
2011-02-28 15:52 user6 Relationship added duplicate of 0001271
2011-03-05 10:44 brian Note Added: 0015767
2011-03-05 10:54 user6 Note Added: 0015768
2011-03-05 10:54 user6 Status new => resolved
2011-03-05 10:54 user6 Resolution open => duplicate
2011-03-05 10:54 user6 Assigned To => user6
2011-03-05 10:54 user6 Tag Detached: AWAITING UPDATE
2011-03-05 10:54 user6 Tag Detached: Save Needs Testing