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 613025 - Crash when saving edited copy over the original file
Crash when saving edited copy over the original file
Status: RESOLVED DUPLICATE of bug 602405
Product: evince
Classification: Core
Component: general
2.28.x
Other Linux
: High critical
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-03-16 10:27 UTC by Victor Engmark
Modified: 2010-03-16 16:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Victor Engmark 2010-03-16 10:27:22 UTC
Evince 2.28.1 using poppler 0.12.0 (cairo). How to
reproduce:
1. Download an official income tax declaration for Geneva, Switzerland:
http://ge.ch/impots/portal/jcr?workspace=EtatDeGenevePublie&path=/afc/documents/IS/2010/IS%20decla10_fr.pdf
2. Edit the "Nom" field
3. Ctrl-S
4. Select the original file
5. Click Save

At this point, Evince crashes. 100% reproducible across 4 tries.

Also reported in bug 480668.
Comment 1 Fabio Durán Verdugo 2010-03-16 14:52:30 UTC
I can't reproduce in evince 2.29.92 poppler 0.12.4, I think this is fixed, but, Can you get us a stack trace? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance!
Comment 2 Victor Engmark 2010-03-16 15:25:22 UTC
1. `sudo apt-get install evince-dbg libglib2.0-0-dbg libgtk2.0-0-dbg libgnomevfs2-0-dbg bug-buddy`
2. Repeated points 2-5 above.
3. Evince crashed.

At this point, I got no bug-buddy pop-up and there's nothing in /var/crash, but there's the following line in /var/log/messages:
Mar 16 16:20:05 hostname kernel: [20377.836640] evince[32704]: segfault at 0 ip b76c67f0 sp bff36ac0 error 4 in libevview.so.1.0.0[b76ae000+28000]
Comment 3 Fabio Durán Verdugo 2010-03-16 15:43:25 UTC
steps

