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 437078 - Crash in wnck_window_get_transient()
Crash in wnck_window_get_transient()
Status: RESOLVED FIXED
Product: libwnck
Classification: Core
Component: tasklist
2.18.x
Other All
: High critical
: ---
Assigned To: libwnck maintainers
libwnck maintainers
: 447141 452366 473325 513515 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-05-09 06:53 UTC by keiron
Modified: 2008-02-01 06:32 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18


Attachments
same error (from a different computer) with extra debugging info (19.15 KB, text/plain)
2007-05-10 01:24 UTC, keiron
Details
debug info with the libwnck (19.42 KB, text/plain)
2007-05-11 00:23 UTC, keiron
Details
java code to reproduce the crash (1.05 KB, text/plain)
2007-05-12 04:08 UTC, keiron
Details

Description keiron 2007-05-09 06:53:30 UTC
Version: 2.18.0

What were you doing when the application crashed?
this crash often happens when I am quitting a full screen window java application and happens with FC6 and FC7(rawhide)


Distribution: Fedora release 6.93 (Rawhide)
Gnome Release: 2.18.0 2007-03-23 (Red Hat, Inc)
BugBuddy Version: 2.18.0

System: Linux 2.6.21-1.3116.fc7 #1 SMP Thu Apr 26 10:36:44 EDT 2007 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10300000
Selinux: No
Accessibility: Disabled
GTK+ Theme: Clearlooks
Icon Theme: Fedora

Memory status: size: 61112320 vsize: 61112320 resident: 14024704 share: 9887744 rss: 14024704 rss_rlim: 4294967295
CPU usage: start_time: 1178690599 rtime: 182 utime: 136 stime: 46 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/usr/libexec/wnck-applet'

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1208535328 (LWP 4616)]
(no debugging symbols found)
0x00116402 in __kernel_vsyscall ()

Thread 1 (Thread -1208535328 (LWP 4616))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/libpthread.so.0
  • #2 ??
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 g_type_check_instance_is_a
    from /lib/libgobject-2.0.so.0
  • #5 wnck_window_get_transient
    from /usr/lib/libwnck-1.so.18
  • #6 ??
    from /usr/lib/libwnck-1.so.18
  • #7 ??
    from /usr/lib/libwnck-1.so.18
  • #8 ??
    from /usr/lib/libwnck-1.so.18
  • #9 g_cclosure_marshal_VOID__OBJECT
    from /lib/libgobject-2.0.so.0
  • #10 g_closure_invoke
    from /lib/libgobject-2.0.so.0
  • #11 ??
    from /lib/libgobject-2.0.so.0
  • #12 g_signal_emit_valist
    from /lib/libgobject-2.0.so.0
  • #13 g_signal_emit
    from /lib/libgobject-2.0.so.0
  • #14 ??
    from /usr/lib/libwnck-1.so.18
  • #15 ??
    from /usr/lib/libwnck-1.so.18
  • #16 ??
    from /lib/libglib-2.0.so.0
  • #17 g_main_context_dispatch
    from /lib/libglib-2.0.so.0
  • #18 ??
    from /lib/libglib-2.0.so.0
  • #19 g_main_loop_run
    from /lib/libglib-2.0.so.0
  • #20 bonobo_main
    from /usr/lib/libbonobo-2.so.0
  • #21 bonobo_generic_factory_main_timeout
    from /usr/lib/libbonobo-2.so.0
  • #22 bonobo_generic_factory_main
    from /usr/lib/libbonobo-2.so.0
  • #23 panel_applet_factory_main_closure
    from /usr/lib/libpanel-applet-2.so.0
  • #24 panel_applet_factory_main
    from /usr/lib/libpanel-applet-2.so.0
  • #25 main
  • #0 __kernel_vsyscall


----------- .xsession-errors (98 sec old) ---------------------
Window manager warning: Treating resize request of legacy application 0x3c00020 (Live Visio) as a fullscreen request
Window manager warning: Treating resize request of legacy application 0x400000a (Vision) as a fullscreen request
Window manager warning: Treating resize request of legacy application 0x4000015 (Live Visio) as a fullscreen request
Window manager warning: Treating resize request of legacy application 0x400001a (Live Visio) as a fullscreen request
Window manager warning: Treating resize request of legacy application 0x400001f (Live Visio) as a fullscreen request
** (gnome-system-monitor:5881): WARNING **: SELinux was found but is not enabled.
Window manager warning: Invalid WM_TRANSIENT_FOR window 0x2e001ac specified for 0x2e001b1 (IDE Shutdo).
Window manager warning: Invalid WM_TRANSIENT_FOR window 0x2e001ac specified for 0x2e001b1 (IDE Shutdo).
Window manager warning: Invalid WM_TRANSIENT_FOR window 0x2e001ac specified for 0x2e001b1 (IDE Shutdo).
** Message: Found best visual for GL: 0x21
** (gnome-system-monitor:6226): WARNING **: SELinux was found but is not enabled.
--------------------------------------------------
Comment 1 palfrey 2007-05-09 11:19:58 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.
Thanks in advance!
Comment 2 keiron 2007-05-10 01:24:01 UTC
Created attachment 87926 [details]
same error (from a different computer) with extra debugging info

