Bug 201366 - KWin box switch crash when window closed
Summary: KWin box switch crash when window closed
Status: RESOLVED DUPLICATE of bug 195295
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-24 17:50 UTC by Magnus Bergmark
Modified: 2009-08-17 20:01 UTC (History)
1 user (show)

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 Magnus Bergmark 2009-07-24 17:50:25 UTC
Application that crashed: kwin
Version of the application: 4.2.96 (KDE 4.2.96 (KDE 4.3 RC2))
KDE Version: 4.2.96 (KDE 4.2.96 (KDE 4.3 RC2))
Qt Version: 4.5.0
Operating System: Linux 2.6.28-11-generic x86_64
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
Closed Firefox window and alt-tabbed to get to another window. I went a few laps looking for the correct window, when Kwin suddenly crashed the same time as the Firefox window closed.

 -- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
[KCrash Handler]
#5  KWin::BoxSwitchEffect::calculateItemSizes (this=0x6470ea0) at /build/buildd/kdebase-workspace-4.2.96/kwin/effects/boxswitch/boxswitch.cpp:650
#6  0x00007f9be529827d in KWin::BoxSwitchEffect::tabBoxUpdated (this=0x6470ea0) at /build/buildd/kdebase-workspace-4.2.96/kwin/effects/boxswitch/boxswitch.cpp:428
#7  0x00007f9bf47f22a1 in KWin::EffectsHandlerImpl::tabBoxUpdated (this=<value optimized out>) at /build/buildd/kdebase-workspace-4.2.96/kwin/effects.cpp:293
#8  0x00007f9bf478fdd4 in KWin::TabBox::setCurrentClient (this=0xe80bd0, newClient=0xcd47150) at /build/buildd/kdebase-workspace-4.2.96/kwin/tabbox.cpp:538
#9  0x00007f9bf47903d6 in KWin::TabBox::nextPrev (this=0xe80bd0, next=true) at /build/buildd/kdebase-workspace-4.2.96/kwin/tabbox.cpp:438
#10 0x00007f9bf4773138 in KWin::Workspace::removeClient (this=0xc4e510, c=0xb2b8050) at /build/buildd/kdebase-workspace-4.2.96/kwin/workspace.cpp:627
#11 0x00007f9bf477eec6 in KWin::Client::releaseWindow (this=0xb2b8050, on_shutdown=false) at /build/buildd/kdebase-workspace-4.2.96/kwin/client.cpp:235
#12 0x00007f9bf47a0593 in KWin::Client::windowEvent (this=0xb2b8050, e=0x7ffffcc3ad20) at /build/buildd/kdebase-workspace-4.2.96/kwin/events.cpp:642
#13 0x00007f9bf47a0978 in KWin::Workspace::workspaceEvent (this=0xc4e510, e=0x7ffffcc3ad20) at /build/buildd/kdebase-workspace-4.2.96/kwin/events.cpp:319
#14 0x00007f9bf4789b18 in KWin::Application::x11EventFilter (this=0x7ffffcc3b110, e=0x7ffffcc3ad20) at /build/buildd/kdebase-workspace-4.2.96/kwin/main.cpp:362
#15 0x00007f9bf25d7b1f in qt_x11EventFilter (ev=0x7ffffcc3ad20) at kernel/qapplication_x11.cpp:375
#16 0x00007f9bf25eafaf in QApplication::x11ProcessEvent (this=0x7ffffcc3b110, event=0x7ffffcc3ad20) at kernel/qapplication_x11.cpp:3273
#17 0x00007f9bf2614464 in x11EventSourceDispatch (s=0xa2eca0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#18 0x00007f9beb13020a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#19 0x00007f9beb1338e0 in ?? () from /usr/lib/libglib-2.0.so.0
#20 0x00007f9beb133a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#21 0x00007f9bf1e5fe6f in QEventDispatcherGlib::processEvents (this=0xa11fa0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:323
#22 0x00007f9bf2613bef in QGuiEventDispatcherGlib::processEvents (this=0x7ffffcc39f00, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#23 0x00007f9bf1e35002 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -54284272}) at kernel/qeventloop.cpp:149
#24 0x00007f9bf1e353cd in QEventLoop::exec (this=0x7ffffcc3b050, flags={i = -54284192}) at kernel/qeventloop.cpp:200
#25 0x00007f9bf1e37694 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#26 0x00007f9bf478c048 in kdemain (argc=3, argv=0x7ffffcc3b5f8) at /build/buildd/kdebase-workspace-4.2.96/kwin/main.cpp:527
#27 0x00007f9bef2745a6 in __libc_start_main (main=0x4008c0 <main>, argc=3, ubp_av=0x7ffffcc3b5f8, init=0x4008f0 <__libc_csu_init>, fini=<value optimized out>, rtld_fini=<value optimized out>, 
    stack_end=0x7ffffcc3b5e8) at libc-start.c:220
#28 0x00000000004007f9 in _start () at ../sysdeps/x86_64/elf/start.S:113

This bug may be a duplicate of or related to bug 195295

Reported using DrKonqi
Comment 1 Martin Flöser 2009-07-24 17:53:36 UTC

*** This bug has been marked as a duplicate of bug 195295 ***
Comment 2 David Faure 2009-08-17 19:41:23 UTC
SVN commit 1012468 by dfaure:

Repair old profiles without tabs, so that they create a tabwidget. Otherwise it gets
created automatically, but without any view in it, and nothing works (there's even an assert).
With unit test.
BUG: 201366


 M  +10 -0     konqviewmanager.cpp  
 A             tests/filemanagement.old.profile  
 M  +19 -0     tests/konqviewmgrtest.cpp  
 M  +1 -0      tests/konqviewmgrtest.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1012468
Comment 3 David Faure 2009-08-17 19:54:19 UTC
Wrong bug number, I meant 203166, sorry.

*** This bug has been marked as a duplicate of bug 195295 ***
Comment 4 David Faure 2009-08-17 19:59:02 UTC
SVN commit 1012484 by dfaure:

Repair old profiles without tabs, so that they create a tabwidget. Otherwise it gets
created automatically, but without any view in it, and nothing works
(debug build: konq asserts, release build: konq just shows an empty unusable gray window).

With unit test. Fix will be in 4.3.1.
BUG: 201366


 M  +10 -0     konqviewmanager.cpp  
 A             tests/filemanagement.old.profile   trunk/KDE/kdebase/apps/konqueror/src/tests/filemanagement.old.profile#1012468
 M  +19 -0     tests/konqviewmgrtest.cpp  
 M  +1 -0      tests/konqviewmgrtest.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1012484
Comment 5 David Faure 2009-08-17 20:01:30 UTC
I'm stupid.

*** This bug has been marked as a duplicate of bug 195295 ***