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 94422 - xembed crash possibly related to the notification area
xembed crash possibly related to the notification area
Status: RESOLVED FIXED
Product: gnome-panel
Classification: Other
Component: notification area
2.0.x
Other All
: High critical
: ---
Assigned To: Havoc Pennington
Panel Maintainers
: 94924 95287 95345 95356 95458 95748 97161 97803 98304 99030 100362 102421 102597 103363 104575 105545 105578 107412 107705 108217 108851 109027 109455 109739 110537 110637 110658 111721 112043 113863 114250 114782 118542 119283 119344 120879 121349 121540 122594 123603 124380 128335 133987 146181 146770 161995 167978 316318 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-09-28 15:01 UTC by Thomas Vander Stichele
Modified: 2015-03-24 13:00 UTC
See Also:
GNOME target: ---
GNOME version: 2.0



Description Thomas Vander Stichele 2002-09-28 15:02:23 UTC
Package: gnome-panel
Severity: normal
Version: 2.0.6
Synopsis: panel crashed on double-clicking on a tasklist item
Bugzilla-Product: gnome-panel
Bugzilla-Component: Panel
BugBuddy-GnomeVersion: 2.0 (2.0.3)

Description:
Description of Problem:

This is in redhat 8.0

Steps to reproduce the problem:
1. 
2. 
3. 

Actual Results:


Expected Results:


How often does this happen?


Additional Information:




Debugging Information:

Backtrace was generated from '/usr/bin/gnome-panel'

(no debugging symbols found)...(no debugging symbols found)...[New
Thread 8192 (LWP 2474)]

0x420ae169 in wait4 () from /lib/i686/libc.so.6

Thread 1 (Thread 8192 (LWP 2474))

  • #0 wait4
    from /lib/i686/libc.so.6
  • #1 __DTOR_END__
    from /lib/i686/libc.so.6
  • #2 waitpid
    from /lib/i686/libpthread.so.0
  • #3 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #4 __pthread_sighandler
    from /lib/i686/libpthread.so.0
  • #5 <signal handler called>
  • #6 gdk_x11_drawable_get_xid
    from /usr/lib/libgdk-x11-2.0.so.0
  • #7 send_xembed_message
    from /usr/lib/libgtk-x11-2.0.so.0
  • #8 toplevel_focus_in_handler
    from /usr/lib/libgtk-x11-2.0.so.0
  • #9 _gtk_marshal_BOOLEAN__BOXED
    from /usr/lib/libgtk-x11-2.0.so.0
  • #10 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #11 signal_emit_unlocked_R
    from /usr/lib/libgobject-2.0.so.0
  • #12 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #13 gtk_signal_emit
    from /usr/lib/libgtk-x11-2.0.so.0
  • #14 gtk_widget_event_internal
    from /usr/lib/libgtk-x11-2.0.so.0
  • #15 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #16 gdk_event_dispatch
    from /usr/lib/libgdk-x11-2.0.so.0
  • #17 g_main_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #18 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #19 g_main_context_iterate
    from /usr/lib/libglib-2.0.so.0
  • #20 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #21 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #22 main
  • #23 __libc_start_main
    from /lib/i686/libc.so.6
  • #0 wait4
    from /lib/i686/libc.so.6




------- Bug moved to this database by unknown@bugzilla.gnome.org 2002-09-28 11:02 -------

Reassigning to the default owner of the component, gnome-panel-maint@bugzilla.gnome.org.

Comment 1 Mark McLoughlin 2002-10-01 06:15:16 UTC
Okay, this seems to be crashing when gtk+ tries to send a focus in
message using xembed.

Moving to gtk+ in case the stack trace is of any use ...
Comment 2 Owen Taylor 2002-10-02 15:38:11 UTC
I can't see this stack trace occuring without something 
being screwed up elsewhere. In order to get this backtrace,
you'd need to have socket->plug_window non-NULL but not
a valid GdkWindow.

