Bug 344395 - Crash after VNC login to KDE session started by startkde
Summary: Crash after VNC login to KDE session started by startkde
Status: RESOLVED UNMAINTAINED
Alias: None
Product: KScreen
Classification: Plasma
Component: common (show other bugs)
Version: 1.0.2
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Daniel Vrátil
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-20 18:30 UTC by donato_espera
Modified: 2016-05-18 12:38 UTC (History)
2 users (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 donato_espera 2015-02-20 18:30:47 UTC
Application: kded4 (4.13.3)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 3.13.0-45-generic x86_64
Distribution: Ubuntu 14.04.1 LTS

-- Information about the crash:
1. Run vncserver in Ubuntu 14.04 with startkde command in ~/.vnc/xstartup
2. Login to Ubuntu 14.04 by VNC with startkde session started by vncserver.

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Daemon (kded4), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  0x00007f6ca16376c2 in XRandR11::config() const () from /usr/lib/kde4/plugins/kscreen/KSC_XRandR11.so
#7  0x00007f6ca1a69ba9 in KScreen::Config::current() () from /usr/lib/libkscreen.so.1
#8  0x00007f6ca1c827b5 in KScreenDaemon::monitorConnectedChange (this=this@entry=0x10341d0) at /build/buildd/kscreen-1.0.2.1/kded/daemon.cpp:196
#9  0x00007f6ca1c82e5f in KScreenDaemon::KScreenDaemon (this=0x10341d0, parent=<optimized out>) at /build/buildd/kscreen-1.0.2.1/kded/daemon.cpp:72
#10 0x00007f6ca1c83968 in KPluginFactory::createInstance<KScreenDaemon, QObject> (parentWidget=<optimized out>, parent=<optimized out>, args=...) at /usr/include/KDE/../kpluginfactory.h:477
#11 0x00007f6cbe585433 in KPluginFactory::create (this=0x1080280, iface=0x7f6cbe5da500 <qt_meta_stringdata_KDEDModule> "KDEDModule", parentWidget=0x0, parent=0xe644b0, args=..., keyword=...) at ../../kdecore/util/kpluginfactory.cpp:203
#12 0x00007f6ca8419d3a in create<KDEDModule> (args=..., parent=0xe644b0, this=<optimized out>) at ../../kdecore/util/kpluginfactory.h:507
#13 Kded::loadModule (this=this@entry=0xe644b0, s=..., onDemand=onDemand@entry=false) at ../../kded/kded.cpp:409
#14 0x00007f6ca841a561 in Kded::initModules (this=0xe644b0) at ../../kded/kded.cpp:268
#15 0x00007f6ca841ad18 in Kded::recreateDone (this=this@entry=0xe644b0) at ../../kded/kded.cpp:580
#16 0x00007f6ca841ad83 in Kded::recreate (this=0xe644b0, initial=<optimized out>) at ../../kded/kded.cpp:547
#17 0x00007f6ca841d25d in KDEDApplication::newInstance (this=<optimized out>) at ../../kded/kded.cpp:833
#18 0x00007f6cbeda5f6a in KUniqueApplicationAdaptor::newInstance (this=0xfdd950, asn_id=..., args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:442
#19 0x00007f6cbeda5fe5 in KUniqueApplicationAdaptor::qt_static_metacall (_o=_o@entry=0xfdd950, _id=_id@entry=0, _a=_a@entry=0x7fff6f38a190, _c=QMetaObject::InvokeMetaMethod) at ./kuniqueapplication_p.moc:57
#20 0x00007f6cbeda6203 in qt_static_metacall (_a=0x7fff6f38a190, _id=0, _c=QMetaObject::InvokeMetaMethod, _o=0xfdd950) at ./kuniqueapplication_p.moc:100
#21 KUniqueApplicationAdaptor::qt_metacall (this=0xfdd950, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff6f38a190) at ./kuniqueapplication_p.moc:101
#22 0x00007f6cbb3a11f6 in QDBusConnectionPrivate::deliverCall (this=this@entry=0xe5e720, object=object@entry=0xfdd950, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:951
#23 0x00007f6cbb3a22f9 in QDBusConnectionPrivate::activateCall (this=this@entry=0xe5e720, object=0xfdd950, flags=flags@entry=337, msg=...) at qdbusintegrator.cpp:856
#24 0x00007f6cbb3a2ddd in QDBusConnectionPrivate::activateObject (this=0xe5e720, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1427
#25 0x00007f6cbb3a2eab in QDBusActivateObjectEvent::placeMetaCall (this=0xfdf410) at qdbusintegrator.cpp:1541
#26 0x00007f6cbe037c1e in QObject::event (this=this@entry=0x7fff6f38abd0, e=e@entry=0xfdf410) at kernel/qobject.cpp:1194
#27 0x00007f6cbe023cfc in QCoreApplication::event (this=this@entry=0x7fff6f38abd0, e=e@entry=0xfdf410) at kernel/qcoreapplication.cpp:1765
#28 0x00007f6cbd3bded3 in QApplication::event (this=0x7fff6f38abd0, e=0xfdf410) at kernel/qapplication.cpp:2549
#29 0x00007f6cbd3b8e2c in QApplicationPrivate::notify_helper (this=this@entry=0xe687c0, receiver=receiver@entry=0x7fff6f38abd0, e=e@entry=0xfdf410) at kernel/qapplication.cpp:4567
#30 0x00007f6cbd3bf4a0 in QApplication::notify (this=this@entry=0x7fff6f38abd0, receiver=receiver@entry=0x7fff6f38abd0, e=e@entry=0xfdf410) at kernel/qapplication.cpp:4353
#31 0x00007f6cbed9ed1a in KApplication::notify (this=0x7fff6f38abd0, receiver=0x7fff6f38abd0, event=0xfdf410) at ../../kdeui/kernel/kapplication.cpp:311
#32 0x00007f6cbe01f4dd in QCoreApplication::notifyInternal (this=0x7fff6f38abd0, receiver=receiver@entry=0x7fff6f38abd0, event=event@entry=0xfdf410) at kernel/qcoreapplication.cpp:953
#33 0x00007f6cbe022b3d in sendEvent (event=0xfdf410, receiver=0x7fff6f38abd0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#34 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xdd0150) at kernel/qcoreapplication.cpp:1577
#35 0x00007f6cbe022fe3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#36 0x00007f6cbe04cf83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#37 postEventSourceDispatch (s=0xe66d60) at kernel/qeventdispatcher_glib.cpp:287
#38 0x00007f6cb9d10e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f6cb9d11048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007f6cb9d110ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007f6cbe04c7a1 in QEventDispatcherGlib::processEvents (this=0xdd26d0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#42 0x00007f6cbd45abb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007f6cbe01e0af in QEventLoop::processEvents (this=this@entry=0x7fff6f38aaa0, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007f6cbe01e3a5 in QEventLoop::exec (this=this@entry=0x7fff6f38aaa0, flags=...) at kernel/qeventloop.cpp:204
#45 0x00007f6cbe023b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#46 0x00007f6cbd3b737c in QApplication::exec () at kernel/qapplication.cpp:3828
#47 0x00007f6ca841bd1b in kdemain (argc=1, argv=0xe20630) at ../../kded/kded.cpp:940
#48 0x00000000004083ee in launch (argc=argc@entry=1, _name=_name@entry=0x40afc7 "kded4", args=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=0x40ae56 "0") at ../../kinit/kinit.cpp:738
#49 0x00000000004059a3 in main (argc=4, argv=<optimized out>, envp=0x7fff6f38b330) at ../../kinit/kinit.cpp:1853

Reported using DrKonqi

Reproducible: Always

Steps to Reproduce:
1. Run vncserver in Ubuntu 14.04 with startkde command in ~/.vnc/xstartup
2. Login to Ubuntu 14.04 by VNC with startkde session started by vncserver.

Actual Results:  
Crash report dialog box
Comment 1 Christoph Feck 2015-03-15 22:37:40 UTC
Please update kscreen/libkscreen to 1.0.5.
Comment 2 Sebastian Kügler 2016-02-02 15:23:35 UTC
We don't maintain Plasma 4 anymore, please try Plasma 5 and let us know in case the bug persists.
Comment 3 Tom Kijas 2016-05-18 12:38:05 UTC
It is even worse, in Plasma 5 VNC connection does not work, it shows only KDE5 boot screen.