Summary: | Tool for changing resolution in SystemSettings crashes on load [QGraphicsItem::*, QGraphicsScene::addItem, RandRConfig::load, KRandRModule::load] | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | StEndres |
Component: | kcm_randr | Assignee: | Gustavo Pichorim Boiko <gustavo.boiko> |
Status: | RESOLVED DOWNSTREAM | ||
Severity: | crash | CC: | alexo.tmp, alexo.veto, alfred.menken, andresbajotierra, blurpy, bobmatnike, b_schulz84, cfeck, daniel.winiarski, droptheleash, ecs.eco, holger, judas, l.lunak, o-z, post, rm, thomas.henze, thorsten.guenther, tobias, u.buckesfeld, yorirou |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
StEndres
2009-12-09 00:11:34 UTC
Dario, looks like the backported memleak fix introduced a regression. Looking at QGraphicsScene::~QGraphicsScene(), all items are already removed/deleted when the scene is deleted, so there is no need to use setParent(scene) on the item; it could even cause the item to be deleted twice. http://websvn.kde.org/branches/KDE/4.3/kdebase/workspace/kcontrol/randr/randrconfig.cpp?r1=986143&r2=1021730 SVN commit 1060612 by darioandres: - setParent() was not needed and could cause a crash Thanks Christoph for checking it BUG: 217935 M +0 -1 randrconfig.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1060612 SVN commit 1060614 by darioandres: Backport of: SVN commit 1060612 by darioandres: - setParent() was not needed and could cause a crash Thanks Christoph for checking it CCBUG: 217935 M +0 -1 randrconfig.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1060614 *** Bug 218283 has been marked as a duplicate of this bug. *** I updated my KDE installation. RPM-packet kdebase4-workspace was now created on december, 12th. There is still the same bug. I cannot open displaysettings. It seems to be the same backtrace. I looked in sources and the deleted line is not in there anymore. Could there be another error? Application that crashed: systemsettings Version of the application: 1.0 KDE Version: 4.3.4 (KDE 4.3.4) "release 2" Qt Version: 4.6.0 Operating System: Linux 2.6.31.5-0.1-default x86_64 Distribution: "openSUSE 11.2 (x86_64)" -- Backtrace: Application: Systemeinstellungen (systemsettings), signal: Segmentation fault [KCrash Handler] #5 0x00007f56dc73ef84 in QGraphicsItem::scene() const () from /usr/lib64/libQtGui.so.4 #6 0x00007f56dc77fdb5 in QGraphicsScene::addItem(QGraphicsItem*) () from /usr/lib64/libQtGui.so.4 #7 0x00007f56cde421d1 in RandRConfig::load (this=0xaede30) at /usr/src/debug/kdebase-workspace-4.3.4/kcontrol/randr/randrconfig.cpp:101 #8 0x00007f56cde2feb9 in KRandRModule::load (this=0x9b0300) at /usr/src/debug/kdebase-workspace-4.3.4/kcontrol/randr/krandrmodule.cpp:109 #9 0x00007f56dceedf01 in KCModule::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkdeui.so.5 #10 0x00007f56db5b0209 in QObject::event (this=0x9b0300, e=0x9a60f0) at kernel/qobject.cpp:1260 #11 0x00007f56dc1c187f in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4 #12 0x00007f56dc16cbcc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #13 0x00007f56dc1731ed in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #14 0x00007f56dce45f26 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5 #15 0x00007f56db5a053c in QCoreApplication::notifyInternal (this=0x7fffb4350570, receiver=0x9b0300, event=0x9a60f0) at kernel/qcoreapplication.cpp:704 #16 0x00007f56db5a2cb7 in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:215 #17 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.cpp:1345 #18 0x00007f56db5c9fd3 in sendPostedEvents () at kernel/qcoreapplication.h:220 #19 postEventSourceDispatch () at kernel/qeventdispatcher_glib.cpp:276 #20 0x00007f56d8879dde in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #21 0x00007f56d887d7a8 in ?? () from /usr/lib64/libglib-2.0.so.0 #22 0x00007f56d887d8d0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #23 0x00007f56db5c9b13 in QEventDispatcherGlib::processEvents (this=0x617550, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407 #24 0x00007f56dc21994e in ?? () from /usr/lib64/libQtGui.so.4 #25 0x00007f56db59ee52 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #26 0x00007f56db59f22c in QEventLoop::exec (this=0x7fffb43504c0, flags=) at kernel/qeventloop.cpp:201 #27 0x00007f56db5a2f7b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #28 0x000000000040cbd9 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.3.4/systemsettings/app/main.cpp:51 An https://bugs.kde.org berichten Possibly. Please set status to REOPENED. Cannot change status to REOPENED. *** Bug 218832 has been marked as a duplicate of this bug. *** *** Bug 219148 has been marked as a duplicate of this bug. *** *** Bug 219196 has been marked as a duplicate of this bug. *** *** Bug 219771 has been marked as a duplicate of this bug. *** *** Bug 220156 has been marked as a duplicate of this bug. *** *** Bug 220158 has been marked as a duplicate of this bug. *** *** Bug 220251 has been marked as a duplicate of this bug. *** To all the people experiencing this crash: which kind of screen setup do you have ? That information could be useful to try to reproduce the crash. I can't reproduce the crash here using KDE SC 4.4 trunk with a single screen (the notebook's one) I'm using a single screen on an OpenSuSE 11.2 system with kdebase4-workspace version 4.3.4 release 8.5 from the KDE:KDE4:STABLE repository installed. I've got a GeForce 7900 GS running with the NVIDIA driver version 190.53, if that is of interest. *** Bug 220438 has been marked as a duplicate of this bug. *** Notebook LCD,Intel GMA 4500MHD, 13.3 inch, 1366x768, WXGA All reports are from openSUSE 11.2 KDE 4.3.4. As far as I know, openSUSE has added its own version of kcm-randr to the 4.3 branch. I cannot explain the crashes otherwise. Please report this bug to the Novell bugzilla at http://bugzilla.novell.com/ *** Bug 220512 has been marked as a duplicate of this bug. *** *** Bug 220619 has been marked as a duplicate of this bug. *** *** Bug 220657 has been marked as a duplicate of this bug. *** Bug reported as https://bugzilla.novell.com/show_bug.cgi?id=561164 *** Bug 220730 has been marked as a duplicate of this bug. *** *** Bug 220782 has been marked as a duplicate of this bug. *** *** Bug 221018 has been marked as a duplicate of this bug. *** *** Bug 221216 has been marked as a duplicate of this bug. *** *** Bug 221309 has been marked as a duplicate of this bug. *** *** Bug 223142 has been marked as a duplicate of this bug. *** |