game consistently segfaulting

Bug #1499259 reported by xzcvczx
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Invalid
Undecided
Unassigned

Bug Description

OSX 10.10
Nightly 7534

Playing on any map, autosave enabled, after a new game is started it will take quite a while to crash but then upon crashing and reloading the auto-save game it will crash after a couple of minutes everytime

Process: widelands [30388]
Path: /Applications/Widelands.app/Contents/MacOS/widelands
Identifier: org.widelands.wl
Version: r7534
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: widelands [30388]
User ID: 501

Date/Time: 2015-09-24 21:24:22.847 +1200
OS Version: Mac OS X 10.10.5 (14F27)
Report Version: 11
Anonymous UUID: 856649B8-00EE-5158-D2E4-5D5F84A60B3F

Sleep/Wake UUID: E41CC1EA-38BD-4DBA-B9F6-A540E1C66DE6

Time Awake Since Boot: 210000 seconds
Time Since Wake: 5800 seconds

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x000072270000732b

VM Regions Near 0x72270000732b:
    MALLOC_NANO 0000608000400000-0000608002400000 [ 32.0M] rw-/rwx SM=PRV
-->
    MALLOC_TINY 00007fa1a1400000-00007fa1a1800000 [ 4096K] rw-/rwx SM=PRV

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libstdc++.6.dylib 0x000000010a9eeb80 std::local_Rb_tree_increment(std::_Rb_tree_node_base*) + 51
1 libstdc++.6.dylib 0x000000010a9eebf9 std::_Rb_tree_increment(std::_Rb_tree_node_base*) + 24
2 org.widelands.wl 0x000000010a0b03e8 _ZNSt6vectorIPKN14ComputerPlayer14ImplementationESaIS3_EE19_M_emplace_back_auxIIS3_EEEvDpOT_ + 42856
3 org.widelands.wl 0x000000010a0be51a _ZNSt6vectorIPKN14ComputerPlayer14ImplementationESaIS3_EE19_M_emplace_back_auxIIS3_EEEvDpOT_ + 100506
4 ??? 0x00007fff55eff77c 0 + 140734635177852

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff93c57232 kevent64 + 10
1 libdispatch.dylib 0x00007fff8bceea6a _dispatch_mgr_thread + 52

Thread 2:: com.apple.audio.IOThread.client
0 libsystem_kernel.dylib 0x00007fff93c514de mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff93c5064f mach_msg + 55
2 com.apple.audio.CoreAudio 0x00007fff8626a57e HALB_MachPort::SendMessageWithReply(unsigned int, unsigned int, unsigned int, unsigned int, mach_msg_header_t*, bool, unsigned int) + 98
3 com.apple.audio.CoreAudio 0x00007fff8626a50c HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int) + 42
4 com.apple.audio.CoreAudio 0x00007fff86268aa9 HALC_ProxyIOContext::IOWorkLoop() + 965
5 com.apple.audio.CoreAudio 0x00007fff86268612 HALC_ProxyIOContext::IOThreadEntry(void*) + 88
6 com.apple.audio.CoreAudio 0x00007fff862684e3 HALB_IOThread::Entry(void*) + 157
7 libsystem_pthread.dylib 0x00007fff9150f05a _pthread_body + 131
8 libsystem_pthread.dylib 0x00007fff9150efd7 _pthread_start + 176
9 libsystem_pthread.dylib 0x00007fff9150c3ed thread_start + 13

Thread 3:
0 libsystem_kernel.dylib 0x00007fff93c514de mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff93c5064f mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff91badeb4 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff91bad37b __CFRunLoopRun + 1371
4 com.apple.CoreFoundation 0x00007fff91bacbd8 CFRunLoopRunSpecific + 296
5 com.apple.AppKit 0x00007fff8b05556b _NSEventThread + 137
6 libsystem_pthread.dylib 0x00007fff9150f05a _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff9150efd7 _pthread_start + 176
8 libsystem_pthread.dylib 0x00007fff9150c3ed thread_start + 13

Thread 4:
0 libsystem_kernel.dylib 0x00007fff93c5694a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9150c3dd start_wqthread + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x000072270000731b rbx: 0x0000608001c955e0 rcx: 0x0000608001893f10 rdx: 0x0000608001893f10
  rdi: 0x0000608001c955e0 rsi: 0x0000608001893f10 rbp: 0x00007fff55eff388 rsp: 0x00007fff55eff388
   r8: 0x00000000000000ff r9: 0x0000000000001a00 r10: 0x0000000000000100 r11: 0x00005ffef7486670
  r12: 0x0000000000000000 r13: 0x0000000116eb8000 r14: 0x0000000000000002 r15: 0x00007fa1a3c15140
  rip: 0x000000010a9eeb80 rfl: 0x0000000000010202 cr2: 0x000072270000732b

Logical CPU: 0
Error Code: 0x00000004
Trap Number: 14

Tags: crash savegame
Revision history for this message
GunChleoc (gunchleoc) wrote :

If you still have the savegame, could you please attach it to this bug?

Revision history for this message
xzcvczx (xzcvczx) wrote :

Save game attached, game will crash within a couple of minutes of loading

tags: added: crash savegame
Revision history for this message
GunChleoc (gunchleoc) wrote :

I can't reproduce this on Ubuntu. Maybe it is Mac-specific?

Revision history for this message
TiborB (tiborb95) wrote :

The same on arch linux - I cannot reproduce it...

Why dont you run it from terminal? There can be some hints in output to console

Also does OSX have gdb or some other friendly debugger? This could provide additional info..

Revision history for this message
xzcvczx (xzcvczx) wrote :

it hasn't happened in a while now so closing the bug

Changed in widelands:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.