Bug 190738 - plasma crashes while trying to reduce panel size
Summary: plasma crashes while trying to reduce panel size
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Unspecified
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 192802 198794 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-04-26 19:12 UTC by Ruchir Brahmbhatt
Modified: 2009-07-03 15:58 UTC (History)
5 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 Ruchir Brahmbhatt 2009-04-26 19:12:45 UTC
Version:           r958058 (using Devel)
Installed from:    Compiled sources

Information:
QT: 4.5.0 with qt-copy 958052
kdebase: 958058
kdelibs: 958057
OS: opensuse 11.1

Steps to reproduce:
1. Unlock widgets.
2. Try to reduce size of panel located at bottom.

Hint: If you can't reduce size, just increase somewhat and try again then you should be able to reduce. Try to make it 0 repeatedly.

Expected result:
Panel height should not reduce from certain height.

Actual result:
If panel height is reduced too much, systray icons appear on top and plasma restarts. No backtrace is generated. I don't find core file in home or /tmp dir.
Comment 1 Beat Wolf 2009-04-26 19:23:03 UTC
I got the backtrace:
Application: Plasma Workspace (plasma-desktop), signal SIGABRT
[Current thread is 0 (LWP 4662)]

Thread 3 (Thread 0xa8d15b90 (LWP 4665)):
#0  0xb806b430 in __kernel_vsyscall ()
#1  0xb64387b1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb67303ed in QProcessManager::run (this=0x96093e8) at io/qprocess_unix.cpp:305
#3  0xb665865b in QThreadPrivate::start (arg=0x96093e8) at thread/qthread_unix.cpp:189
#4  0xb65ea4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb644049e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xa8001b90 (LWP 4669)):
#0  0xb806b430 in __kernel_vsyscall ()
#1  0xb65ee0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb6658f80 in QWaitConditionPrivate::wait (this=0x9e32b60, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  0xb6658a7f in QWaitCondition::wait (this=0x9e32470, mutex=0x9e3246c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0xb79de5bb in QHostInfoAgent::run (this=0x9e32460) at kernel/qhostinfo.cpp:260
#5  0xb665865b in QThreadPrivate::start (arg=0x9e32460) at thread/qthread_unix.cpp:189
#6  0xb65ea4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb644049e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb405b950 (LWP 4662)):
[KCrash Handler]
#6  0xb806b430 in __kernel_vsyscall ()
#7  0xb63876d0 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb6389098 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb664e57f in qt_message_output (msgType=QtFatalMsg, 
    buf=0x991c7d8 "ASSERT failure in QWidget::mapTo(QWidget *parent, const QPoint &pos): \"parent must be in parent hierarchy\", file kernel/qwidget.cpp, line 3785") at global/qglobal.cpp:2006
#10 0xb664e5f6 in qFatal (msg=0xb67a3ab8 "ASSERT failure in %s: \"%s\", file %s, line %d") at global/qglobal.cpp:2201
#11 0xb664e64d in qt_assert_x (where=0xb709488c "QWidget::mapTo(QWidget *parent, const QPoint &pos)", what=0xb7094830 "parent must be in parent hierarchy", file=0xb70946ee "kernel/qwidget.cpp", 
    line=3785) at global/qglobal.cpp:1785
