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 311233 - Evince crashes with .ps files produced by gnuplot
Evince crashes with .ps files produced by gnuplot
Status: RESOLVED DUPLICATE of bug 314986
Product: evince
Classification: Core
Component: general
0.3.x
Other other
: High critical
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks: 312019
 
 
Reported: 2005-07-22 08:59 UTC by Pekka Manninen
Modified: 2006-01-12 22:23 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
tampmag.plt (1.01 KB, text/plain)
2005-07-25 19:55 UTC, Olav Vitters
Details
fig1.ps (16.98 KB, application/postscript)
2005-07-25 19:56 UTC, Olav Vitters
Details
tampmag.plt (1.01 KB, text/plain)
2005-07-26 09:43 UTC, Christian Persch
Details
t1_pao_dist.uns (976 bytes, text/plain)
2005-07-26 11:48 UTC, Christian Persch
Details
t2_pao_dist.uns (1.27 KB, text/plain)
2005-07-26 11:48 UTC, Christian Persch
Details
stack trace I received trying to reload a pdf file multiple times (9.19 KB, text/plain)
2005-08-06 01:35 UTC, Brent Smith (smitten)
Details

Description Pekka Manninen 2005-07-22 08:59:06 UTC
Distribution: Fedora Core release 4 (Stentz)
Package: evince
Severity: critical
Version: GNOME2.10.0 0.3.x
Gnome-Distributor: Red Hat, Inc
Synopsis: Evince crashes with .ps files produced by gnuplot
Bugzilla-Product: evince
Bugzilla-Component: general
Bugzilla-Version: 0.3.x
BugBuddy-GnomeVersion: 2.0 (2.10.0)
Description:
Description of the crash:
(evince:3177): GLib-GObject-WARNING **: invalid uninstantiatable type
`<invalid>' in cast to `EvJobRender'

** (evince:3177): CRITICAL **: ev_page_cache_get_size: assertion `page
>= 0 && page < page_cache->n_pages' failed

(evince:3177): GLib-GObject-WARNING **: invalid uninstantiatable type
`<invalid>' in cast to `EvJobRender'

