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 166143 - crash when updating tray icon
crash when updating tray icon
Status: RESOLVED FIXED
Product: libegg
Classification: Other
Component: tray
unspecified
Other other
: High critical
: ---
Assigned To: Libegg maintenance
Libegg maintenance
Depends on:
Blocks:
 
 
Reported: 2005-02-03 10:18 UTC by Shaun McCance
Modified: 2006-07-28 21:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ref the tray icon (983 bytes, patch)
2005-02-13 21:57 UTC, Christian Persch
committed Details | Review

Description Shaun McCance 2005-02-03 10:18:15 UTC
Distribution: Fedora Core release 1.91 (FC2)
Package: epiphany
Severity: normal
Version: GNOME2.9.4 unspecified
Gnome-Distributor: GNOME.Org
Synopsis: crash when updating tray icon
Bugzilla-Product: epiphany
Bugzilla-Component: General
Bugzilla-Version: unspecified
BugBuddy-GnomeVersion: 2.0 (2.8.0)
Description:
Was just killing time waiting for the FC3 disc 3 ISO to download, and
away went Epiphany :(
The backtrace seems to indicate it's from updating the try icon.



Debugging Information:

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

Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 1444478208 (LWP 4862)]
[New Thread 1486326704 (LWP 10964)]
[Thread debugging using libthread_db enabled]
[New Thread 1444478208 (LWP 4862)]
[New Thread 1486326704 (LWP 10964)]
[Thread debugging using libthread_db enabled]
[New Thread 1444478208 (LWP 4862)]
[New Thread 1486326704 (LWP 10964)]
[New Thread 1485929392 (LWP 10963)]
[New Thread 1485532080 (LWP 10962)]
[New Thread 1482537904 (LWP 10961)]
[New Thread 1523436464 (LWP 10960)]
[New Thread 1481436080 (LWP 4877)]
[New Thread 1464474544 (LWP 4874)]
0x550007a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
  • #0 _dl_sysinfo_int80
    from /lib/ld-linux.so.2
  • #1 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #2 libgnomeui_segv_handle
    at gnome-ui-init.c line 741
  • #3 nsProfileLock::FatalSignalHandler
    from /usr/lib/mozilla-1.7.5/libgtkembedmoz.so
  • #4 <signal handler called>
  • #5 IA__g_type_check_instance_is_a
    at gtype.c line 3127
  • #6 IA__g_object_get_data
    at gobject.c line 1643
  • #7 IA__gtk_tooltips_data_get
    at gtktooltips.c line 308
  • #8 IA__gtk_tooltips_set_tip
    at gtktooltips.c line 322
  • #9 egg_status_icon_set_tooltip
    at eggstatusicon.c line 695
  • #10 update_status_icon
    at downloader-view.c line 410
  • #11 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #12 IA__g_closure_invoke
    at gclosure.c line 437
  • #13 signal_emit_unlocked_R
    at gsignal.c line 2485
  • #14 IA__g_signal_emit_valist
    at gsignal.c line 2244
  • #15 IA__g_signal_emit_by_name
    at gsignal.c line 2312
  • #16 MozDownload::OnProgressChange
    at MozDownload.cpp line 464
  • #17 NSGetModule
    from /usr/lib/mozilla-1.7.5/components/libdocshell.so
  • #18 NSGetModule
    from /usr/lib/mozilla-1.7.5/components/libdocshell.so
  • #19 NSGetModule
    from /usr/lib/mozilla-1.7.5/components/libnecko.so
  • #20 NSGetModule
    from /usr/lib/mozilla-1.7.5/components/libnecko.so
  • #21 NSGetModule
    from /usr/lib/mozilla-1.7.5/components/libnecko.so
  • #22 NSGetModule
    from /usr/lib/mozilla-1.7.5/components/libnecko.so
  • #23 NSGetModule
    from /usr/lib/mozilla-1.7.5/components/libnecko.so
  • #24 nsInputStreamReadyEvent::EventHandler
    from /usr/lib/mozilla-1.7.5/libxpcom.so
  • #25 PL_HandleEvent
    from /usr/lib/mozilla-1.7.5/libxpcom.so
  • #26 PL_ProcessPendingEvents
    from /usr/lib/mozilla-1.7.5/libxpcom.so
  • #27 nsEventQueueImpl::NotifyObservers
    from /usr/lib/mozilla-1.7.5/libxpcom.so
  • #28 ??
    from /usr/lib/mozilla-1.7.5/components/libwidget_gtk2.so
  • #29 ??
  • #30 ??
  • #31 gettimeofday
    from /lib/tls/libc.so.6
  • #32 ??
    from /usr/lib/libglib-2.0.so.0
  • #33 ??
  • #34 ??
  • #35 ??
  • #36 g_io_unix_dispatch
    at giounix.c line 162




------- Bug moved to this database by unknown@bugzilla.gnome.org 2005-02-03 05:18 -------


Unknown platform unknown. Setting to default platform "Other".
Unknown milestone "unknown" in product "epiphany".
   Setting to default milestone for this product, '---'
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 Christian Persch 2005-02-13 21:49:04 UTC
I think this is the same problem as in bug 163819: EggStatusIcon doesn't ref its
EggTrayIcon. So, when the tray disappears (crash of panel, or removed by user)
the tray icon is destroyed leaving the tray icon object in a bad state.
Comment 2 Christian Persch 2005-02-13 21:57:02 UTC
I fixed the refcounting issue in epiphany's copy of eggstatusicon, and cannot
repro this anymore (start long download, kill panel).

Attaching patch and re-assigning to libegg to spread the fix.
Comment 3 Christian Persch 2005-02-13 21:57:30 UTC
Created attachment 37441 [details] [review]
ref the tray icon

Ok to commit this in libegg?
Comment 4 Vincent Untz 2006-03-06 20:54:18 UTC
Is this fixed in GtkStatusIcon?
Comment 5 Vincent Untz 2006-07-28 21:42:57 UTC
Fixed in the development version. The fix will be available in the next major release. Thank you for your bug report.