Bug 224376 - Crash when entering "Appearance" applet in System Settings
Summary: Crash when entering "Appearance" applet in System Settings
Status: RESOLVED DOWNSTREAM
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: System Settings Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-26 20:07 UTC by S. Christian Collins
Modified: 2010-01-26 20:47 UTC (History)
1 user (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 S. Christian Collins 2010-01-26 20:07:53 UTC
Application: systemsettings (1.0)
KDE Platform Version: 4.3.95 (KDE 4.3.95 (KDE 4.4 RC2))
Qt Version: 4.6.0
Operating System: Linux 2.6.31-9-rt i686
Distribution: Ubuntu 9.10

-- Information about the crash:
** Bug Description **
I simply opened System Settings, clicked on "Appearance", and the application crashed immediately.

** My System **
Motherboard: MSI K9N SLI Platinum (nForce 570 SLI chipset)
CPU: AMD Athlon(tm) 64 Processor 4000+ (2.6 GHz)
RAM: 2GB DDR2
Video: Dell NVIDIA GeForce 7800 GTX w/ 256 MB RAM (PCI Express)
OS: Kubuntu 9.10 i386 (with KDE 4.4 RC2)
Linux Kernel: 2.6.31-9-rt
NVIDIA driver: 185.18.36
Screen Resolution: 1280 x 960
X.org: 7.4
Qt version: 4.6

The crash does not seem to be reproducible.

 -- Backtrace:
Application: System Settings (systemsettings), signal: Segmentation fault
[KCrash Handler]
#6  0x003a1aac in ?? () from /lib/tls/i686/cmov/libc.so.6
#7  0x003a3898 in malloc () from /lib/tls/i686/cmov/libc.so.6
#8  0x01a2c168 in ?? () from /usr/lib/libGL.so.1
#9  0x03523a6c in QString (this=0xbfd4137c, size=8193) at tools/qstring.cpp:1027
#10 0x0361269e in QUtf8::convertToUnicode (
    chars=0x8c4fbd8 "f=\"#linearGradient14058\"\n       inkscape:collect=\"always\" />\n    <linearGradient\n       id=\"linearGradient4366\">\n      <stop\n         style=\"stop-color:white;stop-opacity:0;\"\n         offset=\"0\"\n     "..., len=8192, state=0x8c1589c) at codecs/qutfcodec.cpp:169
#11 0x03612a77 in QUtf8Codec::convertToUnicode (this=0x855ba10, target=0x8c3094c, 
    chars=0x8c4fbd8 "f=\"#linearGradient14058\"\n       inkscape:collect=\"always\" />\n    <linearGradient\n       id=\"linearGradient4366\">\n      <stop\n         style=\"stop-color:white;stop-opacity:0;\"\n         offset=\"0\"\n     "..., len=8192, state=0x8c1589c) at codecs/qutfcodec.cpp:513
#12 0x0360f3f3 in QTextDecoder::toUnicode (this=0x8c15898, target=0x8c3094c, 
    chars=0x8c4fbd8 "f=\"#linearGradient14058\"\n       inkscape:collect=\"always\" />\n    <linearGradient\n       id=\"linearGradient4366\">\n      <stop\n         style=\"stop-color:white;stop-opacity:0;\"\n         offset=\"0\"\n     "..., len=8192) at codecs/qtextcodec.cpp:1426
