After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 734877 - Closing a secondary window makes the app crash
Closing a secondary window makes the app crash
Status: RESOLVED OBSOLETE
Product: gnome-boxes
Classification: Applications
Component: general
3.13.x
Other Linux
: Normal normal
: 3.22
Assigned To: GNOME Boxes maintainer(s)
GNOME Boxes maintainer(s)
Depends on: 734486
Blocks:
 
 
Reported: 2014-08-15 17:46 UTC by Adrien Plazas
Modified: 2016-03-31 13:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Adrien Plazas 2014-08-15 17:46:11 UTC
When destroying a secondary window, the application crashes.

The crash is caused by the destruction of this closure in Topbar.vala:
  window.notify["selection-mode"].connect (() => {
    page = window.selection_mode ?
           TopbarPage.SELECTION : page = TopbarPage.COLLECTION;
  });

The problem can be summed up this order of destruction: window => topbar => closure => window (ouch).

It maybe a Boxes bug (wrong ownership) or a Vala bug (wrong reference counting maybe?).
Comment 1 Zeeshan Ali 2014-08-19 11:06:06 UTC
Just to be clear on the record, this bug is currently worked-around in Boxes.
Comment 2 Zeeshan Ali 2014-10-18 14:46:02 UTC
Somehow this is not reproducible anymore. I guess it was some vala bug that has been resolved then?