Bug 345441 - KDE crash report opens when connecting via Xmanager by XDMCP
Summary: KDE crash report opens when connecting via Xmanager by XDMCP
Status: RESOLVED FIXED
Alias: None
Product: KScreen
Classification: Plasma
Component: kded (show other bugs)
Version: 1.0.5
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Daniel Vrátil
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-03-23 09:58 UTC by andrew
Modified: 2015-04-08 06:00 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 5.2.3
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description andrew 2015-03-23 09:58:00 UTC
Application: kded4 (4.14.4)
KDE Platform Version: 4.14.4
Qt Version: 4.8.6
Operating System: Linux 3.16.6-2-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
I was connecting to OpenSUSE via Xmanager 5 via XDMCP connection. Once it passed the login process, crash report window opened up.

- Custom settings of the application:
Xmanager 5 was used to connect to OpenSUSE 13.2 via XDMCP connection. Here is what I did:

1. Open Xbrowser (part of Xmanager) 
2. Locate the OpenSUSE XDMCP session icon 
3. Double click on it
RESULT: Login window appears
4. Enter login information
5. Login
6. You will see crash report application right after the progress window.

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Daemon (kded4), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[KCrash Handler]
#5  XRandR11::config (this=<optimized out>) at /usr/src/debug/libkscreen-1.0.5/backends/xrandr1.1/xrandr11.cpp:100
#6  0x00007feaf51bdbd5 in KScreenDaemon::monitorConnectedChange (this=this@entry=0x162d3c0) at /usr/src/debug/kscreen-1.0.71/kded/daemon.cpp:196
#7  0x00007feaf51be20f in KScreenDaemon::KScreenDaemon (this=0x162d3c0, parent=<optimized out>) at /usr/src/debug/kscreen-1.0.71/kded/daemon.cpp:72
#8  0x00007feaf51bed18 in KPluginFactory::createInstance<KScreenDaemon, QObject> (parentWidget=<optimized out>, parent=<optimized out>, args=...) at /usr/include/kpluginfactory.h:477
#9  0x00007feb10f0b5d3 in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () from /usr/lib64/libkdecore.so.5
#10 0x00007feafb35f36a in ?? () from /usr/lib64/libkdeinit4_kded4.so
#11 0x00007feafb35fb89 in ?? () from /usr/lib64/libkdeinit4_kded4.so
#12 0x00007feafb360348 in ?? () from /usr/lib64/libkdeinit4_kded4.so
#13 0x00007feafb3603b3 in ?? () from /usr/lib64/libkdeinit4_kded4.so
#14 0x00007feafb36286d in ?? () from /usr/lib64/libkdeinit4_kded4.so
#15 0x00007feb11747dca in ?? () from /usr/lib64/libkdeui.so.5
#16 0x00007feb11747e45 in ?? () from /usr/lib64/libkdeui.so.5
#17 0x00007feb11748053 in ?? () from /usr/lib64/libkdeui.so.5
#18 0x00007feb0d6ead4d in QDBusConnectionPrivate::deliverCall (this=this@entry=0x1447260, object=object@entry=0x15e0ce0, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:951
#19 0x00007feb0d6ebed9 in QDBusConnectionPrivate::activateCall (this=this@entry=0x1447260, object=0x15e0ce0, flags=flags@entry=337, msg=...) at qdbusintegrator.cpp:856
#20 0x00007feb0d6ec9bd in QDBusConnectionPrivate::activateObject (this=0x1447260, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1427
#21 0x00007feb0d6eca8b in QDBusActivateObjectEvent::placeMetaCall (this=0x15f1430) at qdbusintegrator.cpp:1541
#22 0x00007feb109b559e in QObject::event (this=this@entry=0x7fff9c273440, e=e@entry=0x15f1430) at kernel/qobject.cpp:1231
#23 0x00007feb109a173c in QCoreApplication::event (this=this@entry=0x7fff9c273440, e=e@entry=0x15f1430) at kernel/qcoreapplication.cpp:1765
#24 0x00007feb0fb1e733 in QApplication::event (this=0x7fff9c273440, e=0x15f1430) at kernel/qapplication.cpp:2544
#25 0x00007feb0fb1976c in QApplicationPrivate::notify_helper (this=this@entry=0x144f400, receiver=receiver@entry=0x7fff9c273440, e=e@entry=0x15f1430) at kernel/qapplication.cpp:4565
#26 0x00007feb0fb1fcad in QApplication::notify (this=0x7fff9c273440, receiver=0x7fff9c273440, e=0x15f1430) at kernel/qapplication.cpp:4351
#27 0x00007feb11740baa in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#28 0x00007feb1099d2ad in QCoreApplication::notifyInternal (this=0x7fff9c273440, receiver=receiver@entry=0x7fff9c273440, event=event@entry=0x15f1430) at kernel/qcoreapplication.cpp:953
#29 0x00007feb109a057d in sendEvent (event=0x15f1430, receiver=0x7fff9c273440) at kernel/qcoreapplication.h:231
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x13cd490) at kernel/qcoreapplication.cpp:1577
#31 0x00007feb109a0a23 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#32 0x00007feb109ca8fe in sendPostedEvents () at kernel/qcoreapplication.h:236
#33 postEventSourceDispatch (s=0x144dd00) at kernel/qeventdispatcher_glib.cpp:300
#34 0x00007feb0c47ba04 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#35 0x00007feb0c47bc48 in ?? () from /usr/lib64/libglib-2.0.so.0
#36 0x00007feb0c47bcec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#37 0x00007feb109ca0be in QEventDispatcherGlib::processEvents (this=0x1458070, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#38 0x00007feb0fbb6676 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007feb1099be6f in QEventLoop::processEvents (this=this@entry=0x7fff9c273310, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007feb1099c165 in QEventLoop::exec (this=this@entry=0x7fff9c273310, flags=...) at kernel/qeventloop.cpp:204
#41 0x00007feb109a15b9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#42 0x00007feafb36132b in kdemain () from /usr/lib64/libkdeinit4_kded4.so
#43 0x0000000000408815 in _start ()

Reported using DrKonqi
Comment 1 Daniel Vrátil 2015-04-06 23:16:46 UTC
This should be fixed in Plasma 5.2.3 (xcb_randr_get_screen_size_range can return nullptr when running on remote X).
Comment 2 andrew 2015-04-07 01:14:31 UTC
Is there a patch I can try on our OpenSUSE?
Comment 3 Daniel Vrátil 2015-04-07 08:17:01 UTC
This is the actual patch, it should apply on older versions of the backend as well: http://quickgit.kde.org/?p=libkscreen.git&a=commitdiff&h=1adcb4a3324959ea9be1fcdad318dafba4a3ffcc
Comment 4 andrew 2015-04-08 06:00:38 UTC
Awesome! I will try applying the patch!