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 584918 - crash in gThumb Image Viewer: Clicked on "tags" in pho...
crash in gThumb Image Viewer: Clicked on "tags" in pho...
Status: RESOLVED FIXED
Product: gthumb
Classification: Other
Component: general
unspecified
Other All
: High critical
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
Depends on:
Blocks: 583464
 
 
Reported: 2009-06-05 12:37 UTC by Michael Chudobiak
Modified: 2009-06-08 18:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
Fix crash (3.49 KB, patch)
2009-06-08 17:58 UTC, Marc Pavot
committed Details | Review

Description Michael Chudobiak 2009-06-05 12:37:53 UTC
What were you doing when the application crashed?
Clicked on "tags" in photo importer, in trunk.


Distribution: Fedora release 10 (Cambridge)
Gnome Release: 2.24.3 2009-01-16 (Red Hat, Inc)
BugBuddy Version: 2.24.2

System: Linux 2.6.27.24-170.2.68.fc10.x86_64 #1 SMP Wed May 20 22:47:23 EDT 2009 x86_64
X Vendor: The X.Org Foundation
X Vendor Release: 10503000
Selinux: Enforcing
Accessibility: Disabled
GTK+ Theme: Nodoka
Icon Theme: Fedora

Memory status: size: 568938496 vsize: 568938496 resident: 31813632 share: 18628608 rss: 31813632 rss_rlim: 18446744073709551615
CPU usage: start_time: 1244205373 rtime: 46 utime: 38 stime: 8 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

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

[?1034h[Thread debugging using libthread_db enabled]
[New Thread 0x7f98720dd810 (LWP 26284)]
[New Thread 0x7f986815e950 (LWP 26301)]
[New Thread 0x7f98681df950 (LWP 26300)]
[New Thread 0x7f986c255950 (LWP 26299)]
[New Thread 0x7f986a9e3950 (LWP 26289)]
[New Thread 0x7f986c2d6950 (LWP 26288)]
[New Thread 0x7f986c36e950 (LWP 26287)]
0x0000003b6460ec2f in __libc_waitpid (pid=26310, stat_loc=0x7fff7db89580, options=0)
    at ../sysdeps/unix/sysv/linux/waitpid.c:41
41	  int result = INLINE_SYSCALL (wait4, 4, pid, stat_loc, options, NULL);

Thread 1 (Thread 0x7f98720dd810 (LWP 26284))

  • #0 __libc_waitpid
    at ../sysdeps/unix/sysv/linux/waitpid.c line 41
  • #1 g_spawn_sync
    from /lib64/libglib-2.0.so.0
  • #2 g_spawn_command_line_sync
    from /lib64/libglib-2.0.so.0
  • #3 ??
    from /usr/lib64/gtk-2.0/modules/libgnomebreakpad.so
  • #4 ??
    from /usr/lib64/gtk-2.0/modules/libgnomebreakpad.so
  • #5 <signal handler called>
  • #6 dlg_tags_update
    at dlg-tags.c line 747
  • #7 dlg_tags_common
    at dlg-tags.c line 577
  • #8 dlg_choose_tags
    at dlg-tags.c line 602
  • #9 choose_tags_cb
    at dlg-photo-importer.c line 1746
  • #10 g_closure_invoke
    from /lib64/libgobject-2.0.so.0
  • #11 ??
    from /lib64/libgobject-2.0.so.0
  • #12 g_signal_emit_valist
    from /lib64/libgobject-2.0.so.0
  • #13 g_signal_emit
    from /lib64/libgobject-2.0.so.0
  • #14 ??
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #15 g_closure_invoke
    from /lib64/libgobject-2.0.so.0
  • #16 ??
    from /lib64/libgobject-2.0.so.0
  • #17 g_signal_emit_valist
    from /lib64/libgobject-2.0.so.0
  • #18 g_signal_emit
    from /lib64/libgobject-2.0.so.0
  • #19 ??
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #20 ??
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #21 g_closure_invoke
    from /lib64/libgobject-2.0.so.0
  • #22 ??
    from /lib64/libgobject-2.0.so.0
  • #23 g_signal_emit_valist
    from /lib64/libgobject-2.0.so.0
  • #24 g_signal_emit
    from /lib64/libgobject-2.0.so.0
  • #25 ??
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #26 gtk_propagate_event
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #27 gtk_main_do_event
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #28 ??
    from /usr/lib64/libgdk-x11-2.0.so.0
  • #29 g_main_context_dispatch
    from /lib64/libglib-2.0.so.0
  • #30 ??
    from /lib64/libglib-2.0.so.0
  • #31 g_main_loop_run
    from /lib64/libglib-2.0.so.0
  • #32 gtk_main
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #33 main
    at main.c line 738


----------- .xsession-errors (997 sec old) ---------------------
Initializing nautilus-open-terminal extension
** (nautilus:4018): WARNING **: Unable to add monitor: Not supported
Unable to open desktop file /home/mjc/Desktop/openoffice.org-1.9-writer.desktop for panel launcher: No such file or directory
Unable to open desktop file nautilus-computer.desktop for panel launcher
Unable to open desktop file nautilus-computer.desktop for panel launcher
Unable to open desktop file nautilus-home.desktop for panel launcher
** (gnome-panel:4017): WARNING **: panel-applet-frame.c:1285: failed to load applet OAFIID:TomboyApplet:
(null)
(gnome-terminal:4387): Vte-WARNING **: No handler for control sequence `device-control-string' defined.
Window manager warning: Attempt to perform window operation 20 on window none when operation 20 on none already in effect
Window manager warning: Attempt to perform window operation 20 on window none when operation 20 on none already in effect
Window manager warning: Attempt to perform window operation 20 on window none when operation 20 on none already in effect
--------------------------------------------------
Comment 1 Michael Chudobiak 2009-06-05 12:40:58 UTC
You'll need to look at this one, Marc.

gThumb crashes any time that you click on the "Tags" button in the photo importer.

- Mike
Comment 2 Marc Pavot 2009-06-08 17:58:57 UTC
Created attachment 136156 [details] [review]
Fix crash

Hi Mike,

This patch should fix the bug. It checks if file_list before using file_list->next.

Marc