Bug 357412

Summary: KDE user swap crash
Product: [Unmaintained] ksmserver Reporter: laurie jarden <lauriej>
Component: uiAssignee: Lubos Lunak <l.lunak>
Status: RESOLVED DUPLICATE    
Severity: normal CC: cfeck, wbauer1
Priority: NOR    
Version: 5.5.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: ksmserver-20160314-132559.kcrash.txt
ksmserver-20160102-140922.kcrash.txt

Description laurie jarden 2016-01-02 05:04:36 UTC
kde crashed when trying to swap user to a user already setup in system.
only two users had been setup.
this type of crash happened on first user swap after last update with tumbleweed.

Reproducible: Always

Steps to Reproduce:
1.start machine and login to tumbleweed (kernel 4.3.3.2-default, Plasma5)
2.start new user from application launcher menu
3.swap back to original user.

Actual Results:  
KDE user interface crash occurs.
sometimes recovers after closing bug dialog box, but mostly not which requires a reboot.
sometimes recovers by holding keys Ctrl+Alt and pressing backspace twice.

Expected Results:  
menu strip covering middle of screen showing selection of users to swap to.

Mainboard: ASUS M5A99FX-PRO Rev 2.0 rev.1.01
CPU: AMD FX-8350 Black edition
HDD: Caviar Black, 2000 GB 7200rpm Sata II
Memory: HyperX Fury RED Kit of 2 (DDR3,  1866 Mhz, 1.5v) 16Gb
mouse: Logiteck MK120
Monitor 1: Benq 27" M2700HD
Monitor 2: Dell 22" P2210t
Videocard: Gigabyte (ATI Radeon R7 260X) GV-R726XOC-2GD Rev.3
Comment 1 Christoph Feck 2016-03-10 18:54:09 UTC
If this is reproducible, please add the backtrace for the crash. For more information, please see https://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
Comment 2 laurie jarden 2016-03-14 03:53:05 UTC
Created attachment 97879 [details]
ksmserver-20160314-132559.kcrash.txt

Hi Chris, Not quite sure what to do, but I hope one of the two the 
attached files help.
Regards, Laurie Jarden.

On 11/03/16 04:54, Christoph Feck via KDE Bugzilla wrote:
> https://bugs.kde.org/show_bug.cgi?id=357412
>
> Christoph Feck <cfeck@kde.org> changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>               Status|UNCONFIRMED                 |NEEDSINFO
>           Resolution|---                         |BACKTRACE
>                   CC|                            |cfeck@kde.org
>
> --- Comment #1 from Christoph Feck <cfeck@kde.org> ---
> If this is reproducible, please add the backtrace for the crash. For more
> information, please see
> https://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
>
Comment 3 laurie jarden 2016-03-14 03:53:07 UTC
Created attachment 97880 [details]
ksmserver-20160102-140922.kcrash.txt
Comment 4 Christoph Feck 2016-03-14 13:05:09 UTC
Backtrace from comment #2:

Application: ksmserver (ksmserver), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2b53559940 (LWP 2307))]

