| 18 | |
| 19 | ==== lldb |
| 20 | |
| 21 | {{{ |
| 22 | (lldb) run -conf=mod.enabledmods:"public" -autostart="random/mainland" -autostart-nonvisual |
| 23 | Process 79078 launched: '/Users/paria/0ad/binaries/system/pyrogenesis' (x86_64) |
| 24 | TIMER| InitVfs: 6.383 ms |
| 25 | FILES| Main log written to '/Users/paria/Library/Application Support/0ad/logs/mainlog.html' |
| 26 | FILES| Interesting log written to '/Users/paria/Library/Application Support/0ad/logs/interestinglog.html' |
| 27 | TIMER| CONFIG_Init: 7.804 ms |
| 28 | Assertion failed: "ms_singleton" |
| 29 | Location: Singleton.h:51 (GetSingleton) |
| 30 | |
| 31 | Call stack: |
| 32 | |
| 33 | (error while dumping stack: Function not supported) |
| 34 | errno = 0 (No error reported here) |
| 35 | OS error = ? |
| 36 | |
| 37 | |
| 38 | (C)ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit? |
| 39 | e |
| 40 | Redirecting call to abort() to mozalloc_abort |
| 41 | |
| 42 | pyrogenesis was compiled with optimization - stepping may behave oddly; variables may not be available. |
| 43 | Process 79078 stopped |
| 44 | * thread #1, name = 'main', queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0) |
| 45 | frame #0: 0x000000010109c1f0 pyrogenesis`::mozalloc_abort(msg=<unavailable>) at mozalloc_abort.cpp:33:3 [opt] |
| 46 | 30 #ifdef MOZ_WIDGET_ANDROID |
| 47 | 31 abortThroughJava(msg); |
| 48 | 32 #endif |
| 49 | -> 33 MOZ_CRASH(); |
| 50 | 34 } |
| 51 | 35 |
| 52 | 36 #ifdef MOZ_WIDGET_ANDROID |
| 53 | Target 0: (pyrogenesis) stopped. |
| 54 | (lldb) bt |
| 55 | * thread #1, name = 'main', queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0) |
| 56 | * frame #0: 0x000000010109c1f0 pyrogenesis`::mozalloc_abort(msg=<unavailable>) at mozalloc_abort.cpp:33:3 [opt] |
| 57 | frame #1: 0x0000000101b93e3d pyrogenesis`::abort() at mozalloc_abort.cpp:82:3 [opt] |
| 58 | frame #2: 0x00000001004f2a86 pyrogenesis`sys_display_error(text=<unavailable>, flags=6) at unix.cpp:268:4 [opt] |
| 59 | frame #3: 0x00000001004d5203 pyrogenesis`debug_DisplayError(wchar_t const*, unsigned long, void*, wchar_t const*, wchar_t const*, int, char const*, long volatile*) [inlined] CallDisplayError(text=L"Assertion failed: \"ms_singleton\"\r\nLocation: Singleton.h:51 (GetSingleton)\r\n\r\nCall stack:\r\n\r\n(error while dumping stack: Function not supported)\r\nerrno = 0 (No error reported here)\r\nOS error = ?\r\n", flags=6) at debug.cpp:374:8 [opt] |
| 60 | frame #4: 0x00000001004d51e6 pyrogenesis`debug_DisplayError(description=L"Assertion failed: \"ms_singleton\"", flags=6, context=0x00007ffeefbfe000, lastFuncToSkip=<no summary available>, pathname=<no summary available>, line=<no summary available>, func=<no value available>, suppress=<no summary available>) at debug.cpp:460 [opt] |
| 61 | frame #5: 0x00000001004d5a6e pyrogenesis`debug_OnAssertionFailure(expr=<no summary available>, suppress=<no summary available>, file=<no summary available>, line=<no summary available>, func=<no value available>) at debug.cpp:547:9 [opt] |
| 62 | frame #6: 0x00000001002ce960 pyrogenesis`CFontMetrics::CFontMetrics(CStrIntern) [inlined] Singleton<CRenderer>::GetSingleton() at Singleton.h:51:3 [opt] |
| 63 | frame #7: 0x00000001002ce930 pyrogenesis`CFontMetrics::CFontMetrics(this=<no summary available>, font=CStrIntern @ scalar) at FontMetrics.cpp:29 [opt] |
| 64 | frame #8: 0x00000001001d993c pyrogenesis`CConsole::Init(this=<no summary available>) at CConsole.cpp:97:21 [opt] |
| 65 | frame #9: 0x0000000100214e5f pyrogenesis`InitPs(setup_gui=<no summary available>, gui_page=<no summary available>, srcScriptInterface=<no summary available>, initData=JS::HandleValue @ scalar) at GameSetup.cpp:201:14 [opt] |
| 66 | frame #10: 0x0000000100213a36 pyrogenesis`Autostart(args=<no summary available>) at GameSetup.cpp:1127:3 [opt] |
| 67 | frame #11: 0x00000001002151eb pyrogenesis`InitNonVisual(args=<no summary available>) at GameSetup.cpp:721:2 [opt] [artificial] |
| 68 | frame #12: 0x0000000100004aaa pyrogenesis`RunGameOrAtlas(argc=<no summary available>, argv=<no summary available>) at main.cpp:672:4 [opt] |
| 69 | frame #13: 0x00000001000035b6 pyrogenesis`main(argc=<no summary available>, argv=<no summary available>) at main.cpp:743:2 [opt] |
| 70 | frame #14: 0x00007fff68073cc9 libdyld.dylib`start + 1 |
| 71 | (lldb) |
| 72 | }}} |