Skip to content

Instantly share code, notes, and snippets.

@haxiomic
Created July 26, 2020 12:45
Show Gist options
  • Save haxiomic/d9cfa0f94c9f555a5dd39f70cfdeec38 to your computer and use it in GitHub Desktop.
Save haxiomic/d9cfa0f94c9f555a5dd39f70cfdeec38 to your computer and use it in GitHub Desktop.
@skylerparr lldb stack trace for StandaloneMain-debug
* thread #2, stop reason = EXC_BAD_ACCESS (code=2, address=0x700000897ca0)
frame #0: 0x0000000100004df4 StandaloneMain-debug`hx::ObjectPtr<hx::Object>::ObjectPtr(this=0x0000700000897ca0, inObj=0x0000000103ea850c) at Object.h:333:36
330 typedef OBJ_ *Ptr;
331
332 inline ObjectPtr() : mPtr(0) { }
-> 333 inline ObjectPtr(OBJ_ *inObj) : mPtr(inObj) { }
334 inline ObjectPtr(const null &inNull) : mPtr(0) { }
335 inline ObjectPtr(const ObjectPtr<OBJ_> &inOther) : mPtr( inOther.mPtr ) { }
336 template<typename T>
Target 0: (StandaloneMain-debug) stopped.
(lldb) bt
* thread #2, stop reason = EXC_BAD_ACCESS (code=2, address=0x700000897ca0)
* frame #0: 0x0000000100004df4 StandaloneMain-debug`hx::ObjectPtr<hx::Object>::ObjectPtr(this=0x0000700000897ca0, inObj=0x0000000103ea850c) at Object.h:333:36
frame #1: 0x0000000100005298 StandaloneMain-debug`Dynamic::Dynamic(this=0x0000700000897ca0, inObj=0x0000000103ea850c) at Dynamic.h:33:33
frame #2: 0x00000001000044ed StandaloneMain-debug`Dynamic::Dynamic(this=0x0000700000897ca0, inObj=0x0000000103ea850c) at Dynamic.h:33:46
frame #3: 0x000000010001ce75 StandaloneMain-debug`hx::EnumBase_obj::_hx_getObject(this=0x0000000103ea856c, inId=1) at Enum.h:98:57
frame #4: 0x0000000100509129 StandaloneMain-debug`lang::macros::PatternMatch_obj::generatePatternMatch(annaLang=lang::macros::AnnaLang @ 0x00007000008f5a48, pattern=Dynamic @ 0x00007000008f5a40, valueExpr=Dynamic @ 0x00007000008f5a38, __o_counter=<unavailable>) at PatternMatch.cpp:3941:77
frame #5: 0x00000001004ca46f StandaloneMain-debug`lang::macros::PatternMatch_obj::generatePatternMatch(annaLang=lang::macros::AnnaLang @ 0x0000700000909a78, pattern=Dynamic @ 0x0000700000909a60, valueExpr=Dynamic @ 0x0000700000909a58, __o_counter=<unavailable>) at PatternMatch.cpp:2061:56
frame #6: 0x0000000100489c66 StandaloneMain-debug`lang::macros::PatternMatch_obj::match(annaLang=lang::macros::AnnaLang @ 0x0000700000909e58, pattern=Dynamic @ 0x0000700000909e50, valueExpr=Dynamic @ 0x0000700000909e48) at PatternMatch.cpp:90:33
frame #7: 0x00000001001ab88a StandaloneMain-debug`lang::macros::Match_obj::gen(annaLang=lang::macros::AnnaLang @ 0x000070000090a340, params=Dynamic @ 0x000070000090a338) at Match.cpp:82:43
frame #8: 0x00000001001abe8c StandaloneMain-debug`lang::macros::__Match_objgen(inArg0=0x000070000090d3d0, inArg1=0x000070000090d458) at Match.cpp:94:1
frame #9: 0x000000010066fa8d StandaloneMain-debug`hx::CStaticFunction2::__run(this=0x00000001019044e4, inArg0=0x000070000090d3d0, inArg1=0x000070000090d458) at DynamicImpl.h:285:14
frame #10: 0x000000010000ecc2 StandaloneMain-debug`Dynamic::operator(this=0x000070000090d3f8, inArg0=0x000070000090d3d0, inArg1=0x000070000090d458)(Dynamic const&, Dynamic const&) at Dynamic.h:306:106
frame #11: 0x000000010004f510 StandaloneMain-debug`lang::macros::AnnaLang_obj::walkBlock(this=0x0000000103339984, expr=Dynamic @ 0x000070000090d650) at AnnaLang.cpp:1332:82
frame #12: 0x00000001002f767c StandaloneMain-debug`vm::Lang_obj::resolveOperations(this=0x000000010333993c, expr=Dynamic @ 0x000070000090dcb0) at Lang.cpp:814:59
frame #13: 0x0000000100597458 StandaloneMain-debug`lang::macros::Fn_obj::buildFunction(annaLang=lang::macros::AnnaLang @ 0x000070000090e530, functionName=String @ 0x000070000090e520, params=Dynamic @ 0x000070000090e518) at Fn.cpp:286:69
frame #14: 0x0000000100595570 StandaloneMain-debug`lang::macros::Fn_obj::gen(annaLang=lang::macros::AnnaLang @ 0x000070000090e6f0, params=Dynamic @ 0x000070000090e6e8) at Fn.cpp:170:47
frame #15: 0x000000010059ab2c StandaloneMain-debug`lang::macros::__Fn_objgen(inArg0=0x00007000009107b8, inArg1=0x00007000009107f8) at Fn.cpp:196:1
frame #16: 0x000000010066fa8d StandaloneMain-debug`hx::CStaticFunction2::__run(this=0x00000001019042d8, inArg0=0x00007000009107b8, inArg1=0x00007000009107f8) at DynamicImpl.h:285:14
frame #17: 0x000000010000ecc2 StandaloneMain-debug`Dynamic::operator(this=0x00007000009107e0, inArg0=0x00007000009107b8, inArg1=0x00007000009107f8)(Dynamic const&, Dynamic const&) at Dynamic.h:306:106
frame #18: 0x0000000100053ae3 StandaloneMain-debug`lang::macros::AnnaLang_obj::walkBlock(this=0x0000000103339984, expr=Dynamic @ 0x0000700000913200) at AnnaLang.cpp:1575:88
frame #19: 0x0000000100043f47 StandaloneMain-debug`lang::macros::AnnaLang_obj::compileModule(this=0x0000000103339984, moduleName=String @ 0x0000700000914158, moduleDef=lang::macros::ModuleDef @ 0x0000700000914130) at AnnaLang.cpp:776:59
frame #20: 0x00000001001845b6 StandaloneMain-debug`lang::macros::RuntimeDef_obj::commit(this=0x000000010333aff8) at RuntimeDef.cpp:274:33
frame #21: 0x0000000100035ad9 StandaloneMain-debug`lang::macros::AnnaLang_obj::commit(this=0x0000000103339984) at AnnaLang.cpp:200:33
frame #22: 0x00000001002f17e5 StandaloneMain-debug`vm::Lang_obj::doCommit(this=0x000000010333993c) at Lang.cpp:518:32
frame #23: 0x00000001004773c1 StandaloneMain-debug`vm::InvokeFunction_vm_Lang_commit_obj::execute(this=0x00000001019a1958, scope=haxe::ds::StringMap @ 0x0000700000916768, processStack=Dynamic @ 0x0000700000916760) at InvokeFunction_vm_Lang_commit.cpp:370:34
frame #24: 0x000000010036dfd6 StandaloneMain-debug`vm::Operation_obj::execute(_hx_=<unavailable>, scopeVariables=haxe::ds::StringMap @ 0x00007000009168a0, processStack=Dynamic @ 0x0000700000916898) at Operation.h:28:4
frame #25: 0x000000010036dca6 StandaloneMain-debug`vm::DefaultAnnaCallStack_obj::execute(this=0x0000000101f7fad8, processStack=Dynamic @ 0x00007000009169d8) at DefaultAnnaCallStack.cpp:136:16
frame #26: 0x0000000100328fb2 StandaloneMain-debug`vm::AnnaCallStack_obj::execute(_hx_=<unavailable>, processStack=Dynamic @ 0x0000700000916b80) at AnnaCallStack.h:37:4
frame #27: 0x0000000100328a61 StandaloneMain-debug`vm::DefaultProcessStack_obj::execute(this=0x00000001019b8bfc) at DefaultProcessStack.cpp:161:15
frame #28: 0x00000001002b3703 StandaloneMain-debug`vm::ProcessStack_obj::execute(_hx_=<unavailable>) at ProcessStack.h:40:4
frame #29: 0x00000001002b3479 StandaloneMain-debug`vm::schedulers::GenericScheduler_obj::update(this=0x000000010191aa08) at GenericScheduler.cpp:585:16
frame #30: 0x00000001000febc9 StandaloneMain-debug`vm::Scheduler_obj::update(_hx_=<unavailable>) at Scheduler.h:62:4
frame #31: 0x00000001001fcbcf StandaloneMain-debug`vm::schedulers::CPPMultithreadedScheduler_obj::startScheduler(this=0x0000000101917484, messages=Dynamic @ 0x0000700000917e40) at CPPMultithreadedScheduler.cpp:772:19
frame #32: 0x0000000100210f1f StandaloneMain-debug`vm::schedulers::CPPMultithreadedScheduler_obj::start(this=0x000000010191abd0)::_hx_Closure_0::_hx_run() at CPPMultithreadedScheduler.cpp:211:27
frame #33: 0x0000000100210d03 StandaloneMain-debug`vm::schedulers::CPPMultithreadedScheduler_obj::start(this=0x000000010191abd0)::_hx_Closure_0::__run() at CPPMultithreadedScheduler.cpp:213:18
frame #34: 0x000000010069cab5 StandaloneMain-debug`hxThreadFunc(inInfo=0x000000010191abf4) at Thread.cpp:249:23
frame #35: 0x00007fff724492eb libsystem_pthread.dylib`_pthread_body + 126
frame #36: 0x00007fff7244c249 libsystem_pthread.dylib`_pthread_start + 66
frame #37: 0x00007fff7244840d libsystem_pthread.dylib`thread_start + 13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment