Bug 409752 - The ksmserver application suddenly stopped
Summary: The ksmserver application suddenly stopped
Status: RESOLVED WORKSFORME
Alias: None
Product: ksmserver
Classification: Plasma
Component: general (show other bugs)
Version: 5.16.3
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-12 17:09 UTC by Dan d'Auge
Modified: 2022-10-24 05:00 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 Dan d'Auge 2019-07-12 17:09:31 UTC
SUMMARY


STEPS TO REPRODUCE
1. Start computer
2. Login to the user session
3. Pop up "The ksmserver application suddenly stopped" displayed on a black background

OBSERVED RESULT
Exécutable : ksmserver PID : 1155 Signal : Segmentation fault (11) Temps : 12/07/2019 18:50:34

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: none
macOS: none
Linux/KDE Plasma: KDE Neon
(available in About System)
KDE Plasma Version: 5.16.3
KDE Frameworks Version: 5.59.0
Qt Version: 5.12.3

ADDITIONAL INFORMATION

Application: ksmserver (ksmserver), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f917b879880 (LWP 1155))]

Thread 2 (Thread 0x7f9161b3f700 (LWP 1158)):
#0  0x00007f916d71a649 in g_mutex_lock () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f916d6d3995 in g_main_context_prepare () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f916d6d44fb in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f916d6d46dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9175edddcb in QEventDispatcherGlib::processEvents (this=0x7f9154000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f9175e7f03a in QEventLoop::exec (this=this@entry=0x7f9161b3ecf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#6  0x00007f9175ca64ca in QThread::exec (this=this@entry=0x7f9177615d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:531
#7  0x00007f917739e015 in QDBusConnectionManager::run (this=0x7f9177615d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#8  0x00007f9175ca7c72 in QThreadPrivate::start (arg=0x7f9177615d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:361
#9  0x00007f916f8df6db in start_thread (arg=0x7f9161b3f700) at pthread_create.c:463
#10 0x00007f917b18988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f917b879880 (LWP 1155)):
[KCrash Handler]
#6  0x00007f9175d401e3 in stringList_contains<QString> (cs=cs@entry=Qt::CaseSensitive, str=..., stringList=...) at tools/qstringlist.cpp:319
#7  QtPrivate::QStringList_contains (that=that@entry=0x7f9154010e38, str=..., cs=cs@entry=Qt::CaseSensitive) at tools/qstringlist.cpp:343
#8  0x00007f91773a6b76 in QStringList::contains (cs=Qt::CaseSensitive, str=..., this=0x7f9154010e38) at ../../include/QtCore/../../src/corelib/tools/qstringlist.h:225
#9  QDBusConnectionPrivate::isServiceRegisteredByThread (this=0x7f9154010db0, serviceName=...) at qdbusintegrator.cpp:2593
#10 0x00007f91773affa2 in QDBusConnectionPrivate::sendWithReplyAsync (this=0x7f9154010db0, message=..., receiver=receiver@entry=0x0, returnMethod=returnMethod@entry=0x0, errorMethod=errorMethod@entry=0x0, timeout=timeout@entry=-1) at qdbusintegrator.cpp:2098
#11 0x00007f917739ece8 in QDBusConnection::asyncCall (this=this@entry=0x5565ea568ab0, message=..., timeout=timeout@entry=-1) at qdbusconnection.cpp:710
#12 0x00007f917ae482bf in LogindIntegration::logindServiceRegistered (this=0x5565ea568aa0) at ./logind.cpp:103
#13 0x00007f917ae48585 in LogindIntegration::<lambda(QDBusPendingCallWatcher*)>::operator() (self=<optimized out>, __closure=0x5565ea56d9e0) at ./logind.cpp:77
#14 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QDBusPendingCallWatcher*>, void, LogindIntegration::LogindIntegration(const QDBusConnection&, QObject*)::<lambda(QDBusPendingCallWatcher*)> >::call (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:146
#15 QtPrivate::Functor<LogindIntegration::LogindIntegration(const QDBusConnection&, QObject*)::<lambda(QDBusPendingCallWatcher*)>, 1>::call<QtPrivate::List<QDBusPendingCallWatcher*>, void> (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:256
#16 QtPrivate::QFunctorSlotObject<LogindIntegration::LogindIntegration(const QDBusConnection&, QObject*)::<lambda(QDBusPendingCallWatcher*)>, 1, QtPrivate::List<QDBusPendingCallWatcher*>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x5565ea56d9d0, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:439
#17 0x00007f9175eb098f in QtPrivate::QSlotObjectBase::call (a=0x7ffebf459e30, r=0x5565ea568aa0, this=0x5565ea56d9d0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#18 QMetaObject::activate (sender=0x5565ea56d890, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffebf459e30) at kernel/qobject.cpp:3776
#19 0x00007f9175eb0f47 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f91776145e0 <QDBusPendingCallWatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffebf459e30) at kernel/qobject.cpp:3648
#20 0x00007f91773f7ebf in QDBusPendingCallWatcher::finished (this=<optimized out>, _t1=<optimized out>) at .moc/moc_qdbuspendingcall.cpp:157
#21 0x00007f9175eb13e2 in QObject::event (this=0x5565ea56d890, e=<optimized out>) at kernel/qobject.cpp:1260
#22 0x00007f9176c8465c in QApplicationPrivate::notify_helper (this=this@entry=0x5565ea4d9e40, receiver=receiver@entry=0x5565ea56d890, e=e@entry=0x7f915401b840) at kernel/qapplication.cpp:3736
#23 0x00007f9176c8bb90 in QApplication::notify (this=0x5565ea4c71f0, receiver=0x5565ea56d890, e=0x7f915401b840) at kernel/qapplication.cpp:3483
#24 0x00007f9175e80d18 in QCoreApplication::notifyInternal2 (receiver=0x5565ea56d890, event=0x7f915401b840) at kernel/qcoreapplication.cpp:1060
#25 0x00007f9175e80eee in QCoreApplication::sendEvent (receiver=<optimized out>, event=event@entry=0x7f915401b840) at kernel/qcoreapplication.cpp:1450
#26 0x00007f9175e838d7 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x5565ea4c25c0) at kernel/qcoreapplication.cpp:1799
#27 0x00007f9175e83e78 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1653
#28 0x00007f9175ede793 in postEventSourceDispatch (s=0x5565ea548220) at kernel/qeventdispatcher_glib.cpp:276
#29 0x00007f916d6d4417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f916d6d4650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f916d6d46dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f9175edddaf in QEventDispatcherGlib::processEvents (this=0x5565ea550f90, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#33 0x00007f9175e7f03a in QEventLoop::exec (this=this@entry=0x7ffebf45a3e0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#34 0x00007f9175e88170 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1363
#35 0x00007f917b471cf3 in kdemain (argc=<optimized out>, argv=<optimized out>) at ./ksmserver/main.cpp:347
#36 0x00007f917b089b97 in __libc_start_main (main=0x5565e9196720 <main>, argc=1, argv=0x7ffebf45a668, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffebf45a658) at ../csu/libc-start.c:310
#37 0x00005565e919675a in _start ()
Comment 1 Konrad Rzepecki 2019-08-13 08:07:32 UTC
I've probably encounter same bug. It happens at KDE startup after startx. I've KDE from Slackware unofficial Alien packages.

