Re: [gtk-osx-users] crash on maximize/unmaximize

This sounds similar to the crashes reported to me by users of my app (I reported this case on this list in 
January) where crashes happen only on El Capitan and are related to using app in full screen or new split 
It seems that El Capitan version changed something internally, because searching on the net finds many 
similar issues.
For example Atom editor crashes:

I know Atom is not a GTK+ app, but I believe that the crashes are related.
The fix for these particular crashes in Atom are explained here:

Quote: "Since EL Capitan it is possible that the methods of delegate would get called after the window has 
been closed."
Could something like this be a case for GTK+ code too?

I know this is just speculation, but I hope it might help.
I can not upgrade my system to El Capitan (so I can keep supporting older versions of OS X), so I can not 
test the crashes myself.


From: Gtk-osx-users-list <gtk-osx-users-list-bounces gnome org> on behalf of Allin Cottrell <cottrell wfu edu>
Sent: Friday, February 12, 2016 4:00 AM
To: gtk-osx-users-list gnome org
Subject: [gtk-osx-users] crash on maximize/unmaximize

I've recently had a report of crashes from a user of my gtk-based
app on El Capitan. The gtk version I'm using is 2.24.29. I'm able to
reproduce the problem myself: it seems to happen only when you
maximize then unmaximize a window (or maximize then use the close
button). And it doesn't happen every time; I had a work away at
maxing and unmaxing various windows for a few minutes before I got
the crash.

I'm attaching the Apple problem report. Not as informative as one
would like, I know, but it does seem to show that the problem lies
with GTK rather than in my own code. When the crash occurs I'm not
doing anything substantive with the app, just resizing or closing
windows. The segfault occurs in the function updateTrackingRect in

Any suggestions for a fix would be much appreciated.

Allin Cottrell
Department of Economics
Wake Forest University

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]