Bug 379736 - systemsettings5 crashes when running as other user with kdesu
Summary: systemsettings5 crashes when running as other user with kdesu
Status: RESOLVED DUPLICATE of bug 346519
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 5.8.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-05-11 21:48 UTC by kdereport
Modified: 2017-06-02 02:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
attachment-12860-0.html (10.59 KB, text/html)
2017-05-12 00:10 UTC, David Edmundson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kdereport 2017-05-11 21:48:42 UTC
Application: systemsettings5 (5.8.2)

Qt Version: 5.6.1
Frameworks Version: 5.26.0
Operating System: Linux 4.4.62-18.6-default x86_64
Distribution: "openSUSE Leap 42.2"

-- Information about the crash:
- What I was doing when the application crashed:

-Normaly login as user1
-Run kdesu -u user2 systemsettings5
-Click any item. For example "Workspace theme"
-Thats it

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings5), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7efd7a430780 (LWP 7671))]

Thread 3 (Thread 0x7efd50d5f700 (LWP 7680)):
#0  0x00007efd71d5a855 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#1  0x00007efd71d5b230 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007efd71d5b42c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007efd76a5132b in QEventDispatcherGlib::processEvents (this=0x7efd4c0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#4  0x00007efd769fefdb in QEventLoop::exec (this=this@entry=0x7efd50d5ee30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007efd76839f1a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:500
#6  0x00007efd74ba29c8 in ?? () from /usr/lib64/libQt5Qml.so.5
#7  0x00007efd7683e9e9 in QThreadPrivate::start (arg=0x1ee32d0) at thread/qthread_unix.cpp:341
#8  0x00007efd72278744 in start_thread () from /lib64/libpthread.so.0
#9  0x00007efd7614cd3d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7efd5d569700 (LWP 7673)):
#0  0x00007efd76159802 in clock_gettime () from /lib64/libc.so.6
#1  0x00007efd768e9826 in qt_clock_gettime (ts=0x7efd5d568bb0, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:105
#2  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:156
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:165
#4  0x00007efd76a4f989 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7efd58002ed0) at kernel/qtimerinfo_unix.cpp:84
#5  0x00007efd76a4ff05 in QTimerInfoList::timerWait (this=0x7efd58002ed0, tm=...) at kernel/qtimerinfo_unix.cpp:381
#6  0x00007efd76a510fe in timerSourcePrepareHelper (timeout=0x7efd5d568c64, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:126
#7  timerSourcePrepare (source=<optimized out>, timeout=0x7efd5d568c64) at kernel/qeventdispatcher_glib.cpp:159
#8  0x00007efd71d5a95d in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#9  0x00007efd71d5b230 in ?? () from /usr/lib64/libglib-2.0.so.0
#10 0x00007efd71d5b42c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#11 0x00007efd76a5132b in QEventDispatcherGlib::processEvents (this=0x7efd580008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#12 0x00007efd769fefdb in QEventLoop::exec (this=this@entry=0x7efd5d568e20, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#13 0x00007efd76839f1a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:500
#14 0x00007efd773541d5 in ?? () from /usr/lib64/libQt5DBus.so.5
#15 0x00007efd7683e9e9 in QThreadPrivate::start (arg=0x7efd775bcce0) at thread/qthread_unix.cpp:341
#16 0x00007efd72278744 in start_thread () from /lib64/libpthread.so.0
#17 0x00007efd7614cd3d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7efd7a430780 (LWP 7671)):
[KCrash Handler]
#4  0x00007efd760978d7 in raise () from /lib64/libc.so.6
#5  0x00007efd76098caa in abort () from /lib64/libc.so.6
#6  0x00007efd7682a37e in qt_message_fatal (context=..., message=<synthetic pointer>) at global/qlogging.cpp:1648
#7  QMessageLogger::fatal (this=<optimized out>, msg=<optimized out>) at global/qlogging.cpp:790
#8  0x00007efd756e0445 in ?? () from /usr/lib64/libQt5QuickWidgets.so.5
#9  0x00007efd756e076a in ?? () from /usr/lib64/libQt5QuickWidgets.so.5
#10 0x00007efd756e0f46 in QQuickWidget::resizeEvent(QResizeEvent*) () from /usr/lib64/libQt5QuickWidgets.so.5
#11 0x00007efd785b596f in QWidget::event (this=0x223e5b0, event=0x7ffd771866d0) at kernel/qwidget.cpp:8909
#12 0x00007efd78573e3c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x223e5b0, e=0x7ffd771866d0) at kernel/qapplication.cpp:3804
#13 0x00007efd7857849a in QApplication::notify (this=0x7ffd771870e0, receiver=0x223e5b0, e=0x7ffd771866d0) at kernel/qapplication.cpp:3561
#14 0x00007efd76a00fc5 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x223e5b0, event=event@entry=0x7ffd771866d0) at kernel/qcoreapplication.cpp:1015
#15 0x00007efd785aeb32 in QCoreApplication::sendEvent (event=0x7ffd771866d0, receiver=0x223e5b0) at ../../src/corelib/kernel/qcoreapplication.h:225
#16 QWidgetPrivate::sendPendingMoveAndResizeEvents (this=this@entry=0x22d6d90, recursive=recursive@entry=false, disableUpdates=<optimized out>, disableUpdates@entry=false) at kernel/qwidget.cpp:7772
#17 0x00007efd785b23f3 in QWidgetPrivate::show_helper (this=this@entry=0x22d6d90) at kernel/qwidget.cpp:7823
#18 0x00007efd785b5007 in QWidget::setVisible (this=0x223e5b0, visible=<optimized out>) at kernel/qwidget.cpp:8178
#19 0x00007efd785b23a0 in QWidgetPrivate::showChildren (this=this@entry=0x1eb03d0, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8261
#20 0x00007efd785b240f in QWidgetPrivate::show_helper (this=this@entry=0x1eb03d0) at kernel/qwidget.cpp:7829
#21 0x00007efd785b5007 in QWidget::setVisible (this=0x1f790e0, visible=<optimized out>) at kernel/qwidget.cpp:8178
#22 0x00007efd785b4611 in QWidget::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qwidget.cpp:397
#23 0x00007efd76a2c166 in QObject::event (this=this@entry=0x1f790e0, e=e@entry=0x1eae190) at kernel/qobject.cpp:1256
#24 0x00007efd785b56cb in QWidget::event (this=0x1f790e0, event=0x1eae190) at kernel/qwidget.cpp:9178
#25 0x00007efd78573e3c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x1f790e0, e=0x1eae190) at kernel/qapplication.cpp:3804
#26 0x00007efd7857849a in QApplication::notify (this=0x7ffd771870e0, receiver=0x1f790e0, e=0x1eae190) at kernel/qapplication.cpp:3561
#27 0x00007efd76a00fc5 in QCoreApplication::notifyInternal2 (receiver=0x1f790e0, event=event@entry=0x1eae190) at kernel/qcoreapplication.cpp:1015
#28 0x00007efd76a02daa in QCoreApplication::sendEvent (event=0x1eae190, receiver=<optimized out>) at kernel/qcoreapplication.h:225
#29 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1c89f20) at kernel/qcoreapplication.cpp:1650
#30 0x00007efd76a03358 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1508
#31 0x00007efd76a51c83 in postEventSourceDispatch (s=0x1d16390) at kernel/qeventdispatcher_glib.cpp:270
#32 0x00007efd71d5b134 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#33 0x00007efd71d5b388 in ?? () from /usr/lib64/libglib-2.0.so.0
#34 0x00007efd71d5b42c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#35 0x00007efd76a5130c in QEventDispatcherGlib::processEvents (this=0x1d1a320, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#36 0x00007efd769fefdb in QEventLoop::exec (this=this@entry=0x7ffd77186fb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#37 0x00007efd76a06ec6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1285
#38 0x000000000040ce27 in main (argc=1, argv=<optimized out>) at /usr/src/debug/systemsettings-5.8.2/app/main.cpp:56

