There isnt even any of my code running there. This doesnt happen all the time, but it happens often enough that Im sure its a real problem. I suspect, but am not certain, that this started happening when the memory leak on window close was fixed a couple of release versions ago. I can go days of testing the software without any problem and then suddenly I save a document or close a window and boom the whole thing just crashes. This happens occasionally to my users as well. This is Mac software compiled with the latest 2019 r.1.1 version, but it also happened with 2019 and possibly before that Im not sure.
I had looked at the crash reports in that thread and thought that they were very different from the above, but Ive looked at more of them and there are some that are the same, so maybe it is the same problem after all. I will pay attention to see if there are popup menus on the windows that cause it. I feel like Ive had it with windows that are basically just 1 big canvas but Im not certain. I will watch.
I take it back, I think this is the same crash you all are seeing. Its extremely frustrating for my users at the moment and Im not sure how many Xojo versions Id have to go back to fix it. Ill add my weight to the other thread. Ive managed to make this happen in my test system 4 or 5 times already this morning. All the windows involved had popup menus.
That looks like the kind of crashes I keep having in iClip - I get daily similar crash reports from my customers. It started when building iClip with RB 2019r1.1 - before I used a 2017 version, I think.
The crash stacks all vary a bit, but have in common that they happen when releasing objects in the Autorelease Pool, after closing a window.
Most often it either says:
Can anyone confirm who had these crashes that they stopped occuring in a later Xojo version?
The related issues James mentioned appears to be this one: https://forum.xojo.com/50110-crash-on-a-window-close However, that one involved PopupMenus (which I don’t use in the just-closed windows) and has a type of stack trace that I’ve not seen in mine. So, these may be different issues.
I battle with such crash in our documentation tool. Where a dialog comes up when you launch the application it allows you to select recent projects or make new one, then you click and the main window comes up.
When this dialog closes then it will randomly crash sometimes. I never have been able to pinpoint this or make a example where it crashes reliably. But from the sound of it then it sounds a bit like what your dealing with.
I have even tried to delay closing of the dialog putting the close on timer after it should close but with no better luck.
Happens for me on all later year Xojo versions, I guess from 2017 to 2019r1 at least.
I dont actually get the close event in the log.
The modal dialog does show though and work. But when I press its close button then it sometimes blows up with this log.
(its not terrible for me per see since this is internal tool, I just launch it again until it works, but of course its still important to realize the problem so Xojo can be fixed some day)