Bug#507991: [eog] Crashes when trying to save write protected file

2009-03-19 Thread Matthias Bläsing
Hey,

excuse the late reply. I'm digging through a pile of emails. But yes, I
can reproduce it with (now) 2.24.3.1-1. I was able to get a backtrace
now:

mblaes...@enterprise:~$ gdb /usr/bin/eog
GNU gdb 6.8-debian
Copyright (C) 2008 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...
(gdb) run
Starting program: /usr/bin/eog 
[Thread debugging using libthread_db enabled]
[New Thread 0xb694a750 (LWP 5407)]
[New Thread 0xb67a8b90 (LWP 5410)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb67a8b90 (LWP 5410)]
0x08078f15 in tmp_file_move_to_uri (image=value optimized out, 
tmpfile=value optimized out, file=0x8bef310, overwrite=1, 
error=0x930ca84) at eog-image.c:1339
1339eog-image.c: No such file or directory.
in eog-image.c
(gdb) backtrace
#0  0x08078f15 in tmp_file_move_to_uri (image=value optimized out, 
tmpfile=value optimized out, file=0x8bef310, overwrite=1, 
error=0x930ca84) at eog-image.c:1339
#1  0x0807a5c6 in eog_image_save_by_info (img=0x93350e0,
source=0x8be9860, 
error=0x930ca84) at eog-image.c:1501
#2  0x08087c87 in eog_job_save_real_run (job=0x930ca78) at
eog-jobs.c:569
#3  0x08086f61 in eog_job_save_run (job=0x930ca78) at eog-jobs.c:590
#4  0x08086e6d in eog_render_thread (data=0x0) at eog-job-queue.c:84
#5  0xb7546e2f in g_thread_create_proxy (data=0x8a062d0)

at /build/buildd-glib2.0_2.20.0-1-i386-yJa20r/glib2.0-2.20.0/glib/gthread.c:635
#6  0xb7e30f50 in start_thread () from /lib/libpthread.so.0
#7  0xb744e5de in clone () from /lib/libc.so.6
(gdb) 

To get this trace I did this:

Placed tuz.png on the desktop, remove the write permission for me and
opened it in eog, rotated it left by 90° and pressed CTRL-S to save the
resulting image.

Here some more Info about the file - whether this is imported: I don't
know:
mblaes...@enterprise:~$ ls -lh Desktop/tuz.png 
-r--r--r-- 1 mblaesing mblaesing 280K 18. Mär 21:38 Desktop/tuz.png
mblaes...@enterprise:~$ file Desktop/tuz.png 
Desktop/tuz.png: PNG image, 1024 x 765, 8-bit/color RGBA, non-interlaced
mblaes...@enterprise:~$ 

I hope that helps

Greetings

Matthias


Am Freitag, den 23.01.2009, 15:42 +0100 schrieb Josselin Mouette:
 Le samedi 06 décembre 2008 à 18:41 +0100, Matthias Bläsing a écrit :
  eog just gave me the problem, that it crashed without an obvious reason.
  Some investigation revealed, that it crashed, when trying to save a
  write protected file. Adding write permissions allowed me to save the
  image without a crash.
 
 I can’t seem to reproduce this with version 2.24.2-1.
 
 Could you try it as well?
 
 Thanks,
-- 
The man who trades freedom for security does not deserve,
nor will he receive either!

Benjamin Franklin





--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#507991: [eog] Crashes when trying to save write protected file

2009-01-23 Thread Josselin Mouette
Le samedi 06 décembre 2008 à 18:41 +0100, Matthias Bläsing a écrit :
 eog just gave me the problem, that it crashed without an obvious reason.
 Some investigation revealed, that it crashed, when trying to save a
 write protected file. Adding write permissions allowed me to save the
 image without a crash.

I can’t seem to reproduce this with version 2.24.2-1.

Could you try it as well?

Thanks,
-- 
 .''`.
: :' :  We are debian.org. Lower your prices, surrender your code.
`. `'   We will add your hardware and software distinctiveness to
  `-our own. Resistance is futile.


signature.asc
Description: Ceci est une partie de message	numériquement signée


Bug#507991: [eog] Crashes when trying to save write protected file

2008-12-06 Thread Matthias Bläsing
Package: eog
Version: 2.24.1-1
Severity: normal

--- Please enter the report below this line. ---

Hey,

eog just gave me the problem, that it crashed without an obvious reason.
Some investigation revealed, that it crashed, when trying to save a
write protected file. Adding write permissions allowed me to save the
image without a crash.

This is the backtrace from bugbuddy:

Distribution: Debian lenny/sid
Gnome Release: 2.24.1 2008-11-17 (Debian)
BugBuddy Version: 2.22.0

System: Linux 2.6.28-rc7-git5 #1 SMP Sat Dec 6 12:42:06 CET 2008 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10503000
Selinux: No
Accessibility: Disabled
GTK+ Theme: Human
Icon Theme: gnome

