Bug 65297 - xmms lets kwin crash on startup
Summary: xmms lets kwin crash on startup
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: CVS
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-01 08:32 UTC by Daniel Engelschalt
Modified: 2003-10-01 17:21 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Engelschalt 2003-10-01 08:32:10 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:          Linux

start xmms, minimize, logout, login (restores xmms) -> crash. 
 
backtrace: 
[New Thread 1024 (LWP 23414)] 
0x416491b9 in wait4 () from /lib/libc.so.6 
#0  0x416491b9 in wait4 () from /lib/libc.so.6 
#1  0x416c3de0 in __DTOR_END__ () from /lib/libc.so.6 
#2  0x415013a2 in waitpid () from /lib/libpthread.so.0 
#3  0x4078ab2d in KCrash::defaultCrashHandler (sig=11) at kcrash.cpp:242 
#4  0x414ff0d4 in pthread_sighandler () from /lib/libpthread.so.0 
#5  <signal handler called> 
#6  0x41d82f73 in KWinInternal::Client::manage () 
   from /opt/kde3/lib/libkdeinit_kwin.so 
#7  0x41d5862d in KWinInternal::Workspace::createClient () 
   from /opt/kde3/lib/libkdeinit_kwin.so 
#8  0x41d751fb in KWinInternal::Workspace::workspaceEvent () 
   from /opt/kde3/lib/libkdeinit_kwin.so 
#9  0x41d6c713 in KWinInternal::Application::x11EventFilter () 
   from /opt/kde3/lib/libkdeinit_kwin.so 
#10 0x40b40648 in qt_x11EventFilter () 
   from /home/kde3/updates/qt-copy/lib/libqt-mt.so.3 
#11 0x40b4c040 in QApplication::x11ProcessEvent () 
   from /home/kde3/updates/qt-copy/lib/libqt-mt.so.3 
#12 0x40b6384f in QEventLoop::processEvents () 
   from /home/kde3/updates/qt-copy/lib/libqt-mt.so.3 
#13 0x40bd09cf in QEventLoop::enterLoop () 
   from /home/kde3/updates/qt-copy/lib/libqt-mt.so.3 
#14 0x40bd091e in QEventLoop::exec () 
   from /home/kde3/updates/qt-copy/lib/libqt-mt.so.3 
#15 0x40bbaa35 in QApplication::exec () 
   from /home/kde3/updates/qt-copy/lib/libqt-mt.so.3 
#16 0x41d6ce95 in kdemain () from /opt/kde3/lib/libkdeinit_kwin.so 
#17 0x41d348a2 in kdeinitmain () from /opt/kde3/lib/kde3/kwin.so 
#18 0x0804e017 in launch (argc=3, _name=0x8060924 "kwin", 
args=0x806096a "",  
    cwd=0x0, envc=0, envs=0x806096e "", reset_env=false, tty=0x0,  
    avoid_loops=false, startup_id_str=0x8052e67 "0") at kinit.cpp:597 
#19 0x0804f1d7 in handle_launcher_request (sock=7) at kinit.cpp:1096 
#20 0x0804f9a5 in handle_requests (waitForPid=0) at kinit.cpp:1265 
#21 0x08050dc0 in main (argc=3, argv=0xbffff5e4, envp=0xbffff5f4) 
    at kinit.cpp:1686 
#22 0x415bc571 in __libc_start_main () from /lib/libc.so.6
Comment 1 Lubos Lunak 2003-10-01 12:52:10 UTC
I cannot reproduce the problem with xmms-1.2.7. Is your kwin recent? 
Could you rebuild kwin with debug info enabled, and provide a better backtrace? 
( After kwin crashes and you see drkonqi, switch to text console, log in, do 'ps ux| grep kwin', 
start gdb, and in gdb do 'attach <pid of kwin>'; then type 'up' until you reach the level above 
"#5 <signal handler called>" and there type 'list'.) 
 
 
Comment 2 Daniel Engelschalt 2003-10-01 17:06:03 UTC
ok, new backtrace follows. attaching gdb was not successful, because there was 
no symbol table loaded (gdb says: "use file command instead"). please give me a 
hint how to proceed then. kwin is recent when i'm using cvs, isn't it? xmms is 
xmms-1.2.7-r11 (could update to r20, but that shouldn't matter). 
 
[New Thread 1024 (LWP 8036)] 
0x416491b9 in wait4 () from /lib/libc.so.6 
#0  0x416491b9 in wait4 () from /lib/libc.so.6 
#1  0x416c3de0 in __DTOR_END__ () from /lib/libc.so.6 
#2  0x415013a2 in waitpid () from /lib/libpthread.so.0 
#3  0x4078ab2d in KCrash::defaultCrashHandler (sig=11) at kcrash.cpp:242 
#4  0x414ff0d4 in pthread_sighandler () from /lib/libpthread.so.0 
#5  <signal handler called> 
#6  0x41d93f17 in KWinInternal::Client::manage (this=0x815a0c8, w=29360175,  
    isMapped=false) at manage.cpp:323 
#7  0x41d62bbb in KWinInternal::Workspace::createClient (this=0x8141420,  
    w=29360175, is_mapped=false) at workspace.cpp:405 
#8  0x41d865a6 in KWinInternal::Workspace::workspaceEvent (this=0x8141420,  
    e=0xbfffee00) at events.cpp:307 
#9  0x41d7d9c4 in KWinInternal::Application::x11EventFilter (this=0xbfffef4c,  
    e=0xbfffee00) at main.cpp:132 
#10 0x40b40648 in qt_x11EventFilter () 
   from /home/kde3/updates/qt-copy/lib/libqt-mt.so.3 
#11 0x40b4c040 in QApplication::x11ProcessEvent () 
   from /home/kde3/updates/qt-copy/lib/libqt-mt.so.3 
#12 0x40b6384f in QEventLoop::processEvents () 
   from /home/kde3/updates/qt-copy/lib/libqt-mt.so.3 
#13 0x40bd09cf in QEventLoop::enterLoop () 
   from /home/kde3/updates/qt-copy/lib/libqt-mt.so.3 
#14 0x40bd091e in QEventLoop::exec () 
   from /home/kde3/updates/qt-copy/lib/libqt-mt.so.3 
#15 0x40bbaa35 in QApplication::exec () 
   from /home/kde3/updates/qt-copy/lib/libqt-mt.so.3 
#16 0x41d7e00c in kdemain (argc=3, argv=0x8060750) at main.cpp:259 
#17 0x41d348d6 in kdeinitmain (argc=3, argv=0x8060750) at kwin_dummy.cpp:2 
#18 0x0804e017 in launch (argc=3, _name=0x8060924 "kwin", args=0x806096a "",  
    cwd=0x0, envc=0, envs=0x806096e "", reset_env=false, tty=0x0,  
    avoid_loops=false, startup_id_str=0x8052e67 "0") at kinit.cpp:597 
#19 0x0804f1d7 in handle_launcher_request (sock=7) at kinit.cpp:1096 
#20 0x0804f9a5 in handle_requests (waitForPid=0) at kinit.cpp:1265 
#21 0x08050dc0 in main (argc=3, argv=0xbffff5e4, envp=0xbffff5f4) 
    at kinit.cpp:1686 
#22 0x415bc571 in __libc_start_main () from /lib/libc.so.6 
 
 
 
Comment 3 Lubos Lunak 2003-10-01 17:21:32 UTC
The line numbers from the backtrace were enough for me to find the problem. It should be 
fixed now.