Bug 331537 - xrdp: KDE Daemon closed unexpectedly
Summary: xrdp: KDE Daemon closed unexpectedly
Status: RESOLVED FIXED
Alias: None
Product: KScreen
Classification: Plasma
Component: libkscreen (show other bugs)
Version: 1.0.2
Platform: Kubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Daniel Vrátil
URL:
Keywords:
: 336190 337673 338326 340268 341076 341303 361977 383898 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-02-26 15:22 UTC by druck
Modified: 2017-08-24 07:24 UTC (History)
11 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.1.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description druck 2014-02-26 15:22:57 UTC
On starting an xrdp session KDE Daemon crash occurs "We are sorry, KDE Daemon closed unexpectely"

Details: 
Executable: kde4 PID: 15524 Signal: Segmentation fault (11) Time: 26/02/2014 15:15:09

Reproducible: Always

Steps to Reproduce:
1. Start Windows Remote Desktop client
2. Enter details "login to xrdp window" moduel is sesman-xvnc
3. Click ok on session log window
4. KDE desktop starts up
Actual Results:  
Error window is displayed on desktop

Expected Results:  
No error window

Crash log:-

Application: KDE Dæmon (kded4), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  XRandR11::config (this=<optimized out>) at /build/buildd/libkscreen-1.0.2/backends/xrandr1.1/xrandr11.cpp:96
#7  0x00007fa4e98fb7b5 in KScreenDaemon::monitorConnectedChange (this=this@entry=0x1c465f0) at /build/buildd/kscreen-1.0.2.1/kded/daemon.cpp:196
#8  0x00007fa4e98fbe5f in KScreenDaemon::KScreenDaemon (this=0x1c465f0, parent=<optimized out>) at /build/buildd/kscreen-1.0.2.1/kded/daemon.cpp:72
#9  0x00007fa4e98fc968 in KPluginFactory::createInstance<KScreenDaemon, QObject> (parentWidget=<optimized out>, parent=<optimized out>, args=...) at /usr/include/KDE/../kpluginfactory.h:477
#10 0x00007fa50473a6b3 in KPluginFactory::create (this=0x1c1a140, iface=0x7fa504790040 <qt_meta_stringdata_KDEDModule> "KDEDModule", parentWidget=0x0, parent=0x1a2a950, args=..., keyword=...) at ../../kdecore/util/kpluginfactory.cpp:203
#11 0x00007fa4f0068baa in create<KDEDModule> (args=..., parent=0x1a2a950, this=<optimized out>) at ../../kdecore/util/kpluginfactory.h:507
#12 Kded::loadModule (this=this@entry=0x1a2a950, s=..., onDemand=onDemand@entry=false) at ../../kded/kded.cpp:410
#13 0x00007fa4f00693d1 in Kded::initModules (this=this@entry=0x1a2a950) at ../../kded/kded.cpp:269
#14 0x00007fa4f0069957 in Kded::recreateDone (this=this@entry=0x1a2a950) at ../../kded/kded.cpp:578
#15 0x00007fa4f00699c3 in Kded::recreate (this=0x1a2a950, initial=<optimized out>) at ../../kded/kded.cpp:548
#16 0x00007fa4f006be0d in KDEDApplication::newInstance (this=<optimized out>) at ../../kded/kded.cpp:818
#17 0x00007fa504f5accc in KUniqueApplicationAdaptor::newInstance (this=0x1bb6bf0, asn_id=..., args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:442
#18 0x00007fa504f5ad55 in KUniqueApplicationAdaptor::qt_static_metacall (_o=_o@entry=0x1bb6bf0, _id=_id@entry=0, _a=_a@entry=0x7fff79bb3160, _c=QMetaObject::InvokeMetaMethod) at ./kuniqueapplication_p.moc:58
#19 0x00007fa504f5af73 in qt_static_metacall (_a=0x7fff79bb3160, _id=0, _c=QMetaObject::InvokeMetaMethod, _o=0x1bb6bf0) at ./kuniqueapplication_p.moc:101
#20 KUniqueApplicationAdaptor::qt_metacall (this=0x1bb6bf0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff79bb3160) at ./kuniqueapplication_p.moc:102
#21 0x00007fa50155ae36 in QDBusConnectionPrivate::deliverCall (this=this@entry=0x1a24580, object=object@entry=0x1bb6bf0, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:951
#22 0x00007fa50155bf1f in QDBusConnectionPrivate::activateCall (this=this@entry=0x1a24580, object=0x1bb6bf0, flags=flags@entry=337, msg=...) at qdbusintegrator.cpp:856
#23 0x00007fa50155c99d in QDBusConnectionPrivate::activateObject (this=0x1a24580, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1427
#24 0x00007fa50155ca6b in QDBusActivateObjectEvent::placeMetaCall (this=0x1bcbab0) at qdbusintegrator.cpp:1541
#25 0x00007fa5041eddce in QObject::event (this=this@entry=0x7fff79bb3bb0, e=e@entry=0x1bcbab0) at kernel/qobject.cpp:1194
#26 0x00007fa5041d9fdc in QCoreApplication::event (this=this@entry=0x7fff79bb3bb0, e=e@entry=0x1bcbab0) at kernel/qcoreapplication.cpp:1758
#27 0x00007fa503577ea3 in QApplication::event (this=0x7fff79bb3bb0, e=0x1bcbab0) at kernel/qapplication.cpp:2549
#28 0x00007fa503572dfc in QApplicationPrivate::notify_helper (this=this@entry=0x1a2fbf0, receiver=receiver@entry=0x7fff79bb3bb0, e=e@entry=0x1bcbab0) at kernel/qapplication.cpp:4567
#29 0x00007fa503579470 in QApplication::notify (this=this@entry=0x7fff79bb3bb0, receiver=receiver@entry=0x7fff79bb3bb0, e=e@entry=0x1bcbab0) at kernel/qapplication.cpp:4353
#30 0x00007fa504f53a6a in KApplication::notify (this=0x7fff79bb3bb0, receiver=0x7fff79bb3bb0, event=0x1bcbab0) at ../../kdeui/kernel/kapplication.cpp:311
#31 0x00007fa5041d58bd in QCoreApplication::notifyInternal (this=0x7fff79bb3bb0, receiver=receiver@entry=0x7fff79bb3bb0, event=event@entry=0x1bcbab0) at kernel/qcoreapplication.cpp:946
#32 0x00007fa5041d8e1f in sendEvent (event=0x1bcbab0, receiver=0x7fff79bb3bb0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#33 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x199a150) at kernel/qcoreapplication.cpp:1570
#34 0x00007fa5041d92c3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#35 0x00007fa504203073 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#36 postEventSourceDispatch (s=0x1a2e1c0) at kernel/qeventdispatcher_glib.cpp:279
#37 0x00007fa4ffed53b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007fa4ffed5708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007fa4ffed57ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007fa504202a55 in QEventDispatcherGlib::processEvents (this=0x199c670, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#41 0x00007fa5036149d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x00007fa5041d45ef in QEventLoop::processEvents (this=this@entry=0x7fff79bb3a80, flags=...) at kernel/qeventloop.cpp:149
#43 0x00007fa5041d48e5 in QEventLoop::exec (this=this@entry=0x7fff79bb3a80, flags=...) at kernel/qeventloop.cpp:204
#44 0x00007fa5041d9e5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#45 0x00007fa50357134c in QApplication::exec () at kernel/qapplication.cpp:3828
#46 0x00007fa4f006a95b in kdemain (argc=1, argv=0x1a11db0) at ../../kded/kded.cpp:925
#47 0x00000000004083f5 in launch (argc=argc@entry=1, _name=_name@entry=0x40b007 "kded4", args=<optimized out>, args@entry=0x0, cwd=cwd@entry=0x0, envc=envc@entry=0, envs=<optimized out>, envs@entry=0x0, reset_env=reset_env@entry=false, tty=tty@entry=0x0, avoid_loops=avoid_loops@entry=false, startup_id_str=startup_id_str@entry=0x40ae96 "0") at ../../kinit/kinit.cpp:738
#48 0x00000000004059a6 in main (argc=4, argv=<optimized out>, envp=0x7fff79bb4310) at ../../kinit/kinit.cpp:1853
Comment 1 Christoph Feck 2014-06-14 10:24:22 UTC
*** Bug 336190 has been marked as a duplicate of this bug. ***
Comment 2 Christoph Feck 2014-07-22 03:48:41 UTC
*** Bug 337673 has been marked as a duplicate of this bug. ***
Comment 3 Christoph Feck 2014-08-17 22:23:30 UTC
*** Bug 338326 has been marked as a duplicate of this bug. ***
Comment 4 Christoph Feck 2014-08-17 22:24:28 UTC
This could be fixed with kscreen 1.0.5.
Comment 5 Christoph Feck 2014-11-16 18:43:33 UTC
*** Bug 340268 has been marked as a duplicate of this bug. ***
Comment 6 Christoph Feck 2014-11-19 20:40:28 UTC
*** Bug 341076 has been marked as a duplicate of this bug. ***
Comment 7 robert-ditt 2014-11-19 21:05:00 UTC
I unfortunately had no time to answer your request . As soon as I can , I will report .

Thank you !
Rober


Am 19.11.2014 21:40, schrieb Christoph Feck:
> https://bugs.kde.org/show_bug.cgi?id=331537
>
> Christoph Feck <christoph@maxiom.de> changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                   CC|                            |bsowislo@gmx.de
>
> --- Comment #6 from Christoph Feck <christoph@maxiom.de> ---
> *** Bug 341076 has been marked as a duplicate of this bug. ***
>
Comment 8 Christoph Feck 2014-11-26 20:51:21 UTC
*** Bug 341303 has been marked as a duplicate of this bug. ***
Comment 9 Dan Dickey 2015-01-20 12:52:54 UTC
I can confirm that kded still crashes the same way with kscreen 1.0.5
Comment 10 Daniel Vrátil 2015-03-06 14:46:20 UTC
Most probably crash due to KDED not getting a valid Config. This has been fixed in 5.1.0, when the KDED module won't continue in initialization if it fails to get a valid KScreen::Config.
Comment 11 Christoph Feck 2016-06-15 13:34:09 UTC
*** Bug 361977 has been marked as a duplicate of this bug. ***
Comment 12 Christoph Feck 2017-08-24 07:24:30 UTC
*** Bug 383898 has been marked as a duplicate of this bug. ***