Memory status: size: 65839104 vsize: 65839104 resident: 41582592 share:
12759040 rss: 41582592 rss_rlim: 18446744073709551615
CPU usage: start_time: 1228584939 rtime: 111 utime: 100 stime: 11
cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

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

[Thread debugging using libthread_db enabled]
[New Thread 0xb6a109c0 (LWP 23104)]
[New Thread 0xb67c0b90 (LWP 23105)]
0xb800f424 in __kernel_vsyscall ()
#0  0xb800f424 in __kernel_vsyscall ()
#1  0xb755cee7 in poll () from /lib/i686/cmov/libc.so.6
#2  0xb76408c2 in g_main_context_iterate (context=0xa011ec8, block=1, 
dispatch=1, self=0x9fec408)
at /tmp/buildd/glib2.0-2.18.3/glib/gmain.c:3091
#3  0xb7640f52 in IA__g_main_loop_run (loop=0xa324f70)
at /tmp/buildd/glib2.0-2.18.3/glib/gmain.c:2986
#4  0xb7a89e09 in IA__gtk_main ()
at /build/buildd/gtk+2.0-2.14.5/gtk/gtkmain.c:1200
#5  0x08061589 in main (argc=2, argv=) at main.c:229

Thread 2 (Thread 0xb67c0b90 (LWP 23105)):
#0  0xb800f424 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7e9205b in waitpid () from /lib/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0xb76761c3 in IA__g_spawn_sync (working_directory=0x0,
argv=0xa1af4c0, 
envp=0x0, flags=value optimized out, child_setup=0,
user_data=0x0, 
standard_output=0x0, standard_error=0x0, exit_status=0x0, 
error=0xb67bfc78) at /tmp/buildd/glib2.0-2.18.3/glib/gspawn.c:382
outpipe = -1
errpipe = -1
pid = 23107
fds = {__fds_bits = {-1218160538, 160, 0, 8, -1217691072, 0, 
168716976, -1233389096, -1218064287, 8, 168716976, 4, -1217691072,
0, 
169538764, -1233389000, -1218077075, 168716976, -1218160592, 0, 
-1218571968, 5, 173825544, 11, -1233389016, -1233389020, 169538752,
3, 0, 
6159104, 874652188, 168716976}}
ret = value optimized out
outstr = (GString *) 0x0
errstr = (GString *) 0x0
failed = 0
status = value optimized out
__PRETTY_FUNCTION__ = IA__g_spawn_sync
#3  0xb76764cc in IA__g_spawn_command_line_sync (
command_line=0xa1af510 bug-buddy --appname=\eog\ --pid=23104, 
standard_output=0x0, standard_error=0x0, exit_status=0x0, 
error=0xb67bfc78) at /tmp/buildd/glib2.0-2.18.3/glib/gspawn.c:694
retval = 0
argv = (gchar **) 0xa1af4c0
__PRETTY_FUNCTION__ = IA__g_spawn_command_line_sync
#4  0xb68143bd in ?? ()
from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
No symbol table info available.
#5  0xb68144c2 in ?? ()
from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
No symbol table info available.
#6  signal handler called
No symbol table info available.
#7  0x08078e75 in tmp_file_move_to_uri (image=value optimized out, 
tmpfile=value optimized out, file=0xa38b900, overwrite=1, 
error=0xa40d3c4) at eog-image.c:1338
result = 0
#8  0x0807a516 in eog_image_save_by_info (img=0xa183f10,
source=0xa3aa4f0, 
error=0xa40d3c4) at eog-image.c:1500
priv = (EogImagePrivate *) 0xa183f20
prev_status = EOG_IMAGE_STATUS_LOADED
success = 1
tmp_file = (GFile *) 0xa30d0b0
tmp_file_path = 0xa1b8d08 /tmp/eog-save-2FGQLU
__PRETTY_FUNCTION__ = eog_image_save_by_info
#9  0x08088ad7 in eog_job_save_real_run (job=0xa40d3b8) at
eog-jobs.c:566
image = (EogImage *) 0xa183f10
save_info = (EogImageSaveInfo *) 0xa3aa4f0
handler_id = 1059
success = 134771214
it = (GList *) 0xa5a2b30
#10 0x08086ea1 in eog_job_save_run (job=0xa40d3b8) at eog-jobs.c:587
No locals.
#11 0x08086dad in eog_render_thread (data=0x0) at eog-job-queue.c:84
job = (EogJob *) 0xa40d3b8
#12 0xb76678af in g_thread_create_proxy (data=0xa022010)
at /tmp/buildd/glib2.0-2.18.3/glib/gthread.c:635
__PRETTY_FUNCTION__ = g_thread_create_proxy
#13 0xb7e8a510 in start_thread () from /lib/i686/cmov/libpthread.so.0
No symbol table info available.
#14 0xb756779e in clone () from /lib/i686/cmov/libc.so.6
No symbol table info available.

Thread 1 (Thread 0xb6a109c0 (LWP 23104)):
#0  0xb800f424 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb755cee7 in poll () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#2  0xb76408c2 in g_main_context_iterate (context=0xa011ec8, block=1, 
dispatch=1,