What can go wrong on REALYieldToRB?

  1. 2 years ago

    Christian S

    20 Nov 2017 Pre-Release Testers, Xojo Pro, XDC Speakers, Third Party Store Germany

    I got this crash report.

    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

    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?

  2. Christian S

    20 Nov 2017 Pre-Release Testers, Xojo Pro, XDC Speakers, Third Party Store Germany

    okay, we got the assert message:

    Exception Type: EXC_CRASH (SIGABRT)
    Exception Codes: 0x0000000000000000, 0x0000000000000000
    Exception Note: EXC_CORPSE_NOTIFY

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

    So something with exception on a thread maybe?

or Sign Up to reply!