Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: [40dPPC] first ever crash: bus failure in callback from Core Foundation  (Read 988 times)

Udib Gasolbomrek

  • Bay Watcher
    • View Profile

The title describes what happened as best I can figure.  It looks like a null pointer problem, obviously, but I'm not so much in the experience department.  I can't promise that it's your code that had the problem, needless to say, but here's the crash report.

The ??? figures automatically replaced `???` in the report, which amused me, so I left them in.  Spoilers were used for information that seemed likely to be less useful.


Process:         Dwarf Fortress [97181]
Path:            /Applications/Games/Dwarf Fortress 0.28.181.40d/Dwarf Fortress.app/Contents/MacOS/Dwarf Fortress
Identifier:      com.bay12games.dwarffortress
Version:         ??? (1.0)
Code Type:       PPC (Native)
Parent Process:  launchd [91452]

Date/Time:       2008-12-27 03:25:10.367 -0500
OS Version:      Mac OS X 10.5.5 (9F33)
Report Version:  6

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread:  0

Thread 0 Crashed:
0   com.bay12games.dwarffortress     0x001bb364 0x1000 + 1811300
1   com.bay12games.dwarffortress     0x001ac69c 0x1000 + 1750684
2   com.bay12games.dwarffortress     0x0001f24c 0x1000 + 123468
3   com.apple.CoreFoundation         0x900ba9ec CFRunLoopRunSpecific + 2968
4   com.apple.HIToolbox              0x92851d44 RunCurrentEventLoopInMode + 264
5   com.apple.HIToolbox              0x92851b68 ReceiveNextEventCommon + 412
6   com.apple.HIToolbox              0x928afaf4 RunApplicationEventLoop + 148
7   com.bay12games.dwarffortress     0x000221ec 0x1000 + 135660
8   com.bay12games.dwarffortress     0x0002231c 0x1000 + 135964
9   com.bay12games.dwarffortress     0x00001fc0 0x1000 + 4032
10  com.bay12games.dwarffortress     0x00001cc4 0x1000 + 3268

Thread 1:

Spoiler (click to show/hide)


Thread 2:

Spoiler (click to show/hide)


Thread 3:

Spoiler (click to show/hide)


Thread 4:

Spoiler (click to show/hide)


Thread 0 crashed with PPC Thread State 32:
  srr0: 0x001bb364  srr1: 0x0000f030   dar: 0x00000000 dsisr: 0x40000000
    r0: 0x001bb34c    r1: 0xbfffeb50    r2: 0x0a200005    r3: 0x00000000
    r4: 0x00000000    r5: 0x00d7735c    r6: 0x00d77358    r7: 0x00d77354
    r8: 0x006a29fc    r9: 0x0000000e   r10: 0x0000007c   r11: 0x00000086
   r12: 0x00510000   r13: 0x00000000   r14: 0xa0037478   r15: 0x7fffffff
   r16: 0xbfffed08   r17: 0x00510000   r18: 0x005d0e80   r19: 0x00510000
   r20: 0x00510000   r21: 0xbfffebde   r22: 0xbfffebdc   r23: 0xbfffebda
   r24: 0x1934b870   r25: 0x00d77354   r26: 0x00510000   r27: 0x00000086
   r28: 0x0000000e   r29: 0x0000007c   r30: 0x19e096f8   r31: 0x00000000
    cr: 0x24042222   xer: 0x00000004    lr: 0x001bb364   ctr: 0x001abc3c
vrsave: 0x00000000

Binary Images:

Spoiler (click to show/hide)


Logged