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 588125 - crash in gThumb Photo Import Tool: Used the duplicates tool...
crash in gThumb Photo Import Tool: Used the duplicates tool...
Status: RESOLVED OBSOLETE
Product: gthumb
Classification: Other
Component: general
unspecified
Other All
: High critical
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
Depends on:
Blocks: 525482
 
 
Reported: 2009-07-09 01:12 UTC by Michael Chudobiak
Modified: 2009-09-23 12:52 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26


Attachments
GIO Fix bug:588125 duplicates tool unref (1.07 KB, patch)
2009-07-09 23:32 UTC, Marlodavampire
needs-work Details | Review

Description Michael Chudobiak 2009-07-09 01:12:00 UTC
What were you doing when the application crashed?
Used the duplicates tool in trunk, with --g-fatal-warnings. If you delete duplicates, an improper g_object_unref occurs when the duplicates dialog is closed.


Distribution: Fedora release 11 (Leonidas)
Gnome Release: 2.26.2 2009-06-01 (Red Hat, Inc)
BugBuddy Version: 2.26.0

System: Linux 2.6.29.5-191.fc11.x86_64 #1 SMP Tue Jun 16 23:23:21 EDT 2009 x86_64
X Vendor: The X.Org Foundation
X Vendor Release: 10601901
Selinux: Enforcing
Accessibility: Disabled
GTK+ Theme: Nodoka
Icon Theme: Fedora
GTK+ Modules: canberra-gtk-module, gnomebreakpad

Memory status: size: 861380608 vsize: 861380608 resident: 30314496 share: 17375232 rss: 30314496 rss_rlim: 18446744073709551615
CPU usage: start_time: 1247101829 rtime: 69 utime: 65 stime: 4 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 0x7f6be0772910 (LWP 2707)]
[New Thread 0x7f6bde797910 (LWP 2706)]
[New Thread 0x7f6bdebf8910 (LWP 2705)]
[New Thread 0x7f6bdec79910 (LWP 2704)]
[New Thread 0x7f6bdecfa910 (LWP 2703)]
[New Thread 0x7f6be16e2910 (LWP 2700)]
[New Thread 0x7f6be177b910 (LWP 2699)]
0x0000003e9f20e9dd in waitpid () from /lib64/libpthread.so.0

Thread 1 (Thread 0x7f6be794f820 (LWP 2696))

  • #0 waitpid
    from /lib64/libpthread.so.0
  • #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 <signal handler called>
  • #5 raise
    from /lib64/libc.so.6
  • #6 abort
    from /lib64/libc.so.6
  • #7 g_logv
    from /lib64/libglib-2.0.so.0
  • #8 g_log
    from /lib64/libglib-2.0.so.0
  • #9 image_data_free
    at dlg-duplicates.c line 185
  • #10 g_list_foreach
    from /lib64/libglib-2.0.so.0
  • #11 destroy_search_dialog_cb
    at dlg-duplicates.c line 202
  • #12 g_closure_invoke
    from /lib64/libgobject-2.0.so.0
  • #13 ??
    from /lib64/libgobject-2.0.so.0
  • #14 g_signal_emit_valist
    from /lib64/libgobject-2.0.so.0
  • #15 g_signal_emit
    from /lib64/libgobject-2.0.so.0
  • #16 ??
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #17 g_object_run_dispose
    from /lib64/libgobject-2.0.so.0
  • #18 destroy_results_dialog_cb
    at dlg-duplicates.c line 237
  • #19 g_closure_invoke
    from /lib64/libgobject-2.0.so.0
  • #20 ??
    from /lib64/libgobject-2.0.so.0
  • #21 g_signal_emit_valist
    from /lib64/libgobject-2.0.so.0
  • #22 g_signal_emit
    from /lib64/libgobject-2.0.so.0
  • #23 ??
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #24 g_object_run_dispose
    from /lib64/libgobject-2.0.so.0
  • #25 g_closure_invoke
    from /lib64/libgobject-2.0.so.0
  • #26 ??
    from /lib64/libgobject-2.0.so.0
  • #27 g_signal_emit_valist
    from /lib64/libgobject-2.0.so.0
  • #28 g_signal_emit
    from /lib64/libgobject-2.0.so.0
  • #29 ??
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #30 g_closure_invoke
    from /lib64/libgobject-2.0.so.0
  • #31 ??
    from /lib64/libgobject-2.0.so.0
  • #32 g_signal_emit_valist
    from /lib64/libgobject-2.0.so.0
  • #33 g_signal_emit
    from /lib64/libgobject-2.0.so.0
  • #34 ??
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #35 ??
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #36 g_closure_invoke
    from /lib64/libgobject-2.0.so.0
  • #37 ??
    from /lib64/libgobject-2.0.so.0
  • #38 g_signal_emit_valist
    from /lib64/libgobject-2.0.so.0
  • #39 g_signal_emit
    from /lib64/libgobject-2.0.so.0
  • #40 ??
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #41 gtk_propagate_event
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #42 gtk_main_do_event
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #43 ??
    from /usr/lib64/libgdk-x11-2.0.so.0
  • #44 g_main_context_dispatch
    from /lib64/libglib-2.0.so.0
  • #45 ??
    from /lib64/libglib-2.0.so.0
  • #46 g_main_loop_run
    from /lib64/libglib-2.0.so.0
  • #47 gtk_main
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #48 main
    at main.c line 750