Thread 3 (Thread 0x7f2b217f1700 (LWP 11407)):
#0  0x00007f2b48cdc07f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2b229a4cc3 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f2b229a4507 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f2b48cd64a4 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f2b52ea0ded in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f2b23ff6700 (LWP 19133)):
#0  0x00007f2b52e9447d in read () from /lib64/libc.so.6
#1  0x00007f2b473a5290 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f2b47362dc4 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f2b47363238 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f2b4736339c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f2b4da6552b in QEventDispatcherGlib::processEvents (this=0x7f2af81fb1d0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#6  0x00007f2b4da0f61a in QEventLoop::exec (this=this@entry=0x7f2b23ff5c70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#7  0x00007f2b4d83bb1c in QThread::exec (this=this@entry=0x2123940) at thread/qthread.cpp:503
#8  0x00007f2b510547b5 in QQmlThreadPrivate::run (this=0x2123940) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/ftw/qqmlthread.cpp:141
#9  0x00007f2b4d84094f in QThreadPrivate::start (arg=0x2123940) at thread/qthread_unix.cpp:331
#10 0x00007f2b48cd64a4 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f2b52ea0ded in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f2b53559940 (LWP 2307)):
[KCrash Handler]
#6  QtPrivate::RefCount::ref (this=0x4) at /usr/include/qt5/QtCore/qrefcount.h:54
#7  QV4::Heap::String::toQString (this=<optimized out>) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/jsruntime/qv4string_p.h:84
#8  QV4::String::toQString (this=<optimized out>) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/jsruntime/qv4string_p.h:145
#9  QV4::Heap::StringObject::StringObject (this=<optimized out>, engine=0x2298e60, val=...) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/jsruntime/qv4stringobject.cpp:91
#10 0x00007f2b50f19885 in QV4::MemoryManager::alloc<QV4::StringObject, QV4::ExecutionEngine*, QV4::Value> (arg2=..., arg1=0x2298e60, this=<optimized out>) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/jsruntime/qv4mm_p.h:126
#11 QV4::ExecutionEngine::newStringObject (this=0x2298e60, value=...) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/jsruntime/qv4engine.cpp:557
#12 0x00007f2b50fad5be in QV4::Runtime::getProperty (engine=0x2298e60, object=..., nameIndex=<optimized out>) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/jsruntime/qv4runtime.cpp:682
#13 0x00007f2b51b7bde5 in ?? ()
#14 0x0000000002129430 in ?? ()
#15 0x00007ffd8a6d1480 in ?? ()
#16 0x0000000400000003 in ?? ()
#17 0x00007f2b50fac1f3 in QV4::Object::call (d=<optimized out>, this=<optimized out>) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/jsruntime/qv4object_p.h:305
#18 QV4::RuntimeHelpers::objectDefaultValue (object=0x7ffd8a6d1480, typeHint=<optimized out>) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/jsruntime/qv4runtime.cpp:408
#19 0x00007f2b50f53b8a in QV4::SimpleScriptFunction::call (that=<optimized out>, callData=<optimized out>) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/jsruntime/qv4functionobject.cpp:564
#20 0x00007f2b5103ab5e in QV4::Object::call (d=0x7f2b17c30008, this=<optimized out>) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/jsruntime/qv4object_p.h:305
#21 QQmlJavaScriptExpression::evaluate (this=this@entry=0x2136400, context=<optimized out>, function=..., callData=callData@entry=0x7f2b17c30008, isUndefined=isUndefined@entry=0x7ffd8a6d16b8) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/qqmljavascriptexpression.cpp:158
#22 0x00007f2b5103b06d in QQmlJavaScriptExpression::evaluate (this=this@entry=0x2136400, context=<optimized out>, function=..., isUndefined=isUndefined@entry=0x7ffd8a6d16b8) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/qqmljavascriptexpression.cpp:116
#23 0x00007f2b510414f4 in QQmlBinding::update (this=0x21363e0, flags=...) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/qqmlbinding.cpp:194
#24 0x00007f2b5104a596 in QQmlAbstractBinding::setEnabled (f=..., e=true, this=0x2136418) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/qqmlabstractbinding_p.h:110
#25 QQmlObjectCreator::finalize (this=0x253a500, interrupt=...) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/qqmlobjectcreator.cpp:1194
#26 0x00007f2b50fddcfa in QQmlIncubatorPrivate::incubate (this=this@entry=0x253a430, i=...) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/qqmlincubator.cpp:348
#27 0x00007f2b50fde677 in QQmlEnginePrivate::incubate (this=this@entry=0x2129430, i=..., forContext=forContext@entry=0x253a350) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/qqmlincubator.cpp:87
#28 0x00007f2b50fda11c in QQmlComponent::create (this=<optimized out>, incubator=..., context=<optimized out>, forContext=forContext@entry=0x0) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/qqmlcomponent.cpp:1068
#29 0x00007f2b515d97fa in QQuickLoaderPrivate::_q_sourceLoaded (this=this@entry=0x22ec600) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/quick/items/qquickloader.cpp:714
#30 0x00007f2b515d9978 in QQuickLoaderPrivate::load (this=0x22ec600) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/quick/items/qquickloader.cpp:597
#31 0x00007f2b5104a662 in QQmlObjectCreator::finalize (this=0x2255f30, interrupt=...) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/qqmlobjectcreator.cpp:1207
#32 0x00007f2b50fddcfa in QQmlIncubatorPrivate::incubate (this=this@entry=0x2255e60, i=...) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/qqmlincubator.cpp:348
#33 0x00007f2b50fde677 in QQmlEnginePrivate::incubate (this=this@entry=0x2129430, i=..., forContext=forContext@entry=0x21c1b80) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/qqmlincubator.cpp:87
#34 0x00007f2b50fda11c in QQmlComponent::create (this=<optimized out>, incubator=..., context=<optimized out>, forContext=forContext@entry=0x0) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/qqmlcomponent.cpp:1068
#35 0x00007f2b515d97fa in QQuickLoaderPrivate::_q_sourceLoaded (this=this@entry=0x2297f10) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/quick/items/qquickloader.cpp:714
#36 0x00007f2b515d9978 in QQuickLoaderPrivate::load (this=0x2297f10) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/quick/items/qquickloader.cpp:597
#37 0x00007f2b5104a662 in QQmlObjectCreator::finalize (this=0x22783c0, interrupt=...) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/qqmlobjectcreator.cpp:1207
#38 0x00007f2b50fd9b34 in QQmlComponentPrivate::complete (enginePriv=0x2129430, state=0x1fbb7f0) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/qqmlcomponent.cpp:928
#39 0x00007f2b50fd9bf7 in QQmlComponentPrivate::completeCreate (this=0x1fbb750) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/qqmlcomponent.cpp:964
#40 0x00007f2b50fd9aa0 in QQmlComponent::create (this=0x2302600, context=0x2215a70) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/qqmlcomponent.cpp:791
#41 0x00007f2b515e088d in QQuickView::continueExecute (this=this@entry=0x24c0d20) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/quick/items/qquickview.cpp:476
#42 0x00007f2b515e0f8d in QQuickViewPrivate::execute (this=0x21d6750) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/quick/items/qquickview.cpp:124
#43 0x00007f2b515e10ba in QQuickView::setSource (this=this@entry=0x24c0d20, url=...) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/quick/items/qquickview.cpp:253
#44 0x00007f2b5317c9de in KSMSwitchUserDialog::KSMSwitchUserDialog (this=0x24c0d20, dm=<optimized out>, parent=<optimized out>) at /usr/src/debug/plasma-workspace-5.5.5/ksmserver/switchuserdialog.cpp:92
#45 0x00007f2b53172927 in KSMServer::openSwitchUserDialog (this=<optimized out>) at /usr/src/debug/plasma-workspace-5.5.5/ksmserver/server.cpp:1095
#46 0x00007f2b5318fd95 in KSMServerInterfaceAdaptor::openSwitchUserDialog (this=<optimized out>) at /usr/src/debug/plasma-workspace-5.5.5/build/ksmserver/ksmserverinterfaceadaptor.cpp:63
#47 KSMServerInterfaceAdaptor::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7ffd8a6d2330) at /usr/src/debug/plasma-workspace-5.5.5/build/ksmserver/ksmserverinterfaceadaptor.moc:170
#48 0x00007f2b5318ffa5 in KSMServerInterfaceAdaptor::qt_metacall (this=0x1f0c590, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7ffd8a6d2330) at /usr/src/debug/plasma-workspace-5.5.5/build/ksmserver/ksmserverinterfaceadaptor.moc:232
#49 0x00007f2b4faa1453 in QDBusConnectionPrivate::deliverCall (this=this@entry=0x1ee2630, object=object@entry=0x1f0c590, msg=..., metaTypes=..., slotIdx=12) at qdbusintegrator.cpp:978
#50 0x00007f2b4faa51df in QDBusConnectionPrivate::activateCall (this=this@entry=0x1ee2630, object=0x1f0c590, flags=flags@entry=273, msg=...) at qdbusintegrator.cpp:892
#51 0x00007f2b4faa5ab3 in QDBusConnectionPrivate::activateObject (this=0x1ee2630, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1462
#52 0x00007f2b4faa6bde in QDBusActivateObjectEvent::placeMetaCall (this=0x21207c0) at qdbusintegrator.cpp:1580
#53 0x00007f2b4da3fd49 in QObject::event (this=0x1efc2c0, e=<optimized out>) at kernel/qobject.cpp:1239
#54 0x00007f2b4e6f88cc in QApplicationPrivate::notify_helper (this=this@entry=0x1e6e190, receiver=receiver@entry=0x1efc2c0, e=e@entry=0x21207c0) at kernel/qapplication.cpp:3716
#55 0x00007f2b4e6fd9d6 in QApplication::notify (this=0x1e5b170, receiver=0x1efc2c0, e=0x21207c0) at kernel/qapplication.cpp:3499
#56 0x00007f2b4da11cd3 in QCoreApplication::notifyInternal (this=0x1e5b170, receiver=0x1efc2c0, event=event@entry=0x21207c0) at kernel/qcoreapplication.cpp:965
#57 0x00007f2b4da13ff6 in QCoreApplication::sendEvent (event=0x21207c0, receiver=<optimized out>) at kernel/qcoreapplication.h:224
#58 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1e57f90) at kernel/qcoreapplication.cpp:1593
#59 0x00007f2b4da144d8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1451
#60 0x00007f2b4da65103 in postEventSourceDispatch (s=0x1edae10) at kernel/qeventdispatcher_glib.cpp:271
#61 0x00007f2b473630c7 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#62 0x00007f2b473632f8 in ?? () from /usr/lib64/libglib-2.0.so.0
#63 0x00007f2b4736339c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#64 0x00007f2b4da6550f in QEventDispatcherGlib::processEvents (this=0x1edadf0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#65 0x00007f2b4da0f61a in QEventLoop::exec (this=this@entry=0x7ffd8a6d2a60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#66 0x00007f2b4da172dd in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#67 0x00007f2b53171286 in kdemain (argc=1, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.5.5/ksmserver/main.cpp:349
#68 0x00007f2b52dd7610 in __libc_start_main () from /lib64/libc.so.6
#69 0x0000000000400849 in _start () at ../sysdeps/x86_64/start.S:118
Comment 5 Wolfgang Bauer 2016-03-14 16:58:54 UTC
I'd say this is the same as Bug#357413, actually reported by the same person at nearly the same time... ;-)

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