-
Notifications
You must be signed in to change notification settings - Fork 257
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
0.2.3 OSX Crash on exit #601
Comments
@cjcliffe I can't help you much here, because I don't have a Mac. What is the purpose of this call ? It apparently calls a Since all Only my 2 euro-cents, here :) |
@vsonnier I figured you wouldn't be able to test but might be able to weigh in on recursive_mutex issues. Will post here as I uncover stuff later. |
In the commit d8ac955 on master I've done some adjustments on
I don't know if it is going to affect the present problem, though. The 3 others classes using |
I tried in 36224de to rework the |
@cjcliffe Ah Progress ! When More is Less ! Still I think the problem really lies in the CubicSDR/src/audio/AudioThread.cpp Line 527 in fc1c1c3
that concerns controller threads and supposed to close the corresponding device proprerly. |
Right, I think I've found the problem preventing the |
@vsonnier latest commit seems to be working fine on the macbook; will let you know how it goes on the iMac |
@vsonnier looks good on the iMac too; no more crashes on exit or hangups with the latest commit -- thanks! I wasn't able to figure out how to properly trace a thread issue like this from XCode. Going to update the current OSX release with the bugfixed version. |
Well, there was no magic involed in finding these deadlocks, just a matter of putting breakpoints going step by step, and the help that |
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
Assertion failed: (e == 0), function ~recursive_mutex, file /BuildRoot/Library/Caches/com.apple.xbs/Sources/libcxx/libcxx-120.1/src/mutex.cpp, line 82.
The text was updated successfully, but these errors were encountered: