Hallo zusammen!
Ich stecke leider aktuell bei meiner Build Version meines Spieles fest, welche nach etwa 2 Sekunden plötzlich mit der unten
dargestellten Fehlermeldung abstürzt. Wenn ich die Applikation in Xcode starte so funktioniert diese problemlos.
Ich verwende die aktuellste Version von Xcode Version 6.1 (6A1052d) und die aktuellste von SDL (Version 2.0.3).
Ich arbeite auf dem OS X Yosemite Version 10.10 Betriebssystem.
Ich kann aktuell nicht differenzieren ob es ein Coding-Problem oder aber ein Problem der Build-Settings-Einstellungen ist.
Danke schon im voraus.
Lg, Eric
Process: Colored Boksa [1605]
Path: /Users/USER/Library/Developer/Xcode/DerivedData/Colored_Boksa-gqadfkupyfzzjebfmxednmojbwoz/Build/Products/Debug/Colored Boksa.app/Contents/MacOS/Colored Boksa
Identifier: minal.Colored-Boksa
Version: 1.0 (1)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Colored Boksa [1605]
User ID: 501
Date/Time: 2014-10-23 08:07:05.226 +0200
OS Version: Mac OS X 10.10 (14A389)
Report Version: 11
Anonymous UUID: 8CC9B032-E35F-7593-30A6-F4CE32D35CBB
Time Awake Since Boot: 2200 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:
-->
__TEXT 000000010f5de000-000000010f5f5000 [ 92K] r-x/rwx SM=COW /Users/USER/Library/Developer/Xcode/DerivedData/Colored_Boksa-gqadfkupyfzzjebfmxednmojbwoz/Build/Products/Debug/Colored Boksa.app/Contents/MacOS/Colored Boksa
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 org.libsdl.SDL2-ttf 0x000000010f60c3a3 TTF_SizeUTF8 + 54
1 org.libsdl.SDL2-ttf 0x000000010f60d4a9 TTF_RenderUTF8_Blended + 66
2 org.libsdl.SDL2-ttf 0x000000010f60d42e TTF_RenderText_Blended + 101
3 minal.Colored-Boksa 0x000000010f5e432b Text::LoadText(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, SDL_Color, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) + 635 (Text.cpp:33)
4 minal.Colored-Boksa 0x000000010f5ecaa8 CGame::drawPlayground() + 3944 (Game.cpp:500)
5 minal.Colored-Boksa 0x000000010f5ea6d7 CGame::Run() + 215 (Game.cpp:87)
6 minal.Colored-Boksa 0x000000010f5f2d35 main + 133 (main.cpp:26)
7 libdyld.dylib 0x00007fff927dd5c9 start + 1
Thread 1:: SDLTimer
0 libsystem_kernel.dylib 0x00007fff8ec55132 __psynch_cvwait + 10
1 org.libsdl.SDL2 0x000000010f64a1be 0x10f617000 + 209342
2 org.libsdl.SDL2 0x000000010f64a530 0x10f617000 + 210224
3 org.libsdl.SDL2 0x000000010f64b094 0x10f617000 + 213140
4 org.libsdl.SDL2 0x000000010f64ac7c 0x10f617000 + 212092
5 org.libsdl.SDL2 0x000000010f64a709 0x10f617000 + 210697
6 libsystem_pthread.dylib 0x00007fff9a8ba2fc _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff9a8ba279 _pthread_start + 176
8 libsystem_pthread.dylib 0x00007fff9a8b84b1 thread_start + 13
Thread 2:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff8ec5622e kevent64 + 10
1 libdispatch.dylib 0x00007fff8d1bfa6a _dispatch_mgr_thread + 52
Thread 3:
0 libsystem_kernel.dylib 0x00007fff8ec55946 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9a8b84a1 start_wqthread + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fff8ec55946 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9a8b84a1 start_wqthread + 13
Thread 5:
0 libsystem_kernel.dylib 0x00007fff8ec55946 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9a8b84a1 start_wqthread + 13
Thread 6:
0 libsystem_kernel.dylib 0x00007fff8ec55946 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9a8b84a1 start_wqthread + 13
Thread 7:
0 libsystem_kernel.dylib 0x00007fff8ec55946 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9a8b84a1 start_wqthread + 13
Thread 8:
0 libsystem_kernel.dylib 0x00007fff8ec5052e mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8ec4f69f mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff8e527b14 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8e526fdb __CFRunLoopRun + 1371
4 com.apple.CoreFoundation 0x00007fff8e526838 CFRunLoopRunSpecific + 296
5 com.apple.AppKit 0x00007fff8fb218f7 _NSEventThread + 137
6 libsystem_pthread.dylib 0x00007fff9a8ba2fc _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff9a8ba279 _pthread_start + 176
8 libsystem_pthread.dylib 0x00007fff9a8b84b1 thread_start + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000000 rcx: 0x00007fff50620d18 rdx: 0x00007fff50620d1c
rdi: 0x0000000000000000 rsi: 0x00007fff50620d60 rbp: 0x00007fff50620cb0 rsp: 0x00007fff50620c40
r8: 0x0000000000000000 r9: 0x00007fff95b28d90 r10: 0x000000010f6b8084 r11: 0xffff806cae9e7b58
r12: 0x0000000000000000 r13: 0x00007fff7e30c070 r14: 0x0000000000ffffff r15: 0x00007fff50621129
rip: 0x000000010f60c3a3 rfl: 0x0000000000210206 cr2: 0x0000000000000000
Logical CPU: 0
Error Code: 0x00000004
Trap Number: 14