Bug 336190 - KDE Daemon crashed when accessing server over VNC
Summary: KDE Daemon crashed when accessing server over VNC
Status: RESOLVED DUPLICATE of bug 331537
Alias: None
Product: KScreen
Classification: Plasma
Component: kded (show other bugs)
Version: 1.0.2
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Alex Fiestas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-13 18:22 UTC by apexmail
Modified: 2014-06-14 10:24 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description apexmail 2014-06-13 18:22:05 UTC
Crash happens when accessing using either Linux VNCViewer or Windows VNCViewer and reproducible on different boxes all the time. First time noticed it was on 5/1/14.


Reproducible: Always

Steps to Reproduce:
1. SSH into the box with port forwarding 5901 to the client
2. In ssh session, start vncserver on the server using config described in the Additional information
3. Start vncviewer on the client giving localhost:5901 for vnc server
Actual Results:  
Application: KDE Daemon (kded4), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Expected Results:  
KDE Daemon does not crash and session starts normally.


KDE installed:
ii  kde-runtime                           4:4.13.1-1                         amd64        runtime components from the official KDE release
ii  kde-runtime-data                      4:4.13.1-1                         all          shared data files for the KDE base runtime module


OS:
$ uname -a
Linux wslx1 3.14-1-amd64 #1 SMP Debian 3.14.4-1 (2014-05-13) x86_64 GNU/Linux


