Bug 339285

Summary: System Settings crashes while resizing window or scrolling to bottom
Product: [Unmaintained] kdelibs Reporter: John Paulson <anglerfish96>
Component: kshareddatacacheAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: asworm1, mpyne, nate, vovochka13
Priority: NOR    
Version: 4.13.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description John Paulson 2014-09-22 03:17:59 UTC
KDE 4.13.3 (KXStudio)

When attempting to resize System Settings window, or using scrollbar to get to bottom, System Settings crashes. Tried resizing by bottom, sides, and corner, and top resize button. Crashes every time. Tried reinstalling System Settings through Synaptic and problem persists.

Reproducible: Always

Steps to Reproduce:
1. Resize System Settings window
2. Crash
3. Restart, go back to 1. ;)

Actual Results:  
Crash

Expected Results:  
Ability to access the bottom row of System Settings.

Also, attempting to report this, I went through the steps and installed debug, created account-- then when finally submitting, it said I wasn't logged in. So I'm here now.

I saved the report info to a text file, copy/pasted below:

Application: systemsettings (4.11.11)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 3.13.0-35-lowlatency x86_64
Distribution: Ubuntu 14.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Resizing system settings window. Crash happens each time.

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings), signal: Bus error
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  __strncmp_ssse3 () at ../sysdeps/x86_64/multiarch/../strcmp.S:209
#7  0x00007fcb35dbaabc in qstrncmp (len=<optimized out>, str2=<optimized out>, str1=<optimized out>) at /usr/include/qt4/QtCore/qbytearray.h:104
#8  findNamedEntry (key=..., this=0x7fcb1bcfa000) at ../../kdecore/util/kshareddatacache.cpp:790
#9  KSharedDataCache::find (this=0x2342790, key=..., destination=destination@entry=0x7ffffc90e6e0) at ../../kdecore/util/kshareddatacache.cpp:1613
#10 0x00007fcb36eebb60 in KIconLoaderPrivate::findCachedPixmapWithPath (this=0x2340770, key=..., data=..., path=...) at ../../kdeui/icons/kiconloader.cpp:854
#11 0x00007fcb36eebea6 in KIconLoader::loadIcon (this=0x2346180, _name=..., group=group@entry=KIconLoader::Desktop, size=32, state=0, overlays=..., path_store=path_store@entry=0x0, canReturnNull=canReturnNull@entry=false) at ../../kdeui/icons/kiconloader.cpp:1149
#12 0x00007fcb36ee400e in KIconEngine::pixmap (this=<optimized out>, size=..., mode=<optimized out>, state=<optimized out>) at ../../kdeui/icons/kiconengine.cpp:104
#13 0x00007fcb362cec95 in QIcon::pixmap (this=this@entry=0x7ffffc90ec08, size=..., mode=<optimized out>, state=<optimized out>) at image/qicon.cpp:684
#14 0x00007fcb31018df4 in KFileItemDelegate::paint (this=0x2284c70, painter=0x7ffffc90ecc0, option=..., index=...) at ../../kio/kio/kfileitemdelegate.cpp:1278
#15 0x00007fcb36f0bd2b in KCategorizedView::paintEvent (this=0x2277e30, event=<optimized out>) at ../../kdeui/itemviews/kcategorizedview.cpp:877
#16 0x00007fcb3627a2f0 in QWidget::event (this=this@entry=0x2277e30, event=event@entry=0x7ffffc90f4c0) at kernel/qwidget.cpp:8533
#17 0x00007fcb3661bfce in QFrame::event (this=0x2277e30, e=0x7ffffc90f4c0) at widgets/qframe.cpp:557
#18 0x00007fcb3672b5b3 in QAbstractItemView::viewportEvent (this=0x2277e30, event=0x7ffffc90f4c0) at itemviews/qabstractitemview.cpp:1644
#19 0x00007fcb355bd646 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x228c350, receiver=receiver@entry=0x2608f30, event=event@entry=0x7ffffc90f4c0) at kernel/qcoreapplication.cpp:1063
#20 0x00007fcb3622ae0c in QApplicationPrivate::notify_helper (this=this@entry=0x228c350, receiver=receiver@entry=0x2608f30, e=e@entry=0x7ffffc90f4c0) at kernel/qapplication.cpp:4563
#21 0x00007fcb362314a0 in QApplication::notify (this=this@entry=0x7ffffc910d30, receiver=receiver@entry=0x2608f30, e=e@entry=0x7ffffc90f4c0) at kernel/qapplication.cpp:4353
#22 0x00007fcb36f35d1a in KApplication::notify (this=0x7ffffc910d30, receiver=0x2608f30, event=0x7ffffc90f4c0) at ../../kdeui/kernel/kapplication.cpp:311
#23 0x00007fcb355bd4dd in QCoreApplication::notifyInternal (this=0x7ffffc910d30, receiver=receiver@entry=0x2608f30, event=event@entry=0x7ffffc90f4c0) at kernel/qcoreapplication.cpp:953
#24 0x00007fcb36274a11 in sendSpontaneousEvent (event=0x7ffffc90f4c0, receiver=0x2608f30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#25 QWidgetPrivate::drawWidget (this=this@entry=0x25f3e00, pdev=pdev@entry=0x2675fe0, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x257b1d0) at kernel/qwidget.cpp:5599
#26 0x00007fcb36275440 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x25f48f0, pdev=pdev@entry=0x2675fe0, siblings=..., index=<optimized out>, index@entry=5, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x257b1d0) at kernel/qwidget.cpp:5808
#27 0x00007fcb362752af in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x25f48f0, pdev=pdev@entry=0x2675fe0, siblings=..., index=5, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x257b1d0) at kernel/qwidget.cpp:5795
#28 0x00007fcb362745cc in QWidgetPrivate::drawWidget (this=this@entry=0x25f48f0, pdev=pdev@entry=0x2675fe0, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x257b1d0) at kernel/qwidget.cpp:5652
#29 0x00007fcb36275440 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x26160c0, pdev=pdev@entry=0x2675fe0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x257b1d0) at kernel/qwidget.cpp:5808
#30 0x00007fcb362745cc in QWidgetPrivate::drawWidget (this=this@entry=0x26160c0, pdev=pdev@entry=0x2675fe0, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x257b1d0) at kernel/qwidget.cpp:5652
#31 0x00007fcb36275440 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x23d0230, pdev=pdev@entry=0x2675fe0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x257b1d0) at kernel/qwidget.cpp:5808
#32 0x00007fcb362745cc in QWidgetPrivate::drawWidget (this=this@entry=0x23d0230, pdev=pdev@entry=0x2675fe0, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x257b1d0) at kernel/qwidget.cpp:5652
#33 0x00007fcb36275440 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x23d1e30, pdev=pdev@entry=0x2675fe0, siblings=..., index=<optimized out>, index@entry=13, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x257b1d0) at kernel/qwidget.cpp:5808
#34 0x00007fcb362752af in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x23d1e30, pdev=pdev@entry=0x2675fe0, siblings=..., index=13, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x257b1d0) at kernel/qwidget.cpp:5795
#35 0x00007fcb362745cc in QWidgetPrivate::drawWidget (this=0x23d1e30, pdev=0x2675fe0, rgn=..., offset=..., flags=flags@entry=5, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x257b1d0) at kernel/qwidget.cpp:5652
#36 0x00007fcb364378ae in QWidgetBackingStore::sync (this=0x257b1d0) at painting/qbackingstore.cpp:1373
#37 0x00007fcb36269ea0 in QWidgetPrivate::syncBackingStore (this=this@entry=0x23d1e30) at kernel/qwidget.cpp:1894
#38 0x00007fcb362a3a03 in QETWidget::translateConfigEvent (this=this@entry=0x2364d20, event=event@entry=0x7ffffc910860) at kernel/qapplication_x11.cpp:5798
#39 0x00007fcb362a4c1c in QApplication::x11ProcessEvent (this=0x7ffffc910d30, event=event@entry=0x7ffffc910860) at kernel/qapplication_x11.cpp:3654
#40 0x00007fcb362ccb02 in x11EventSourceDispatch (s=0x228d870, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#41 0x00007fcb2ddb3e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007fcb2ddb4048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007fcb2ddb40ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007fcb355ea7a1 in QEventDispatcherGlib::processEvents (this=0x2238af0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#45 0x00007fcb362ccbb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#46 0x00007fcb355bc0af in QEventLoop::processEvents (this=this@entry=0x7ffffc910c30, flags=...) at kernel/qeventloop.cpp:149
#47 0x00007fcb355bc3a5 in QEventLoop::exec (this=this@entry=0x7ffffc910c30, flags=...) at kernel/qeventloop.cpp:204
#48 0x00007fcb355c1b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#49 0x00007fcb3622937c in QApplication::exec () at kernel/qapplication.cpp:3828
#50 0x000000000040aadb in main (argc=1, argv=0x7ffffc910e78) at ../../../systemsettings/app/main.cpp:49

Possible duplicates by query: bug 305453.
Comment 1 Vovochka 2014-11-20 13:39:39 UTC
Is someone investigating this?
I've got many plasma-desktop crashes with deferent traces, but in any case they are ending in:

#3  __strncmp_ssse3 () at ../sysdeps/x86_64/strcmp.S:209
#4  0x00007f69189d705c in qstrncmp (len=<optimized out>, str2=<optimized out>, str1=<optimized out>) at /usr/include/QtCore/qbytearray.h:104

My system:
openSUSE 13.2
kde 4.14.2
qt 4.8.6

It looks like some bug in qt, but qt bugtracker shows nothing when searching by "__strncmp_ssse3".

I can provide coredump if needed.
Comment 2 Nate Graham 2018-01-23 22:09:33 UTC
*** Bug 350494 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2018-01-23 22:09:52 UTC
Plasma 4 has been unsupported for several years.