#3489: Crash while saving a skirmish match
--------------------------------+--------------------
        Reporter:  themac       |       Type:  bug
          Status:  new          |   Priority:  normal
       Milestone:  unspecified  |  Component:  other
         Version:  3.1 beta10   |   Keywords:
      Blocked By:               |   Blocking:
Operating System:  Mac OS 10.7  |
--------------------------------+--------------------
 Note: It was a two player match. I used "autogame on" to let both play via
 AI. The two AI went into allign/team mode (I enabled the option to this)
 and the match was won immediately. I let them play on anyway to see what
 they will do. When I liked to save the match, this error occured:

 Process:         Warzone [63597]
 Path:            /Applications/Warzone 2100 V 3.1 beta
 10.app/Contents/MacOS/Warzone
 Identifier:      net.wz2100.Warzone
 Version:         3.1 Beta 10 [968172d] (11435)
 Code Type:       X86-64 (Native)
 Parent Process:  launchd [242]

 Date/Time:       2012-05-18 13:37:05.409 +0200
 OS Version:      Mac OS X 10.7.4 (11E53)
 Report Version:  9

 Interval Since Last Report:          364877 sec
 Crashes Since Last Report:           7
 Per-App Interval Since Last Report:  62331 sec
 Per-App Crashes Since Last Report:   1
 Anonymous UUID:                      75D4DE3F-454C-4348-8C2E-CAF8624EBE47

 Crashed Thread:  1  Dispatch queue: com.apple.libdispatch-manager

 Exception Type:  EXC_CRASH (SIGSEGV)
 Exception Codes: 0x0000000000000000, 0x0000000000000000

 Application Specific Information:
 objc[63597]: garbage collection is OFF

 Thread 0:: Dispatch queue: com.apple.main-thread
 0   net.wz2100.Warzone                  0x00000001000a9d98 saveGame(char*,
 GAME_TYPE) + 23208
 1   net.wz2100.Warzone                  0x00000001000ee958 gameLoop() +
 2536
 2   net.wz2100.Warzone                  0x00000001000ef850 mainLoop() + 80
 3   net.wz2100.Warzone                  0x00000001001e9308 wzMain3() +
 1256
 4   net.wz2100.Warzone                  0x00000001000f114e realmain(int,
 char**) + 4238
 5   net.wz2100.Warzone                  0x00000001001e8260 -[SDLMain
 applicationDidFinishLaunching:] + 48
 6   com.apple.Foundation                0x00007fff91315d0e
 __-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_1
 + 47
 7   com.apple.CoreFoundation            0x00007fff864917ba
 _CFXNotificationPost + 2634
 8   com.apple.Foundation                0x00007fff91301fc3
 -[NSNotificationCenter postNotificationName:object:userInfo:] + 65
 9   com.apple.AppKit                    0x00007fff88fb94e3 -[NSApplication
 _postDidFinishNotification] + 212
 10  com.apple.AppKit                    0x00007fff88fb9249 -[NSApplication
 _sendFinishLaunchingNotification] + 78
 11  com.apple.AppKit                    0x00007fff88fb7f10
 -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 242
 12  com.apple.AppKit                    0x00007fff88fb7c71
 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] +
 330
 13  com.apple.CoreFoundation            0x00007fff864db541 -[NSObject
 performSelector:withObject:withObject:] + 65
 14  com.apple.Foundation                0x00007fff913387c7
 __-[NSAppleEventManager
 setEventHandler:andSelector:forEventClass:andEventID:]_block_invoke_1 +
 101
 15  com.apple.Foundation                0x00007fff9133774e
 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] +
 283
 16  com.apple.Foundation                0x00007fff913375dc
 _NSAppleEventManagerGenericHandler + 105
 17  com.apple.AE                        0x00007fff9196ac25
 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned char*)
 + 200
 18  com.apple.AE                        0x00007fff9196ab03
 _ZL25dispatchEventAndSendReplyPK6AEDescPS_ + 38
 19  com.apple.AE                        0x00007fff9196a9f7
 aeProcessAppleEvent + 250
 20  com.apple.HIToolbox                 0x00007fff8b177d7d
 AEProcessAppleEvent + 102
 21  com.apple.AppKit                    0x00007fff88fb507d _DPSNextEvent +
 1247
 22  com.apple.AppKit                    0x00007fff88fb4735 -[NSApplication
 nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
 23  com.apple.AppKit                    0x00007fff88fb1071 -[NSApplication
 run] + 470
 24  net.wz2100.Warzone                  0x00000001001e8a90 main + 1808
 25  net.wz2100.Warzone                  0x00000001000040c4 start + 52

 Thread 1 Crashed:: Dispatch queue: com.apple.libdispatch-manager
 0   libsystem_kernel.dylib              0x00007fff853bf7e6 kevent + 10
 1   libdispatch.dylib                   0x00007fff8815978a
 _dispatch_mgr_invoke + 923
 2   libdispatch.dylib                   0x00007fff8815831a
 _dispatch_mgr_thread + 54

 Thread 2:
 0   libsystem_kernel.dylib              0x00007fff853bebca __psynch_cvwait
 + 10
 1   libsystem_c.dylib                   0x00007fff8dc33274
 _pthread_cond_wait + 840
 2   SDL                                 0x0000000101c3552e
 SDL_CondWaitTimeout + 158
 3   SDL                                 0x0000000101c35811
 SDL_SemWaitTimeout + 93
 4   net.wz2100.Warzone                  0x000000010008adf8
 _ZL15fpathThreadFuncPv + 264
 5   SDL                                 0x0000000101c2a31a 0x101c07000 +
 144154
 6   SDL                                 0x0000000101c35967 0x101c07000 +
 190823
 7   libsystem_c.dylib                   0x00007fff8dc2f8bf _pthread_start
 + 335
 8   libsystem_c.dylib                   0x00007fff8dc32b75 thread_start +
 13

 Thread 3:
 0   libsystem_kernel.dylib              0x00007fff853bebca __psynch_cvwait
 + 10
 1   libsystem_c.dylib                   0x00007fff8dc33274
 _pthread_cond_wait + 840
 2   QtScript                            0x00000001018cabe6
 QTWTF::TCMalloc_PageHeap::scavengerThread() + 118
 3   QtScript                            0x00000001018cac29
 QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) + 9
 4   libsystem_c.dylib                   0x00007fff8dc2f8bf _pthread_start
 + 335
 5   libsystem_c.dylib                   0x00007fff8dc32b75 thread_start +
 13

 Thread 4:
 0   libsystem_kernel.dylib              0x00007fff853bebca __psynch_cvwait
 + 10
 1   libsystem_c.dylib                   0x00007fff8dc33274
 _pthread_cond_wait + 840
 2   SDL                                 0x0000000101c3552e
 SDL_CondWaitTimeout + 158
 3   SDL                                 0x0000000101c35811
 SDL_SemWaitTimeout + 93
 4   net.wz2100.Warzone                  0x00000001000f44cd
 _ZL16dangerThreadFuncPv + 61
 5   SDL                                 0x0000000101c2a31a 0x101c07000 +
 144154
 6   SDL                                 0x0000000101c35967 0x101c07000 +
 190823
 7   libsystem_c.dylib                   0x00007fff8dc2f8bf _pthread_start
 + 335
 8   libsystem_c.dylib                   0x00007fff8dc32b75 thread_start +
 13

 Thread 5:: com.apple.audio.IOThread.client
 0   libsystem_kernel.dylib              0x00007fff853bd67a mach_msg_trap +
 10
 1   libsystem_kernel.dylib              0x00007fff853bcd71 mach_msg + 73
 2   com.apple.audio.CoreAudio           0x00007fff8bde4eb3
 HALB_MachPort::SendMessageWithReply(unsigned int, unsigned int, unsigned
 int, unsigned int, mach_msg_header_t*, unsigned int) + 93
 3   com.apple.audio.CoreAudio           0x00007fff8bde4f05
 HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned
 int, int, int&, unsigned int) + 37
 4   com.apple.audio.CoreAudio           0x00007fff8bdde568
 HALC_ProxyIOContext::IOWorkLoop() + 888
 5   com.apple.audio.CoreAudio           0x00007fff8bdde151
 HALC_ProxyIOContext::IOThreadEntry(void*) + 73
 6   com.apple.audio.CoreAudio           0x00007fff8bdde00c
 HALB_IOThread::Entry(void*) + 78
 7   libsystem_c.dylib                   0x00007fff8dc2f8bf _pthread_start
 + 335
 8   libsystem_c.dylib                   0x00007fff8dc32b75 thread_start +
 13

 Thread 6:
 0   libsystem_kernel.dylib              0x00007fff853bf192
 __workq_kernreturn + 10
 1   libsystem_c.dylib                   0x00007fff8dc31594
 _pthread_wqthread + 758
 2   libsystem_c.dylib                   0x00007fff8dc32b85 start_wqthread
 + 13

 Thread 7:
 0   libsystem_kernel.dylib              0x00007fff853bf192
 __workq_kernreturn + 10
 1   libsystem_c.dylib                   0x00007fff8dc31594
 _pthread_wqthread + 758
 2   libsystem_c.dylib                   0x00007fff8dc32b85 start_wqthread
 + 13

 Thread 1 crashed with X86 Thread State (64-bit):
   rax: 0x0000000000000004  rbx: 0x00007fff74fe61a0  rcx:
 0x0000000102acc528  rdx: 0x0000000000000000
   rdi: 0x0000000000000003  rsi: 0x0000000000000000  rbp:
 0x0000000102acc6a0  rsp: 0x0000000102acc528
    r8: 0x0000000000000001   r9: 0x0000000102acc668  r10:
 0x0000000102acc538  r11: 0xffffff80002da8d0
   r12: 0x00007fff74fe5540  r13: 0x0000000000000000  r14:
 0x00007fff74fe6230  r15: 0x0000000102acc668
   rip: 0x00007fff853bf7e6  rfl: 0x0000000000000247  cr2:
 0x0000000119152000
 Logical CPU: 0

-- 
Ticket URL: <http://developer.wz2100.net/ticket/3489>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Warzone2100-project mailing list
Warzone2100-project@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/warzone2100-project

Reply via email to