It could be some obscure (more complex) GtkSocket bug,
or it could be a bonobo or gnome-panel bug. Hard to get
much further without being able to reproduce the bug
unfortunately. Have you seen this crash multiple times
or just once? What exactly do you mean by "task list
icon" - one of the buttons in the task list? Does it
matter which application the button is for?
Comment 3 Owen Taylor 2002-10-06 22:58:05 UTC
*** Bug 94924 has been marked as a duplicate of this bug. ***
Comment 4 Mark McLoughlin 2002-10-06 23:07:24 UTC
Thanks owen, I'd forgotten about this one
Comment 5 Heath Harrelson 2002-10-09 22:19:50 UTC
*** Bug 95345 has been marked as a duplicate of this bug. ***
Comment 6 Heath Harrelson 2002-10-11 11:56:05 UTC
*** Bug 95458 has been marked as a duplicate of this bug. ***
Comment 7 Heath Harrelson 2002-10-11 11:58:21 UTC
*** Bug 95356 has been marked as a duplicate of this bug. ***
Comment 8 Mark McLoughlin 2002-10-14 06:10:57 UTC
*** Bug 95287 has been marked as a duplicate of this bug. ***
Comment 9 Mark McLoughlin 2002-10-14 06:15:26 UTC
Owen: one thing to note that I hadn't thought of it these are in-proc
applets, so I wouldn't have thought we would have been using xembed at
all.
Comment 10 Vincent Untz 2002-10-14 19:43:09 UTC
*** Bug 95748 has been marked as a duplicate of this bug. ***
Comment 11 Vincent Untz 2002-10-29 20:07:24 UTC
*** Bug 97161 has been marked as a duplicate of this bug. ***
Comment 12 David Kennedy 2002-11-06 14:14:27 UTC
*** Bug 97803 has been marked as a duplicate of this bug. ***
Comment 13 Luis Villa 2002-11-07 19:44:22 UTC
Apologies for the spam- I'm removing 'bugsquad' from some keywords via the web
interface. This is a one-time only thing before I re-add bugsquad via the SQL
interface, which will generate no mail. Apologies again.
Comment 14 Luis Villa 2002-11-11 18:44:01 UTC
What's going on with this bug? Think someone can take a look before 2.0.3?
Comment 15 Arvind S N 2002-11-13 04:39:58 UTC
*** Bug 98304 has been marked as a duplicate of this bug. ***
Comment 16 Elijah Newren 2002-11-19 23:07:25 UTC
*** Bug 99030 has been marked as a duplicate of this bug. ***
Comment 17 Elijah Newren 2002-11-19 23:07:59 UTC
*** Bug 99030 has been marked as a duplicate of this bug. ***
Comment 18 Elijah Newren 2002-11-19 23:09:53 UTC
Ooops.  Sorry I marked that last one twice.  Since I was able to
duplicate this bug, is there any information I might be able to
provide to help track it down?
Comment 19 Owen Taylor 2002-11-19 23:50:59 UTC
If you can reliably reproduce it, the useful thing to have
would be exact information about:

 - The steps to reproduce
 - What versions of gnome-panel, gtk+, bonobo, bonoboui,
   libgnomeui you have installed.

Comment 20 Mark McLoughlin 2002-11-27 06:13:25 UTC
Elijah ?
Comment 21 Elijah Newren 2002-11-27 18:41:41 UTC
Oops, sorry.  I forgot to add myself to the cc list.  I just tried to
duplicate again many times.  This bug seems repeatable but not really
often--maybe only 5% of the time that I try to repeat it do I actually
get a crash.  But I do have some more information that may be helpful.

I've looked through the some of the duplicates, and it appears that
there are some minor variations on how to get the crash (almost all,
if not all, appear to be RedHat 8, though).  I'm going to try some of
those and report back later.  Here's how I got the crash.  Repeatedly:
  1. Log in
  2. Remove the Redhat update icon
  3. Log out

The crash will not occur instantaneously upon removal of the redhat
update icon.  It occurs when you press the redhat menu selector on the
panel in order to try to log out.  When the crash happens, the gray
background of the menu appears but none of the options do--it's just a
gray rectangle.  Thus you don't actually get to select 'Log Out'; so
perhaps step 3 isn't really relevant.  However, I've also tried
manually re-adding the rhn applet from a gnome terminal and removing
it, but wasn't able to get the crash.  I think logging in and out may
be required for me to duplicate the bug.

Also, the last two times I duplicated this, I got a long stack trace
(about 80 functions deep) like the ones found in 95287.  I have it
saved in a file if it'd be useful at all.  I haven't compared it to
the others posted other than the first 2 functions or so.

