Editor crashes on Mac
Posted: Sat Mar 28, 2015 5:14 pm
I just tried to create a new dungeon in the editor on Grimrock 2 on my 2010 iMac. The editor loaded, I created a new dungeon, pressed Create and everything appeared normally. I drew a few floors and walls and pressed save. Everything fine. But, later when I reloaded the editor and opened the dungeon I created, the dungeon appears in the window but as soon as I click anywhere in the window the spinning beachball appears and the editor crashes with the error below.
I then opened the Grimrock 1 editor and loaded a dungeon I last worked on in 2013. Again, the dungeon appeared in the window but then clicking anywhere crashes the editor. What's changed on my system since 2013? Well, obviously OSX has updated several times but software should be compatible - and that wouldn't explain the Grimrock 2 editor crashing when I only downloaded the game a few days ago.
What gives? How do I load my old Grimrock 1 dungeon in the editor or start a new Grimrock 2 one?
Error report (Only the first bit, the forum won't let me post the whole thing - post too long):
Process: grimrock2 [1606]
Path: /Applications/Legend of Grimrock 2.app/Contents/MacOS/grimrock2
Identifier: com.almosthuman.Legend-of-Grimrock-2
Version: 2.0.0 (2.0.0)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: grimrock2 [1606]
User ID: 501
Date/Time: 2015-03-28 15:09:48.076 +0000
OS Version: Mac OS X 10.10.2 (14C109)
Report Version: 11
Anonymous UUID: 7BECDC77-2FAD-275C-258F-C088BD68D0C6
Time Awake Since Boot: 9400 seconds
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
VM Regions Near 0:
-->
Kernel Alloc Once 00000000074cf000-00000000074d0000 [ 4K] rw-/rwx SM=PRV
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.almosthuman.Legend-of-Grimrock-2 0x000000010756601d engine::RenderContextGL::resizeWindow(int, int) + 2093
1 com.almosthuman.Legend-of-Grimrock-2 0x0000000107533ab3 engine::Material::operator=(engine::Material const&) + 29171
2 com.almosthuman.Legend-of-Grimrock-2 0x00000001075360e5 void std::__adjust_heap<engine::Mesh::SortVertex*, long, engine::Mesh::SortVertex>(engine::Mesh::SortVertex*, long, long, engine::Mesh::SortVertex) + 2981
3 com.almosthuman.Legend-of-Grimrock-2 0x0000000107538344 void std::__adjust_heap<engine::Mesh::SortVertex*, long, engine::Mesh::SortVertex>(engine::Mesh::SortVertex*, long, long, engine::Mesh::SortVertex) + 11780
4 com.almosthuman.Legend-of-Grimrock-2 0x00000001074d647f core::Array<Breakpoint>::remove(int, int) + 62911
5 com.almosthuman.Legend-of-Grimrock-2 0x00000001076febf8 core::SharedPtr<core::Menu>::SharedPtr(core::Menu*) + 1622648
6 com.almosthuman.Legend-of-Grimrock-2 0x000000010770ae76 core::SharedPtr<core::Menu>::SharedPtr(core::Menu*) + 1672438
7 com.almosthuman.Legend-of-Grimrock-2 0x00000001074f578d error(char const*, ...) + 8509
8 com.almosthuman.Legend-of-Grimrock-2 0x00000001074ee33d core::SharedPtr<HeightmapBuilder>::release(HeightmapBuilder*) + 3229
9 com.almosthuman.Legend-of-Grimrock-2 0x000000010756e883 engine::VPXPlayerGL::TextureSet::~TextureSet() + 931
10 com.almosthuman.Legend-of-Grimrock-2 0x00000001074c1184 0x1074bf000 + 8580
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff8cc57232 kevent64 + 10
1 libdispatch.dylib 0x00007fff95144a6a _dispatch_mgr_thread + 52
Thread 2:
0 libsystem_kernel.dylib 0x00007fff8cc514de mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8cc5064f mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff8bcf9b34 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8bcf8ffb __CFRunLoopRun + 1371
4 com.apple.CoreFoundation 0x00007fff8bcf8858 CFRunLoopRunSpecific + 296
5 com.apple.AppKit 0x00007fff95b0f33b _NSEventThread + 137
6 libsystem_pthread.dylib 0x00007fff8d276268 _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff8d2761e5 _pthread_start + 176
8 libsystem_pthread.dylib 0x00007fff8d27441d thread_start + 13
Thread 3:: com.apple.audio.IOThread.client
0 libsystem_kernel.dylib 0x00007fff8cc514de mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8cc5064f mach_msg + 55
2 com.apple.audio.CoreAudio 0x00007fff904ef980 HALB_MachPort::SendMessageWithReply(unsigned int, unsigned int, unsigned int, unsigned int, mach_msg_header_t*, bool, unsigned int) + 98
3 com.apple.audio.CoreAudio 0x00007fff904ef90e HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int) + 42
4 com.apple.audio.CoreAudio 0x00007fff904edf60 HALC_ProxyIOContext::IOWorkLoop() + 952
5 com.apple.audio.CoreAudio 0x00007fff904edb0e HALC_ProxyIOContext::IOThreadEntry(void*) + 88
6 com.apple.audio.CoreAudio 0x00007fff904ed9eb HALB_IOThread::Entry(void*) + 157
7 libsystem_pthread.dylib 0x00007fff8d276268 _pthread_body + 131
8 libsystem_pthread.dylib 0x00007fff8d2761e5 _pthread_start + 176
9 libsystem_pthread.dylib 0x00007fff8d27441d thread_start + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x00007f8bb0516360 rcx: 0x00007f8bb0beac00 rdx: 0x0000000000008800
rdi: 0x0000000000000000 rsi: 0x0000000000008892 rbp: 0x00007fff58740280 rsp: 0x00007fff58740190
r8: 0x00007f8bb18e3600 r9: 0x00007f8bb0bec800 r10: 0x00000000c1787a9b r11: 0x00000073a7f37455
r12: 0x0000000000000000 r13: 0x0000000000000000 r14: 0x00007f8bb0c09000 r15: 0x0000610000351e00
rip: 0x000000010756601d rfl: 0x0000000000010246 cr2: 0x0000000000000000
Logical CPU: 2
Error Code: 0x00000006
Trap Number: 14
I then opened the Grimrock 1 editor and loaded a dungeon I last worked on in 2013. Again, the dungeon appeared in the window but then clicking anywhere crashes the editor. What's changed on my system since 2013? Well, obviously OSX has updated several times but software should be compatible - and that wouldn't explain the Grimrock 2 editor crashing when I only downloaded the game a few days ago.
What gives? How do I load my old Grimrock 1 dungeon in the editor or start a new Grimrock 2 one?
Error report (Only the first bit, the forum won't let me post the whole thing - post too long):
Process: grimrock2 [1606]
Path: /Applications/Legend of Grimrock 2.app/Contents/MacOS/grimrock2
Identifier: com.almosthuman.Legend-of-Grimrock-2
Version: 2.0.0 (2.0.0)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: grimrock2 [1606]
User ID: 501
Date/Time: 2015-03-28 15:09:48.076 +0000
OS Version: Mac OS X 10.10.2 (14C109)
Report Version: 11
Anonymous UUID: 7BECDC77-2FAD-275C-258F-C088BD68D0C6
Time Awake Since Boot: 9400 seconds
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
VM Regions Near 0:
-->
Kernel Alloc Once 00000000074cf000-00000000074d0000 [ 4K] rw-/rwx SM=PRV
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.almosthuman.Legend-of-Grimrock-2 0x000000010756601d engine::RenderContextGL::resizeWindow(int, int) + 2093
1 com.almosthuman.Legend-of-Grimrock-2 0x0000000107533ab3 engine::Material::operator=(engine::Material const&) + 29171
2 com.almosthuman.Legend-of-Grimrock-2 0x00000001075360e5 void std::__adjust_heap<engine::Mesh::SortVertex*, long, engine::Mesh::SortVertex>(engine::Mesh::SortVertex*, long, long, engine::Mesh::SortVertex) + 2981
3 com.almosthuman.Legend-of-Grimrock-2 0x0000000107538344 void std::__adjust_heap<engine::Mesh::SortVertex*, long, engine::Mesh::SortVertex>(engine::Mesh::SortVertex*, long, long, engine::Mesh::SortVertex) + 11780
4 com.almosthuman.Legend-of-Grimrock-2 0x00000001074d647f core::Array<Breakpoint>::remove(int, int) + 62911
5 com.almosthuman.Legend-of-Grimrock-2 0x00000001076febf8 core::SharedPtr<core::Menu>::SharedPtr(core::Menu*) + 1622648
6 com.almosthuman.Legend-of-Grimrock-2 0x000000010770ae76 core::SharedPtr<core::Menu>::SharedPtr(core::Menu*) + 1672438
7 com.almosthuman.Legend-of-Grimrock-2 0x00000001074f578d error(char const*, ...) + 8509
8 com.almosthuman.Legend-of-Grimrock-2 0x00000001074ee33d core::SharedPtr<HeightmapBuilder>::release(HeightmapBuilder*) + 3229
9 com.almosthuman.Legend-of-Grimrock-2 0x000000010756e883 engine::VPXPlayerGL::TextureSet::~TextureSet() + 931
10 com.almosthuman.Legend-of-Grimrock-2 0x00000001074c1184 0x1074bf000 + 8580
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff8cc57232 kevent64 + 10
1 libdispatch.dylib 0x00007fff95144a6a _dispatch_mgr_thread + 52
Thread 2:
0 libsystem_kernel.dylib 0x00007fff8cc514de mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8cc5064f mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff8bcf9b34 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8bcf8ffb __CFRunLoopRun + 1371
4 com.apple.CoreFoundation 0x00007fff8bcf8858 CFRunLoopRunSpecific + 296
5 com.apple.AppKit 0x00007fff95b0f33b _NSEventThread + 137
6 libsystem_pthread.dylib 0x00007fff8d276268 _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff8d2761e5 _pthread_start + 176
8 libsystem_pthread.dylib 0x00007fff8d27441d thread_start + 13
Thread 3:: com.apple.audio.IOThread.client
0 libsystem_kernel.dylib 0x00007fff8cc514de mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8cc5064f mach_msg + 55
2 com.apple.audio.CoreAudio 0x00007fff904ef980 HALB_MachPort::SendMessageWithReply(unsigned int, unsigned int, unsigned int, unsigned int, mach_msg_header_t*, bool, unsigned int) + 98
3 com.apple.audio.CoreAudio 0x00007fff904ef90e HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int) + 42
4 com.apple.audio.CoreAudio 0x00007fff904edf60 HALC_ProxyIOContext::IOWorkLoop() + 952
5 com.apple.audio.CoreAudio 0x00007fff904edb0e HALC_ProxyIOContext::IOThreadEntry(void*) + 88
6 com.apple.audio.CoreAudio 0x00007fff904ed9eb HALB_IOThread::Entry(void*) + 157
7 libsystem_pthread.dylib 0x00007fff8d276268 _pthread_body + 131
8 libsystem_pthread.dylib 0x00007fff8d2761e5 _pthread_start + 176
9 libsystem_pthread.dylib 0x00007fff8d27441d thread_start + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x00007f8bb0516360 rcx: 0x00007f8bb0beac00 rdx: 0x0000000000008800
rdi: 0x0000000000000000 rsi: 0x0000000000008892 rbp: 0x00007fff58740280 rsp: 0x00007fff58740190
r8: 0x00007f8bb18e3600 r9: 0x00007f8bb0bec800 r10: 0x00000000c1787a9b r11: 0x00000073a7f37455
r12: 0x0000000000000000 r13: 0x0000000000000000 r14: 0x00007f8bb0c09000 r15: 0x0000610000351e00
rip: 0x000000010756601d rfl: 0x0000000000010246 cr2: 0x0000000000000000
Logical CPU: 2
Error Code: 0x00000006
Trap Number: 14
