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 553418 - trashapplet crashed with SIGSEGV in g_icon_equal()
trashapplet crashed with SIGSEGV in g_icon_equal()
Status: RESOLVED FIXED
Product: gnome-applets
Classification: Other
Component: trash applet
2.24.x
Other Linux
: Normal critical
: ---
Assigned To: gnome-applets Maintainers
gnome-applets Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-09-23 15:37 UTC by Pedro Villavicencio
Modified: 2008-09-24 01:18 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description Pedro Villavicencio 2008-09-23 15:37:51 UTC
this report has been filed here:

https://bugs.edge.launchpad.net/ubuntu/+source/gnome-applets/+bug/273429

"Wasn't interacting with trashapplet, it simply crashed while I was doing some other work (didn't move files in or out of trash at the time)."

".

Thread 1 (process 7485)

  • #0 IA__g_icon_equal
    at /build/buildd/glib2.0-2.18.1/gio/gicon.c line 135
  • #1 trash_applet_monitor_changed
    at trashapplet.c line 112
  • #2 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.18.1/gobject/gclosure.c line 767
  • #3 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.18.1/gobject/gsignal.c line 3244
  • #4 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.18.1/gobject/gsignal.c line 2977
  • #5 IA__g_signal_emit
    at /build/buildd/glib2.0-2.18.1/gobject/gsignal.c line 3034
  • #6 emit_cb
    at /build/buildd/glib2.0-2.18.1/gio/gfilemonitor.c line 334
  • #7 IA__g_main_context_dispatch
    at /build/buildd/glib2.0-2.18.1/glib/gmain.c line 2142
  • #8 g_main_context_iterate
    at /build/buildd/glib2.0-2.18.1/glib/gmain.c line 2776
  • #9 IA__g_main_loop_run
    at /build/buildd/glib2.0-2.18.1/glib/gmain.c line 2984
  • #10 bonobo_main
    at bonobo-main.c line 311
  • #11 bonobo_generic_factory_main_timeout
    at bonobo-generic-factory.c line 411
  • #12 panel_applet_factory_main_closure
    at panel-applet.c line 1754
  • #13 __libc_start_main
    from /lib/libc.so.6
  • #14 _start

Thanks,
Comment 1 Sebastien Bacher 2008-09-23 16:32:33 UTC
the bug has already several duplicates on launchpad and is trivial to trigger by using the applet context menu to empty the trash for example
Comment 2 Sebastien Bacher 2008-09-23 16:44:46 UTC
it seems to crash on "g_object_unref (applet->icon);"
Comment 3 Pedro Villavicencio 2008-09-23 16:47:25 UTC
it also seems to happen only on amd64 platform we still don't have an i386 crash there.
Comment 4 Sebastien Bacher 2008-09-23 17:20:54 UTC
the crash is easy to trigger on i386 too, just try to dnd something to the trash icon and empty it several times and you should get it, valgrind lists invalid read, it seems the applet->icon is freed before being used somewhere
Comment 5 Callum McKenzie 2008-09-24 01:18:17 UTC
I can duplicate this and can also confirm that the fix suggested in bug 552577 fixes the problem. Applied to both gnome-2-24 and trunk.