Here's some other things I noticed that may or may not be related:

1) One of the times I logged in, as soon as the panel appeared the
battstat applet crashed.  Bug-buddy didn't find a stack trace, but as
soon as I closed that bug-buddy report, the panel itself crashed and
bug-buddy got a stacktrace.  The latter of these two bugs I reported
(bug 99725), but assumed it was unrelated at the time.

The thing that makes me believe that bug (or the battstat applet in
general) may be related to this is the following: the last time I was
able to duplicate this bug, the battstat applet crashed immediately
following the panel crash duplicate that I got (note that I did not
submit either of these bugs--the panel crash report I simply saved as
I mentioned above, and bug-buddy didn't get a stacktrace for the
battstat crash).

2) When I started typing in the bug-buddy report from my last
duplicate, the repeat delay for the keyboard was super low (which made
it hard to type just a single key).  That was a problem I had earlier
on that laptop, and I tried to fix it by adding 'xset r rate 500 40'
to my .cshrc.  That normally works fine for me, but the fact that it
hadn't taken effect seemed suspect to me.  Simplify firing up a
gnome-terminal before continuing the bug-buddy report fixed this
problem.  But perhaps it's related?

I may be way off on both of these (feel free to tell me so), but not
knowing much (I'm only a wanna-be-hacker) and since this is hard to
duplicate, I'm just mentioning everything that looked like it could
have been related.

And, to answer Owen's question about the versions of software I have:
1 typo:~> rpm -q gnome-panel gtk+ bonobo bonoboui libgnomeui
gnome-panel-2.0.6-9
gtk+-1.2.10-22
bonobo-1.0.20-3
package bonoboui is not installed
libgnomeui-2.0.3-3

Let me know what else to try or do to try to help with this.
Comment 22 Elijah Newren 2002-11-27 22:46:26 UTC
Okay, I've done a ton more repetitions of the above 3 steps (probably
100-125 of them).  I got the crash 7 more times.  Here's what I've
found out:

I don't think xset has anything to do with it--I commented it out the
the .cshrc and was still able to get a crash.

I don't thing the battery applet has anything to do with it--it just
also happens to be very unstable (I think I got a few more battstat
crashes than panel crashes, and only once more did I get them at the
same time).  After I removed the battery applet from my panel and
tried repeating the three steps, I was still able to get crashes two
more times at about the same rate.

About 20 of the repetitions were done on a desktop computer (so I
could try to rule out problems with just a laptop).  This desktop
computer was also running Redhat 8.0 with the same versions of the
packages.  It, of course, had no battery applet, and I also never
tried running xset or anything on that machine (in fact, I have no
.cshrc file at all there).  Yet, I was still able to get the crash.

Other possible points of interest:
  These 7 stack traces are all basically identical except that two of
  them contain the g_type_check_instance_is_a() function while the
  other five do not.  Each stack trace contained either 80 or 81
  function calls (similar to some duplicates of this bug).  None of
  them contained 23 function calls as the stack trace listed in this
  bug report (yet my bug 99030 stack trace duplicate did...).

  Off topic: bug-buddy doesn't seem to be able to obtain a stack
  trace for any of the battery applet crashes.  Any one know how to
  change this?

  Further off-topic: When I log out, the redhat update icon isn't on
  the panel.  Most the time when I log back in, the redhat icon is
  put onto the panel--but not everytime (I think about 97% of the
  time it is).  Unless it's meant to be non-deterministic, this
  sounds like a bug.  Do I file it at bugzilla.redhat.com?

  Back on topic.  In addition to the over a hundred reps that I've
  talked about above, I did 100 repetitions of something somewhat
  similar to determine whether the crash could be duplicated without
  logging in and out.  These are those steps:
    1) Remove the RedHat Update Icon
    2) Click on the RedHat Menu Launcher thingy
    3) Click on a gnome-terminal (both to make the menu go away and
       to give focus to the gnome-terminal)
    4) Run 'rhn-applet-gui &' to restore the applet
  Actually, I didn't do step #2 the first 46 times, but I did the
  last 54.  No crashes whatsoever.  So it appears that something to
  do with logging in and logging out seems relevant..

