ODE segmentation fault with multithreading
Issue #30
on hold
ODE makes my application crash when i use the multi-thread functionalities. A segmentation fault occurs when my main thread call malloc, or new. Gdb shows that the error is in:
0 malloc_consolidate 1 _init_malloc 2 malloc
Comments (2)
-
Account Deactivated -
Account Deactivated - changed status to on hold
- Log in to comment
There could be many reasons external to ODE for that crash to happen. Generally your problem is the heap corruption. You must find the source of that corruption yourself. For example, please check that your code is aware that the callbacks like dxBody::moved_callback could be called from multiple threads.