Bug 188498 - plasma crash on login caused by resolution change
Summary: plasma crash on login caused by resolution change
Status: RESOLVED DUPLICATE of bug 185741
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-30 18:53 UTC by Benjamin Schmitz
Modified: 2009-03-30 23:24 UTC (History)
2 users (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 Benjamin Schmitz 2009-03-30 18:53:19 UTC
Version:            (using KDE 4.2.1)
OS:                Linux
Installed from:    Unlisted Binary Package

Plasma reproducibly crashed on login when the screen resolution when logging in is different from what it was when you logged out.

Example:

I'm using KDE 4.2.1 on a laptop computer which I often hook up to an external flat panel screen. While the laptop's internal display has a resolution of 1280x800 Pixels, the external monitor display 1920x1200.

When I log out while using the external monitor, restart the X server and try to log in using the internal display, plasma will crash on login.

The crash can always be fixed by editing plasma-appletsrc and replacing every occurrence of "1920" with "1280" and "1200" with "800".

The bug does not seem to be related to using two displays, though. It can also be triggered by logging in, changing the resolution via XrandR to e.g. 640x480, logging out and then trying to log in using a different resolution.

Here is the backtrace:

Application: Plasma Workspace (plasma), signal SIGSEGV
0x00007f8b7261efd0 in __nanosleep_nocancel () from /lib/libc.so.6

Thread 1 (Thread 0x7f8b77c7d790 (LWP 4877)):
[KCrash Handler]
#5  0x00007f8b733def31 in QTimer::stop () from /usr/lib/libQtCore.so.4
#6  0x00007f8b7797aa80 in PanelView::updatePanelGeometry () from /usr/lib/libkdeinit4_plasma.so
#7  0x00007f8b7797c055 in PanelView::pinchContainment () from /usr/lib/libkdeinit4_plasma.so
#8  0x00007f8b7797d209 in PanelView::PanelView () from /usr/lib/libkdeinit4_plasma.so
#9  0x00007f8b77981882 in PlasmaApp::createView () from /usr/lib/libkdeinit4_plasma.so
#10 0x00007f8b77981a61 in PlasmaApp::containmentAdded () from /usr/lib/libkdeinit4_plasma.so
#11 0x00007f8b77983be7 in PlasmaApp::qt_metacall () from /usr/lib/libkdeinit4_plasma.so
#12 0x00007f8b733d8c1d in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#13 0x00007f8b77628fef in Plasma::Corona::containmentAdded () from /usr/lib/libplasma.so.3
#14 0x00007f8b7762a70b in Plasma::Corona::loadLayout () from /usr/lib/libplasma.so.3
#15 0x00007f8b7762b6b2 in Plasma::Corona::initializeLayout () from /usr/lib/libplasma.so.3
#16 0x00007f8b77980668 in PlasmaApp::corona () from /usr/lib/libkdeinit4_plasma.so
#17 0x00007f8b779827a5 in PlasmaApp::setupDesktop () from /usr/lib/libkdeinit4_plasma.so
#18 0x00007f8b77983c08 in PlasmaApp::qt_metacall () from /usr/lib/libkdeinit4_plasma.so
#19 0x00007f8b733d8c1d in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#20 0x00007f8b733df14f in ?? () from /usr/lib/libQtCore.so.4
#21 0x00007f8b733d5293 in QObject::event () from /usr/lib/libQtCore.so.4
#22 0x00007f8b73a9aa6d in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#23 0x00007f8b73aa247a in QApplication::notify () from /usr/lib/libQtGui.so.4
#24 0x00007f8b7608dd4b in KApplication::notify () from /usr/lib/libkdeui.so.5
#25 0x00007f8b733c66ec in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#26 0x00007f8b733ef406 in ?? () from /usr/lib/libQtCore.so.4
#27 0x00007f8b733ebe9d in ?? () from /usr/lib/libQtCore.so.4
#28 0x00007f8b6f29feda in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0x00007f8b6f2a35a0 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#30 0x00007f8b6f2a373c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#31 0x00007f8b733ebdff in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#32 0x00007f8b73b213bf in ?? () from /usr/lib/libQtGui.so.4
#33 0x00007f8b733c5092 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#34 0x00007f8b733c5225 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#35 0x00007f8b733c72ec in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#36 0x00007f8b7797254b in kdemain () from /usr/lib/libkdeinit4_plasma.so
#37 0x00007f8b7259e546 in __libc_start_main () from /lib/libc.so.6
#38 0x0000000000400809 in _start ()
Comment 1 razvan 2009-03-30 19:13:32 UTC
I confirm the same issue; this is a real showstopper in terms of user experience; i am using Arch Linux on  an inspiron 1300 laptop with the same issue; i have feedbacks from other Arch Linux users that even the 4.2.2 doesn't fix the issue. We really need a resolution on this.
Thanks a lot for your effort.
Comment 2 Dario Andres 2009-03-30 23:24:43 UTC
This is a duplicate of bug 185741. The fix should be in 4.2.2
The commit which fixed the issue on KDE4.2.x is http://websvn.kde.org/?view=rev&revision=934863
Thanks for reporting

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