#13 0x03632ca8 in QXmlStreamReaderPrivate::getChar_helper (this=0x8c30910) at xml/qxmlstream.cpp:1526
#14 0x0363e610 in QXmlStreamReaderPrivate::getChar (this=0x8c30910, prefix=0x8c30b78) at xml/qxmlstream.cpp:937
#15 QXmlStreamReaderPrivate::fastScanName (this=0x8c30910, prefix=0x8c30b78) at xml/qxmlstream.cpp:1294
#16 0x03637e25 in QXmlStreamReaderPrivate::parse (this=0x8c30910) at xml/qxmlstream_p.h:1920
#17 0x0363c746 in QXmlStreamReader::readNext (this=0x8c04080) at xml/qxmlstream.cpp:607
#18 0x004a2273 in QSvgHandler::parse (this=0xbfd41980) at qsvghandler.cpp:3530
#19 0x004a262e in QSvgHandler::init (this=0xbfd41980) at qsvghandler.cpp:3520
#20 0x004a2beb in QSvgHandler (this=0xbfd41980, device=0xbfd419d0) at qsvghandler.cpp:3497
#21 0x004b42c0 in QSvgTinyDocument::load (fileName=...) at qsvgtinydocument.cpp:187
#22 0x004b560a in loadDocument<QString> (this=0x8bf47e0, filename=...) at qsvgrenderer.cpp:317
#23 QSvgRenderer::load (this=0x8bf47e0, filename=...) at qsvgrenderer.cpp:343
#24 0x004b5dc5 in QSvgRenderer (this=0x8bf47e0, filename=..., parent=0x0) at qsvgrenderer.cpp:140
#25 0x00950220 in KSvgRenderer::KSvgRenderer(QString const&, QObject*) () from /usr/lib/libkdeui.so.5
#26 0x01e29c41 in ?? () from /usr/lib/libplasma.so.3
#27 0x01e2a536 in ?? () from /usr/lib/libplasma.so.3
#28 0x01e2b757 in ?? () from /usr/lib/libplasma.so.3
#29 0x01e27f3d in Plasma::Svg::setImagePath(QString const&) () from /usr/lib/libplasma.so.3
#30 0x01db8493 in Plasma::FrameSvg::setImagePath(QString const&) () from /usr/lib/libplasma.so.3
#31 0x0394c820 in ?? () from /usr/lib/kde4/kcm_style.so
#32 0x03952ba9 in ?? () from /usr/lib/kde4/kcm_style.so
#33 0x03958b2d in QObject* KPluginFactory::createInstance<KCMStyle, QWidget>(QWidget*, QObject*, QList<QVariant> const&) () from /usr/lib/kde4/kcm_style.so
#34 0x026ac6ee in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () from /usr/lib/libkdecore.so.5
#35 0x00579bda in KCModuleLoader::loadModule(KCModuleInfo const&, KCModuleLoader::ErrorReporting, QWidget*, QStringList const&) () from /usr/lib/libkutils.so.4
#36 0x0057f0ed in ?? () from /usr/lib/libkutils.so.4
#37 0x0057fde3 in KCModuleProxy::realModule() const () from /usr/lib/libkutils.so.4
#38 0x0032c4f1 in ModuleView::updatePageIconHeader(KPageWidgetItem*) () from /usr/lib/libsystemsettingsview.so.1
#39 0x0032d542 in ModuleView::addModule(KCModuleInfo*) () from /usr/lib/libsystemsettingsview.so.1
#40 0x0032e126 in ModuleView::loadModule(MenuItem*) () from /usr/lib/libsystemsettingsview.so.1
#41 0x059cc734 in ?? () from /usr/lib/kde4/icon_mode.so
#42 0x059cc82d in ?? () from /usr/lib/kde4/icon_mode.so
#43 0x035e211a in QMetaObject::metacall (object=0x8618890, cl=147234768, idx=-1076615120, argv=0x87dd6c8) at kernel/qmetaobject.cpp:237
#44 0x035f089b in QMetaObject::activate (sender=0x8577b10, m=0x16731a4, local_signal_index=3, argv=0xbfd42978) at kernel/qobject.cpp:3294
#45 0x012da5e3 in QAbstractItemView::activated (this=0x8577b10, _t1=...) at .moc/release-shared/moc_qabstractitemview.cpp:345
#46 0x012e80e0 in QAbstractItemView::mouseReleaseEvent (this=0x8577b10, event=0xbfd43290) at itemviews/qabstractitemview.cpp:1761
#47 0x012ffb7f in QListView::mouseReleaseEvent (this=0x8577b10, e=0xbfd43290) at itemviews/qlistview.cpp:796
#48 0x00893e29 in KCategorizedView::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5
#49 0x00da3f9e in QWidget::event (this=0x8577b10, event=0xbfd43290) at kernel/qwidget.cpp:7974
#50 0x0119d433 in QFrame::event (this=0x8577b10, e=0xbfd43290) at widgets/qframe.cpp:557
#51 0x01236cf2 in QAbstractScrollArea::viewportEvent (this=0x8c69fd0, e=0x8c6dff0) at widgets/qabstractscrollarea.cpp:1032
#52 0x012eb0d4 in QAbstractItemView::viewportEvent (this=0x8577b10, event=0xbfd43290) at itemviews/qabstractitemview.cpp:1589
#53 0x012395e5 in QAbstractScrollAreaPrivate::viewportEvent (this=0x880f348, o=0x8575a58, e=0xbfd43290) at widgets/qabstractscrollarea_p.h:100
#54 QAbstractScrollAreaFilter::eventFilter (this=0x880f348, o=0x8575a58, e=0xbfd43290) at widgets/qabstractscrollarea_p.h:116
#55 0x035dc14a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x857d570, receiver=0x8575a58, event=0xbfd43290) at kernel/qcoreapplication.cpp:819
#56 0x00d47179 in QApplicationPrivate::notify_helper (this=0x857d570, receiver=0x8575a58, e=0xbfd43290) at kernel/qapplication.cpp:4238
#57 0x00d4e76b in QApplication::notify (this=0xbfd43b4c, receiver=0x8575a58, e=0xbfd43290) at kernel/qapplication.cpp:3822
#58 0x008b8a1a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#59 0x035dceab in QCoreApplication::notifyInternal (this=0xbfd43b4c, receiver=0x8575a58, event=0xbfd43290) at kernel/qcoreapplication.cpp:704
#60 0x00d4d71f in QCoreApplication::sendEvent (receiver=0x8575a58, event=0xbfd43290, alienWidget=0x8575a58, nativeWidget=0x85ee818, buttonDown=0x1682060, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#61 QApplicationPrivate::sendMouseEvent (receiver=0x8575a58, event=0xbfd43290, alienWidget=0x8575a58, nativeWidget=0x85ee818, buttonDown=0x1682060, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2956
#62 0x00dd6d18 in QETWidget::translateMouseEvent (this=0x85ee818, event=0xbfd437ac) at kernel/qapplication_x11.cpp:4368
#63 0x00dd61f1 in QApplication::x11ProcessEvent (this=0xbfd43b4c, event=0xbfd437ac) at kernel/qapplication_x11.cpp:3379
#64 0x00e0504a in x11EventSourceDispatch (s=0x8580340, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#65 0x016bde88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#66 0x016c1730 in ?? () from /lib/libglib-2.0.so.0
#67 0x016c1863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#68 0x03608bd5 in QEventDispatcherGlib::processEvents (this=0x8559518, flags=...) at kernel/qeventdispatcher_glib.cpp:407
#69 0x00e04b75 in QGuiEventDispatcherGlib::processEvents (this=0x8559518, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#70 0x035db4c9 in QEventLoop::processEvents (this=0xbfd43aa4, flags=) at kernel/qeventloop.cpp:149
#71 0x035db91a in QEventLoop::exec (this=0xbfd43aa4, flags=...) at kernel/qeventloop.cpp:201
#72 0x035dfb0f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#73 0x00d47237 in QApplication::exec () at kernel/qapplication.cpp:3570
#74 0x08056b4e in _start ()

Reported using DrKonqi
Comment 1 Christoph Feck 2010-01-26 20:47:55 UTC
I don't understand why QString would call into libGL. Probably nvidia binary drivers hook into malloc calls, and cause a crash there. If it isn't related to nvidia binary, then the crash in malloc is caused by corrupted memory. When and why the memory corruption happend, cannot be deduced from the backtrace. It could also be the glibc bug.

If this is reproducable, try changing "nvidia" binary driver to "nv" open source driver. If this does not fix the crash, ask in Ubuntu forums how to get the fixed glibc.