GNOME Bugzilla – Bug 755313
gnome-shell-3.16.3 crashed
Last modified: 2016-09-08 10:12:24 UTC
[Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Core was generated by `/usr/bin/gnome-shell'. Program terminated with signal SIGSEGV, Segmentation fault.
+ Trace 235475
Thread 1 (Thread 0x7f052fe5b9c0 (LWP 12645))
Created attachment 334979 [details] [review] [PATCH] systray: Bail out if the plug window is gone Same as downstream bug https://bugzilla.redhat.com/show_bug.cgi?id=1372287 A safe fix could be to simply check if the return window is non NULL and bail out in that case, at least it won't crash gnome-shel lanymore. Would that be acceptable?
Review of attachment 334979 [details] [review]: If I'm reading the code correctly (which I might not because this code _is_ hairy) I don't see how the JS code can be calling shell_tray_icon_click() after the plug is gone since that should have triggered the NaTrayManager to emit ::tray-icon-removed which should result in ShellTrayManager emitting its own ::tray-icon-removed and finally the JS code destroying the StButton that emits the events which cause shell_tray_icon_click() to be called. Anyway, since this fixes a crash I think we should get it in.
Comment on attachment 334979 [details] [review] [PATCH] systray: Bail out if the plug window is gone attachment 334979 [details] [review] pushed on git master as commit 0b6c5b4 - systray: Bail out if the plug window is gone