Hide Forgot
Description of problem: gnome-documents crashes on startup with following error message: $ gnome-documents (org.gnome.Documents:24611): Gjs-WARNING **: JS ERROR: TypeError: this.view is undefined LOKView<._init@resource:///org/gnome/Documents/js/lokview.js:140 wrapper@resource:///org/gnome/gjs/modules/lang.js:178 Embed<._init@resource:///org/gnome/Documents/js/embed.js:93 wrapper@resource:///org/gnome/gjs/modules/lang.js:178 MainWindow<._init@resource:///org/gnome/Documents/js/mainWindow.js:85 wrapper@resource:///org/gnome/gjs/modules/lang.js:178 Application<._createWindow@resource:///org/gnome/Documents/js/application.js:663 wrapper@resource:///org/gnome/gjs/modules/lang.js:178 Application<.vfunc_activate@resource:///org/gnome/Documents/js/application.js:692 wrapper@resource:///org/gnome/gjs/modules/lang.js:178 main@resource:///org/gnome/Documents/js/main.js:48 run@resource:///org/gnome/gjs/modules/package.js:192 @/usr/bin/gnome-documents:6 (org.gnome.Documents:24611): 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() or dispose() vfuncs. Because it would crash the application, it has been blocked and the JS callback not invoked. (org.gnome.Documents:24611): Gjs-CRITICAL **: The offending signal was destroy on Gjs_ViewContainer 0x557bfb497a50. (org.gnome.Documents:24611): 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() or dispose() vfuncs. Because it would crash the application, it has been blocked and the JS callback not invoked. (org.gnome.Documents:24611): Gjs-CRITICAL **: The offending signal was destroy on Gjs_ViewContainer 0x557bfb497c10. (org.gnome.Documents:24611): 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() or dispose() vfuncs. Because it would crash the application, it has been blocked and the JS callback not invoked. (org.gnome.Documents:24611): Gjs-CRITICAL **: The offending signal was destroy on Gjs_ViewContainer 0x557bfb497dd0. (org.gnome.Documents:24611): 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() or dispose() vfuncs. Because it would crash the application, it has been blocked and the JS callback not invoked. (org.gnome.Documents:24611): Gjs-CRITICAL **: The offending signal was destroy on Gjs_PreviewView 0x557bfb497f90. Segmentation fault (Speicherabzug geschrieben) Version-Release number of selected component (if applicable): $ rpm -q gnome-documents gnome-documents-3.19.4-3.fc24.x86_64 $ rpm -q gjs gjs-1.45.3-2.fc24.x86_64 How reproducible: allways Steps to Reproduce: 1. Open gnome-docuemts from terminal 2. 3. Actual results: gnome-documents crashes on startup Expected results: gnome-document should start and work as expected Additional info:
This is fixed upstream, but unfortunately there is no release after 3.19.4 for gnome-documents. These upstream commits should fix the crash: https://git.gnome.org/browse/gnome-documents/commit/?id=99b3072d9e8f55bedc4cbcadf9746ff16ca4bd16 https://git.gnome.org/browse/gnome-documents/commit/?id=1380ad9c8dcdebf9d4970dd04757ef696d82ca32
Is it possible to apply the patches to Fedora's current gnome-documents package?
Yes, definitely. I am afraid I do not have the access to commit and fix this, but anyone else looking at this and who have the access, please apply these patches.
This is fixed in latest version, 3.20.