xreader crashes on document reloading

Bug #1594331 reported by Mickael Albertus
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Linux Mint
New
Undecided
Unassigned

Bug Description

When I want to reload my document or when the file is modified (by another program) the software crashes. It seems affect only big document.

I'm on the Linux Mint Beta and I use document viewer 1.0.6

I launched it on a terminal and it was written :

(xreader:4928): Gtk-CRITICAL **: gtk_widget_get_parent: assertion 'GTK_IS_WIDGET (widget)' failed

(xreader:4928): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'EvWebView'
Erreur de segmentation

description: updated
description: updated
Revision history for this message
Mickael Albertus (mickael-albertus) wrote :

It seems to affect onyly some files. I don't find the things that provoke crashes.

Revision history for this message
Soren ONeill (soren-s) wrote :

I can confirm this bug. Using xreader to display the pdf output of RStudio it will frequently crash, when the file is changed (by R / Rstudio).

When run from CLI I get:

(xreader:21665): Gtk-CRITICAL **: gtk_widget_get_parent: assertion 'GTK_IS_WIDGET (widget)' failed

(xreader:21665): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'EvWebView'

(xreader:21665): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(xreader:21665): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(xreader:21665): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(xreader:21665): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(xreader:21665): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(xreader:21665): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(xreader:21665): GLib-GObject-CRITICAL **: g_object_ref_sink: assertion 'G_IS_OBJECT (object)' failed

(xreader:21665): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(xreader:21665): Gtk-CRITICAL **: gtk_widget_get_parent: assertion 'GTK_IS_WIDGET (widget)' failed

(xreader:21665): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'EvWebView'

[1]+ Segmentation fault xreader

Revision history for this message
Emil Haldrup Eriksen (emher2510) wrote :

I am having the same problem. For me it's a pretty critical bug. I view graphs generated from matplotlib and latex documents while styling them, so a crash each time the underlying PDF file changes makes xreader pretty much useless. Here is a MWE in python to reproduce the bug:

import os
import tempfile
import time
import matplotlib.pyplot as plt

tmp_file = tempfile.gettempdir() + "/tmp.pdf"
plt.savefig(tmp_file)
os.system("xreader " + tmp_file + "&")
plt.plot([0], [0])
time.sleep(1)
plt.savefig(tmp_file)

And the error message i get is:

(xreader:10616): Gtk-CRITICAL **: gtk_widget_get_parent: assertion 'GTK_IS_WIDGET (widget)' failed

(xreader:10616): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'EvWebView'

I am using xreader 1.0.8 on Linux Mint 18 Cinnamon edition.

Revision history for this message
Oliver R. (oliverr) wrote :

I can confirm the bug for xreader 1.0.8 in LM 18 Xfce with a pretty small document. The only terminal output is (the German translation of) "segmentation fault".

Revision history for this message
Haik (estownya) wrote :

I have the same bug with arbitrary files.
Error is "segmentation fault"
I am using xreader 1.0.8 on Linux Mint 18 Cinnamon edition.

Revision history for this message
Haik (estownya) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.