My questions:
  Should I add any of the stack traces I'm getting?
  How do I get bug-buddy to be able to get stack traces for the
    battery applet crashes?
  Should I file the other bug at redhat.bugzilla.com or here or at 
    all?
  Is this at all helpful?  I hope so, because it sure takes a long
    time.  But if not, I'll be happy to stop.

I still haven't looked at the variations reported in some duplicates.
 I may do that later, but I'm a bit tired of this right now.  Let me
know if anything I've said is unclear or if there's any specific tests
that might be more helpful than others.
Comment 23 Mark McLoughlin 2002-11-27 23:16:53 UTC
Elijah: thanks so much for going to so much bother. Sounds very painful.

Owen, Havoc: this is increasingly sounding like a bug with the RedHat
up2date thingy. What is that? Is it an icon on the system tray ? That
would explain the xembed traces .... Have seen many dups of this on
bugzilla.redhat.com ?
Comment 24 Vincent Untz 2002-12-04 19:57:37 UTC
*** Bug 100362 has been marked as a duplicate of this bug. ***
Comment 25 Havoc Pennington 2002-12-04 20:28:50 UTC
Probably not an up2date bug, perhaps an eggtrayicon bug.

Hard to know, though. I haven't seen any dups of this on redhat.com, no.
Comment 26 Owen Taylor 2002-12-04 20:37:36 UTC
It can't (strictly speaking) be an up2date bug, because
the systray shouldn't crash no matter what the icons
in it do.

I suspect it has nothing to do with the particular icons
in the system tray; it's just that the two Red Hat 8
icons are going to be the majority of what people are
using with the XEMBED-based system tray.
Comment 27 Mark McLoughlin 2002-12-15 20:56:11 UTC
Okay, moving to the notification area for the moment.
Comment 28 Mark McLoughlin 2002-12-15 21:33:19 UTC
Um. Yeah.
Comment 29 Arvind S N 2003-01-03 16:04:14 UTC
*** Bug 102421 has been marked as a duplicate of this bug. ***
Comment 30 Vincent Untz 2003-01-05 19:14:21 UTC
*** Bug 102597 has been marked as a duplicate of this bug. ***
Comment 31 Ian P. Thomas 2003-01-05 19:54:57 UTC
The crash occurred for me after I had removed the RHN Update Applet. 
I went to run Red Hat Network after removing it and that is when the
crash occurs.  The versions of the above mentioned packages are as
follows:

