Bug 180625 - random crash on QImage::scanLine
Summary: random crash on QImage::scanLine
Status: RESOLVED DUPLICATE of bug 182010
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: triaged
: 178570 183798 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-01-14 08:28 UTC by Michael Seiwert
Modified: 2009-06-23 01:59 UTC (History)
8 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 Michael Seiwert 2009-01-14 08:28:42 UTC
Version:           Plasma Workspace: 0.3 using KDE: 4.1.96 (KDE 4.1.96 (KDE 4.2 RC1)) Qt: 4.4.3 (using Devel)
Compiler:          gcc version 4.3.2 [gcc-4_3-branch revision 141291] (SUSE Linux) 
OS:                Linux
Installed from:    Compiled sources

Every now and then plasma crashes and produces the backtrace which is attached to this bugreport. Unfortunately I dunno how to reproduce.

Application: Plasma Workspace (plasma), signal SIGABRT
[?1034h[Thread debugging using libthread_db enabled]
[Current thread is 1 (Thread 0xb46f1730 (LWP 16973))]

Thread 4 (Thread 0xa8f1cb90 (LWP 16989)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6747c35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb67b2f74 in QWaitConditionPrivate::wait (this=0x830a478, time=4294967295) at thread/qwaitcondition_unix.cpp:82
#3  0xb67b2a73 in QWaitCondition::wait (this=0x8399040, mutex=0x839903c, time=4294967295) at thread/qwaitcondition_unix.cpp:154
#4  0xb7a6ce43 in QHostInfoAgent::run (this=0x8399030) at kernel/qhostinfo.cpp:241
#5  0xb67b2651 in QThreadPrivate::start (arg=0x8399030) at thread/qthread_unix.cpp:185
#6  0xb67441b5 in start_thread () from /lib/libpthread.so.0
#7  0xb658738e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xa86ccb90 (LWP 16990)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb65803e1 in select () from /lib/libc.so.6
#2  0xb68851bd in QProcessManager::run (this=0x808e5e0) at io/qprocess_unix.cpp:301
#3  0xb67b2651 in QThreadPrivate::start (arg=0x808e5e0) at thread/qthread_unix.cpp:185
#4  0xb67441b5 in start_thread () from /lib/libpthread.so.0
#5  0xb658738e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xa7e87b90 (LWP 16992)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6747c35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb67b2f74 in QWaitConditionPrivate::wait (this=0x815f370, time=4294967295) at thread/qwaitcondition_unix.cpp:82
#3  0xb67b2a73 in QWaitCondition::wait (this=0x81df818, mutex=0x81df814, time=4294967295) at thread/qwaitcondition_unix.cpp:154
#4  0xa90711af in RenderThread::run() () from /home/mseiwert/kde/lib/kde4/plasma_wallpaper_image.so
#5  0xb67b2651 in QThreadPrivate::start (arg=0x81df80c) at thread/qthread_unix.cpp:185
#6  0xb67441b5 in start_thread () from /lib/libpthread.so.0
#7  0xb658738e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb46f1730 (LWP 16973)):
[KCrash Handler]
#6  0xffffe430 in __kernel_vsyscall ()
#7  0xb64e0990 in raise () from /lib/libc.so.6
#8  0xb64e22c8 in abort () from /lib/libc.so.6
#9  0xb67a8a1b in qt_message_output (msgType=QtFatalMsg, buf=0xbfc761c0 "ASSERT: \"i >= 0 && i < height()\" in file image/qimage.cpp, line 1750") at global/qglobal.cpp:2102
#10 0xb67a8a7f in qFatal (msg=0xb68f4bb8 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2303
#11 0xb67a8ea1 in qt_assert (assertion=0xb7122880 "i >= 0 && i < height()", file=0xb7122759 "image/qimage.cpp", line=1750) at global/qglobal.cpp:1872
#12 0xb6bae7b9 in QImage::scanLine (this=0xbfc78288, i=0) at image/qimage.cpp:1750
#13 0xb6b8f336 in QWidgetPrivate::setWindowIcon_sys (this=0x8498c68, forceReset=false) at kernel/qwidget_x11.cpp:1226
#14 0xb6b58230 in QWidget::create (this=0x91d1640, window=0, initializeWindow=true, destroyOldWindow=true) at kernel/qwidget.cpp:1267
#15 0xb6b5a104 in QWidget::setVisible (this=0x91d1640, visible=true) at kernel/qwidget.cpp:6519
#16 0xb6b3d620 in QWidget::show (this=0x91d1640) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:464
#17 0xb70f0d21 in QGraphicsProxyWidgetPrivate::setWidget_helper (this=0x8c0ded8, newWidget=0x91d1640, autoShow=true) at graphicsview/qgraphicsproxywidget.cpp:611
#18 0xb70f1154 in QGraphicsProxyWidget::setWidget (this=0x88433a0, widget=0x91d1640) at graphicsview/qgraphicsproxywidget.cpp:549
#19 0xb7f70bf9 in Plasma::TabBarProxy::TabBarProxy(QGraphicsWidget*) () from /home/mseiwert/kde/lib/libplasma.so.3
#20 0xb7f6f412 in Plasma::TabBar::TabBar(QGraphicsWidget*) () from /home/mseiwert/kde/lib/libplasma.so.3
#21 0xa910b8b0 in WeatherApplet::weatherContent(QHash<QString, QVariant> const&) () from /home/mseiwert/kde/lib/kde4/plasma_applet_weather.so
#22 0xa9113911 in WeatherApplet::dataUpdated(QString const&, QHash<QString, QVariant> const&) () from /home/mseiwert/kde/lib/kde4/plasma_applet_weather.so
#23 0xa91149e0 in WeatherApplet::qt_metacall(QMetaObject::Call, int, void**) () from /home/mseiwert/kde/lib/kde4/plasma_applet_weather.so
#24 0xb68b60be in QMetaObject::activate (sender=0x83d05d0, from_signal_index=4, to_signal_index=4, argv=0xbfc796f8) at kernel/qobject.cpp:3028
#25 0xb68b654b in QMetaObject::activate (sender=0x83d05d0, m=0xb7fe4ac0, local_signal_index=0, argv=0xbfc796f8) at kernel/qobject.cpp:3101
#26 0xb7f1e2b3 in Plasma::SignalRelay::dataUpdated(QString const&, QHash<QString, QVariant> const&) () from /home/mseiwert/kde/lib/libplasma.so.3
#27 0xb7f1e3f6 in Plasma::SignalRelay::checkQueueing() () from /home/mseiwert/kde/lib/libplasma.so.3
#28 0xb7ef12cc in Plasma::DataContainer::checkForUpdate() () from /home/mseiwert/kde/lib/libplasma.so.3
#29 0xb7ef45f6 in Plasma::DataEngine::scheduleSourcesUpdated() () from /home/mseiwert/kde/lib/libplasma.so.3
#30 0xb7ef54ab in Plasma::DataEngine::qt_metacall(QMetaObject::Call, int, void**) () from /home/mseiwert/kde/lib/libplasma.so.3
#31 0xa7ec005a in WeatherEngine::qt_metacall(QMetaObject::Call, int, void**) () from /home/mseiwert/kde/lib/kde4/plasma_engine_weather.so
#32 0xb68b60be in QMetaObject::activate (sender=0x82aee68, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3028
#33 0xb68b654b in QMetaObject::activate (sender=0x82aee68, m=0xb694e904, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3101
#34 0xb68f3bed in QTimer::timeout (this=0x82aee68) at .moc/debug-shared/moc_qtimer.cpp:126
#35 0xb68c01fe in QTimer::timerEvent (this=0x82aee68, e=0xbfc79e54) at kernel/qtimer.cpp:257
#36 0xb68b43b6 in QObject::event (this=0x82aee68, e=0xbfc79e54) at kernel/qobject.cpp:1120
#37 0xb6af94d9 in QApplicationPrivate::notify_helper (this=0x808afa0, receiver=0x82aee68, e=0xbfc79e54) at kernel/qapplication.cpp:3803
#38 0xb6af97ee in QApplication::notify (this=0x80888d0, receiver=0x82aee68, e=0xbfc79e54) at kernel/qapplication.cpp:3393
#39 0xb7808113 in KApplication::notify(QObject*, QEvent*) () from /home/mseiwert/kde/lib/libkdeui.so.5
#40 0xb68a1a0f in QCoreApplication::notifyInternal (this=0x80888d0, receiver=0x82aee68, event=0xbfc79e54) at kernel/qcoreapplication.cpp:583
#41 0xb6af63df in QCoreApplication::sendEvent (receiver=0x82aee68, event=0xbfc79e54) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209
#42 0xb68d29e3 in QTimerInfoList::activateTimers (this=0x808dee4) at kernel/qeventdispatcher_unix.cpp:557
#43 0xb68d0390 in timerSourceDispatch (source=0x808deb0) at kernel/qeventdispatcher_glib.cpp:160
#44 0xb59149a8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#45 0xb5918063 in ?? () from /usr/lib/libglib-2.0.so.0
#46 0xb5918221 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#47 0xb68cf6c2 in QEventDispatcherGlib::processEvents (this=0x8082f28, flags={i = -1077436456}) at kernel/qeventdispatcher_glib.cpp:319
#48 0xb6b9e290 in QGuiEventDispatcherGlib::processEvents (this=0x8082f28, flags={i = -1077436408}) at kernel/qguieventdispatcher_glib.cpp:198
#49 0xb689ea30 in QEventLoop::processEvents (this=0xbfc7a080, flags={i = -1077436348}) at kernel/qeventloop.cpp:143
#50 0xb689ec6d in QEventLoop::exec (this=0xbfc7a080, flags={i = -1077436280}) at kernel/qeventloop.cpp:190
#51 0xb68a220b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#52 0xb6af91f2 in QApplication::exec () at kernel/qapplication.cpp:3331
#53 0xb801dad2 in kdemain () from /home/mseiwert/kde/lib/libkdeinit4_plasma.so
#54 0x080487c6 in main ()
Comment 1 A. Mosteo 2009-03-04 18:13:07 UTC
Unsure if this is related, but symptoms are the same: sudden crash while doing nothing of mention: in this particular case, hitting back in firefox. This may have caused the raising of an auto-hide panel in the left side of the screen, but could be unrelated. No way to reproduce.

After each crash, my dashboard widgets revert to some early configuration. Very frustrating.

Application: Plasma Workspace (plasma), signal SIGSEGV
[Current thread is 0 (LWP 8294)]

Thread 3 (Thread 0xa9a18b90 (LWP 8305)):
#0  0xb7fee424 in __kernel_vsyscall ()
#1  0xb589a075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb6463bbd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb664d6f2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb79a6532 in ?? () from /usr/lib/libQtNetwork.so.4
#5  0xb664c6ae in ?? () from /usr/lib/libQtCore.so.4
#6  0xb589650f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb6455a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xa7bf1b90 (LWP 21655)):
#0  0xb7fee424 in __kernel_vsyscall ()
#1  0xb644ddf1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb671c150 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb664c6ae in ?? () from /usr/lib/libQtCore.so.4
#4  0xb589650f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb6455a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb54136c0 (LWP 8294)):
[KCrash Handler]
#6  0xb6a7a661 in QImage::scanLine () from /usr/lib/libQtGui.so.4
#7  0xb6a57640 in QWidgetPrivate::setWindowIcon_sys () from /usr/lib/libQtGui.so.4
#8  0xb6a2249b in QWidget::create () from /usr/lib/libQtGui.so.4
#9  0xb6a1e2f3 in QWidgetPrivate::createWinId () from /usr/lib/libQtGui.so.4
#10 0xb6a22a49 in QWidget::winId () from /usr/lib/libQtGui.so.4
#11 0xb7f7cbaf in ?? () from /usr/lib/libkdeinit4_plasma.so
#12 0xb7f86d0a in ?? () from /usr/lib/libkdeinit4_plasma.so
#13 0xb6a2ba9e in ?? () from /usr/lib/libQtGui.so.4
#14 0xb6a3c4d5 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#15 0xb6a677aa in ?? () from /usr/lib/libQtGui.so.4
#16 0xb56db6f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#17 0xb56deda3 in ?? () from /usr/lib/libglib-2.0.so.0
#18 0xb56def61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#19 0xb6767497 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#20 0xb6a66ea5 in ?? () from /usr/lib/libQtGui.so.4
#21 0xb673b52a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#22 0xb673b6ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#23 0xb673dda5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#24 0xb69cc767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#25 0xb7f74456 in kdemain () from /usr/lib/libkdeinit4_plasma.so
#26 0x08048712 in _start ()
Comment 2 Narendra 2009-03-11 19:05:33 UTC
I too am encountering this issue. For me plasma workspace just froze for a second and then right clicking the desktop crashed the plasma.
The backtrace indicates point of failure as :
QImage::scanLine ()
Comment 3 Jonathan Thomas 2009-03-13 20:04:13 UTC
We got a QImage:scanLine report at kubuntu that was encountered while using a fullscreen application (https://launchpad.net/bugs/342407)

Anwendung: Plasma-Arbeitsfläche (plasma), Signal SIGSEGV
 [Current thread is 0 (LWP 8377)]
Thread 6 (Thread 0xa99deb90 (LWP 8379)):
 #0 0xb7fca430 in __kernel_vsyscall ()
 #1 0xb5871075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
 #2 0xb643abbd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
 #3 0xb66246f2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
 #4 0xb797e532 in ?? () from /usr/lib/libQtNetwork.so.4
 #5 0xb66236ae in ?? () from /usr/lib/libQtCore.so.4
 #6 0xb586d50f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
 #7 0xb642ca0e in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 5 (Thread 0xa8e63b90 (LWP 8380)):
 #0 0xb7fca430 in __kernel_vsyscall ()
 #1 0xb6424df1 in select () from /lib/tls/i686/cmov/libc.so.6
 #2 0xb66f3150 in ?? () from /usr/lib/libQtCore.so.4
 #3 0xb66236ae in ?? () from /usr/lib/libQtCore.so.4
 #4 0xb586d50f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
 #5 0xb642ca0e in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 4 (Thread 0xa8662b90 (LWP 8382)):
 #0 0xb7fca430 in __kernel_vsyscall ()
 #1 0xb5871075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
 #2 0xb643abbd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
 #3 0xb66246f2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
 #4 0xa9c8cc8a in RenderThread::run (this=0x8c8f6cc) at /build/buildd/kdebase-workspace-4.2.1a/plasma/wallpapers/image/renderthread.cpp:91
 #5 0xb66236ae in ?? () from /usr/lib/libQtCore.so.4
 #6 0xb586d50f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
 #7 0xb642ca0e in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 3 (Thread 0xa62d4b90 (LWP 10863)):
 #0 0xb7fca430 in __kernel_vsyscall ()
 #1 0xb5871075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
 #2 0xb643abbd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
 #3 0xb66246f2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
 #4 0xa9c8cc8a in RenderThread::run (this=0x8c16ab4) at /build/buildd/kdebase-workspace-4.2.1a/plasma/wallpapers/image/renderthread.cpp:91
 #5 0xb66236ae in ?? () from /usr/lib/libQtCore.so.4
 #6 0xb586d50f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
 #7 0xb642ca0e in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 2 (Thread 0xa6ad5b90 (LWP 11832)):
 #0 0xb7fca430 in __kernel_vsyscall ()
 #1 0xb5871075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
 #2 0xb643abbd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
 #3 0xb66246f2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
 #4 0xa9c8cc8a in RenderThread::run (this=0x8cb16ec) at /build/buildd/kdebase-workspace-4.2.1a/plasma/wallpapers/image/renderthread.cpp:91
 #5 0xb66236ae in ?? () from /usr/lib/libQtCore.so.4
 #6 0xb586d50f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
 #7 0xb642ca0e in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 1 (Thread 0xb53ea6c0 (LWP 8377)):
 [KCrash Handler]
 #6 0xb6a51661 in QImage::scanLine () from /usr/lib/libQtGui.so.4
 #7 0xb6a2e640 in QWidgetPrivate::setWindowIcon_sys () from /usr/lib/libQtGui.so.4
 #8 0xb69f949b in QWidget::create () from /usr/lib/libQtGui.so.4
 #9 0xb69f52f3 in QWidgetPrivate::createWinId () from /usr/lib/libQtGui.so.4
 #10 0xb69f9a49 in QWidget::winId () from /usr/lib/libQtGui.so.4
 #11 0xb7f5600f in PanelView::hintOrUnhide (this=0x8e522d8, point=@0xbfccbeb8, dueToDnd=false) at /build/buildd/kdebase-workspace-4.2.1a/plasma/shells/desktop/panelview.cpp:57
 #12 0xb7f6033a in PlasmaApp::x11EventFilter (this=0x8921cd8, event=0xbfccc39c) at /build/buildd/kdebase-workspace-4.2.1a/plasma/shells/desktop/plasmaapp.cpp:437
 #13 0xb6a02a9e in ?? () from /usr/lib/libQtGui.so.4
 #14 0xb6a134d5 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
 #15 0xb6a3e7aa in ?? () from /usr/lib/libQtGui.so.4
 #16 0xb56b26f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
 #17 0xb56b5da3 in ?? () from /usr/lib/libglib-2.0.so.0
 #18 0xb56b5f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
 #19 0xb673e478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
 #20 0xb6a3dea5 in ?? () from /usr/lib/libQtGui.so.4
 #21 0xb671252a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
 #22 0xb67126ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
 #23 0xb6714da5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
 #24 0xb69a3767 in QApplication::exec () from /usr/lib/libQtGui.so.4
 #25 0xb7f4d7f6 in kdemain (argc=1, argv=0xbfccc7b4) at /build/buildd/kdebase-workspace-4.2.1a/plasma/shells/desktop/main.cpp:54
 #26 0x08048712 in main (argc=) at /build/buildd/kdebase-workspace-4.2.1a/obj-i486-linux-gnu/plasma/shells/desktop/plasma_qgv_dummy.cpp:3
Comment 4 Aaron J. Seigo 2009-03-24 02:06:36 UTC
*** Bug 183798 has been marked as a duplicate of this bug. ***
Comment 5 Aaron J. Seigo 2009-03-24 02:07:13 UTC
*** Bug 178570 has been marked as a duplicate of this bug. ***
Comment 6 FiNeX 2009-04-26 15:46:31 UTC
What the situation on KDE 4.2.2 or trunk? Is Plasma still randomly crashing ?
Comment 7 Jonathan Thomas 2009-04-26 15:49:44 UTC
We received a duplicate report of the crash reported against KDE 4.2.2. (https://launchpad.net/bugs/366370)
Comment 8 Michael Seiwert 2009-04-26 15:54:11 UTC
I've changed my setup to use qt-copy from trunk. With qt 4.5.1 this crash doesn't happen so far.
Comment 9 Aaron J. Seigo 2009-04-26 23:57:32 UTC
@Michael: that's promising. let's see if it goes well during the upcoming betas for 4.3. if you don't get this crash between now and then, then we can close this one.
Comment 10 Aaron J. Seigo 2009-06-23 01:59:18 UTC

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