Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: [Mac 38c] Crash on game load, corrupt save?  (Read 753 times)

DrunkenDwarf

  • Escaped Lunatic
    • View Profile
[Mac 38c] Crash on game load, corrupt save?
« on: March 30, 2008, 01:03:00 pm »

First of all, thanks for the kick a** game! You guys rock.

Now for the not so good part... I have a fortress that has been through a number of saves over
the past week or so. Now it decided to crash every time that I try to reload that particular region.
The crash occurs regardless of whether I start it in full screen or windowed mode. It's a shame
since this fortress has been one of my most successful and interesting ones. Anyway, I backed
up the save files in case anyone wants to take a look at them or use them to repro this bug.

Here's the log for your dissection. It looks like the Mac version is missing symbols or something
of the sort since all of the references are just offsets.

Let me know if you need any more information.
--

code:

Host Name:      rivendell
Date/Time:      2008-03-30 13:29:22.324 -0400
OS Version:     10.4.11 (Build 8S2167)
Report Version: 4

Command: Dwarf Fortress
Path:    /Users/dshawley/downloads/Dwarf Fortress 0.27.176.38c/Dwarf Fortress.app/Contents/MacOS/Dwarf Fortress
Parent:  WindowServer [164]

Version: ??? (1.0)

PID:    6130
Thread: 0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000000

Thread 0 Crashed:
0   com.bay12games.dwarffortress      0x0007c5e8 0x1000 + 505320
1   com.bay12games.dwarffortress      0x00096cba 0x1000 + 613562
2   com.bay12games.dwarffortress      0x0009c2ed 0x1000 + 635629
3   com.bay12games.dwarffortress      0x000b3794 0x1000 + 731028
4   com.bay12games.dwarffortress      0x000b2197 0x1000 + 725399
5   com.bay12games.dwarffortress      0x00019090 0x1000 + 98448
6   com.bay12games.dwarffortress      0x00015a9f 0x1000 + 84639
7   com.apple.HIToolbox               0x92e24a4a TimerVector + 31
8   com.apple.CoreFoundation          0x9082d74a CFRunLoopRunSpecific + 3341
9   com.apple.CoreFoundation          0x9082ca36 CFRunLoopRunInMode + 61
10  com.apple.HIToolbox               0x92dec878 RunCurrentEventLoopInMode + 285
11  com.apple.HIToolbox               0x92debf82 ReceiveNextEventCommon + 385
12  com.apple.HIToolbox               0x92e34a74 _AcquireNextEvent + 58
13  com.apple.HIToolbox               0x92e348bc RunApplicationEventLoop + 150
14  com.bay12games.dwarffortress      0x000180af 0x1000 + 94383
15  com.bay12games.dwarffortress      0x000181d8 0x1000 + 94680
16  com.bay12games.dwarffortress      0x000021de 0x1000 + 4574
17  com.bay12games.dwarffortress      0x00002105 0x1000 + 4357

Thread 1:
0   libSystem.B.dylib                 0x90009cd7 mach_msg_trap + 7
1   com.apple.CoreFoundation          0x9082d21b CFRunLoopRunSpecific + 2014
2   com.apple.CoreFoundation          0x9082ca36 CFRunLoopRunInMode + 61
3   com.apple.audio.CoreAudio         0x91469356 HALRunLoop::OwnThread(void*) + 158
4   com.apple.audio.CoreAudio         0x91469171 CAPThread::Entry(CAPThread*) + 93
5   libSystem.B.dylib                 0x90024227 _pthread_body + 84

Thread 2:
0   libSystem.B.dylib                 0x90047dd7 semaphore_timedwait_signal_trap + 7
1   com.apple.audio.CoreAudio         0x914765a4 CAGuard::WaitFor(unsigned long long) + 212
2   com.apple.audio.CoreAudio         0x914764c6 CAGuard::WaitUntil(unsigned long long) + 66
3   com.apple.audio.CoreAudio         0x91474e42 HP_IOThread::WorkLoop() + 690
4   com.apple.audio.CoreAudio         0x91474b8b HP_IOThread::ThreadEntry(HP_IOThread*) + 17
5   com.apple.audio.CoreAudio         0x91469171 CAPThread::Entry(CAPThread*) + 93
6   libSystem.B.dylib                 0x90024227 _pthread_body + 84

Thread 3:
0   libSystem.B.dylib                 0x90037b57 mach_wait_until + 7
1   com.bay12games.dwarffortress      0x00390c89 0x1000 + 3734665
2   com.bay12games.dwarffortress      0x003903c8 0x1000 + 3732424
3   ...ple.CoreServices.CarbonCore    0x90cb8c68 PrivateMPEntryPoint + 51
4   libSystem.B.dylib                 0x90024227 _pthread_body + 84

Thread 0 crashed with X86 Thread State (32-bit):
 eax: 0x11042400  ebx: 0xbfffedbc  ecx: 0x00000000  edx: 0x0000c270
 edi: 0x0068de74  esi: 0x00000000  ebp: 0xbfffecb8  esp: 0xbfffec90
  ss: 0x0000001f  efl: 0x00010286  eip: 0x0007c5e8   cs: 0x00000017
  ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037

