Bug 342660 - Crash on dragging window to screen edge if using kde with Xvnc
Summary: Crash on dragging window to screen edge if using kde with Xvnc
Status: RESOLVED UNMAINTAINED
Alias: None
Product: KScreen
Classification: Plasma
Component: kded (show other bugs)
Version: 1.0.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Daniel Vrátil
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-09 16:18 UTC by stmarcell
Modified: 2016-02-02 15:25 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 stmarcell 2015-01-09 16:18:32 UTC
When dragging a window to screen edge if using kde with Xvnc the window title areas suddenly disappear of all active windows, that is the menu bar remains visible (File, Edit, etc...) but the icon, window title, minimize/maximize/close buttons of all windows disappear. 

Sorry, if I post in the wrong topic, bbuilt-in KDE bug reporter could not log in.

Reproducible: Always

Steps to Reproduce:
Confgure using KDE over a remote desktop session (Xvnc -> RDP). Then dragging a window to the left or top side of the screen. Left side: Window halfway out of visible are when mouse pointer hit the screen edge and crash happens. Same reproduced when dragging to the top, as if I wanted to maximize the window (like in newer versions of windows as well).

Actual Results:  
The window title areas disappear of all active windows, that is the the menu bar is still visible (File, Edit, etc...)  but the icon, window title, minimize/maximize/close buttons of all windows disappear. Logout does not work correctly in Xvnc, therefore I have to kill Xvnc from terminal.

Expected Results:  
Continue seeing window titles.

Application: kded4 (4.13.3)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 3.13.0-40-generic x86_64
Distribution: Ubuntu 14.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I was using KDE over a remote desktop session (Xvnc -> RDP) and tried to make some space on my desktop by dragging a text editor window to the left side. Window halfway out of visible are when mouse pointer hit the screen edge and crash happened. Same reproduced when dragging to the top, as if I wanted to maximize the window (like in newer versions of windows as well).

