GNOME Bugzilla – Bug 417196
Eog crashes when no argument is given
Last modified: 2007-03-15 23:10:28 UTC
Steps to reproduce: 1. Launch eog 2.18.0 (no argument given) Stack trace: Distribution: Debian 3.1 Gnome Release: 2.17.92 2007-02-26 (quantum-bits.org) BugBuddy Version: 2.17.4 System: Linux 2.6.20.2 #1 SMP PREEMPT Sat Mar 10 15:45:58 CET 2007 i686 X Vendor: The X.Org Foundation X Vendor Release: 70101000 Selinux: No Accessibility: Disabled GTK+ Theme: Human-Graphite Icon Theme: OrangoTango Memory status: size: 51441664 vsize: 51441664 resident: 22155264 share: 10264576 rss: 22155264 rss_rlim: 4294967295 CPU usage: start_time: 1173641454 rtime: 52 utime: 43 stime: 9 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100 Backtrace was generated from '/usr/bin/eog' [?1034hUsing host libthread_db library "/lib/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread -1237063984 (LWP 8516)] 0xffffe410 in __kernel_vsyscall ()
+ Trace 117784
Thread 1 (Thread -1237063984 (LWP 8516))
Other information: version: 2.18.0
Created attachment 84447 [details] [review] fix This is the obvious fix. I am sorry for having left this in.
Created attachment 84449 [details] [review] correct fix Actually, this is the fix. The if block is not supposed to include the call to eog_wrap_list_set_model ()
Unfortunately it was too late to include for 2.18.0.
Fixed in trunk: 2007-03-15 Claudio Saavedra <csaavedra@alumnos.utalca.cl> * shell/eog-window.c: (eog_window_open): Fix critical warning when starting EOG without a file/directory to open. Fixes bug #417196.