Possible duplicates by query: bug 350627.

Reported using DrKonqi
Comment 1 David Edmundson 2017-05-12 00:10:21 UTC
Created attachment 105465 [details]
attachment-12860-0.html

It's printing something to the command line. Can you include it please.

On 11 May 2017 23:48, <bugzilla_noreply@kde.org> wrote:

> Bug ID 379736 <https://bugs.kde.org/show_bug.cgi?id=379736>
> Summary systemsettings5 crashes when running as other user with kdesu
> Product systemsettings
> Version 5.8.2
> Platform openSUSE RPMs
> OS Linux
> Status UNCONFIRMED
> Keywords drkonqi
> Severity crash
> Priority NOR
> Component general
> Assignee plasma-bugs@kde.org
> Reporter kdereport@airmail.cc
> Target Milestone ---
>
> Application: systemsettings5 (5.8.2)
>
> Qt Version: 5.6.1
> Frameworks Version: 5.26.0
> Operating System: Linux 4.4.62-18.6-default x86_64
> Distribution: "openSUSE Leap 42.2"
>
> -- Information about the crash:
> - What I was doing when the application crashed:
>
> -Normaly login as user1
> -Run kdesu -u user2 systemsettings5
> -Click any item. For example "Workspace theme"
> -Thats it
>
> The crash can be reproduced every time.
>
> -- Backtrace:
> Application: System Settings (systemsettings5), signal: Aborted
> Using host libthread_db library "/lib64/libthread_db.so.1".
> [Current thread is 1 (Thread 0x7efd7a430780 (LWP 7671))]
>
> Thread 3 (Thread 0x7efd50d5f700 (LWP 7680)):
> #0  0x00007efd71d5a855 in g_main_context_prepare () from
> /usr/lib64/libglib-2.0.so.0
> #1  0x00007efd71d5b230 in ?? () from /usr/lib64/libglib-2.0.so.0
> #2  0x00007efd71d5b42c in g_main_context_iteration () from
> /usr/lib64/libglib-2.0.so.0
> #3  0x00007efd76a5132b in QEventDispatcherGlib::processEvents
> (this=0x7efd4c0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
> #4  0x00007efd769fefdb in QEventLoop::exec (this=this@entry=0x7efd50d5ee30,
> flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
> #5  0x00007efd76839f1a in QThread::exec (this=<optimized out>) at
> thread/qthread.cpp:500
> #6  0x00007efd74ba29c8 in ?? () from /usr/lib64/libQt5Qml.so.5
> #7  0x00007efd7683e9e9 in QThreadPrivate::start (arg=0x1ee32d0) at
> thread/qthread_unix.cpp:341
> #8  0x00007efd72278744 in start_thread () from /lib64/libpthread.so.0
> #9  0x00007efd7614cd3d in clone () from /lib64/libc.so.6
>
> Thread 2 (Thread 0x7efd5d569700 (LWP 7673)):
> #0  0x00007efd76159802 in clock_gettime () from /lib64/libc.so.6
> #1  0x00007efd768e9826 in qt_clock_gettime (ts=0x7efd5d568bb0, clock=<optimized
> out>) at tools/qelapsedtimer_unix.cpp:105
> #2  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at
> tools/qelapsedtimer_unix.cpp:156
> #3  qt_gettime () at tools/qelapsedtimer_unix.cpp:165
> #4  0x00007efd76a4f989 in QTimerInfoList::updateCurrentTime
> (this=this@entry=0x7efd58002ed0) at kernel/qtimerinfo_unix.cpp:84
> #5  0x00007efd76a4ff05 in QTimerInfoList::timerWait (this=0x7efd58002ed0,
> tm=...) at kernel/qtimerinfo_unix.cpp:381
> #6  0x00007efd76a510fe in timerSourcePrepareHelper (timeout=0x7efd5d568c64,
> src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:126
> #7  timerSourcePrepare (source=<optimized out>, timeout=0x7efd5d568c64) at
> kernel/qeventdispatcher_glib.cpp:159
> #8  0x00007efd71d5a95d in g_main_context_prepare () from
> /usr/lib64/libglib-2.0.so.0
> #9  0x00007efd71d5b230 in ?? () from /usr/lib64/libglib-2.0.so.0
> #10 0x00007efd71d5b42c in g_main_context_iteration () from
> /usr/lib64/libglib-2.0.so.0
> #11 0x00007efd76a5132b in QEventDispatcherGlib::processEvents
> (this=0x7efd580008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
> #12 0x00007efd769fefdb in QEventLoop::exec (this=this@entry=0x7efd5d568e20,
> flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
> #13 0x00007efd76839f1a in QThread::exec (this=<optimized out>) at
> thread/qthread.cpp:500
> #14 0x00007efd773541d5 in ?? () from /usr/lib64/libQt5DBus.so.5
> #15 0x00007efd7683e9e9 in QThreadPrivate::start (arg=0x7efd775bcce0) at
> thread/qthread_unix.cpp:341
> #16 0x00007efd72278744 in start_thread () from /lib64/libpthread.so.0
> #17 0x00007efd7614cd3d in clone () from /lib64/libc.so.6
>
> Thread 1 (Thread 0x7efd7a430780 (LWP 7671)):
> [KCrash Handler]
> #4  0x00007efd760978d7 in raise () from /lib64/libc.so.6
> #5  0x00007efd76098caa in abort () from /lib64/libc.so.6
> #6  0x00007efd7682a37e in qt_message_fatal (context=..., message=<synthetic
> pointer>) at global/qlogging.cpp:1648
> #7  QMessageLogger::fatal (this=<optimized out>, msg=<optimized out>) at
> global/qlogging.cpp:790
> #8  0x00007efd756e0445 in ?? () from /usr/lib64/libQt5QuickWidgets.so.5
> #9  0x00007efd756e076a in ?? () from /usr/lib64/libQt5QuickWidgets.so.5
> #10 0x00007efd756e0f46 in QQuickWidget::resizeEvent(QResizeEvent*) () from
> /usr/lib64/libQt5QuickWidgets.so.5
> #11 0x00007efd785b596f in QWidget::event (this=0x223e5b0, event=0x7ffd771866d0)
> at kernel/qwidget.cpp:8909
> #12 0x00007efd78573e3c in QApplicationPrivate::notify_helper (this=<optimized
> out>, receiver=0x223e5b0, e=0x7ffd771866d0) at kernel/qapplication.cpp:3804
> #13 0x00007efd7857849a in QApplication::notify (this=0x7ffd771870e0,
> receiver=0x223e5b0, e=0x7ffd771866d0) at kernel/qapplication.cpp:3561
> #14 0x00007efd76a00fc5 in QCoreApplication::notifyInternal2
> (receiver=receiver@entry=0x223e5b0, event=event@entry=0x7ffd771866d0) at
> kernel/qcoreapplication.cpp:1015
> #15 0x00007efd785aeb32 in QCoreApplication::sendEvent (event=0x7ffd771866d0,
> receiver=0x223e5b0) at ../../src/corelib/kernel/qcoreapplication.h:225
> #16 QWidgetPrivate::sendPendingMoveAndResizeEvents (this=this@entry=0x22d6d90,
> recursive=recursive@entry=false, disableUpdates=<optimized out>,
> disableUpdates@entry=false) at kernel/qwidget.cpp:7772
> #17 0x00007efd785b23f3 in QWidgetPrivate::show_helper
> (this=this@entry=0x22d6d90) at kernel/qwidget.cpp:7823
> #18 0x00007efd785b5007 in QWidget::setVisible (this=0x223e5b0,
> visible=<optimized out>) at kernel/qwidget.cpp:8178
> #19 0x00007efd785b23a0 in QWidgetPrivate::showChildren
> (this=this@entry=0x1eb03d0, spontaneous=spontaneous@entry=false) at
> kernel/qwidget.cpp:8261
> #20 0x00007efd785b240f in QWidgetPrivate::show_helper
> (this=this@entry=0x1eb03d0) at kernel/qwidget.cpp:7829
> #21 0x00007efd785b5007 in QWidget::setVisible (this=0x1f790e0,
> visible=<optimized out>) at kernel/qwidget.cpp:8178
> #22 0x00007efd785b4611 in QWidget::qt_static_metacall (_o=<optimized out>,
> _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at
> .moc/moc_qwidget.cpp:397
> #23 0x00007efd76a2c166 in QObject::event (this=this@entry=0x1f790e0,
> e=e@entry=0x1eae190) at kernel/qobject.cpp:1256
> #24 0x00007efd785b56cb in QWidget::event (this=0x1f790e0, event=0x1eae190) at
> kernel/qwidget.cpp:9178
> #25 0x00007efd78573e3c in QApplicationPrivate::notify_helper (this=<optimized
> out>, receiver=0x1f790e0, e=0x1eae190) at kernel/qapplication.cpp:3804
> #26 0x00007efd7857849a in QApplication::notify (this=0x7ffd771870e0,
> receiver=0x1f790e0, e=0x1eae190) at kernel/qapplication.cpp:3561
> #27 0x00007efd76a00fc5 in QCoreApplication::notifyInternal2
> (receiver=0x1f790e0, event=event@entry=0x1eae190) at
> kernel/qcoreapplication.cpp:1015
> #28 0x00007efd76a02daa in QCoreApplication::sendEvent (event=0x1eae190,
> receiver=<optimized out>) at kernel/qcoreapplication.h:225
> #29 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0,
> event_type=event_type@entry=0, data=0x1c89f20) at
> kernel/qcoreapplication.cpp:1650
> #30 0x00007efd76a03358 in QCoreApplication::sendPostedEvents
> (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at
> kernel/qcoreapplication.cpp:1508
> #31 0x00007efd76a51c83 in postEventSourceDispatch (s=0x1d16390) at
> kernel/qeventdispatcher_glib.cpp:270
> #32 0x00007efd71d5b134 in g_main_context_dispatch () from
> /usr/lib64/libglib-2.0.so.0
> #33 0x00007efd71d5b388 in ?? () from /usr/lib64/libglib-2.0.so.0
> #34 0x00007efd71d5b42c in g_main_context_iteration () from
> /usr/lib64/libglib-2.0.so.0
> #35 0x00007efd76a5130c in QEventDispatcherGlib::processEvents (this=0x1d1a320,
> flags=...) at kernel/qeventdispatcher_glib.cpp:417
> #36 0x00007efd769fefdb in QEventLoop::exec (this=this@entry=0x7ffd77186fb0,
> flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
> #37 0x00007efd76a06ec6 in QCoreApplication::exec () at
> kernel/qcoreapplication.cpp:1285
> #38 0x000000000040ce27 in main (argc=1, argv=<optimized out>) at
> /usr/src/debug/systemsettings-5.8.2/app/main.cpp:56
>
> Possible duplicates by query: bug 350627 <https://bugs.kde.org/show_bug.cgi?id=350627>.
>
> Reported using DrKonqi
>
> ------------------------------
> You are receiving this mail because:
>
>    - You are watching the assignee of the bug.
>
>
Comment 2 kdereport 2017-05-12 20:13:25 UTC
Right after launch(not when crashing):
QXcbConnection: XCB error: 3 (BadWindow), sequence: 627, resource id: 56660626, major code: 40 (TranslateCoords), minor code: 0

(In reply to David Edmundson from comment #1)

> It's printing something to the command line. Can you include it please.
Comment 3 Christoph Feck 2017-05-15 23:35:40 UTC
We need the console output for the crash.
Comment 4 kdereport 2017-05-16 06:19:14 UTC
(In reply to Christoph Feck from comment #3)
> We need the console output for the crash.

All i got in the console i wrote in comment 2. Something changed and now it outputs absolutely nothing.
If you want me to run it with some additional logging parameters, please write what exactly i should do.
Comment 5 kdereport 2017-05-16 06:34:59 UTC
Also right now it does not launching DrKonqi after crash, but id did earlier. And i lied about its happening on any item. Most of them actually works. Its just workspace theme, display and monitor, multimedia.
Comment 6 Christoph Feck 2017-06-02 02:30:52 UTC
Unless we see a different output, let's assume this is bug 346519.

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