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 789429 - Critical displayed on exit
Critical displayed on exit
Status: RESOLVED DUPLICATE of bug 747506
Product: gnome-documents
Classification: Core
Component: general
3.26.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME documents maintainer(s)
GNOME documents maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-10-24 19:09 UTC by Mike Gorse
Modified: 2017-10-25 06:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mike Gorse 2017-10-24 19:09:11 UTC
If I open gnome-documents from a terminal and subsequently close it, I get this error:

(org.gnome.Documents:12708): Gjs-CRITICAL **: Attempting to call back into JSAPI during the sweeping phase of GC. This is most likely caused by not destroying a Clutter actor or Gtk+ widget with ::destroy signals connected, but can also be caused by using the destroy(), dispose(), or remove() vfuncs. Because it would crash the application, it has been blocked and the JS callback not invoked.

(org.gnome.Documents:12708): Gjs-CRITICAL **: The offending callback was destroy(), a vfunc.

I ran git bisect, which pointed to 026e25. This is the commit that added the destroy handler to the selection toolbar. Setting a breakpoint on the warning shows that it is generated when gtk_widget_dispose() is called on the selection toolbar.
Comment 1 Debarshi Ray 2017-10-25 06:08:51 UTC

*** This bug has been marked as a duplicate of bug 747506 ***