My, probably not very helpful stack trace:

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

Thread 3 (Thread 0x7f8c15c33700 (LWP 2327)):
#0  0x00007f8c1ce16a19 in poll () from /lib64/libc.so.6
#1  0x00007f8c18fd065e in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f8c18fd077f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f8c1d5082fb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f8c1d4b372b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f8c1d2eec81 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007f8c1e3d4456 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f8c1d2efcc3 in ?? () from /usr/lib64/libQt5Core.so.5
#8  0x00007f8c1c8a319c in start_thread () from /lib64/libpthread.so.0
#9  0x00007f8c1ce224af in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f8c168b8700 (LWP 2326)):
#0  0x00007f8c1ce16a19 in poll () from /lib64/libc.so.6
#1  0x00007f8c1cce1d17 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f8c1cce380a in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f8c174b4348 in ?? () from /usr/lib64/qt5/plugins/platforms/../../../libQt5XcbQpa.so.5
#4  0x00007f8c1d2efcc3 in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007f8c1c8a319c in start_thread () from /lib64/libpthread.so.0
#6  0x00007f8c1ce224af in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f8c17849f40 (LWP 2316)):
[KCrash Handler]
#6  0x00007f8c1d37bd93 in QtPrivate::QStringList_contains(QStringList const*, QString const&, Qt::CaseSensitivity) () from /usr/lib64/libQt5Core.so.5
#7  0x00007f8c1e3dc9f0 in ?? () from /usr/lib64/libQt5DBus.so.5
#8  0x00007f8c1e3e6f15 in ?? () from /usr/lib64/libQt5DBus.so.5
#9  0x00007f8c1e3d4f86 in QDBusConnection::asyncCall(QDBusMessage const&, int) const () from /usr/lib64/libQt5DBus.so.5
#10 0x00007f8c20534de6 in ?? () from /usr/lib64/libKScreenLocker.so.5
#11 0x00007f8c20535547 in ?? () from /usr/lib64/libKScreenLocker.so.5
#12 0x00007f8c1d4de945 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#13 0x00007f8c1e4335bf in QDBusPendingCallWatcher::finished(QDBusPendingCallWatcher*) () from /usr/lib64/libQt5DBus.so.5
#14 0x00007f8c1e4336a0 in ?? () from /usr/lib64/libQt5DBus.so.5
#15 0x00007f8c1d4df182 in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#16 0x00007f8c1deb65d2 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#17 0x00007f8c1debf318 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#18 0x00007f8c1d4b4992 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#19 0x00007f8c1d4b7498 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt5Core.so.5
#20 0x00007f8c1d508c43 in ?? () from /usr/lib64/libQt5Core.so.5
#21 0x00007f8c18fd04a3 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#22 0x00007f8c18fd06f0 in ?? () from /usr/lib64/libglib-2.0.so.0
#23 0x00007f8c18fd077f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#24 0x00007f8c1d5082e1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#25 0x00007f8c1d4b372b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#26 0x00007f8c1d4bae2e in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#27 0x00007f8c2055e14f in kdemain () from /usr/lib64/libkdeinit5_ksmserver.so
#28 0x00007f8c1cd2fb5b in __libc_start_main () from /lib64/libc.so.6
#29 0x000000000040107a in _start ()
[Inferior 1 (process 2316) detached]
Comment 2 Justin Zobel 2022-09-24 09:52:35 UTC
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 3 Bug Janitor Service 2022-10-09 04:51:49 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2022-10-24 05:00:21 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!