- Unusual behavior I noticed:
The window title areas disappeared of all active windows, that is I still could see the menu bar (File, Edit, etc...) but the icon, window title, minimize/maximize/close buttons of all windows disappeared. Logout does not work correctly in Xvnc, therefore I had to kill Xvnc from terminal.

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  0x00007fcb11add6c2 in XRandR11::config() const () from /usr/lib/kde4/plugins/kscreen/KSC_XRandR11.so
#7  0x00007fcb11f0fba9 in KScreen::Config::current() () from /usr/lib/libkscreen.so.1
#8  0x00007fcb121287b5 in KScreenDaemon::monitorConnectedChange (this=this@entry=0x1f38610) at /build/buildd/kscreen-1.0.2.1/kded/daemon.cpp:196
#9  0x00007fcb12128e5f in KScreenDaemon::KScreenDaemon (this=0x1f38610, parent=<optimized out>) at /build/buildd/kscreen-1.0.2.1/kded/daemon.cpp:72
#10 0x00007fcb12129968 in KPluginFactory::createInstance<KScreenDaemon, QObject> (parentWidget=<optimized out>, parent=<optimized out>, args=...) at /usr/include/KDE/../kpluginfactory.h:477
#11 0x00007fcb31037433 in KPluginFactory::create (this=0x1f33600, iface=0x7fcb3108c500 <qt_meta_stringdata_KDEDModule> "KDEDModule", parentWidget=0x0, parent=0x1d40a10, args=..., keyword=...) at ../../kdecore/util/kpluginfactory.cpp:203
#12 0x00007fcb1a945d3a in create<KDEDModule> (args=..., parent=0x1d40a10, this=<optimized out>) at ../../kdecore/util/kpluginfactory.h:507
#13 Kded::loadModule (this=this@entry=0x1d40a10, s=..., onDemand=onDemand@entry=false) at ../../kded/kded.cpp:409
#14 0x00007fcb1a946561 in Kded::initModules (this=0x1d40a10) at ../../kded/kded.cpp:268
#15 0x00007fcb1a946d18 in Kded::recreateDone (this=this@entry=0x1d40a10) at ../../kded/kded.cpp:580
#16 0x00007fcb1a946d83 in Kded::recreate (this=0x1d40a10, initial=<optimized out>) at ../../kded/kded.cpp:547
#17 0x00007fcb1a94925d in KDEDApplication::newInstance (this=<optimized out>) at ../../kded/kded.cpp:833
#18 0x00007fcb31857f6a in KUniqueApplicationAdaptor::newInstance (this=0x1ec1c00, asn_id=..., args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:442
#19 0x00007fcb31857fe5 in KUniqueApplicationAdaptor::qt_static_metacall (_o=_o@entry=0x1ec1c00, _id=_id@entry=0, _a=_a@entry=0x7fffee1b90c0, _c=QMetaObject::InvokeMetaMethod) at ./kuniqueapplication_p.moc:57
#20 0x00007fcb31858203 in qt_static_metacall (_a=0x7fffee1b90c0, _id=0, _c=QMetaObject::InvokeMetaMethod, _o=0x1ec1c00) at ./kuniqueapplication_p.moc:100
#21 KUniqueApplicationAdaptor::qt_metacall (this=0x1ec1c00, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffee1b90c0) at ./kuniqueapplication_p.moc:101
#22 0x00007fcb2de531f6 in QDBusConnectionPrivate::deliverCall (this=this@entry=0x1d398a0, object=object@entry=0x1ec1c00, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:951
#23 0x00007fcb2de542f9 in QDBusConnectionPrivate::activateCall (this=this@entry=0x1d398a0, object=0x1ec1c00, flags=flags@entry=337, msg=...) at qdbusintegrator.cpp:856
#24 0x00007fcb2de54ddd in QDBusConnectionPrivate::activateObject (this=0x1d398a0, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1427
#25 0x00007fcb2de54eab in QDBusActivateObjectEvent::placeMetaCall (this=0x1ea31f0) at qdbusintegrator.cpp:1541
#26 0x00007fcb30ae9c1e in QObject::event (this=this@entry=0x7fffee1b9b00, e=e@entry=0x1ea31f0) at kernel/qobject.cpp:1194
#27 0x00007fcb30ad5cfc in QCoreApplication::event (this=this@entry=0x7fffee1b9b00, e=e@entry=0x1ea31f0) at kernel/qcoreapplication.cpp:1765
#28 0x00007fcb2fe6fed3 in QApplication::event (this=0x7fffee1b9b00, e=0x1ea31f0) at kernel/qapplication.cpp:2549
#29 0x00007fcb2fe6ae2c in QApplicationPrivate::notify_helper (this=this@entry=0x1d44cf0, receiver=receiver@entry=0x7fffee1b9b00, e=e@entry=0x1ea31f0) at kernel/qapplication.cpp:4567
#30 0x00007fcb2fe714a0 in QApplication::notify (this=this@entry=0x7fffee1b9b00, receiver=receiver@entry=0x7fffee1b9b00, e=e@entry=0x1ea31f0) at kernel/qapplication.cpp:4353
#31 0x00007fcb31850d1a in KApplication::notify (this=0x7fffee1b9b00, receiver=0x7fffee1b9b00, event=0x1ea31f0) at ../../kdeui/kernel/kapplication.cpp:311
#32 0x00007fcb30ad14dd in QCoreApplication::notifyInternal (this=0x7fffee1b9b00, receiver=receiver@entry=0x7fffee1b9b00, event=event@entry=0x1ea31f0) at kernel/qcoreapplication.cpp:953
#33 0x00007fcb30ad4b3d in sendEvent (event=0x1ea31f0, receiver=0x7fffee1b9b00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#34 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1cab150) at kernel/qcoreapplication.cpp:1577
#35 0x00007fcb30ad4fe3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#36 0x00007fcb30afef83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#37 postEventSourceDispatch (s=0x1d432c0) at kernel/qeventdispatcher_glib.cpp:287
#38 0x00007fcb2c7c2e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007fcb2c7c3048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007fcb2c7c30ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007fcb30afe7a1 in QEventDispatcherGlib::processEvents (this=0x1cad6d0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#42 0x00007fcb2ff0cbb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007fcb30ad00af in QEventLoop::processEvents (this=this@entry=0x7fffee1b99d0, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007fcb30ad03a5 in QEventLoop::exec (this=this@entry=0x7fffee1b99d0, flags=...) at kernel/qeventloop.cpp:204
#45 0x00007fcb30ad5b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#46 0x00007fcb2fe6937c in QApplication::exec () at kernel/qapplication.cpp:3828
#47 0x00007fcb1a947d1b in kdemain (argc=1, argv=0x1d16070) 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=0x7fffee1ba260) at ../../kinit/kinit.cpp:1853
Comment 1 Sebastian Kügler 2016-02-02 15:25:18 UTC
We don't maintain Plasma 4 anymore, please try Plasma 5 and let us know in case the bug persists.