---- Critical and fatal warnings logged during execution ----

** GLib-GObject **: g_object_unref: assertion `G_IS_OBJECT (object)' failed 


----------- .xsession-errors (53 sec old) ---------------------
LoadPlugin: failed to initialize shared library /usr/lib/ICAClient/npica.so [/usr/lib/ICAClient/npica.so: wrong ELF class: ELFCLASS32]
LoadPlugin: failed to initialize shared library /usr/lib/ICAClient/npica.so [/usr/lib/ICAClient/npica.so: wrong ELF class: ELFCLASS32]
LoadPlugin: failed to initialize shared library /usr/lib/ICAClient/npica.so [/usr/lib/ICAClient/npica.so: wrong ELF class: ELFCLASS32]
LoadPlugin: failed to initialize shared library /usr/lib/ICAClient/npica.so [/usr/lib/ICAClient/npica.so: wrong ELF class: ELFCLASS32]
LoadPlugin: failed to initialize shared library /usr/lib/ICAClient/npica.so [/usr/lib/ICAClient/npica.so: wrong ELF class: ELFCLASS32]
LoadPlugin: failed to initialize shared library /usr/lib/ICAClient/npica.so [/usr/lib/ICAClient/npica.so: wrong ELF class: ELFCLASS32]
LoadPlugin: failed to initialize shared library /usr/lib/ICAClient/npica.so [/usr/lib/ICAClient/npica.so: wrong ELF class: ELFCLASS32]
LoadPlugin: failed to initialize shared library /usr/lib/ICAClient/npica.so [/usr/lib/ICAClient/npica.so: wrong ELF class: ELFCLASS32]
LoadPlugin: failed to initialize shared library /usr/lib/ICAClient/npica.so [/usr/lib/ICAClient/npica.so: wrong ELF class: ELFCLASS32]
LoadPlugin: failed to initialize shared library /usr/lib/ICAClient/npica.so [/usr/lib/ICAClient/npica.so: wrong ELF class: ELFCLASS32]
LoadPlugin: failed to initialize shared library /usr/lib/ICAClient/npica.so [/usr/lib/ICAClient/npica.so: wrong ELF class: ELFCLASS32]
LoadPlugin: failed to initialize shared library /usr/lib/ICAClient/npica.so [/usr/lib/ICAClient/npica.so: wrong ELF class: ELFCLASS32]
(nautilus:29721): Nautilus-GDU-WARNING **: unable to query info: The specified location is not supported
--------------------------------------------------
Comment 1 palfrey 2009-07-09 14:29:10 UTC
Thanks for taking the time to report this bug.
Unfortunately, that stack trace is missing some elements that will help a lot
to solve the problem, so it will be hard for the developers to fix that crash.
Can you get us a stack trace with debugging symbols? Please see
http://live.gnome.org/GettingTraces for more information on how to do so and
reopen this bug or report a new one. Thanks in advance!
Comment 2 Michael Chudobiak 2009-07-09 14:37:40 UTC
No, it shows clearly that the problem is at dlg-duplicates.c:185.

- Mike
Comment 3 Marlodavampire 2009-07-09 23:32:55 UTC
Created attachment 138159 [details] [review]
GIO Fix bug:588125 duplicates tool unref
Comment 4 Michael Chudobiak 2009-07-16 12:57:59 UTC
This patch doesn't look right to me:

fd = file_data_new_from_gfile (g_file_dup (idata->gfile));

Why is g_file_dup necessary? This looks like a memory leak.

file_data_new_from_gfile calls g_object_ref (gfile), so a g_file_dup should not be required.

I think the real problem is somewhere else.

- Mike
Comment 5 Michael Chudobiak 2009-09-23 12:52:05 UTC
Marking as obsolete, due to the rewrite in ext branch (http://live.gnome.org/gthumb).