
Hello, Anyone using CURL classes with N for native? Since SecureTransport is deprecated on macOS since 2019 and doesn't do TLS 1.3, we should stop using it. The curl project may remove the support next year. Best regards, Christian -- Read our blog about news on our plugins: http://www.mbsplugins.de/

Hi, Any idea why this crash may be happening? Called from the main thread. Xojo 2024r1.1 MBS 24.2 PostgreSQL 16.1 It doesn't happen all the time though, which is weird. Regards, Lee Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 ??? 0x7ff8958eea78 ??? 1 libsystem_kernel.dylib 0x7ff80561314a __pthread_kill + 10 2 libsystem_pthread.dylib 0x7ff80564bebd pthread_kill + 262 3 libsystem_c.dylib 0x7ff805571a79 abort + 126 4 libsystem_malloc.dylib 0x7ff8054763a9 malloc_vreport + 857 5 libsystem_malloc.dylib 0x7ff80547997a malloc_report + 151 6 libcrypto.3.dylib 0x16f7135a9 CRYPTO_free + 73 7 libcrypto.3.dylib 0x16f7bb390 OPENSSL_sk_free + 80 8 libcrypto.3.dylib 0x16f7112e9 CRYPTO_free_ex_data + 777 9 libssl.3.dylib 0x16ea71bca SSL_free + 138 10 libpq.5.dylib 0x16e819aa0 pgtls_close + 48 11 libpq.5.dylib 0x16e7ffb1a pqDropConnection + 26 12 libpq.5.dylib 0x16e8124e8 pqParseInput3 + 3240 13 libpq.5.dylib 0x16e80b8f3 PQnotifies + 19 14 MBS_SQL_SQL_Plugin_21094.dylib 0x12b278ee7 ConnectionBackgroundTaskProc(void*) + 1191 15 XojoFramework 0x11f7ccfbb TriggerBackgroundTasks(unsigned char) + 541 16 MBS_SQL_SQL_Plugin_21094.dylib 0x12b28b694 RunThreaded(void const*, void (*)(void const*), void (*)(void const*)) + 452 17 MBS_SQL_SQL_Plugin_21094.dylib 0x12b2c8bc0 RunThreadedCommand(MySACommand*, MySAConnection*, void (*)(void const*), REALobjectStruct*, SAString const*, eSACommandType, int) + 496 18 MBS_SQL_SQL_Plugin_21094.dylib 0x12b2c6559 rbExecuteMT(REALobjectStruct*) + 617 19 pressSIGN Client.debug 0x1035639af SQLCommandMBS.ExecuteMT%%o<SQLCommandMBS> + 31 20 pressSIGN Client.debug 0x108d21953 presssigndatabase.loadblob%s%o<presssigndatabase>i8 + 2243 (/presssigndatabase:506)

On 16. May 2024, at 12:07, Lee Badham via MBS Xojo Plugins
wrote: Hi,
Any idea why this crash may be happening? Called from the main thread.
Memory corruption probably.
3 libsystem_c.dylib 0x7ff805571a79 abort + 126
You may check the abort message printed in the crash report or on console.
4 libsystem_malloc.dylib 0x7ff8054763a9 malloc_vreport + 857
But probably a failure in memory management.
6 libcrypto.3.dylib 0x16f7135a9 CRYPTO_free + 73
Something is freed in the SSL stuff. Maybe try using a different library version with different crypto library in case this got fixed. Best regards, Christian -- Read our blog about news on our plugins: http://www.mbsplugins.de/

On 7. May 2024, at 09:17, Christian Schmitz via MBS Xojo Plugins
wrote: Hello,
Anyone using CURL classes with N for native?
Since SecureTransport is deprecated on macOS since 2019 and doesn't do TLS 1.3, we should stop using it. The curl project may remove the support next year.
Since SecureTransport is going to go away in CURL, we will remove CURLN* classes later the year. As of today, you could already switch to CURLS* classes and also use SecureTransport and Windows Schannel interfaces there today. Basically CURLS* classes can do what CURLN* classes do today (plus SSH). And somewhere around September we remove SecureTransport support with the CURL update, that drops it. Best regards, Christian -- Read our blog about news on our plugins: http://www.mbsplugins.de/
participants (2)
-
Christian Schmitz
-
Lee Badham