Application: kwin (4.6.41 (4.7 >= 20110106)) KDE Platform Version: 4.6.41 (4.7 >= 20110106) (Compiled from sources) Qt Version: 4.7.1 Operating System: Linux 2.6.35-28-generic-pae i686 Distribution: Ubuntu 10.10 -- Information about the crash: I was using konsole and I maximised it and then KWin crashed. The crash can be reproduced every time. -- Backtrace: Application: KWin (kwin), signal: Aborted [Current thread is 1 (Thread 0xb2290720 (LWP 1539))] Thread 2 (Thread 0xafc3eb70 (LWP 1558)): #0 0xb7890424 in __kernel_vsyscall () #1 0xb65a14dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb7589a2d in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0xb76f3ce0) at /home/kde-devel/kdesrc/qt-copy/src/3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359 #3 0xb7589171 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0xb76f3ce0) at /home/kde-devel/kdesrc/qt-copy/src/3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464 #4 0xb659ccc9 in start_thread () from /lib/libpthread.so.0 #5 0xb54ba69e in clone () from /lib/libc.so.6 Thread 1 (Thread 0xb2290720 (LWP 1539)): [KCrash Handler] #7 0xb7890424 in __kernel_vsyscall () #8 0xb5414941 in raise () from /lib/libc.so.6 #9 0xb5417e42 in abort () from /lib/libc.so.6 #10 0xb66375c7 in qt_message_output (msgType=QtFatalMsg, buf=0xa74feb8 "ASSERT: \"d\" in file ../../include/QtCore/../../../../qt-copy/src/corelib/tools/qscopedpointer.h, line 112") at /home/kde-devel/kdesrc/qt-copy/src/corelib/global/qglobal.cpp:2282 #11 0xb66377bd in qt_message (msgType=QtFatalMsg, msg=0xb67e4df4 "ASSERT: \"%s\" in file %s, line %d", ap=0xbfb28934 "l\004\063\266 \004\063\266p") at /home/kde-devel/kdesrc/qt-copy/src/corelib/global/qglobal.cpp:2328 #12 0xb6637bda in qFatal (msg=0xb67e4df4 "ASSERT: \"%s\" in file %s, line %d") at /home/kde-devel/kdesrc/qt-copy/src/corelib/global/qglobal.cpp:2511 #13 0xb6637128 in qt_assert (assertion=0xb633046c "d", file=0xb6330420 "../../include/QtCore/../../../../qt-copy/src/corelib/tools/qscopedpointer.h", line=112) at /home/kde-devel/kdesrc/qt-copy/src/corelib/global/qglobal.cpp:2027 #14 0xb61cb5d5 in QScopedPointer<QGraphicsItemPrivate, QScopedPointerDeleter<QGraphicsItemPrivate> >::operator-> (this=0xa71487c) at ../../include/QtCore/../../../../qt-copy/src/corelib/tools/qscopedpointer.h:112 #15 0xb61b7a47 in QGraphicsItem::update (this=0xa714878, rect=...) at /home/kde-devel/kdesrc/qt-copy/src/gui/graphicsview/qgraphicsitem.cpp:5661 #16 0xb072015f in Aurorae::AuroraeMaximizeButton::mouseReleaseEvent (this=0xa714870, event=0xbfb29174) at /home/kde-devel/kdesrc/kde-workspace/kwin/clients/aurorae/src/lib/auroraebutton.cpp:398 #17 0xb61ba13a in QGraphicsItem::sceneEvent (this=0xa714878, event=0xbfb29174) at /home/kde-devel/kdesrc/qt-copy/src/gui/graphicsview/qgraphicsitem.cpp:6701 #18 0xb6223d4f in QGraphicsWidget::sceneEvent (this=0xa714870, event=0xbfb29174) at /home/kde-devel/kdesrc/qt-copy/src/gui/graphicsview/qgraphicswidget.cpp:1175 #19 0xb61e4de3 in QGraphicsScenePrivate::sendEvent (this=0xa5b2f18, item=0xa714878, event=0xbfb29174) at /home/kde-devel/kdesrc/qt-copy/src/gui/graphicsview/qgraphicsscene.cpp:1207 #20 0xb61e551a in QGraphicsScenePrivate::sendMouseEvent (this=0xa5b2f18, mouseEvent=0xbfb29174) at /home/kde-devel/kdesrc/qt-copy/src/gui/graphicsview/qgraphicsscene.cpp:1281 #21 0xb61ed752 in QGraphicsScene::mouseReleaseEvent (this=0xa711338, mouseEvent=0xbfb29174) at /home/kde-devel/kdesrc/qt-copy/src/gui/graphicsview/qgraphicsscene.cpp:4107 #22 0xb0727d66 in Aurorae::AuroraeScene::mouseReleaseEvent (this=0xa711338, event=0xbfb29174) at /home/kde-devel/kdesrc/kde-workspace/kwin/clients/aurorae/src/lib/auroraescene.cpp:946 #23 0xb61eb90b in QGraphicsScene::event (this=0xa711338, event=0xbfb29174) at /home/kde-devel/kdesrc/qt-copy/src/gui/graphicsview/qgraphicsscene.cpp:3440 #24 0xb5a5e17e in QApplicationPrivate::notify_helper (this=0x97011c8, receiver=0xa711338, e=0xbfb29174) at /home/kde-devel/kdesrc/qt-copy/src/gui/kernel/qapplication.cpp:4445 #25 0xb5a5ba0d in QApplication::notify (this=0xbfb2a10c, receiver=0xa711338, e=0xbfb29174) at /home/kde-devel/kdesrc/qt-copy/src/gui/kernel/qapplication.cpp:3845 #26 0xb6e13212 in KApplication::notify (this=0xbfb2a10c, receiver=0xa711338, event=0xbfb29174) at /home/kde-devel/kdesrc/kdelibs/kdeui/kernel/kapplication.cpp:311 #27 0xb77a814a in KWin::Application::notify (this=0xbfb2a10c, o=0xa711338, e=0xbfb29174) at /home/kde-devel/kdesrc/kde-workspace/kwin/main.cpp:364 #28 0xb6761338 in QCoreApplication::notifyInternal (this=0xbfb2a10c, receiver=0xa711338, event=0xbfb29174) at /home/kde-devel/kdesrc/qt-copy/src/corelib/kernel/qcoreapplication.cpp:732 #29 0xb5a60a33 in QCoreApplication::sendSpontaneousEvent (receiver=0xa711338, event=0xbfb29174) at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:218 #30 0xb5a5e4ef in qt_sendSpontaneousEvent (receiver=0xa711338, event=0xbfb29174) at /home/kde-devel/kdesrc/qt-copy/src/gui/kernel/qapplication.cpp:5439 #31 0xb621cdcb in QGraphicsView::mouseReleaseEvent (this=0xa6a34c0, event=0xbfb29960) at /home/kde-devel/kdesrc/qt-copy/src/gui/graphicsview/qgraphicsview.cpp:3336 #32 0xb5acb3d8 in QWidget::event (this=0xa6a34c0, event=0xbfb29960) at /home/kde-devel/kdesrc/qt-copy/src/gui/kernel/qwidget.cpp:8200 #33 0xb5f7131c in QFrame::event (this=0xa6a34c0, e=0xbfb29960) at /home/kde-devel/kdesrc/qt-copy/src/gui/widgets/qframe.cpp:557 #34 0xb6020b61 in QAbstractScrollArea::viewportEvent (this=0xa6a34c0, e=0xbfb29960) at /home/kde-devel/kdesrc/qt-copy/src/gui/widgets/qabstractscrollarea.cpp:1043 #35 0xb621af6e in QGraphicsView::viewportEvent (this=0xa6a34c0, event=0xbfb29960) at /home/kde-devel/kdesrc/qt-copy/src/gui/graphicsview/qgraphicsview.cpp:2864 #36 0xb60216d5 in QAbstractScrollAreaPrivate::viewportEvent (this=0xa6d5c18, event=0xbfb29960) at /home/kde-devel/kdesrc/qt-copy/src/gui/widgets/qabstractscrollarea_p.h:100 #37 0xb60217c0 in QAbstractScrollAreaFilter::eventFilter (this=0xa5a9238, o=0xa78ad48, e=0xbfb29960) at /home/kde-devel/kdesrc/qt-copy/src/gui/widgets/qabstractscrollarea_p.h:116 #38 0xb6761617 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x97011c8, receiver=0xa78ad48, event=0xbfb29960) at /home/kde-devel/kdesrc/qt-copy/src/corelib/kernel/qcoreapplication.cpp:847 #39 0xb5a5e15a in QApplicationPrivate::notify_helper (this=0x97011c8, receiver=0xa78ad48, e=0xbfb29960) at /home/kde-devel/kdesrc/qt-copy/src/gui/kernel/qapplication.cpp:4441 #40 0xb5a5c1f7 in QApplication::notify (this=0xbfb2a10c, receiver=0xa78ad48, e=0xbfb29960) at /home/kde-devel/kdesrc/qt-copy/src/gui/kernel/qapplication.cpp:4006 #41 0xb6e13212 in KApplication::notify (this=0xbfb2a10c, receiver=0xa78ad48, event=0xbfb29960) at /home/kde-devel/kdesrc/kdelibs/kdeui/kernel/kapplication.cpp:311 #42 0xb77a814a in KWin::Application::notify (this=0xbfb2a10c, o=0xa78ad48, e=0xbfb29960) at /home/kde-devel/kdesrc/kde-workspace/kwin/main.cpp:364 #43 0xb6761338 in QCoreApplication::notifyInternal (this=0xbfb2a10c, receiver=0xa78ad48, event=0xbfb29960) at /home/kde-devel/kdesrc/qt-copy/src/corelib/kernel/qcoreapplication.cpp:732 #44 0xb5a60a33 in QCoreApplication::sendSpontaneousEvent (receiver=0xa78ad48, event=0xbfb29960) at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:218 #45 0xb5a5a9a0 in QApplicationPrivate::sendMouseEvent (receiver=0xa78ad48, event=0xbfb29960, alienWidget=0x0, nativeWidget=0xa78ad48, buttonDown=0xb6594780, lastMouseReceiver=..., spontaneous=true) at /home/kde-devel/kdesrc/qt-copy/src/gui/kernel/qapplication.cpp:3103 #46 0xb5b044fe in QETWidget::translateMouseEvent (this=0xa78ad48, event=0xbfb29f4c) at /home/kde-devel/kdesrc/qt-copy/src/gui/kernel/qapplication_x11.cpp:4438 #47 0xb5b00d72 in QApplication::x11ProcessEvent (this=0xbfb2a10c, event=0xbfb29f4c) at /home/kde-devel/kdesrc/qt-copy/src/gui/kernel/qapplication_x11.cpp:3442 #48 0xb5b3c329 in QEventDispatcherX11::processEvents (this=0x96fe840, flags=...) at /home/kde-devel/kdesrc/qt-copy/src/gui/kernel/qeventdispatcher_x11.cpp:132 #49 0xb675e717 in QEventLoop::processEvents (this=0xbfb2a06c, flags=...) at /home/kde-devel/kdesrc/qt-copy/src/corelib/kernel/qeventloop.cpp:149 #50 0xb675e85c in QEventLoop::exec (this=0xbfb2a06c, flags=...) at /home/kde-devel/kdesrc/qt-copy/src/corelib/kernel/qeventloop.cpp:201 #51 0xb6761a2b in QCoreApplication::exec () at /home/kde-devel/kdesrc/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1009 #52 0xb5a5b666 in QApplication::exec () at /home/kde-devel/kdesrc/qt-copy/src/gui/kernel/qapplication.cpp:3719 #53 0xb77a9256 in kdemain (argc=1, argv=0xbfb2a364) at /home/kde-devel/kdesrc/kde-workspace/kwin/main.cpp:522 #54 0x080487c9 in main (argc=1, argv=0xbfb2a364) at /home/kde-devel/kdesrc/build/kde-workspace/kwin/kwin_dummy.cpp:3 Reported using DrKonqi
*** This bug has been marked as a duplicate of bug 242165 ***
I don't think it is the same crash as the duplicate is an assert while the original crash was a crash.
are you able to reproduce the crash with a more recent version of qt?
errr... just for the records: Both traces land in Aurorae::AuroraeMaximizeButton::mouseReleaseEvent() which pot. trigger(s/ed) a self-deletion. There's called QGraphicsItem::update() and the assumed dupe calls QGraphicsItemPrivate::invalidateParentGraphicsEffectsRecursively(this = 0x0) while this one ends up in an assert in qscopedpointer.h (which means "attempted access to the managed pointer being NULL") On a string based comparism they're certainly not equal but my Jedi senses tell me - it's the same solution, if not even bug =)
> On a string based comparism they're certainly not equal but my Jedi senses tell > me - it's the same solution, if not even bug =) Yes they look very similar, nevertheless I assume that I did a proper fix for the crash ;-) and that something else is hitting the assert (and the assert is probably compiled-out on most systems, but we still don't get crash reports).
btw I cannot reproduce
I can't reproduce this using KDE SC 4.8 beta1 and Qt 4.8 rc1 .
(In reply to comment #7) > I can't reproduce this using KDE SC 4.8 beta1 and Qt 4.8 rc1 . Has it happened to you before? So far no developer could reproduce this - ever. (I actually feel tempted to blame downstream...) So unless it happened to you before, that's nice to know - but unfortunately meaningless :-(
at latest fixed with Aurorae 3 in 4.9