My REST Service APP quits unexpectedly on Big Sur

Since upgrading to Big Sur, if an attempt to connect to the REST service fails, the App quits unexpectedly. For example, this happens if the user does not have WiFi open and tries to connect, or if the user cannot access the server (i.e. if the server is temporarily unavailable).

On previous versions of MacOS, the exception was handled correctly inside the App.

Is there something I need to add to plist or something? Or has anything network related been phased out?

(The App is developed using Delphi 10.3 with TRestRequest and executeasync; on Catalina and earlier the ACompletionHandlerWithError is called and the exception handled there).

I believe the error being thrown is Runtime Error 231.

(I am very new to Apple Development, so apologies if I have missed an obvious place to search for information on this!)


My REST Service APP quits unexpectedly on Big Sur

Does this crash generate a crash report? If so, please post it here. Use the text attachment feature (the paperclip icon) to avoid cluttering up the timeline.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
Hi, Thanks for responding. The "crash reports" section of console is empty. From the system.log there I can see "service exited with abnormal code: 231."
Really sorry if I am looking in the wrong place! What next?

From the system.log there I can see service exited with abnormal code: 231.

OK. That, and the absence of a crash report, suggests that your process hasn’t crashed per se, but rather it’s called exit directly (see the exit man page). macOS does not generate a crash report in that case.

Given that, it’s hard to say what’s going on. It seems likely that this ‘crash’ is being triggered by the Delphi runtime and I’ve no insight into that. I think you’ll need to escalate this via their support channel.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
Understood. I see the point now. I suppose the library may be calling something no longer supported.
My REST Service APP quits unexpectedly on Big Sur
 
 
Q