#12 0xb6a205ea in QWidget::mapTo (this=0x992bf58, parent=0x9a2df78, pos=@0xbf885924) at kernel/qwidget.cpp:3785
#13 0xb6bfa70f in qt_flush (widget=0x992bf58, region=@0xa193a38, windowSurface=0x9be2dd8, tlw=0x9a2df78, tlwOffset=@0x9be3324) at painting/qbackingstore.cpp:98
#14 0xb6bfa90a in QWidgetBackingStore::flush (this=0x9be3300, widget=0x0, surface=0x0) at painting/qbackingstore.cpp:1338
#15 0xb6bfaaa3 in QWidgetBackingStore::endPaint (this=0x9be3300, cleaned=@0xbf885af0, windowSurface=0x9be2dd8, beginPaintInfo=0xbf885ad8) at painting/qbackingstore.cpp:379
#16 0xb6bfbd0a in QWidgetBackingStore::sync (this=0x9be3300) at painting/qbackingstore.cpp:1269
#17 0xb6a2767f in QWidgetPrivate::syncBackingStore (this=0x9bef3b8) at kernel/qwidget.cpp:1603
#18 0xb6a3058e in QWidget::event (this=0x9a2df78, event=0x9f31910) at kernel/qwidget.cpp:7794
#19 0xb6e18c78 in QFrame::event (this=0x9a2df78, e=0x9f31910) at widgets/qframe.cpp:559
#20 0xb6eb6807 in QAbstractScrollArea::event (this=0x9a2df78, e=0x9f31910) at widgets/qabstractscrollarea.cpp:918
#21 0xb703bcc0 in QGraphicsView::event (this=0x9a2df78, event=0x9f31910) at graphicsview/qgraphicsview.cpp:2854
#22 0xb802f8a6 in PanelView::event (this=0x9a2df78, event=0x9f31910) at /home/kde-devel/kde/src/kdebase/workspace/plasma/shells/desktop/panelview.cpp:1240
#23 0xb69cf0d3 in QApplicationPrivate::notify_helper (this=0x9602da8, receiver=0x9a2df78, e=0x9f31910) at kernel/qapplication.cpp:4084
#24 0xb69d0fb0 in QApplication::notify (this=0x95fc638, receiver=0x9a2df78, e=0x9f31910) at kernel/qapplication.cpp:4049
#25 0xb77761fd in KApplication::notify (this=0x95fc638, receiver=0x9a2df78, event=0x9f31910) at /home/kde-devel/kde/src/kdelibs/kdeui/kernel/kapplication.cpp:307
#26 0xb674e5df in QCoreApplication::notifyInternal (this=0x95fc638, receiver=0x9a2df78, event=0x9f31910) at kernel/qcoreapplication.cpp:598
#27 0xb69cbb15 in QCoreApplication::sendEvent (receiver=0x9a2df78, event=0x9f31910) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#28 0xb674eac7 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x95e74d0) at kernel/qcoreapplication.cpp:1236
#29 0xb674ec83 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1132
#30 0xb6a7eef2 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#31 0xb677dffc in postEventSourceDispatch (s=0x9608cd8) at kernel/qeventdispatcher_glib.cpp:209
#32 0xb52e0b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#33 0xb52e40eb in ?? () from /usr/lib/libglib-2.0.so.0
#34 0xb52e4268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#35 0xb677d416 in QEventDispatcherGlib::processEvents (this=0x95e76a8, flags={i = -1081580556}) at kernel/qeventdispatcher_glib.cpp:323
#36 0xb6a7d5b8 in QGuiEventDispatcherGlib::processEvents (this=0x95e76a8, flags={i = -1081580508}) at kernel/qguieventdispatcher_glib.cpp:202
#37 0xb674b5d0 in QEventLoop::processEvents (this=0xbf8864b0, flags={i = -1081580432}) at kernel/qeventloop.cpp:149
#38 0xb674b82a in QEventLoop::exec (this=0xbf8864b0, flags={i = -1081580360}) at kernel/qeventloop.cpp:196
#39 0xb674edb7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#40 0xb69cedec in QApplication::exec () at kernel/qapplication.cpp:3553
#41 0xb8027900 in kdemain (argc=1, argv=0xbf886664) at /home/kde-devel/kde/src/kdebase/workspace/plasma/shells/desktop/main.cpp:50
#42 0x08048792 in main (argc=) at /home/kde-devel/kde/build/kdebase/workspace/plasma/shells/desktop/plasma-desktop_dummy.cpp:3
Comment 2 Beat Wolf 2009-04-26 19:29:10 UTC
Some research shows that plasma does not crash when there is no systemtray in the panel. It does also not seem to crash in a vertical panel.

The crash comes soon after the first icon of systemtray appears on the top of the screen (not where it is supposed to be).
Comment 3 Aaron J. Seigo 2009-04-27 22:47:09 UTC
no matter how small i make the panel, this doesn't happen. i'm using qt-copy which is now qt 4.5.1 + apply_patches with current trunk.

if you look at the backtrace there, it's also all in qt .. 

Beat: what v of Qt are you using?
Comment 4 Dario Andres 2009-04-27 23:33:45 UTC
Here using:

Qt: 4.5.0 + qt-copy-patches-942255
KDE: 4.2.70 (KDE 4.2.70 (KDE 4.3 >= 20090415))
kdelibs svn rev. 958964 / kdebase svn rev. 958965
on ArchLinux i686 - Kernel 2.6.29.1

I can reproduce this crash with the same backtrace.
I'm going to try installing Qt4.5.1

BTW: bug 190750 looks related to this too
Comment 5 Beat Wolf 2009-04-28 11:16:09 UTC
My QT copy is indeed a little older, i'll try to build it again
Comment 6 Beat Wolf 2009-04-28 21:01:07 UTC
i can't currently reproduce it with current qt-copy neither. There is still a icon that suddently appears on the top of the screen, but it does not crash anymore
Comment 7 Aaron J. Seigo 2009-04-28 21:20:06 UTC
great, so a qt bug that was fixed.
Comment 8 Ruchir Brahmbhatt 2009-04-29 06:00:16 UTC
I can't reproduce now.
Comment 9 Dario Andres 2009-04-29 14:30:19 UTC
Indeed, it is fixed here too :)
Qt: 4.5.1 (qt-copy  958974)
KDE: 4.2.71 (KDE 4.2.71 (KDE 4.3 >= 20090428))
kdelibs svn rev. 960693 / kdebase svn rev. 960693
on ArchLinux i686 - Kernel 2.6.29.1
Comment 10 Jonathan Thomas 2009-07-02 17:39:45 UTC
*** Bug 192802 has been marked as a duplicate of this bug. ***
Comment 11 Dario Andres 2009-07-03 15:58:49 UTC
*** Bug 198794 has been marked as a duplicate of this bug. ***