Binary Images Description:
   0x1000 -   0x486fff com.bay12games.dwarffortress ??? (1.0)   /Users/dshawley/downloads/Dwarf Fortress 0.27.176.38c/Dwarf Fortress.app/Contents/MacOS/Dwarf Fortress
 0xf78000 -   0xf94fff GLDriver    /System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLDriver.bundle/GLDriver
 0xf9b000 -   0xfbffff GLRendererFloat    /System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLRendererFloat.bundle/GLRendererFloat
0x1a05000 -  0x1b5efff GLEngine    /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine
0x1b8a000 -  0x1d78fff com.apple.ATIRadeonX1000GLDriver 1.4.56 (4.5.6)   /System/Library/Extensions/ATIRadeonX1000GLDriver.bundle/Contents/MacOS/ATIRadeonX1000GLDriver
0xcfed000 -  0xd016fff com.apple.audio.SoundManager.Components 3.9.2   /System/Library/Components/SoundManagerComponents.component/Contents/MacOS/SoundManagerComponents
0xd0f9000 -  0xd0fefff com.apple.audio.AppleHDAHALPlugIn 1.3.7 (1.3.7a23)   /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn
0xd102000 -  0xd13efff com.apple.QuickTimeFireWireDV.component 7.4.1 (14)   /System/Library/QuickTime/QuickTimeFireWireDV.component/Contents/MacOS/QuickTimeFireWireDV
0x8fe00000 - 0x8fe4afff dyld 46.16   /usr/lib/dyld
0x90000000 - 0x90171fff libSystem.B.dylib    /usr/lib/libSystem.B.dylib
0x901c1000 - 0x901c3fff libmathCommon.A.dylib    /usr/lib/system/libmathCommon.A.dylib
0x901c5000 - 0x90202fff com.apple.CoreText 1.1.3 (???)   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText
0x90229000 - 0x902fffff ATS    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x9031f000 - 0x90774fff com.apple.CoreGraphics 1.258.77 (???)   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x9080b000 - 0x908d3fff com.apple.CoreFoundation 6.4.10 (368.33)   /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x90911000 - 0x90911fff com.apple.CoreServices 10.4 (???)   /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x90913000 - 0x90a07fff libicucore.A.dylib    /usr/lib/libicucore.A.dylib
0x90a57000 - 0x90ad6fff libobjc.A.dylib    /usr/lib/libobjc.A.dylib
0x90aff000 - 0x90b63fff libstdc++.6.dylib    /usr/lib/libstdc++.6.dylib
0x90bd2000 - 0x90bd9fff libgcc_s.1.dylib    /usr/lib/libgcc_s.1.dylib
0x90bde000 - 0x90c51fff com.apple.framework.IOKit 1.4.8 (???)   /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90c66000 - 0x90c78fff libauto.dylib    /usr/lib/libauto.dylib
0x90c7e000 - 0x90f24fff com.apple.CoreServices.CarbonCore 682.28   /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x90f67000 - 0x90fcffff com.apple.CoreServices.OSServices 4.1   /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x91008000 - 0x91047fff com.apple.CFNetwork 129.22 (129.23)   /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x9105a000 - 0x9106afff com.apple.WebServices 1.1.3 (1.1.0)   /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServicesCore.framework/Versions/A/WebServicesCore
0x91075000 - 0x910f4fff com.apple.SearchKit 1.0.7   /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x9112e000 - 0x9114cfff com.apple.Metadata 10.4.4 (121.36)   /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x91158000 - 0x91166fff libz.1.dylib    /usr/lib/libz.1.dylib
0x91169000 - 0x91308fff com.apple.security 4.5.2 (29774)   /System/Library/Frameworks/Security.framework/Versions/A/Security
0x91406000 - 0x9140efff com.apple.DiskArbitration 2.1.2   /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x91415000 - 0x9141cfff libbsm.dylib    /usr/lib/libbsm.dylib
0x91420000 - 0x91446fff com.apple.SystemConfiguration 1.8.6   /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x91458000 - 0x914cefff com.apple.audio.CoreAudio 3.0.5   /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x9151f000 - 0x9151ffff com.apple.ApplicationServices 10.4 (???)   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x91521000 - 0x9154cfff com.apple.AE 314 (313)   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x9155f000 - 0x91633fff com.apple.ColorSync 4.4.10   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0x9166e000 - 0x916ebfff com.apple.print.framework.PrintCore 4.6 (177.13)   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x91718000 - 0x917c1fff com.apple.QD 3.10.25 (???)   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x917e7000 - 0x91832fff com.apple.HIServices 1.5.2 (???)   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x91851000 - 0x91867fff com.apple.LangAnalysis 1.6.3   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x91873000 - 0x9188dfff com.apple.FindByContent 1.5   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/FindByContent.framework/Versions/A/FindByContent
0x91897000 - 0x918d4fff com.apple.LaunchServices 182   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x918e8000 - 0x918f4fff com.apple.speech.synthesis.framework 3.5   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x918fb000 - 0x9193bfff com.apple.ImageIO.framework 1.5.6   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x9194e000 - 0x91a00fff libcrypto.0.9.7.dylib    /usr/lib/libcrypto.0.9.7.dylib
0x91a46000 - 0x91a5cfff libcups.2.dylib    /usr/lib/libcups.2.dylib
0x91a61000 - 0x91a7ffff libJPEG.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x91a84000 - 0x91ae3fff libJP2.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x91af5000 - 0x91af9fff libGIF.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x91afb000 - 0x91b83fff libRaw.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRaw.dylib
0x91b87000 - 0x91bc4fff libTIFF.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x91bca000 - 0x91be4fff libPng.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x91be9000 - 0x91bebfff libRadiance.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x91bed000 - 0x91ccbfff libxml2.2.dylib    /usr/lib/libxml2.2.dylib
0x91ce8000 - 0x91ce8fff com.apple.Accelerate 1.3.1 (Accelerate 1.3.1)   /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x91cea000 - 0x91d78fff com.apple.vImage 2.5   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x91d7f000 - 0x91d7ffff com.apple.Accelerate.vecLib 3.3.1 (vecLib 3.3.1)   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
0x91d81000 - 0x91ddafff libvMisc.dylib    /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x91de3000 - 0x91e07fff libvDSP.dylib    /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x91e0f000 - 0x92218fff libBLAS.dylib    /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x92252000 - 0x92606fff libLAPACK.dylib    /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x92633000 - 0x92720fff libiconv.2.dylib    /usr/lib/libiconv.2.dylib
0x92722000 - 0x927a0fff com.apple.DesktopServices 1.3.7   /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x927e1000 - 0x92a11fff com.apple.Foundation 6.4.10 (567.37)   /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x92b2b000 - 0x92b42fff libGL.dylib    /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x92b4d000 - 0x92ba5fff libGLU.dylib    /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x92bb9000 - 0x92bb9fff com.apple.Carbon 10.4 (???)   /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x92bbb000 - 0x92bcbfff com.apple.ImageCapture 3.0.4   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
0x92bd9000 - 0x92be1fff com.apple.speech.recognition.framework 3.6   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
0x92be7000 - 0x92becfff com.apple.securityhi 2.0.1 (24742)   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
0x92bf2000 - 0x92c83fff com.apple.ink.framework 101.2.1 (71)   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
0x92c97000 - 0x92c9afff com.apple.help 1.0.3 (32.1)   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
0x92c9d000 - 0x92cbafff com.apple.openscripting 1.2.5 (???)   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0x92cca000 - 0x92cd0fff com.apple.print.framework.Print 5.1 (192.3)   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
0x92cd6000 - 0x92d39fff com.apple.htmlrendering 66.1 (1.1.3)   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering
0x92d5d000 - 0x92d9efff com.apple.NavigationServices 3.4.4 (3.4.3)   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices
0x92dc5000 - 0x92dd2fff com.apple.audio.SoundManager 3.9.1   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound
0x92dd9000 - 0x92ddefff com.apple.CommonPanels 1.2.3 (73)   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
0x92de3000 - 0x930d8fff com.apple.HIToolbox 1.4.10 (???)   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x931de000 - 0x931e9fff com.apple.opengl 1.4.16   /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x93d66000 - 0x93e1ffff com.apple.audio.toolbox.AudioToolbox 1.4.7   /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x93e62000 - 0x93e62fff com.apple.audio.units.AudioUnit 1.4.2   /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x93e64000 - 0x94025fff com.apple.QuartzCore 1.4.12   /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x940b4000 - 0x940eefff libGLImage.dylib    /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
0x940f3000 - 0x94109fff com.apple.CoreVideo 1.4.2   /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x9429a000 - 0x942a9fff libCGATS.A.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x942b0000 - 0x942bbfff libCSync.A.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x94307000 - 0x94321fff libRIP.A.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x94327000 - 0x9463efff com.apple.QuickTime 7.4.1 (14)   /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x97505000 - 0x975dcfff libGLProgrammability.dylib    /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib
0x975f7000 - 0x975f8fff libGLSystem.dylib    /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLSystem.dylib
0x975fa000 - 0x975fffff com.apple.agl 2.5.9 (AGL-2.5.9)   /System/Library/Frameworks/AGL.framework/Versions/A/AGL


[ March 30, 2008: Message edited by: DrunkenDwarf ]

Logged

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: [Mac 38c] Crash on game load, corrupt save?
« Reply #1 on: March 31, 2008, 09:06:00 pm »

I usually can't do much for load crashes, but I can take a look at it.  It's not the normal load crash message, anyway.  I'll need the region folder in some kind of zip/rar/7z, and any new objects that were added to the raw folder.  If it's less than 20 megs, you can send it to toadyone@bay12games.com.  You can also try The Dwarf Fortress File Depot which has a special section for bugged saves.
Logged
The Toad, a Natural Resource:  Preserve yours today!