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 595372 - crash in Document Viewer: when /tmp/ is full
crash in Document Viewer: when /tmp/ is full
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: general
2.26.x
Other All
: Normal critical
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-09-16 14:22 UTC by sworley
Modified: 2009-10-25 18:39 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
patch (22.61 KB, patch)
2009-10-25 15:06 UTC, Christian Persch
none Details | Review

Description sworley 2009-09-16 14:22:51 UTC
Version: 2.26.2

What were you doing when the application crashed?
Reading PDF documents with a full /tmp/:

$ mkdir /tmp/evince-8897
mkdir: cannot create directory `/tmp/evince-8897': No space left on device



Distribution: Gentoo Base System release 2.0.1
Gnome Release: 2.24.3 2009-07-10 (Gentoo)
BugBuddy Version: 2.24.2

System: Linux 2.6.30-gentoo-r5 #1 SMP Wed Aug 19 01:54:08 PDT 2009 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10603000
Selinux: No
Accessibility: Disabled
GTK+ Theme: Clearlooks
Icon Theme: gnome

Memory status: size: 121163776 vsize: 121163776 resident: 78151680 share: 15269888 rss: 78151680 rss_rlim: 18446744073709551615
CPU usage: start_time: 1253095967 rtime: 4522 utime: 4095 stime: 427 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

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

[Thread debugging using libthread_db enabled]
[New Thread 0xb6fa3700 (LWP 8897)]
[New Thread 0xb5eb7b90 (LWP 8945)]
0xffffe424 in __kernel_vsyscall ()

Thread 1 (Thread 0xb6fa3700 (LWP 8897))

  • #0 __kernel_vsyscall
  • #1 waitpid
    from /lib/libpthread.so.0
  • #2 IA__g_spawn_sync
    at gspawn.c line 382
  • #3 IA__g_spawn_command_line_sync
    at gspawn.c line 694
  • #4 run_bug_buddy
    at gnome-breakpad.cc line 223
  • #5 check_if_gdb
    at gnome-breakpad.cc line 292
  • #6 bugbuddy_segv_handle
    at gnome-breakpad.cc line 84
  • #7 <signal handler called>
  • #8 __kernel_vsyscall
  • #9 *__GI_raise
    at ../nptl/sysdeps/unix/sysv/linux/raise.c line 64
  • #10 *__GI_abort
    at abort.c line 88
  • #11 IA__g_assertion_message
  • #12 IA__g_assertion_message_expr
    at gtestutils.c line 1312
  • #13 ev_tmp_dir
    at ev-file-helpers.c line 67
  • #14 ev_tmp_filename
    at ev-file-helpers.c line 116
  • #15 ev_image_save_tmp
    at ev-image.c line 143
  • #16 ev_view_drag_data_get
    at ev-view.c line 2750
  • #17 _gtk_marshal_VOID__OBJECT_BOXED_UINT_UINT
    at gtkmarshalers.c line 2038
  • #18 g_type_class_meta_marshal
    at gclosure.c line 878
  • #19 IA__g_closure_invoke
    at gclosure.c line 767
  • #20 signal_emit_unlocked_R
    at gsignal.c line 3285
  • #21 IA__g_signal_emit_valist
    at gsignal.c line 2980
  • #22 IA__g_signal_emit_by_name
    at gsignal.c line 3074
  • #23 gtk_drag_selection_get
    at gtkdnd.c line 3690
  • #24 _gtk_marshal_VOID__BOXED_UINT_UINT
    at gtkmarshalers.c line 1538
  • #25 IA__g_closure_invoke
    at gclosure.c line 767
  • #26 signal_emit_unlocked_R
    at gsignal.c line 3247
  • #27 IA__g_signal_emit_valist
    at gsignal.c line 2980
  • #28 IA__g_signal_emit_by_name
    at gsignal.c line 3074
  • #29 gtk_selection_invoke_handler
    at gtkselection.c line 2953
  • #30 IA__gtk_selection_convert
    at gtkselection.c line 1084
  • #31 gtk_drag_dest_drop
    at gtkdnd.c line 2172
  • #32 gtk_drag_find_widget
    at gtkdnd.c line 1777
  • #33 _gtk_drag_dest_handle_event
    at gtkdnd.c line 1460
  • #34 IA__gtk_main_do_event
    at gtkmain.c line 1620
  • #35 gdk_event_dispatch
    at gdkevents-x11.c line 2365
  • #36 IA__g_main_context_dispatch
    at gmain.c line 1824
  • #37 g_main_context_iterate
    at gmain.c line 2455
  • #38 IA__g_main_loop_run
    at gmain.c line 2663
  • #39 IA__gtk_main
    at gtkmain.c line 1200
  • #40 main
    at main.c line 398
  • #0 __kernel_vsyscall


----------- .xsession-errors (5843 sec old) ---------------------
(evolution:11393): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
(evolution:11393): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
(evolution:11393): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
(evolution:11393): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
(evolution:11393): gtkhtml-editor-WARNING **: en-US: No such language
(evolution:11393): gtkhtml-WARNING **: oo
(evolution:11393): gtkhtml-WARNING **: oo
yavs: Yet Another Vertical Scroller, version 1.2
(c) 1998 Steve Bassler http://www.westol.com/~bassmstr
--------------------------------------------------
Comment 1 sworley 2009-09-16 23:16:02 UTC
Also, these messages were logged to the console:

...
Error (104859): insufficient arguments for Marked Content
Error (104859): insufficient arguments for Marked Content
Error (104859): insufficient arguments for Marked Content
I/O error : No space left on device
I/O error : write error

(evince:8897): EvinceDocument-WARNING **: Failed to create directory /tmp/evince-8897: No space left on device
**
EvinceDocument:ERROR:ev-file-helpers.c:67:ev_tmp_dir: assertion failed: (exists)
Comment 2 Christian Persch 2009-10-25 15:06:06 UTC
Created attachment 146210 [details] [review]
patch

Clean up temp file handling to make sure we can cope with not being able to create our temp directory.
Comment 3 Christian Persch 2009-10-25 18:39:28 UTC
Fixed on master.