appname.debug quit unexpectedly

Recently I’m getting this crash message when quiting debug. This happen only at quiting and no always.
It happens also on old apps that never get this message on quitting.
High Sierra 10.13.6
Xojo 2018r2


Enric, do you have a touch bar?

I have 2 macs, an older mac without touch bar and a newer mac with touch bar. I can’t reproduce the behavior but the newer mac report the ‘quit unexpectedly’ when I quit debug apps and even Feedback app (not always but too frequent to be normal), while the older mac rarely (if ever) show that message. Both Sierra 10.12.6

Alberto I’m on iMac no touch bar
Beatrix what do you mean?

Do you get a crash log? Look in /Users/your username/Library/Logs/DiagnosticReports for your app.

For instance here is an example from my app where I can see what got screwed up:

[quote]Thread 0 Crashed:: Dispatch queue:

9 Mail Archiver X.debug 0x00000001102a2038 ExportSingleAttachment.setAttachmentDataWithName%%o + 2632 (/ExportSingleAttachment:248)
10 Mail Archiver X.debug 0x0000000110299587 ExportSingleAttachment.export%%o + 5719 (/ExportSingleAttachment:49)
11 Mail Archiver X.debug 0x00000001110d4188 MaxModel.ExportAttachmentByName%%oi8s + 1336 (/MaxModel:1078)
12 Mail Archiver X.debug 0x0000000110e58372 MainWindowController.ExportAttachmentByName%%oi8s + 386 (/MainWindowController:458)
13 Mail Archiver X.debug 0x0000000110db5331[/quote]

You need the part with “Thread xxx crashed”.

There were some reports about crash on quit for newer versions of Xojo.


Last crash was while browsing an example that comees with Xojo:

BreakingListOfOrders.debug [44178]
Thread 0 Crashed:: Dispatch queue:
0 libobjc.A.dylib 0x00007fff6e559184 objc_release + 36
1 libobjc.A.dylib 0x00007fff6e55a087 (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 817
2 0x00007fff4506e687 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1079
3 XojoFramework 0x000000010999fd8d 0x1098cc000 + 867725
4 XojoFramework 0x000000010999fdd1 0x1098cc000 + 867793
5 BreakingListOfOrders.debug 0x00000001096cf3c5 Application._CallFunctionWithExceptionHandling%%op + 181
6 XojoFramework 0x0000000109b2041b CallFunctionWithExceptionHandling(void (*)()) + 262
7 XojoFramework 0x000000010999fd3a 0x1098cc000 + 867642
8 0x00007fff448cd885 -[NSApplication run] + 764
9 XojoFramework 0x0000000109b1e747 RuntimeRun + 40
10 BreakingListOfOrders.debug 0x00000001097871d3 REALbasic._RuntimeRun + 19
11 BreakingListOfOrders.debug 0x00000001097dcfbe _Main + 846 (/#main:91)
12 BreakingListOfOrders.debug 0x00000001097dc503 main + 19
13 libdyld.dylib 0x00007fff6f17e015 start + 1

That looks familiar. Try to search for “AutoreleasePoolPage” here in the forum.