Bug 18551

Summary: KWin, started by kdeinit, crashes when the first window is closed
Product: [Plasma] kwin Reporter: Wilco Greven <j.w.greven>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: CLOSED FIXED    
Severity: grave    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Other   
Latest Commit: Version Fixed In:

Description Wilco Greven 2001-01-14 11:15:33 UTC
(*** This bug was imported into bugs.kde.org ***)

Package: kwin
Version: 0.9
Severity: grave

When starting up KDE kwin is started by kdeinit. With the first window I close
kwin will crash. It is then started up without kwin and the everything works
fine afterwards.

I'm using Debian testing with glibc 2.2 and XFree86 4.0.2.

Here is the backtrace:

#0  0x80c91f1 in ?? ()
#1  0x40547b09 in KPixmapProvider type_info node ()
    from /usr/local/lib/libfam.so.0
#2  0x405596da in KDEClient::~KDEClient (this=0x80c8c98 __in_chrg=3)
    at kdedefault.h:55
#3  0x40dae9b9 in Workspace::destroyClient (this=0x80ba1a8 c=0x80c8c98)
    at workspace.cpp:626
#4  0x40da4a0a in Client::unmapNotify (this=0x80c8c98 e=@0xbffff588)
    at client.cpp:919
#5  0x40da473d in Client::windowEvent (this=0x80c8c98
    e=0xbffff588)
    at client.cpp:825
#6  0x40dae092 in Workspace::workspaceEvent (this=0x80ba1a8
    e=0xbffff588)
    at workspace.cpp:500
#7  0x40dab80e in Application::x11EventFilter
    (this=0xbffff694 e=0xbffff588)
    at main.cpp:157
#8  0x4068ca28 in qt_x11EventFilter () from
    /usr/lib/libqt.so.2
#9  0x40693de7 in QApplication::x11ProcessEvent ()
    from /usr/lib/libqt.so.2
#10 0x406934f0 in QApplication::processNextEvent ()
    from /usr/lib/libqt.so.2
#11 0x406c72f3 in QApplication::enter_loop () from
    /usr/lib/libqt.so.2
#12 0x4069346e in QApplication::exec () from
    /usr/lib/libqt.so.2
#13 0x40dabc40 in kdemain (argc=1 argv=0x804fcb0) at
    main.cpp:259
#14 0x804a451 in launch (argc=1 _name=0x804eddc
    "kwin" args=0x804ede1 "")
    at kinit.cpp:252
#15 0x804ad15 in handle_launcher_request (sock=9) at kinit.cpp:627
#16 0x804b0d9 in handle_requests (waitForPid=0) at kinit.cpp:749
#17 0x804bdbf in main (argc=1 argv=0xbffffb6c envp=0xbffffb74)
    at kinit.cpp:1046
#18 0x40c08a74 in __libc_start_main () from /lib/i686/libc.so.6
Comment 1 Stephan Kulow 2001-01-14 11:25:21 UTC
Wilco Greven wrote:
> 
> Package: kwin
> Version: 0.9
> Severity: grave
> 
> When starting up KDE kwin is started by kdeinit. With the first window I close
> kwin will crash. It is then started up without kwin and the everything works
> fine afterwards.
> 
> I'm using Debian testing with glibc 2.2 and XFree86 4.0.2.
> 
> Here is the backtrace:
> 
> #0  0x80c91f1 in ?? ()
> #1  0x40547b09 in KPixmapProvider type_info node ()
>     from /usr/local/lib/libfam.so.0
I would think that this very line looks wrong :)
Are you sure you're not trapping within some wrong dependencies
a make clean would fix?

Greetings Stephan

> #2  0x405596da in KDEClient::~KDEClient (this=0x80c8c98 __in_chrg=3)
>     at kdedefault.h:55
> #3  0x40dae9b9 in Workspace::destroyClient (this=0x80ba1a8 c=0x80c8c98)
>     at workspace.cpp:626
> #4  0x40da4a0a in Client::unmapNotify (this=0x80c8c98 e=@0xbffff588)
>     at client.cpp:919
> #5  0x40da473d in Client::windowEvent (this=0x80c8c98
>     e=0xbffff588)
>     at client.cpp:825
> #6  0x40dae092 in Workspace::workspaceEvent (this=0x80ba1a8
>     e=0xbffff588)
>     at workspace.cpp:500
> #7  0x40dab80e in Application::x11EventFilter
>     (this=0xbffff694 e=0xbffff588)
>     at main.cpp:157
> #8  0x4068ca28 in qt_x11EventFilter () from
>     /usr/lib/libqt.so.2
> #9  0x40693de7 in QApplication::x11ProcessEvent ()
>     from /usr/lib/libqt.so.2
> #10 0x406934f0 in QApplication::processNextEvent ()
>     from /usr/lib/libqt.so.2
> #11 0x406c72f3 in QApplication::enter_loop () from
>     /usr/lib/libqt.so.2
> #12 0x4069346e in QApplication::exec () from
>     /usr/lib/libqt.so.2
> #13 0x40dabc40 in kdemain (argc=1 argv=0x804fcb0) at
>     main.cpp:259
> #14 0x804a451 in launch (argc=1 _name=0x804eddc
>     "kwin" args=0x804ede1 "")
>     at kinit.cpp:252
> #15 0x804ad15 in handle_launcher_request (sock=9) at kinit.cpp:627
> #16 0x804b0d9 in handle_requests (waitForPid=0) at kinit.cpp:749
> #17 0x804bdbf in main (argc=1 argv=0xbffffb6c envp=0xbffffb74)
>     at kinit.cpp:1046
> #18 0x40c08a74 in __libc_start_main () from /lib/i686/libc.so.6

-- 
It's my true belief that people having wishes for the bug report tool
and report it to the author haven't got the idea behind open source.
                                             anonymous KDE developer
Comment 2 Wilco Greven 2001-01-16 08:50:48 UTC
After rebuilding everything from scratch kwin finally works correctly.