Bug 1319421 - gnome-documents crashes on startup
Summary: gnome-documents crashes on startup
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-documents
Version: 24
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Elad Alfassa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1319417
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-19 18:46 UTC by Heiko Adams
Modified: 2016-03-25 23:55 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-25 23:55:38 UTC
Type: Bug


Attachments (Terms of Use)

Description Heiko Adams 2016-03-19 18:46:05 UTC
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:

Comment 1 Pranav Kant 2016-03-19 18:51:25 UTC
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

Comment 2 Heiko Adams 2016-03-19 18:55:35 UTC
Is it possible to apply the patches to Fedora's current gnome-documents package?

Comment 3 Pranav Kant 2016-03-19 18:58:14 UTC
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.

Comment 4 Pranav Kant 2016-03-25 23:55:38 UTC
This is fixed in latest version, 3.20.


Note You need to log in before you can comment on or make changes to this bug.