Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 201543 - media-gfx/eog-2.20.3 segfault when trying to open two pictures
Summary: media-gfx/eog-2.20.3 segfault when trying to open two pictures
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-07 00:18 UTC by DEMAINE Benoît-Pierre, aka DoubleHP
Modified: 2008-02-18 10:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
full strace when trying to open a second picture, called /tmp/PowerPc 002.jpg, when an other window is already showing /tmp/PowerPc 001.jpg (log,81.71 KB, text/plain)
2007-12-07 00:19 UTC, DEMAINE Benoît-Pierre, aka DoubleHP
Details
/tmp/emerge--info (emerge--info,8.97 KB, text/plain)
2007-12-07 00:21 UTC, DEMAINE Benoît-Pierre, aka DoubleHP
Details
/tmp/emerge--info (emerge--info,12.93 KB, text/plain)
2007-12-25 20:46 UTC, DEMAINE Benoît-Pierre, aka DoubleHP
Details
/tmp/backtrace_1.log (backtrace_1.log,367 bytes, text/plain)
2007-12-25 20:46 UTC, DEMAINE Benoît-Pierre, aka DoubleHP
Details
/tmp/backtrace_2.log (backtrace_2.log,159 bytes, text/plain)
2007-12-25 20:47 UTC, DEMAINE Benoît-Pierre, aka DoubleHP
Details

Note You need to log in before you can comment on or make changes to this bug.
Description DEMAINE Benoît-Pierre, aka DoubleHP 2007-12-07 00:18:52 UTC
First, note that until last summer, I could open as many pictures as I wanted. Since a few months, trying to open a second pic when one is showinf on screen makes it segfault. I get segfault on the 2nd try. But, from time to time, the fist window may also crash (this is hard to reproduce).
Comment 1 DEMAINE Benoît-Pierre, aka DoubleHP 2007-12-07 00:19:59 UTC
Created attachment 137924 [details]
full strace when trying to open a second picture, called /tmp/PowerPc 002.jpg, when an other window is already showing /tmp/PowerPc 001.jpg
Comment 2 DEMAINE Benoît-Pierre, aka DoubleHP 2007-12-07 00:21:11 UTC
Created attachment 137926 [details]
/tmp/emerge--info


[ebuild   R   ] media-gfx/eog-2.20.2  USE="dbus jpeg lcms python -debug" 0 kB
Comment 3 DEMAINE Benoît-Pierre, aka DoubleHP 2007-12-07 01:51:27 UTC
Happens with media-gfx/eog-2.20 media-gfx/eog-2.21 media-gfx/eog-2.22 .

media-gfx/eog-2.18.2 works fine for me.
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-12-07 09:07:47 UTC
No such problem here. Could you attach a backtrace ? (btw nosplit is redundant when you have splitdebug)
Comment 5 DEMAINE Benoît-Pierre, aka DoubleHP 2007-12-07 17:57:35 UTC
What do you call backtrace ? 
Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2007-12-07 18:30:29 UTC
read this very carefully : http://www.gentoo.org/proj/en/qa/backtraces.xml

Thanks
Comment 7 DEMAINE Benoît-Pierre, aka DoubleHP 2007-12-20 18:56:34 UTC
same with 2.20.3

I have readed this several times in the past, and never could do it. do you _really_ need BT for this bug ?
Comment 8 Rémi Cardona (RETIRED) gentoo-dev 2007-12-21 07:33:15 UTC
Yes we need backtraces. I can't reproduce this bug on my system, so we're going to need something, anything, to get a clue where this comes from.

Thanks
Comment 9 DEMAINE Benoît-Pierre, aka DoubleHP 2007-12-25 20:46:00 UTC
Created attachment 139309 [details]
/tmp/emerge--info

See my actual emerge --info ...

I remind that the bug happends when I run two simult eog; so, I need to BT both of them. I course, I run first the 1, and then the 2, in seperate consoles ...

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

dhp@moon_gen_2:/tmp$ gdb /usr/bin/eog
GNU gdb 6.7.1
Copyright (C) 2007 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 "i686-pc-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) set args /tmp/holiday07_5.gif
(gdb) set logging file backtrace_1.log
(gdb) set logging on
Copying output to backtrace_1.log.
(gdb) run
Starting program: /usr/bin/eog /tmp/holiday07_5.gif
[Thread debugging using libthread_db enabled]
[New Thread 0xb6d016c0 (LWP 5632)]
[New Thread 0xb6c7eb90 (LWP 5636)]
[New Thread 0xb5919b90 (LWP 5637)]

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb6d016c0 (LWP 5632)]
0xffffe410 in __kernel_vsyscall ()
(gdb) kill
Kill the program being debugged? (y or n) y
(gdb) quit
dhp@moon_gen_2:/tmp$

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

dhp@moon_gen_2:/tmp$ gdb /usr/bin/eog
GNU gdb 6.7.1
Copyright (C) 2007 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 "i686-pc-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) set args /tmp/holiday07_5.gif
(gdb) set logging file backtrace_2.log
(gdb) set logging on
Copying output to backtrace_2.log.
(gdb) run
Starting program: /usr/bin/eog /tmp/holiday07_5.gif
[Thread debugging using libthread_db enabled]
[New Thread 0xb6d2d6c0 (LWP 5638)]

Program exited normally.
(gdb) quit
dhp@moon_gen_2:/tmp$

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Comment 10 DEMAINE Benoît-Pierre, aka DoubleHP 2007-12-25 20:46:20 UTC
Created attachment 139310 [details]
/tmp/backtrace_1.log
Comment 11 DEMAINE Benoît-Pierre, aka DoubleHP 2007-12-25 20:47:51 UTC
Created attachment 139311 [details]
/tmp/backtrace_2.log


I cant see how those short BT can be more helpfull that straces.

I did this after adding -ggdb ( nostrip splitdebug were already in FEATURES ), and unmasked media-gfx/eog-2.20.3 and updated it.
Comment 12 DEMAINE Benoît-Pierre, aka DoubleHP 2008-02-18 10:49:46 UTC
fixed in the following configuration:

media-gfx/eog-2.20.4  USE="dbus jpeg lcms python -debug"