** (evince:3177): CRITICAL **: ev_job_queue_remove_job: assertion
`EV_IS_JOB (job)' failed


Steps to reproduce the crash:
1. Produce a .ps file with Gnuplot 4.0
2. Have a evince in background
3. Try to reread the file after replot

Expected Results:


How often does this happen?
Systematically after two replots

Additional Information:



Debugging Information:

Backtrace was generated from '/usr/bin/evince'

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1209108800 (LWP 3203)]
[New Thread -1211233360 (LWP 3204)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0x00741402 in ?? ()

Thread 1 (Thread -1209108800 (LWP 3203))

  • #0 ??
  • #1 __waitpid_nocancel
    from /lib/libpthread.so.0
  • #2 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 pango_item_free
    from /usr/lib/libpango-1.0.so.0
  • #5 pango_layout_line_index_to_x
    from /usr/lib/libpango-1.0.so.0
  • #6 pango_layout_line_unref
    from /usr/lib/libpango-1.0.so.0
  • #7 pango_layout_line_unref
    from /usr/lib/libpango-1.0.so.0
  • #8 pango_layout_set_width
    from /usr/lib/libpango-1.0.so.0
  • #9 g_object_unref
    from /usr/lib/libgobject-2.0.so.0
  • #10 gtk_label_get
    from /usr/lib/libgtk-x11-2.0.so.0
  • #11 gtk_label_set_attributes
    from /usr/lib/libgtk-x11-2.0.so.0
  • #12 gtk_label_set_text
    from /usr/lib/libgtk-x11-2.0.so.0
  • #13 ev_page_action_get_type
  • #14 ev_page_action_get_type
  • #15 g_cclosure_marshal_VOID__PARAM
    from /usr/lib/libgobject-2.0.so.0
  • #16 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #17 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #18 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #19 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #20 g_object_interface_list_properties
    from /usr/lib/libgobject-2.0.so.0
  • #21 g_value_get_flags
    from /usr/lib/libgobject-2.0.so.0
  • #22 g_object_set_valist
    from /usr/lib/libgobject-2.0.so.0
  • #23 g_object_set
    from /usr/lib/libgobject-2.0.so.0
  • #24 ev_page_action_set_document
  • #25 ev_window_print_range
  • #26 ev_window_open
  • #27 ev_window_open
  • #28 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #29 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #30 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #31 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #32 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #33 gtk_action_create_menu_item
    from /usr/lib/libgtk-x11-2.0.so.0
  • #34 gtk_action_unblock_activate_from
    from /usr/lib/libgtk-x11-2.0.so.0
  • #35 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #36 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #37 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #38 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #39 gtk_accel_group_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #40 gtk_accel_groups_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #41 gtk_window_activate_key
    from /usr/lib/libgtk-x11-2.0.so.0
  • #42 gtk_window_activate_key
    from /usr/lib/libgtk-x11-2.0.so.0
  • #43 gtk_marshal_VOID__UINT_STRING
    from /usr/lib/libgtk-x11-2.0.so.0
  • #44 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #45 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #46 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #47 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #48 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #49 gtk_widget_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #50 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #51 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #52 gdk_screen_get_setting
    from /usr/lib/libgdk-x11-2.0.so.0
  • #53 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #54 g_main_context_check
    from /usr/lib/libglib-2.0.so.0
  • #55 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #56 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #57 main




------- Bug moved to this database by unknown@gnome.bugs 2005-07-22 08:59 UTC -------


The original reporter of this bug does not have
   an account here. Reassigning to the person who moved
   it here, unknown@gnome.bugs.
   Previous reporter was manninen@chem.au.dk.

Comment 1 Christian Persch 2005-07-23 09:29:31 UTC
Thanks for the bug report.

Can you please attach here (or make available on a web page) a gnuplot-produced
.ps with which you get this crash?
Comment 2 Olav Vitters 2005-07-25 19:55:44 UTC
Created attachment 49743 [details]
tampmag.plt
Comment 3 Olav Vitters 2005-07-25 19:56:42 UTC
Created attachment 49744 [details]
fig1.ps

Both from private mail to bugzilla-daemon.. which we luckily noticed between
all the spam.
Comment 4 Guillaume Desmottes 2005-07-25 20:18:30 UTC
Could you give the exact command to reproduce the bug please?
I'm not very familiar with gnuplot.
Comment 5 Olav Vitters 2005-07-25 20:25:52 UTC
This partly works:
  gnuplot < tampmag.plt

It wants the files t1_pao_dist.uns and t2_pao_dist.uns. Can we have that too?
Comment 6 Guillaume Desmottes 2005-07-25 20:49:32 UTC
I have made two data files to test.

I can't reproduce the bug with my 0.3.2 version.
I'm not sure to have understand how reproduce it.

- i plot
- open fig1.ps
- re plot
- reopen fig1.ps with the same evince

It's here that should crash?
Comment 7 Christian Persch 2005-07-26 09:42:35 UTC
Got the fig1.ps  and tampmag.plt from the reporter by mail.
Comment 8 Christian Persch 2005-07-26 09:43:14 UTC
Created attachment 49762 [details]
tampmag.plt
Comment 9 Christian Persch 2005-07-26 11:48:04 UTC
Hi,
                        
I reply again to this incorrect address as I don't have the private 
addresses for either of you (Guillaume Desmottes nor Olav Vitters).
                        
I'll try to give a combined answer: 
                        
> I can't reproduce the bug with my 0.3.2 version.
> I'm not sure to have understand how reproduce it.
> - i plot
> - open fig1.ps
> - re plot
> It's here that should crash?
                        
No. Sorry, I was unclear: Just open the .ps file, and try to reread it with
Ctrl-R. (I noticed the bug while replotting the script and trying to reread the
new .ps file, but I later found out that the bug occurs while re-reading the
same, i.e. unmodified .ps file for several times). Repeat that for two or three
 times and the crash should occur. 
                        
> Could you give the exact command to reproduce the bug please?
> I'm not very familiar with gnuplot.
...
> It wants the files t1_pao_dist.uns and t2_pao_dist.uns. Can we have that too?
                        
Just typing "gnuplot tampmag.plt" should do. Please find those data files
attached.
                        
> Both from private mail to bugzilla-daemon.. which we luckily noticed between
> all the spam.
                        
Yes, I _did_ notice the "DO NOT reply" :-) But Christian Persch asked me the
.ps file and didn't give any more propriate address.
Comment 10 Christian Persch 2005-07-26 11:48:33 UTC
Created attachment 49769 [details]
t1_pao_dist.uns
Comment 11 Christian Persch 2005-07-26 11:48:51 UTC
Created attachment 49770 [details]
t2_pao_dist.uns
Comment 12 Marco Pesenti Gritti 2005-07-26 11:59:13 UTC
Could anyone that understand this recap it please? How do I reproduce it?
Comment 13 Christian Kirbach 2005-07-30 09:57:26 UTC
unique stack trace btw.
Comment 14 Brent Smith (smitten) 2005-08-06 01:35:04 UTC
Created attachment 50304 [details]
stack trace I received trying to reload a pdf file multiple times

this is a stacktrace I received trying to reproduce the bug.  I simply tried 
reloading the pdf file from bug 311154 multiple times and evince crashed.
The stack trace looks different, but I thought it may be relevant.
Comment 15 Brent Smith (smitten) 2005-08-06 01:39:26 UTC
if this is on the blocker list, then it should be set NEW.
Comment 16 Marco Pesenti Gritti 2005-08-31 17:08:35 UTC
I need a clear explanation of how to reproduce this.
Comment 17 Christian Kirbach 2005-10-07 12:54:37 UTC
for the record: no crash here with Evince 0.1.9

Comment 18 Christian Kirbach 2005-12-13 22:23:34 UTC
Confirming with Evince 0.4.0
Open the file and re-read it several times with the reload button.

  • #2 <signal handler called>
  • #3 IA__g_object_unref
    at gobject.c line 1651
  • #4 IA__g_datalist_clear
    at gdataset.c line 125
  • #5 g_object_finalize
    at gobject.c line 534
  • #6 IA__g_object_unref
    at gobject.c line 1702
  • #7 g_value_object_free_value
    at gobject.c line 1822
  • #8 IA__g_value_unset
    at gvalue.c line 155
  • #9 IA__g_signal_emit_valist
    at gsignal.c line 2274
  • #10 IA__g_signal_emit_by_name
    at gsignal.c line 2312
  • #11 push_pixbuf
    at ps-document.c line 221
  • #12 ps_document_widget_event
    at ps-document.c line 249
  • #13 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 83
  • #14 IA__g_closure_invoke
    at gclosure.c line 492
  • #15 signal_emit_unlocked_R
    at gsignal.c line 2485
  • #16 IA__g_signal_emit_valist
    at gsignal.c line 2254
  • #17 IA__g_signal_emit
    at gsignal.c line 2288
  • #18 gtk_widget_event_internal
    at gtkwidget.c line 3638
  • #19 IA__gtk_main_do_event
    at gtkmain.c line 1390
  • #20 gdk_event_dispatch
    at gdkevents-x11.c line 2291
  • #21 IA__g_main_context_dispatch
    at gmain.c line 1934
  • #22 g_main_context_iterate
    at gmain.c line 2565
  • #23 IA__g_main_loop_run
    at gmain.c line 2769
  • #24 IA__gtk_main
    at gtkmain.c line 991
  • #25 main
    at main.c line 295

Comment 19 Nickolay V. Shmyrev 2006-01-12 15:29:12 UTC
This problem should be really fixed in CVS. Hope, there will be a release with fix included. 

*** This bug has been marked as a duplicate of 314986 ***
Comment 20 Christian Kirbach 2006-01-12 22:23:04 UTC
seems to be fixed