Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash in Remotery_Destructor #208

Closed
JCash opened this issue May 30, 2022 · 0 comments
Closed

Crash in Remotery_Destructor #208

JCash opened this issue May 30, 2022 · 0 comments

Comments

@JCash
Copy link
Contributor

JCash commented May 30, 2022

Occasionally, when I start the engine immediately after I (accidentally) closed it, I get this crash.
I'm not sure why it wouldn't be able to create the instance (I'm guessing the server doesn't start), but it also seems that the delete step doesn't check if the mutex was actually created (just a guess at this point)

# 0 pc     0x33f46c dmengine dmCrash::Handler(int, __siginfo*, void*)+60
# 1 pc      0x91d7d libc++abi.dylib _sigtramp+29
# 2 pc      0x9553f libc++abi.dylib _os_unfair_lock_corruption_abort+24
# 3 pc      0x9012f libc++abi.dylib _os_unfair_lock_lock_slow+268
# 4 pc      0x48956 libc++abi.dylib pthread_mutex_destroy+47
# 5 pc      0x14174 dmengine mtxDelete+84
# 6 pc       0xd540 dmengine Remotery_Destructor+240
# 7 pc       0xc9f1 dmengine _rmt_CreateGlobalInstance+177
# 8 pc       0xb9b6 dmengine dmProfile::Initialize(dmProfile::Options const*)+150
# 9 pc      0x19eb9 dmengine dmProfiler::AppInitializeProfiler(dmExtension::AppParams*)+57
#10 pc     0x2224c6 dmengine dmExtension::AppInitialize(dmExtension::AppParams*)+86
#11 pc       0x2b74 dmengine dmEngine::Init(dmEngine::Engine*, int, char**)+2148
#12 pc       0x6cb3 dmengine dmEngineCreate(int, char**)+99
#13 pc       0x8def dmengine dmEngine::RunLoop(dmEngine::RunLoopParams const*)+127
#14 pc       0x8d1c dmengine EngineMain(int, char**)+124
#15 pc       0x8c8b dmengine engine_main(int, char**)+27
#16 pc       0x1512 dmengine main+34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant