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 155241 - Eye Of Gnome crash (.jpg file)
Eye Of Gnome crash (.jpg file)
Status: RESOLVED FIXED
Product: eog
Classification: Core
Component: general
2.8.1
Other other
: Normal normal
: ---
Assigned To: EOG Maintainers
EOG Maintainers
: 155668 156590 158286 158415 159011 159181 159355 160011 160332 160425 160489 160491 160798 161206 161307 161422 161594 161673 162416 162674 163365 163566 163759 164873 165619 165983 166061 166200 166841 168027 168119 169639 169841 170337 170517 170624 171730 172017 301233 302021 302346 303047 303610 303830 305203 305690 307242 311449 318868 407285 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-10-12 21:36 UTC by thelittlevampire
Modified: 2007-02-14 13:49 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8


Attachments
eog-collection-item.patch (691 bytes, patch)
2004-11-15 10:28 UTC, James Henstridge
none Details | Review

Description thelittlevampire 2004-10-12 21:37:09 UTC
Distribution: Debian testing/unstable
Package: EOG
Severity: normal
Version: GNOME2.8.0 2.8.1
Gnome-Distributor: Ubuntu
Synopsis: Eye Of Gnome crash (.jpg file)
Bugzilla-Product: EOG
Bugzilla-Component: general
Bugzilla-Version: 2.8.1
BugBuddy-GnomeVersion: 2.0 (2.8.0)
Description:
Description of the crash: I tried to view one of my .jpg files (double
left click) and the program 'Eye Of Gnome' tries to show up but then I
get this error.


Steps to reproduce the crash:
1.  Double left click on the .jpg file
2. 
3. 

Expected Results:
It won't start.


How often does this happen? Often, almost all the time.


Additional Information:



Debugging Information:

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

(no debugging symbols found)...Using host libthread_db library
"/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...[Thread debugging using libthread_db enabled]
[New Thread 1088015872 (LWP 4360)]
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...0xffffe410 in __kernel_vsyscall ()

Thread 1 (Thread 1088015872 (LWP 4360))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 g_strdup
    from /usr/lib/libglib-2.0.so.0
  • #5 g_value_transforms_init
    from /usr/lib/libgobject-2.0.so.0
  • #6 g_object_set_valist
    from /usr/lib/libgobject-2.0.so.0
  • #7 gnome_canvas_item_construct
    from /usr/lib/libgnomecanvas-2.so.0
  • #8 gnome_canvas_item_new
    from /usr/lib/libgnomecanvas-2.so.0
  • #9 eog_collection_item_get_type
  • #10 eog_collection_item_new
  • #11 eog_wrap_list_select_right
  • #12 eog_wrap_list_select_right
  • #13 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #14 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #15 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #16 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #17 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #18 eog_image_list_get_type
  • #19 g_child_watch_add
    from /usr/lib/libglib-2.0.so.0
  • #20 g_main_depth
    from /usr/lib/libglib-2.0.so.0
  • #21 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #22 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #23 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #24 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #25 main
  • #0 __kernel_vsyscall




------- Bug moved to this database by unknown@bugzilla.gnome.org 2004-10-12 17:37 -------


Unknown version 2.8.1 in product EOG. Setting version to "0.1".
Unknown platform unknown. Setting to default platform "Other".
Unknown milestone "unknown" in product "EOG".
   Setting to default milestone for this product, '---'
The original reporter of this bug does not have
   an account here. Reassigning to the person who moved
   it here, unknown@bugzilla.gnome.org.
   Previous reporter was thelittlevampire@adslhome.dk.
Setting to default status "UNCONFIRMED".
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.

Comment 1 Jens Finke 2004-10-13 06:52:49 UTC
Do you have libexif and/or libjpeg installed? Is eog using these libs (try 'ldd
/usr/bin/eog')?

Can you load the image from the commandline ('eog file.jpg') and see if there
are any debug outputs? Does it happen for every *.jpg file? Do other file types
work?

If you give comments to these questions, it will be much easier to track down
the problem. Thanks for trying out eog. 
Comment 2 Vincent Noel 2004-10-13 17:10:31 UTC
Marking new (unique stack trace)
Comment 3 Vincent Noel 2004-10-28 13:26:03 UTC
*** Bug 156590 has been marked as a duplicate of this bug. ***
Comment 4 Vincent Noel 2004-10-28 13:26:35 UTC
In Bug 156590 the crash (with same stack trace) is triggered by a bad theme.
Comment 5 Vincent Noel 2004-10-28 13:27:08 UTC
*** Bug 155668 has been marked as a duplicate of this bug. ***
Comment 6 eagsalazar 2004-11-11 05:26:09 UTC
I think I have the same problem.  Actually, eog just always crashes on
everything.  bmp, jpg, etc.  no debug outputs when launched from the command
line.  Nothing.  I did ldd /usr/bin/eog and grepped for libexif and libjpg and got:

libexif.so.9 => /usr/lib/libexif.so.9 (0x42122000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x416b2000)

I had this problem on FC2 with gnome upgraded to 2.8.1 and I now have this
problem with stock gnome on FC3.
Comment 7 James Henstridge 2004-11-15 10:28:56 UTC
Created attachment 33794 [details] [review]
eog-collection-item.patch

Judging by the stack trace, this is the same crash as I found.	The attached
patch fixes the crash on my system.  There are two errors in the one line of
code:

1. "fill_color" expects a string colour name, while style->text[..] is a
   GdkColor, so you probably want to set "fill_color_gdk" instead.
2. Both "fill_color" and "fill_color_gdk" expect a pointer argument (either
   char* or GdkColor*), but style->text[GTK_STATE_NORMAL] is passed which is
   a GdkColor structure.  Due to the size difference, it runs into problems
   collecting further arguments (probably running off the end of the argument
   list and accessing invalid memory.
Comment 8 Jens Finke 2004-11-15 11:27:27 UTC
The strange thing is that it worked until now. Since I don't use the latest gtk
I suspect there are some changes there. However, can you please apply the patch,
James?. Thanks.
Comment 9 James Henstridge 2004-11-15 14:25:53 UTC
Checked in on head.  Since the problems have been reported w.r.t. gnome-2.8 too,
it might be worth applying it to the 2.8 branch as well.

The "value collector" code that is used to handle varargs functions like
gnome_canvas_item_new() does not appear to have changed in a long time.  In
fact, it hasn't changed since glib-1.3.11.

Is it possible that the bug has only recently surfaced because the problem code
wasn't being called before?  (eg. when only viewing a single image).  That might
explain why the bug has turned up recently while the code has remained the same
for a while.
Comment 10 James Henstridge 2004-11-16 01:06:32 UTC
*** Bug 158286 has been marked as a duplicate of this bug. ***
Comment 11 Elijah Newren 2004-11-16 04:35:59 UTC
*** Bug 158415 has been marked as a duplicate of this bug. ***
Comment 12 James Henstridge 2004-11-17 08:08:06 UTC
I've checked this fix in on the 2.8 branch too, so am closing this bug.
Comment 13 Jens Finke 2004-11-17 08:14:47 UTC
Thank you very much James. You help is much appreciated.
Comment 14 Elijah Newren 2004-11-22 03:07:28 UTC
*** Bug 159011 has been marked as a duplicate of this bug. ***
Comment 15 Elijah Newren 2004-11-23 14:45:00 UTC
*** Bug 159181 has been marked as a duplicate of this bug. ***
Comment 16 Elijah Newren 2004-12-04 02:48:00 UTC
*** Bug 160332 has been marked as a duplicate of this bug. ***
Comment 17 Elijah Newren 2004-12-04 16:21:19 UTC
*** Bug 160425 has been marked as a duplicate of this bug. ***
Comment 18 Jens Finke 2004-12-04 16:25:11 UTC
There is a new 2.8.2 release of eog out. Can anybody with frequent crashes
please test this out? Its likely that this release will fix your issues.
Comment 19 Elijah Newren 2004-12-05 19:51:06 UTC
*** Bug 160491 has been marked as a duplicate of this bug. ***
Comment 20 Elijah Newren 2004-12-05 19:51:08 UTC
*** Bug 160489 has been marked as a duplicate of this bug. ***
Comment 21 Elijah Newren 2004-12-08 19:35:11 UTC
*** Bug 160798 has been marked as a duplicate of this bug. ***
Comment 22 Elijah Newren 2004-12-13 21:54:45 UTC
*** Bug 161206 has been marked as a duplicate of this bug. ***
Comment 23 Elijah Newren 2004-12-14 18:45:35 UTC
*** Bug 161307 has been marked as a duplicate of this bug. ***
Comment 24 Elijah Newren 2004-12-16 03:02:16 UTC
*** Bug 161422 has been marked as a duplicate of this bug. ***
Comment 25 Elijah Newren 2004-12-18 04:07:24 UTC
*** Bug 161594 has been marked as a duplicate of this bug. ***
Comment 26 Elijah Newren 2004-12-19 02:52:28 UTC
*** Bug 161673 has been marked as a duplicate of this bug. ***
Comment 27 Elijah Newren 2004-12-29 01:55:12 UTC
*** Bug 162416 has been marked as a duplicate of this bug. ***
Comment 28 Elijah Newren 2005-01-02 05:13:13 UTC
*** Bug 162674 has been marked as a duplicate of this bug. ***
Comment 29 Elijah Newren 2005-01-08 23:47:57 UTC
*** Bug 163365 has been marked as a duplicate of this bug. ***
Comment 30 Elijah Newren 2005-01-10 16:11:16 UTC
*** Bug 163566 has been marked as a duplicate of this bug. ***
Comment 31 Elijah Newren 2005-01-12 04:04:07 UTC
*** Bug 163759 has been marked as a duplicate of this bug. ***
Comment 32 Elijah Newren 2005-01-22 01:47:38 UTC
*** Bug 164873 has been marked as a duplicate of this bug. ***
Comment 33 Elijah Newren 2005-01-29 17:57:51 UTC
*** Bug 165619 has been marked as a duplicate of this bug. ***
Comment 34 Sebastien Bacher 2005-02-01 23:40:55 UTC
*** Bug 165983 has been marked as a duplicate of this bug. ***
Comment 35 Sebastien Bacher 2005-02-02 17:43:03 UTC
*** Bug 166061 has been marked as a duplicate of this bug. ***
Comment 36 Elijah Newren 2005-02-03 20:16:30 UTC
*** Bug 166200 has been marked as a duplicate of this bug. ***
Comment 37 Vincent Noel 2005-02-09 20:56:17 UTC
*** Bug 166841 has been marked as a duplicate of this bug. ***
Comment 38 Richard Hoelscher 2005-02-21 15:34:47 UTC
*** Bug 168027 has been marked as a duplicate of this bug. ***
Comment 39 Elijah Newren 2005-02-22 19:34:55 UTC
*** Bug 168119 has been marked as a duplicate of this bug. ***
Comment 40 Elijah Newren 2005-03-08 19:26:39 UTC
*** Bug 169639 has been marked as a duplicate of this bug. ***
Comment 41 Elijah Newren 2005-03-10 15:40:36 UTC
*** Bug 169841 has been marked as a duplicate of this bug. ***
Comment 42 Elijah Newren 2005-03-14 16:46:16 UTC
*** Bug 170337 has been marked as a duplicate of this bug. ***
Comment 43 Elijah Newren 2005-03-16 05:09:51 UTC
*** Bug 170517 has been marked as a duplicate of this bug. ***
Comment 44 Elijah Newren 2005-03-17 01:04:29 UTC
*** Bug 170624 has been marked as a duplicate of this bug. ***
Comment 45 Elijah Newren 2005-03-26 16:02:51 UTC
*** Bug 171730 has been marked as a duplicate of this bug. ***
Comment 46 Elijah Newren 2005-03-29 20:03:38 UTC
*** Bug 172017 has been marked as a duplicate of this bug. ***
Comment 47 Elijah Newren 2005-04-20 05:40:17 UTC
*** Bug 301233 has been marked as a duplicate of this bug. ***
Comment 48 Kjartan Maraas 2005-04-26 10:18:00 UTC
*** Bug 302021 has been marked as a duplicate of this bug. ***
Comment 49 Elijah Newren 2005-04-29 04:52:47 UTC
*** Bug 302346 has been marked as a duplicate of this bug. ***
Comment 50 Olav Vitters 2005-05-04 22:33:59 UTC
*** Bug 303047 has been marked as a duplicate of this bug. ***
Comment 51 Christian Kirbach 2005-05-09 22:23:13 UTC
*** Bug 303610 has been marked as a duplicate of this bug. ***
Comment 52 Jens Finke 2005-05-10 17:52:43 UTC
*** Bug 160011 has been marked as a duplicate of this bug. ***
Comment 53 Jens Finke 2005-05-10 18:00:13 UTC
*** Bug 159355 has been marked as a duplicate of this bug. ***
Comment 54 Baptiste Mille-Mathias 2005-05-11 20:32:21 UTC
*** Bug 303830 has been marked as a duplicate of this bug. ***
Comment 55 Elijah Newren 2005-05-29 15:35:09 UTC
*** Bug 305203 has been marked as a duplicate of this bug. ***
Comment 56 Elijah Newren 2005-05-29 15:35:12 UTC
*** Bug 305690 has been marked as a duplicate of this bug. ***
Comment 57 Sebastien Bacher 2005-06-11 10:43:03 UTC
*** Bug 307242 has been marked as a duplicate of this bug. ***
Comment 58 Boris de Laage 2005-07-25 08:35:41 UTC
*** Bug 311449 has been marked as a duplicate of this bug. ***
Comment 59 Sergej Kotliar 2005-10-31 22:24:52 UTC
*** Bug 318868 has been marked as a duplicate of this bug. ***
Comment 60 Teppo Turtiainen 2007-02-14 13:49:55 UTC
*** Bug 407285 has been marked as a duplicate of this bug. ***