I have redone the crash with more debugging info, hopefully this will give you the information you need to solve the problem.
Comment 3 Vincent Untz 2007-05-10 08:39:23 UTC
Ah, that's a bit better. Do you have the possibility to install the debugging info for libwnck too?
Comment 4 keiron 2007-05-11 00:23:34 UTC
Created attachment 87987 [details]
debug info with the libwnck

more information as requested.
Comment 5 Vincent Untz 2007-05-11 08:12:42 UTC
Thanks for your help. We'll look into this? Is the java application freely available, in case we need to reproduce the crash?
Comment 6 keiron 2007-05-12 04:08:29 UTC
Created attachment 88055 [details]
java code to reproduce the crash

The attached simple java code causes the crash, it appears the the java call gd.isFullScreenSupported seems to be partly causing the crash as I could not reproduce the crash without it.
Also note that I have been running this with multiple monitors so I don't know if it also occurs in a single monitor environment.
Comment 7 Vincent Untz 2007-05-12 16:24:03 UTC
Thanks. I quickly tried, but it doesn't make anything crash here.

I'm not quite sure how the crash is happening: it means we'd have, in wnck_tasklist_active_window_changed(), wnck_window_get_transient() which returns something that is not NULL and not a WnckWindow. But this functions either returns NULL or what's returned by g_hash_table_lookup(), which, AFAICT, is always something that is a WnckWindow (or NULL).

Maybe someone else would have a better idea of what's wrong?
Comment 8 Vincent Untz 2007-06-15 14:21:05 UTC
*** Bug 447141 has been marked as a duplicate of this bug. ***
Comment 9 Vincent Untz 2007-06-15 14:35:19 UTC
Putting the interesting part of the stack trace as a comment...

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/libpthread.so.0
  • #2 gnome_gtk_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 IA__g_type_check_instance_is_a
    at gtype.c line 3115
  • #5 wnck_window_get_transient
    at window.c line 554
  • #6 wnck_tasklist_active_window_changed
    at tasklist.c line 2120
  • #7 wnck_tasklist_update_lists
    at tasklist.c line 2009
  • #8 wnck_tasklist_window_removed
    at tasklist.c line 2271
  • #9 IA__g_cclosure_marshal_VOID__OBJECT
    at gmarshal.c line 636
  • #10 IA__g_closure_invoke
    at gclosure.c line 490
  • #11 signal_emit_unlocked_R
    at gsignal.c line 2440
  • #12 IA__g_signal_emit_valist
    at gsignal.c line 2199
  • #13 IA__g_signal_emit
    at gsignal.c line 2243
  • #14 do_update_now
    at screen.c line 1997
  • #15 update_idle
    at screen.c line 1936
  • #16 g_idle_dispatch
    at gmain.c line 3928
  • #17 IA__g_main_context_dispatch
    at gmain.c line 2045
  • #18 g_main_context_iterate
    at gmain.c line 2677
  • #19 IA__g_main_loop_run
    at gmain.c line 2881
  • #20 bonobo_main
    from /usr/lib/libbonobo-2.so.0
  • #21 bonobo_generic_factory_main_timeout
    from /usr/lib/libbonobo-2.so.0
  • #22 bonobo_generic_factory_main
    from /usr/lib/libbonobo-2.so.0
  • #23 panel_applet_factory_main_closure
    from /usr/lib/libpanel-applet-2.so.0
  • #24 panel_applet_factory_main
    from /usr/lib/libpanel-applet-2.so.0
  • #25 g_object_unref
    at gobject.c line 1732
  • #26 __libc_start_main
    from /lib/libc.so.6
  • #27 g_object_unref
    at gobject.c line 1732

Comment 10 Vincent Untz 2007-06-18 15:48:32 UTC
Just wondering: are you using a multihead setup? If yes, then this might be related to bug 447387.
Comment 11 keiron 2007-06-18 23:21:13 UTC
(In reply to comment #10)
> Just wondering: are you using a multihead setup? If yes, then this might be
> related to bug 447387.
> 

Yes, this problem occurs with multihead setup. I will check when I get the fix noted in that bug and see if it solves the problem.
Comment 12 Vincent Untz 2007-06-19 07:50:01 UTC
Okay, marking as NEEDINFO then, until you can test with libwnck >= 2.19.4.
Comment 13 Vincent Untz 2007-06-29 20:56:05 UTC
*** Bug 452366 has been marked as a duplicate of this bug. ***
Comment 14 Vincent Untz 2007-09-04 17:12:24 UTC
*** Bug 473325 has been marked as a duplicate of this bug. ***
Comment 15 Philip Withnall 2008-02-01 06:32:23 UTC
*** Bug 513515 has been marked as a duplicate of this bug. ***