gnome-panel-2.0.6-9
gtk+-1.2.10-22
bonobo-1.0.20-3
package bonoboui is not installed
libgnomeui-2.0.3-3
Comment 32 Arvind S N 2003-01-13 10:32:54 UTC
*** Bug 103363 has been marked as a duplicate of this bug. ***
Comment 33 Alex Duggan 2003-01-28 04:26:51 UTC
*** Bug 104575 has been marked as a duplicate of this bug. ***
Comment 34 Ben FrantzDale 2003-02-08 00:36:38 UTC
*** Bug 105545 has been marked as a duplicate of this bug. ***
Comment 35 Elijah Newren 2003-02-08 16:06:58 UTC
*** Bug 105578 has been marked as a duplicate of this bug. ***
Comment 36 Elijah Newren 2003-03-03 19:49:22 UTC
*** Bug 107412 has been marked as a duplicate of this bug. ***
Comment 37 Elijah Newren 2003-03-06 16:03:21 UTC
*** Bug 107705 has been marked as a duplicate of this bug. ***
Comment 38 Mark McLoughlin 2003-03-10 02:31:15 UTC
Okay, every single one of these is with gnome-panel 2.0.6. Assuming
its fixed in 2.2.x since we have no dups. Re-open if there's any
reports of this bug with 2.2.x
Comment 39 Elijah Newren 2003-03-13 00:19:54 UTC
*** Bug 108217 has been marked as a duplicate of this bug. ***
Comment 40 Elijah Newren 2003-03-20 17:20:03 UTC
*** Bug 108851 has been marked as a duplicate of this bug. ***
Comment 41 Elijah Newren 2003-03-24 05:58:57 UTC
*** Bug 109027 has been marked as a duplicate of this bug. ***
Comment 42 Elijah Newren 2003-03-28 21:43:51 UTC
*** Bug 109455 has been marked as a duplicate of this bug. ***
Comment 43 Elijah Newren 2003-04-11 15:09:03 UTC
*** Bug 110537 has been marked as a duplicate of this bug. ***
Comment 44 Elijah Newren 2003-04-28 18:27:57 UTC
*** Bug 111721 has been marked as a duplicate of this bug. ***
Comment 45 Elijah Newren 2003-05-06 20:16:22 UTC
*** Bug 112043 has been marked as a duplicate of this bug. ***
Comment 46 Elijah Newren 2003-05-06 20:17:23 UTC
*** Bug 110658 has been marked as a duplicate of this bug. ***
Comment 47 Mark McLoughlin 2003-05-23 13:45:24 UTC
*** Bug 109739 has been marked as a duplicate of this bug. ***
Comment 48 Elijah Newren 2003-05-28 03:50:21 UTC
*** Bug 113863 has been marked as a duplicate of this bug. ***
Comment 49 Elijah Newren 2003-06-10 03:04:28 UTC
*** Bug 114782 has been marked as a duplicate of this bug. ***
Comment 50 Elijah Newren 2003-06-10 03:05:12 UTC
*** Bug 114250 has been marked as a duplicate of this bug. ***
Comment 51 Elijah Newren 2003-07-29 17:41:19 UTC
*** Bug 118542 has been marked as a duplicate of this bug. ***
Comment 52 Elijah Newren 2003-08-06 22:26:08 UTC
*** Bug 119283 has been marked as a duplicate of this bug. ***
Comment 53 Elijah Newren 2003-08-07 15:58:41 UTC
*** Bug 119344 has been marked as a duplicate of this bug. ***
Comment 54 Elijah Newren 2003-08-28 02:57:08 UTC
*** Bug 120879 has been marked as a duplicate of this bug. ***
Comment 55 Vincent Untz 2003-09-03 12:04:36 UTC
*** Bug 121349 has been marked as a duplicate of this bug. ***
Comment 56 Vincent Untz 2003-09-03 12:05:44 UTC
*** Bug 110637 has been marked as a duplicate of this bug. ***
Comment 57 Vincent Untz 2003-09-05 13:44:34 UTC
*** Bug 121540 has been marked as a duplicate of this bug. ***
Comment 58 Vincent Untz 2003-09-20 13:44:02 UTC
*** Bug 122594 has been marked as a duplicate of this bug. ***
Comment 59 Vincent Untz 2003-10-01 09:06:22 UTC
*** Bug 123603 has been marked as a duplicate of this bug. ***
Comment 60 Owen Taylor 2003-10-01 12:57:35 UTC
I have a strong suspicion that this actually was the problem
described in bug 123570 and bug 123585, though I don't
know why it stopped crashing like this with GNOME-2.2.

In some cases, the *same* tray icon can get docked in the 
notification area multiple times; the symptom I was tracking
down was a sizing problem for the RHN icon
(https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=75225)
but it makes a lot of sense to me that it would cause this
crash as well - if their are multiple sockets that all
think they own the RHN icon, then removing the RHN icon
will only clean up one of them; the rest will be left with
a stale pointer to the icon window.
Comment 61 Vincent Untz 2003-10-14 13:22:01 UTC
*** Bug 124380 has been marked as a duplicate of this bug. ***
Comment 62 Elijah Newren 2003-12-10 04:38:27 UTC
*** Bug 128335 has been marked as a duplicate of this bug. ***
Comment 63 Elijah Newren 2004-02-11 03:55:23 UTC
*** Bug 133987 has been marked as a duplicate of this bug. ***
Comment 64 Elijah Newren 2004-07-09 01:22:35 UTC
*** Bug 146181 has been marked as a duplicate of this bug. ***
Comment 65 Vincent Untz 2004-07-09 13:20:09 UTC
*** Bug 146770 has been marked as a duplicate of this bug. ***
Comment 66 Vincent Untz 2004-12-22 15:58:21 UTC
*** Bug 161995 has been marked as a duplicate of this bug. ***
Comment 67 Elijah Newren 2005-02-20 21:47:30 UTC
*** Bug 167978 has been marked as a duplicate of this bug. ***
Comment 68 Vincent Untz 2005-09-16 14:28:55 UTC
*** Bug 316318 has been marked as a duplicate of this bug. ***