Bug#581376: segmentation fault when .gnome2/evince/ directory doesn't exist

jdietrch at fastmail.fm jdietrch at fastmail.fm
Wed May 12 14:52:10 UTC 2010


Package: evince
Version: 2.30.1-2
Severity: normal

Evince segfaulted every time I tried to run it. So I created a new user
to be sure no settings were messed up, and the same thing still
happened:
---------------------------------------------------------------------
test at saturn:~$ evince invoices_34551_1273669464.pdf 

** (evince:18898): WARNING **: Error creating last_settings file: Error
opening file '/home/test/.gnome2/evince/last_settings': No such file or
directory

Segmentation fault
test at saturn:~$
---------------------------------------------------------------------

Next I ran the same command under strace and the last few lines looked
interesting:

---------------------------------------------------------------------
test at saturn:~$ strace evince invoices_34551_1273669464.pdf
[snip]
lstat64("/home/test/.gnome2/evince/last_settings", 0xbfd4e82c) = -1
ENOENT (No such file or directory)
open("/home/test/.gnome2/evince/last_settings",
O_WRONLY|O_CREAT|O_EXCL|O_LARGEFILE, 0666) = -1 ENOENT (No such file or
directory)
write(2, "\n** (evince:18968): WARNING **: "..., 156
** (evince:18968): WARNING **: Error creating last_settings file: Error
opening file '/home/test/.gnome2/evince/last_settings': No such file or
directory

) = 156
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Segmentation fault
test at saturn:~$
---------------------------------------------------------------------

After manually creating the .gnome2/evince/ directory, evince started up
just fine:

---------------------------------------------------------------------
test at saturn:~$ mkdir .gnome2/evince
test at saturn:~$ evince invoices_34551_1273669464.pdf 
test at saturn:~$
---------------------------------------------------------------------

I'm running up-to-date testing.

Let me know if you need any further information; I'll be glad to help if
I can.

Thanks,
James Dietrich







More information about the pkg-gnome-maintainers mailing list