~ gdb evince
(gdb) run
reproduce your steps
when crash type thread apply all bt
Comment 4 Victor Engmark 2010-03-16 15:51:27 UTC
$ gdb evince
GNU gdb (GDB) 7.0-ubuntu
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/evince...Reading symbols from /usr/lib/debug/usr/bin/evince...done.
(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/evince 
[Thread debugging using libthread_db enabled]
[New Thread 0xb5677b70 (LWP 1119)]
[New Thread 0xb4a5eb70 (LWP 1120)]
[New Thread 0xb3fffb70 (LWP 1123)]
[New Thread 0xb10ffb70 (LWP 1124)]
[New Thread 0xb08feb70 (LWP 1125)]
[Thread 0xb10ffb70 (LWP 1124) exited]
[Thread 0xb3fffb70 (LWP 1123) exited]
[Thread 0xb4a5eb70 (LWP 1120) exited]
[New Thread 0xb4a5eb70 (LWP 1126)]
[New Thread 0xb3fffb70 (LWP 1127)]
[Thread 0xb08feb70 (LWP 1125) exited]
[Thread 0xb3fffb70 (LWP 1127) exited]
[New Thread 0xb3fffb70 (LWP 1128)]
[Thread 0xb3fffb70 (LWP 1128) exited]
[New Thread 0xb3fffb70 (LWP 1129)]
[Thread 0xb4a5eb70 (LWP 1126) exited]
[New Thread 0xb4a5eb70 (LWP 1130)]
[Thread 0xb4a5eb70 (LWP 1130) exited]
[New Thread 0xb4a5eb70 (LWP 1131)]
[Thread 0xb4a5eb70 (LWP 1131) exited]
[New Thread 0xb4a5eb70 (LWP 1132)]
[New Thread 0xb08feb70 (LWP 1133)]

Program received signal SIGSEGV, Segmentation fault.
doc_rect_to_view_rect (view=0x82b6140, page=<value optimized out>, 
    doc_rect=0x0, view_rect=0xbfa6fb70) at ev-view.c:950
950	ev-view.c: No such file or directory.
	in ev-view.c
(gdb) thread apply all bt

Thread 1 (Thread 0xb65b4980 (LWP 1116))

  • #0 doc_rect_to_view_rect
    at ev-view.c line 950
  • #1 ev_view_get_area_from_mapping
    at ev-view.c line 1149
  • #2 ev_view_size_allocate
    at ev-view.c line 2621
  • #3 IA__g_cclosure_marshal_VOID__BOXED
    at /build/buildd/glib2.0-2.22.3/gobject/gmarshal.c line 566
  • #4 g_type_class_meta_marshal
    at /build/buildd/glib2.0-2.22.3/gobject/gclosure.c line 878
  • #5 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.22.3/gobject/gclosure.c line 767
  • #6 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.22.3/gobject/gsignal.c line 3177
  • #7 IA__g_signal_emit_valist
  • #8 IA__g_signal_emit
    at /build/buildd/glib2.0-2.22.3/gobject/gsignal.c line 3037
  • #9 IA__gtk_widget_size_allocate
    at /build/buildd/gtk+2.0-2.18.3/gtk/gtkwidget.c line 3887
  • #10 gtk_scrolled_window_size_allocate
    at /build/buildd/gtk+2.0-2.18.3/gtk/gtkscrolledwindow.c line 1430
  • #11 IA__g_cclosure_marshal_VOID__BOXED
    at /build/buildd/glib2.0-2.22.3/gobject/gmarshal.c line 566
  • #12 g_type_class_meta_marshal
    at /build/buildd/glib2.0-2.22.3/gobject/gclosure.c line 878
  • #13 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.22.3/gobject/gclosure.c line 767
  • #14 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.22.3/gobject/gsignal.c line 3177
  • #15 IA__g_signal_emit_valist
  • #16 IA__g_signal_emit
    at /build/buildd/glib2.0-2.22.3/gobject/gsignal.c line 3037
  • #17 IA__gtk_widget_size_allocate
    at /build/buildd/gtk+2.0-2.18.3/gtk/gtkwidget.c line 3887
  • #18 gtk_box_size_allocate
    at /build/buildd/gtk+2.0-2.18.3/gtk/gtkbox.c line 500
  • #19 IA__g_cclosure_marshal_VOID__BOXED
    at /build/buildd/glib2.0-2.22.3/gobject/gmarshal.c line 566
  • #20 g_type_class_meta_marshal
    at /build/buildd/glib2.0-2.22.3/gobject/gclosure.c line 878
  • #21 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.22.3/gobject/gclosure.c line 767
  • #22 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.22.3/gobject/gsignal.c line 3177
  • #23 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.22.3/gobject/gsignal.c line 2980
  • #24 IA__g_signal_emit
    at /build/buildd/glib2.0-2.22.3/gobject/gsignal.c line 3037
  • #25 IA__gtk_widget_size_allocate
    at /build/buildd/gtk+2.0-2.18.3/gtk/gtkwidget.c line 3887
  • #26 gtk_paned_size_allocate
    at /build/buildd/gtk+2.0-2.18.3/gtk/gtkpaned.c line 946
  • #27 IA__g_cclosure_marshal_VOID__BOXED
    at /build/buildd/glib2.0-2.22.3/gobject/gmarshal.c line 566
  • #28 g_type_class_meta_marshal
    at /build/buildd/glib2.0-2.22.3/gobject/gclosure.c line 878
  • #29 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.22.3/gobject/gclosure.c line 767
  • #30 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.22.3/gobject/gsignal.c line 3177
  • #31 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.22.3/gobject/gsignal.c line 2980
  • #32 IA__g_signal_emit
    at /build/buildd/glib2.0-2.22.3/gobject/gsignal.c line 3037
  • #33 IA__gtk_widget_size_allocate
  • #34 gtk_box_size_allocate
    at /build/buildd/gtk+2.0-2.18.3/gtk/gtkbox.c line 500
  • #35 IA__g_cclosure_marshal_VOID__BOXED
    at /build/buildd/glib2.0-2.22.3/gobject/gmarshal.c line 566
  • #36 g_type_class_meta_marshal
    at /build/buildd/glib2.0-2.22.3/gobject/gclosure.c line 878
  • #37 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.22.3/gobject/gclosure.c line 767
  • #38 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.22.3/gobject/gsignal.c line 3177
  • #39 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.22.3/gobject/gsignal.c line 2980
  • #40 IA__g_signal_emit
    at /build/buildd/glib2.0-2.22.3/gobject/gsignal.c line 3037
  • #41 IA__gtk_widget_size_allocate
    at /build/buildd/gtk+2.0-2.18.3/gtk/gtkwidget.c line 3887
  • #42 gtk_window_size_allocate
    at /build/buildd/gtk+2.0-2.18.3/gtk/gtkwindow.c line 4941
  • #43 IA__g_cclosure_marshal_VOID__BOXED
    at /build/buildd/glib2.0-2.22.3/gobject/gmarshal.c line 566
  • #44 g_type_class_meta_marshal
    at /build/buildd/glib2.0-2.22.3/gobject/gclosure.c line 878
  • #45 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.22.3/gobject/gclosure.c line 767
  • #46 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.22.3/gobject/gsignal.c line 3177
  • #47 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.22.3/gobject/gsignal.c line 2980
  • #48 IA__g_signal_emit
    at /build/buildd/glib2.0-2.22.3/gobject/gsignal.c line 3037
  • #49 IA__gtk_widget_size_allocate
    at /build/buildd/gtk+2.0-2.18.3/gtk/gtkwidget.c line 3887
  • #50 IA__gtk_container_resize_children
    at /build/buildd/gtk+2.0-2.18.3/gtk/gtkcontainer.c line 1470
  • #51 gtk_window_move_resize
    at /build/buildd/gtk+2.0-2.18.3/gtk/gtkwindow.c line 6352
  • #52 gtk_window_check_resize
    at /build/buildd/gtk+2.0-2.18.3/gtk/gtkwindow.c line 5358
  • #53 IA__g_cclosure_marshal_VOID__VOID
    at /build/buildd/glib2.0-2.22.3/gobject/gmarshal.c line 77
  • #54 g_type_class_meta_marshal
    at /build/buildd/glib2.0-2.22.3/gobject/gclosure.c line 878
  • #55 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.22.3/gobject/gclosure.c line 767
  • #56 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.22.3/gobject/gsignal.c line 3285
  • #57 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.22.3/gobject/gsignal.c line 2980
  • #58 IA__g_signal_emit
    at /build/buildd/glib2.0-2.22.3/gobject/gsignal.c line 3037
  • #59 IA__gtk_container_check_resize
    at /build/buildd/gtk+2.0-2.18.3/gtk/gtkcontainer.c line 1424
  • #60 gtk_container_idle_sizer
    at /build/buildd/gtk+2.0-2.18.3/gtk/gtkcontainer.c line 1350
  • #61 gdk_threads_dispatch
    at /build/buildd/gtk+2.0-2.18.3/gdk/gdk.c line 506
  • #62 g_idle_dispatch
    at /build/buildd/glib2.0-2.22.3/glib/gmain.c line 4065
  • #63 g_main_dispatch
    at /build/buildd/glib2.0-2.22.3/glib/gmain.c line 1960
  • #64 IA__g_main_context_dispatch
    at /build/buildd/glib2.0-2.22.3/glib/gmain.c line 2513
  • #65 g_main_context_iterate
    at /build/buildd/glib2.0-2.22.3/glib/gmain.c line 2591
  • #66 IA__g_main_loop_run
    at /build/buildd/glib2.0-2.22.3/glib/gmain.c line 2799
  • #67 IA__gtk_main
    at /build/buildd/gtk+2.0-2.18.3/gtk/gtkmain.c line 1218
  • #68 main
    at main.c line 497

Comment 5 Victor Engmark 2010-03-16 15:53:02 UTC
I guess the "No such file or directory" could be because the path is not trivial - Both the directory and the file name contains spaces.
Comment 6 Fabio Durán Verdugo 2010-03-16 16:25:28 UTC
Thanks for taking the time to report this bug.
This particular bug has already been reported into our bug tracking system, but we are happy to tell you that the problem has already been fixed. It should be solved in the next software version. You may want to check for a software upgrade.

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