VNC server installed:
ii  vnc4server                            4.1.1+X4.3.0-37.1                  amd64        Virtual network computing server software
How VNC server starts:
--- cut ---
#!/bin/sh
vncserver -geometry 1830x1030 -depth 24 -alwaysshared -dpms -localhost :1
vncconfig -nowin -display :1 &
--- cut ---

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  XRandR11::config (this=<optimized out>) at /tmp/buildd/libkscreen-1.0.3/backends/xrandr1.1/xrandr11.cpp:98
#7  0x00007f3aa8d4d7b5 in KScreenDaemon::monitorConnectedChange (this=this@entry=0x1815290) at /tmp/buildd/kscreen-1.0.2.1/kded/daemon.cpp:196
#8  0x00007f3aa8d4de5f in KScreenDaemon::KScreenDaemon (this=0x1815290, parent=<optimized out>) at /tmp/buildd/kscreen-1.0.2.1/kded/daemon.cpp:72
#9  0x00007f3aa8d4e968 in KPluginFactory::createInstance<KScreenDaemon, QObject> (parentWidget=<optimized out>, parent=<optimized out>, args=...) at /usr/include/KDE/../kpluginfactory.h:477
#10 0x00007f3ac63f57e3 in KPluginFactory::create (this=0x17fc810, iface=0x7f3ac644a9a0 <qt_meta_stringdata_KDEDModule> "KDEDModule", parentWidget=0x0, parent=0x16c4660, args=..., keyword=...) at ../../kdecore/util/kpluginfactory.cpp:203
#11 0x00007f3aaf78ed2a in create<KDEDModule> (args=..., parent=0x16c4660, this=<optimized out>) at ../../kdecore/util/kpluginfactory.h:507
#12 Kded::loadModule (this=this@entry=0x16c4660, s=..., onDemand=onDemand@entry=false) at ../../kded/kded.cpp:409
#13 0x00007f3aaf78f551 in Kded::initModules (this=0x16c4660) at ../../kded/kded.cpp:268
#14 0x00007f3aaf78fd08 in Kded::recreateDone (this=this@entry=0x16c4660) at ../../kded/kded.cpp:580
#15 0x00007f3aaf78fd73 in Kded::recreate (this=0x16c4660, initial=<optimized out>) at ../../kded/kded.cpp:547
#16 0x00007f3aaf79224d in KDEDApplication::newInstance (this=<optimized out>) at ../../kded/kded.cpp:833
#17 0x00007f3ac6c3eb2a in KUniqueApplicationAdaptor::newInstance (this=0x17ceed0, asn_id=..., args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:442
#18 0x00007f3ac6c3eba5 in KUniqueApplicationAdaptor::qt_static_metacall (_o=_o@entry=0x17ceed0, _id=_id@entry=0, _a=_a@entry=0x7fff58918f50, _c=QMetaObject::InvokeMetaMethod) at ./kuniqueapplication_p.moc:57
#19 0x00007f3ac6c3edc3 in qt_static_metacall (_a=0x7fff58918f50, _id=0, _c=QMetaObject::InvokeMetaMethod, _o=0x17ceed0) at ./kuniqueapplication_p.moc:100
#20 KUniqueApplicationAdaptor::qt_metacall (this=0x17ceed0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff58918f50) at ./kuniqueapplication_p.moc:101
#21 0x00007f3ac321a1f6 in QDBusConnectionPrivate::deliverCall (this=this@entry=0x16be310, object=object@entry=0x17ceed0, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:951
#22 0x00007f3ac321b2f9 in QDBusConnectionPrivate::activateCall (this=this@entry=0x16be310, object=0x17ceed0, flags=flags@entry=337, msg=...) at qdbusintegrator.cpp:856
#23 0x00007f3ac321bddd in QDBusConnectionPrivate::activateObject (this=0x16be310, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1427
#24 0x00007f3ac321beab in QDBusActivateObjectEvent::placeMetaCall (this=0x17d0090) at qdbusintegrator.cpp:1541
#25 0x00007f3ac5e97a4e in QObject::event (this=this@entry=0x7fff58919990, e=e@entry=0x17d0090) at kernel/qobject.cpp:1222
#26 0x00007f3ac5e83c3c in QCoreApplication::event (this=this@entry=0x7fff58919990, e=e@entry=0x17d0090) at kernel/qcoreapplication.cpp:1765
#27 0x00007f3ac5224773 in QApplication::event (this=0x7fff58919990, e=0x17d0090) at kernel/qapplication.cpp:2549
#28 0x00007f3ac521f6cc in QApplicationPrivate::notify_helper (this=this@entry=0x16c98f0, receiver=receiver@entry=0x7fff58919990, e=e@entry=0x17d0090) at kernel/qapplication.cpp:4570
#29 0x00007f3ac5225cfd in QApplication::notify (this=this@entry=0x7fff58919990, receiver=receiver@entry=0x7fff58919990, e=e@entry=0x17d0090) at kernel/qapplication.cpp:4356
#30 0x00007f3ac6c378da in KApplication::notify (this=0x7fff58919990, receiver=0x7fff58919990, event=0x17d0090) at ../../kdeui/kernel/kapplication.cpp:311
#31 0x00007f3ac5e7f41d in QCoreApplication::notifyInternal (this=0x7fff58919990, receiver=receiver@entry=0x7fff58919990, event=event@entry=0x17d0090) at kernel/qcoreapplication.cpp:953
#32 0x00007f3ac5e82a7d in sendEvent (event=0x17d0090, receiver=0x7fff58919990) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#33 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1490150) at kernel/qcoreapplication.cpp:1577
#34 0x00007f3ac5e82f23 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#35 0x00007f3ac5eacd93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#36 postEventSourceDispatch (s=0x16c7d90) at kernel/qeventdispatcher_glib.cpp:280
#37 0x00007f3ac1986e04 in g_main_dispatch (context=0x16c9b30) at /tmp/buildd/glib2.0-2.40.0/./glib/gmain.c:3064
#38 g_main_context_dispatch (context=context@entry=0x16c9b30) at /tmp/buildd/glib2.0-2.40.0/./glib/gmain.c:3663
#39 0x00007f3ac1987048 in g_main_context_iterate (context=context@entry=0x16c9b30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /tmp/buildd/glib2.0-2.40.0/./glib/gmain.c:3734
#40 0x00007f3ac19870ec in g_main_context_iteration (context=0x16c9b30, may_block=1) at /tmp/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#41 0x00007f3ac5eac655 in QEventDispatcherGlib::processEvents (this=0x14926d0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#42 0x00007f3ac52bd7c6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007f3ac5e7dfef in QEventLoop::processEvents (this=this@entry=0x7fff58919860, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007f3ac5e7e2e5 in QEventLoop::exec (this=this@entry=0x7fff58919860, flags=...) at kernel/qeventloop.cpp:204
#45 0x00007f3ac5e83ab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#46 0x00007f3ac521de8c in QApplication::exec () at kernel/qapplication.cpp:3828
#47 0x00007f3aaf790d0b in kdemain (argc=1, argv=0x1546a30) 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=0x7fff5891a0f0) at ../../kinit/kinit.cpp:1853
Comment 1 Christoph Feck 2014-06-14 10:24:22 UTC

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