Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261460 - kde-base/plasma-4.2.1 crash with changed resolution
Summary: kde-base/plasma-4.2.1 crash with changed resolution
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-06 16:18 UTC by Magnus Kessler
Modified: 2009-03-13 21:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild with added patch line (plasma-workspace-4.2.1.ebuild,2.37 KB, text/plain)
2009-03-08 09:37 UTC, Magnus Kessler
Details
files/plasma-workspace-4.2.1-panelview-crash-fix.patch (plasma-workspace-4.2.1-panelview-crash-fix.patch,948 bytes, patch)
2009-03-08 09:39 UTC, Magnus Kessler
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Magnus Kessler 2009-03-06 16:18:28 UTC
When starting plasma-4.2.1 with a different resolution than used previously it crashes.



Reproducible: Always

Steps to Reproduce:
1. Use KDE 4.2.1 on normal desktop.
2. Create another session using remote access (NX) on a screen of different size.
Actual Results:  
Plasma crashes on session startup.


Application: Plasma Workspace (plasma), signal SIGSEGV
0x00007f4b95de7371 in nanosleep () from /lib/libc.so.6
Current language:  auto; currently c
[Current thread is 0 (LWP 3988)]

Thread 2 (Thread 0x7f4b7e52c950 (LWP 3991)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f4b98dd67f9 in QWaitCondition::wait (this=0x1fcbb80, mutex=0x1fcbb78, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f4b9a319924 in QHostInfoAgent::run (this=0x1fcbb60) at kernel/qhostinfo.cpp:260
#3  0x00007f4b98dd5a79 in QThreadPrivate::start (arg=0x1fcbb60) at thread/qthread_unix.cpp:189
#4  0x00007f4b98b65f7a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f4b95e1680d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4b9b7a0760 (LWP 3988)):
[KCrash Handler]
#5  QTimer::stop (this=0x0) at kernel/qtimer.cpp:246
#6  0x00007f4b9b398f09 in PanelView::updatePanelGeometry (this=0x201baa0) at /usr/src/debug/kde-base/plasma-workspace-4.2.1/plasma-workspace-4.2.1/plasma/shells/desktop/panelview.cpp:543
#7  0x00007f4b9b39b4a0 in PanelView::qt_metacall (this=0x201baa0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa37ebb10)
    at /usr/src/debug/kde-base/plasma-workspace-4.2.1/plasma-workspace_build/plasma/shells/desktop/panelview.moc:112
#8  0x00007f4b98ebbded in QMetaObject::activate (sender=0x201baa0, from_signal_index=<value optimized out>, to_signal_index=40, argv=0x0) at kernel/qobject.cpp:3057
#9  0x00007f4b9b091a3c in Plasma::ViewPrivate::updateSceneRect (this=0x201ad60) at /usr/src/debug/kde-base/kdelibs-4.2.1/kdelibs-4.2.1/plasma/view.cpp:73
#10 0x00007f4b9b091069 in Plasma::View::qt_metacall (this=0x201baa0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa37ebdd0)
    at /usr/src/debug/kde-base/kdelibs-4.2.1/kdelibs_build/plasma/view.moc:80
#11 0x00007f4b9b39b445 in PanelView::qt_metacall (this=0x0, _c=2514898424, _id=33668296, _a=0x0)
    at /usr/src/debug/kde-base/plasma-workspace-4.2.1/plasma-workspace_build/plasma/shells/desktop/panelview.moc:91
#12 0x00007f4b98ebbded in QMetaObject::activate (sender=0x1bb0f10, from_signal_index=<value optimized out>, to_signal_index=6, argv=0x0) at kernel/qobject.cpp:3057
#13 0x00007f4b9b0200f8 in Plasma::Applet::itemChange (this=0x1bb0f10, change=<value optimized out>, value=@0x7fffa37ebf40)
    at /usr/src/debug/kde-base/kdelibs-4.2.1/kdelibs-4.2.1/plasma/applet.cpp:1654
#14 0x00007f4b9b0364b8 in Plasma::Containment::itemChange (this=0x1bb0f10, change=QGraphicsItem::ItemPositionHasChanged, value=@0x7fffa37ebf40)
    at /usr/src/debug/kde-base/kdelibs-4.2.1/kdelibs-4.2.1/plasma/containment.cpp:1197
#15 0x00007f4b984fdbdf in QGraphicsItemPrivate::setPosHelper (this=0x1bd9260, pos=<value optimized out>, update=true) at graphicsview/qgraphicsitem.cpp:2364
#16 0x00007f4b9b034fdd in Plasma::ContainmentPrivate::positionPanel (this=0x1c00570, force=false) at /usr/src/debug/kde-base/kdelibs-4.2.1/kdelibs-4.2.1/plasma/containment.cpp:1891
#17 0x00007f4b9b03659f in Plasma::Containment::resizeEvent (this=0x1bb0f10, event=<value optimized out>) at /usr/src/debug/kde-base/kdelibs-4.2.1/kdelibs-4.2.1/plasma/containment.cpp:1079
#18 0x00007f4b9853e948 in QGraphicsWidget::event (this=0x1bb0f10, event=0x7fffa37ec850) at graphicsview/qgraphicswidget.cpp:1249
#19 0x00007f4b97fb8acd in QApplicationPrivate::notify_helper (this=0x1aa2d10, receiver=0x1bb0f10, e=0x7fffa37ec850) at kernel/qapplication.cpp:4084
#20 0x00007f4b97fc048a in QApplication::notify (this=0x1a77150, receiver=0x1bb0f10, e=0x7fffa37ec850) at kernel/qapplication.cpp:4049
#21 0x00007f4b99a6144b in KApplication::notify (this=0x1a77150, receiver=0x1bb0f10, event=0x7fffa37ec850) at /usr/src/debug/kde-base/kdelibs-4.2.1/kdelibs-4.2.1/kdeui/kernel/kapplication.cpp:307
#22 0x00007f4b98ea9a2b in QCoreApplication::notifyInternal (this=0x1a77150, receiver=0x1bb0f10, event=0x7fffa37ec850) at kernel/qcoreapplication.cpp:598
#23 0x00007f4b9853f5fe in QGraphicsWidget::setGeometry (this=0x1bb0f10, rect=@0x7fffa37ec9d0) at graphicsview/qgraphicswidget.cpp:401
#24 0x00007f4b9853c679 in QGraphicsWidget::resize (this=0x1bb0f10, size=@0x7fffa37ecc80) at graphicsview/qgraphicswidget.cpp:331
#25 0x00007f4b9b39ae96 in PanelView::pinchContainment (this=0x201baa0, screenGeom=<value optimized out>) at /usr/include/qt4/QtGui/qgraphicswidget.h:107
#26 0x00007f4b9b39bc39 in PanelView (this=0x201baa0, panel=<value optimized out>, id=<value optimized out>, parent=<value optimized out>)
    at /usr/src/debug/kde-base/plasma-workspace-4.2.1/plasma-workspace-4.2.1/plasma/shells/desktop/panelview.cpp:243
#27 0x00007f4b9b3a3ba5 in PlasmaApp::createView (this=0x1a77150, containment=0x1bb0f10)
    at /usr/src/debug/kde-base/plasma-workspace-4.2.1/plasma-workspace-4.2.1/plasma/shells/desktop/plasmaapp.cpp:619
#28 0x00007f4b9b3a4241 in PlasmaApp::containmentAdded (this=0x0, containment=0x7f4b95e64df8)
    at /usr/src/debug/kde-base/plasma-workspace-4.2.1/plasma-workspace-4.2.1/plasma/shells/desktop/plasmaapp.cpp:663
#29 0x00007f4b9b3a4467 in PlasmaApp::qt_metacall (this=0x1a77150, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa37ed4c0)
    at /usr/src/debug/kde-base/plasma-workspace-4.2.1/plasma-workspace_build/plasma/shells/desktop/plasmaapp.moc:97
#30 0x00007f4b98ebbded in QMetaObject::activate (sender=0x1b9c850, from_signal_index=<value optimized out>, to_signal_index=23, argv=0x0) at kernel/qobject.cpp:3057
#31 0x00007f4b9b03a31f in Plasma::Corona::containmentAdded (this=0x0, _t1=0x1bb0f10) at /usr/src/debug/kde-base/kdelibs-4.2.1/kdelibs_build/plasma/corona.moc:129
#32 0x00007f4b9b03b71b in Plasma::Corona::loadLayout (this=0x1b9c850, configName=<value optimized out>) at /usr/src/debug/kde-base/kdelibs-4.2.1/kdelibs-4.2.1/plasma/corona.cpp:320
#33 0x00007f4b9b03ccd2 in Plasma::Corona::initializeLayout (this=0x1b9c850, configName=@0x7fffa37ed7b0) at /usr/src/debug/kde-base/kdelibs-4.2.1/kdelibs-4.2.1/plasma/corona.cpp:260
#34 0x00007f4b9b3a1307 in PlasmaApp::corona (this=0x1a77150) at /usr/src/debug/kde-base/plasma-workspace-4.2.1/plasma-workspace-4.2.1/plasma/shells/desktop/plasmaapp.cpp:517
#35 0x00007f4b9b3a1915 in PlasmaApp::setupDesktop (this=0x1a77150) at /usr/src/debug/kde-base/plasma-workspace-4.2.1/plasma-workspace-4.2.1/plasma/shells/desktop/plasmaapp.cpp:255
#36 0x00007f4b9b3a4488 in PlasmaApp::qt_metacall (this=0x1a77150, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa37ed950)
    at /usr/src/debug/kde-base/plasma-workspace-4.2.1/plasma-workspace_build/plasma/shells/desktop/plasmaapp.moc:95
#37 0x00007f4b98ebbded in QMetaObject::activate (sender=0x1b88190, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3057
#38 0x00007f4b98ec229f in QSingleShotTimer::timerEvent (this=0x1b88190) at kernel/qtimer.cpp:298
#39 0x00007f4b98eb8493 in QObject::event (this=0x1b88190, e=0x7f4b95e64df8) at kernel/qobject.cpp:1073
#40 0x00007f4b97fb8acd in QApplicationPrivate::notify_helper (this=0x1aa2d10, receiver=0x1b88190, e=0x7fffa37ee010) at kernel/qapplication.cpp:4084
#41 0x00007f4b97fc048a in QApplication::notify (this=0x1a77150, receiver=0x1b88190, e=0x7fffa37ee010) at kernel/qapplication.cpp:4049
#42 0x00007f4b99a6144b in KApplication::notify (this=0x1a77150, receiver=0x1b88190, event=0x7fffa37ee010) at /usr/src/debug/kde-base/kdelibs-4.2.1/kdelibs-4.2.1/kdeui/kernel/kapplication.cpp:307
#43 0x00007f4b98ea9a2b in QCoreApplication::notifyInternal (this=0x1a77150, receiver=0x1b88190, event=0x7fffa37ee010) at kernel/qcoreapplication.cpp:598
#44 0x00007f4b98ed1f1e in QTimerInfoList::activateTimers (this=0x1aa5ed0) at kernel/qcoreapplication.h:213
#45 0x00007f4b98ecef2d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:164
#46 0x00007f4b92cd054a in IA__g_main_context_dispatch (context=0x1aa5520) at gmain.c:2012
#47 0x00007f4b92cd3cfd in g_main_context_iterate (context=0x1aa5520, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2645
#48 0x00007f4b92cd3ebb in IA__g_main_context_iteration (context=0x1aa5520, may_block=1) at gmain.c:2708
#49 0x00007f4b98ecee8f in QEventDispatcherGlib::processEvents (this=0x1a66700, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:323
#50 0x00007f4b9803e7cf in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#51 0x00007f4b98ea83e2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -1551965568}) at kernel/qeventloop.cpp:149
#52 0x00007f4b98ea8575 in QEventLoop::exec (this=0x7fffa37ee2c0, flags={i = -1551965488}) at kernel/qeventloop.cpp:196
#53 0x00007f4b98eaa5ec in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#54 0x00007f4b9b38f64b in kdemain (argc=1, argv=0x7fffa37ee5c8) at /usr/src/debug/kde-base/plasma-workspace-4.2.1/plasma-workspace-4.2.1/plasma/shells/desktop/main.cpp:54
#55 0x00007f4b95d66596 in __libc_start_main (main=0x4009f0 <main>, argc=1, ubp_av=0x7fffa37ee5c8, init=0x400a20 <__libc_csu_init>, fini=<value optimized out>, rtld_fini=<value optimized out>, 
    stack_end=0x7fffa37ee5b8) at libc-start.c:226
#56 0x0000000000400929 in _start ()
Current language:  auto; currently asm
#0  0x00007f4b95de7371 in nanosleep () from /lib/libc.so.6
Current language:  auto; currently c


This seems to be upstream bug http://bugs.kde.org/show_bug.cgi?id=185736, which has already been fixed in KDE HEAD and 4.2 branch. See http://websvn.kde.org/branches/KDE/4.2/kdebase/workspace/plasma/shells/desktop/panelview.cpp?r1=930724&r2=934863&view=patch for the upstream patch.
Comment 1 Marios Andreopoulos 2009-03-08 01:12:56 UTC
I want to confirm this bug. Please when you find some time add the proposed patch to the ebuild.

I work on a laptop, using an external monitor, thus every time I log in KDE finds a different resolution and plasma crashes.
Comment 2 Magnus Kessler 2009-03-08 09:37:01 UTC
Created attachment 184319 [details]
ebuild with added patch line

New ebuild with added patch line. Depends on patch file in files sub-directory.
Comment 3 Magnus Kessler 2009-03-08 09:39:03 UTC
Created attachment 184320 [details, diff]
files/plasma-workspace-4.2.1-panelview-crash-fix.patch

The patch to plasma's panelview.cpp from the KDE 4.2 branch SVN repository.
Comment 4 Marios Andreopoulos 2009-03-08 17:01:39 UTC
(In reply to comment #3)
> Created an attachment (id=184320) [edit]
> files/plasma-workspace-4.2.1-panelview-crash-fix.patch
> 
> The patch to plasma's panelview.cpp from the KDE 4.2 branch SVN repository.
> 

I just tested your ebuild and works like a charm, thanks!
I didn't know it was so easy to apply a patch.
Comment 5 Tomáš Chvátal (RETIRED) gentoo-dev 2009-03-08 19:37:59 UTC
Fixed in same revision since there will be -r1 comming in few days with the updates from eclass.
Comment 6 Willard Dawson 2009-03-13 21:46:14 UTC
How long will the -r1 version be before we see it pushed out?