What can go wrong on REALYieldToRB?

I got this crash report.

[quote]Thread 2 Crashed:
0 libsystem_kernel.dylib 0x00007fffd23c9d42 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fffd24b7457 pthread_kill + 90
2 libsystem_c.dylib 0x00007fffd232f420 abort + 129
3 libsystem_c.dylib 0x00007fffd22f6893 __assert_rtn + 320
4 com.xojo.XojoFramework 0x0000000113c6715f
CocoaAssertionDialog::AssertFired(char const*, char const*, int, char
const*, char const*) + 455
5 com.xojo.XojoFramework 0x0000000113e21a19 0x113c5d000 + 1853977
6 com.xojo.XojoFramework 0x0000000113d26061 RuntimeBackgroundTask

  • 30
    7 MBS_CURL_CURLS_Plugin_19480.dylib 0x0000000116c7a2ca
    rb_curl_easy_performMT(REALobjectStruct*) + 2106[/quote]

Now rb_curl_easy_performMT calls REALYieldToRB to give time to main thread while waiting for a transfer to finish.
What could go wrong in REALYieldToRB which would cause an assert?

okay, we got the assert message:

[quote]Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
Assertion failed: (!sCurrentThread->mCurrentException, “”), function
RoundRobin, file Common/ClassLib/RuntimeThread.cpp, line 1419.[/quote]

So something with exception on a thread maybe?