Bug 339931 - trying to move a running application to another virtual desktop has resulted in a crash
Summary: trying to move a running application to another virtual desktop has resulted ...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: desktop (other bugs)
Version First Reported In: 4.11.11
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-13 13:53 UTC by Elmar Stellnberger (AT/K)
Modified: 2018-06-08 18:27 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elmar Stellnberger (AT/K) 2014-10-13 13:53:53 UTC
Application: plasma-desktop (4.11.11)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 3.13.0-36-generic x86_64
Distribution: Ubuntu 14.04.1 LTS

-- Information about the crash:
There are basically two options in order to move a running application to another workspace: a.) right click -> move to desktop X b.) drag the application from the task bar onto the right desktop of the desktop switcher panel applet. Doing so (b) I suddenly had the starter icon of firefox in hand as it is used for the quick start panel rather than some abstract item of a running process. Trying to drag that icon onto the right desktop did not move the program but has switched the current workspace maintaining the firefox starter item draggable. Instead KDE should not have switched the desktop when draging onto the respective workspace but it should have allowed me to drop the abstract task bar entry onto the respective workspace in order to move it there. 
This is a regression.

-- Backtrace:
Application: Plasma-Desktop-Umgebung (plasma-desktop), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f0e7eb927c0 (LWP 1908))]

Thread 3 (Thread 0x7f0e4d448700 (LWP 1921)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0e77832ffb in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f0e77b30f00 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f0e77833039 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f0e720de182 in start_thread (arg=0x7f0e4d448700) at pthread_create.c:312
#4  0x00007f0e7e47ffbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f0dc2365700 (LWP 1924)):
#0  0x00007f0e7e47136d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f0e71a0dc20 in read (__nbytes=16, __buf=0x7f0dc2364be0, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#2  g_wakeup_acknowledge (wakeup=0x7f0dc4002140) at /build/buildd/glib2.0-2.40.0/./glib/gwakeup.c:210
#3  0x00007f0e719ccb14 in g_main_context_check (context=context@entry=0x7f0dbc0009a0, max_priority=2147483647, fds=fds@entry=0x7f0dbc003480, n_fds=n_fds@entry=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3532
#4  0x00007f0e719ccf7b in g_main_context_iterate (context=context@entry=0x7f0dbc0009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3731
#5  0x00007f0e719cd0ec in g_main_context_iteration (context=0x7f0dbc0009a0, may_block=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#6  0x00007f0e7b0487be in QEventDispatcherGlib::processEvents (this=0x7f0dbc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#7  0x00007f0e7b01a0af in QEventLoop::processEvents (this=this@entry=0x7f0dc2364de0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f0e7b01a3a5 in QEventLoop::exec (this=this@entry=0x7f0dc2364de0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f0e7af16c5f in QThread::exec (this=this@entry=0x1cea770) at thread/qthread.cpp:537
#10 0x00007f0e7affb823 in QInotifyFileSystemWatcherEngine::run (this=0x1cea770) at io/qfilesystemwatcher_inotify.cpp:265
#11 0x00007f0e7af1932f in QThreadPrivate::start (arg=0x1cea770) at thread/qthread_unix.cpp:349
#12 0x00007f0e720de182 in start_thread (arg=0x7f0dc2365700) at pthread_create.c:312
#13 0x00007f0e7e47ffbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f0e7eb927c0 (LWP 1908)):
[KCrash Handler]
#6  QDeclarativeExpression::hasError (this=0x200000005) at qml/qdeclarativeexpression.cpp:769
#7  0x00007f0e7ccb930b in QDeclarativeBoundSignal::qt_metacall (this=0x21a5b70, c=<optimized out>, id=<optimized out>, a=0x7fffec192ba0) at qml/qdeclarativeboundsignal.cpp:200
#8  0x00007f0e7b02fa78 in QMetaObject::activate (sender=sender@entry=0x1f9d390, m=m@entry=0x7f0dcbbbeb20 <MouseEventListener::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffec192ba0) at kernel/qobject.cpp:3569
#9  0x00007f0dcb9b55f7 in positionChanged (_t1=0x7fffec192bb0, this=0x1f9d390) at ./mouseeventlistener.moc:374
#10 MouseEventListener::mouseMoveEvent (this=0x1f9d390, me=<optimized out>) at ../../../../plasma/declarativeimports/qtextracomponents/mouseeventlistener.cpp:121
#11 0x00007f0e7a95e6d6 in QGraphicsItem::sceneEvent (this=this@entry=0x1f9d3a0, event=event@entry=0x7fffec193050) at graphicsview/qgraphicsitem.cpp:6749
#12 0x00007f0e7cc167c4 in QDeclarativeItem::sceneEvent (this=0x1f9d390, event=0x7fffec193050) at graphicsitems/qdeclarativeitem.cpp:3081
#13 0x00007f0e7a9855af in QGraphicsScenePrivate::sendMouseEvent (this=0x142f240, mouseEvent=0x7fffec193050) at graphicsview/qgraphicsscene.cpp:1295
#14 0x00007f0e7a98e176 in QGraphicsScene::mouseMoveEvent (this=<optimized out>, mouseEvent=0x7fffec193050) at graphicsview/qgraphicsscene.cpp:4102
#15 0x00007f0e7a99a05c in QGraphicsScene::event (this=0x145b8e0, event=0x7fffec193050) at graphicsview/qgraphicsscene.cpp:3451
#16 0x00007f0e7a3b4e2c in QApplicationPrivate::notify_helper (this=this@entry=0x11f6560, receiver=receiver@entry=0x145b8e0, e=e@entry=0x7fffec193050) at kernel/qapplication.cpp:4567
#17 0x00007f0e7a3bb4a0 in QApplication::notify (this=this@entry=0x11eaaa0, receiver=receiver@entry=0x145b8e0, e=e@entry=0x7fffec193050) at kernel/qapplication.cpp:4353
#18 0x00007f0e7bce0d1a in KApplication::notify (this=0x11eaaa0, receiver=0x145b8e0, event=0x7fffec193050) at ../../kdeui/kernel/kapplication.cpp:311
#19 0x00007f0e7b01b4dd in QCoreApplication::notifyInternal (this=0x11eaaa0, receiver=0x145b8e0, event=event@entry=0x7fffec193050) at kernel/qcoreapplication.cpp:953
#20 0x00007f0e7a3b3556 in sendSpontaneousEvent (event=event@entry=0x7fffec193050, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#21 qt_sendSpontaneousEvent (receiver=<optimized out>, event=event@entry=0x7fffec193050) at kernel/qapplication.cpp:5565
#22 0x00007f0e7a9af25c in QGraphicsViewPrivate::mouseMoveEventHandler (this=this@entry=0x2965f00, event=event@entry=0x7fffec1936a0) at graphicsview/qgraphicsview.cpp:646
#23 0x00007f0e7a9b016a in QGraphicsView::mouseMoveEvent (this=0x2240c30, event=0x7fffec1936a0) at graphicsview/qgraphicsview.cpp:3276
#24 0x00007f0e7a404635 in QWidget::event (this=this@entry=0x2240c30, event=event@entry=0x7fffec1936a0) at kernel/qwidget.cpp:8361
#25 0x00007f0e7a7a5fce in QFrame::event (this=0x2240c30, e=0x7fffec1936a0) at widgets/qframe.cpp:557
#26 0x00007f0e7a9b17b9 in QGraphicsView::viewportEvent (this=0x2240c30, event=0x7fffec1936a0) at graphicsview/qgraphicsview.cpp:2866
#27 0x00007f0e7b01b646 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x11f6560, receiver=receiver@entry=0x150b530, event=event@entry=0x7fffec1936a0) at kernel/qcoreapplication.cpp:1063
#28 0x00007f0e7a3b4e0c in QApplicationPrivate::notify_helper (this=this@entry=0x11f6560, receiver=receiver@entry=0x150b530, e=e@entry=0x7fffec1936a0) at kernel/qapplication.cpp:4563
#29 0x00007f0e7a3bb5dd in QApplication::notify (this=this@entry=0x11eaaa0, receiver=receiver@entry=0x150b530, e=e@entry=0x7fffec1936a0) at kernel/qapplication.cpp:4110
#30 0x00007f0e7bce0d1a in KApplication::notify (this=0x11eaaa0, receiver=0x150b530, event=0x7fffec1936a0) at ../../kdeui/kernel/kapplication.cpp:311
#31 0x00007f0e7b01b4dd in QCoreApplication::notifyInternal (this=0x11eaaa0, receiver=receiver@entry=0x150b530, event=event@entry=0x7fffec1936a0) at kernel/qcoreapplication.cpp:953
#32 0x00007f0e7a3bad93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#33 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x150b530, event=event@entry=0x7fffec1936a0, alienWidget=alienWidget@entry=0x150b530, nativeWidget=nativeWidget@entry=0x2240c30, buttonDown=buttonDown@entry=0x7f0e7ae9a318 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#34 0x00007f0e7a42f9cb in QETWidget::translateMouseEvent (this=this@entry=0x2240c30, event=event@entry=0x7fffec193a20) at kernel/qapplication_x11.cpp:4634
#35 0x00007f0e7a42f269 in QApplication::x11ProcessEvent (this=0x11eaaa0, event=event@entry=0x7fffec193a20) at kernel/qapplication_x11.cpp:3627
#36 0x00007f0e7a456b02 in x11EventSourceDispatch (s=0x11f4a50, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#37 0x00007f0e719cce04 in g_main_dispatch (context=0x11f69f0) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3064
#38 g_main_context_dispatch (context=context@entry=0x11f69f0) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3663
#39 0x00007f0e719cd048 in g_main_context_iterate (context=context@entry=0x11f69f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3734
#40 0x00007f0e719cd0ec in g_main_context_iteration (context=0x11f69f0, may_block=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#41 0x00007f0e7b0487a1 in QEventDispatcherGlib::processEvents (this=0x1165af0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#42 0x00007f0e7a456bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007f0e7b01a0af in QEventLoop::processEvents (this=this@entry=0x7fffec193df0, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007f0e7b01a3a5 in QEventLoop::exec (this=this@entry=0x7fffec193df0, flags=...) at kernel/qeventloop.cpp:204
#45 0x00007f0e7b01fb79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#46 0x00007f0e7a3b337c in QApplication::exec () at kernel/qapplication.cpp:3828
#47 0x00007f0e7e78767c in kdemain (argc=1, argv=0x7fffec194048) at ../../../../plasma/desktop/shell/main.cpp:126
#48 0x00007f0e7e3a6ec5 in __libc_start_main (main=0x4006e0 <main(int, char**)>, argc=1, argv=0x7fffec194048, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffec194038) at libc-start.c:287
#49 0x000000000040070e in _start ()

Possible duplicates by query: bug 336086, bug 335426, bug 334620, bug 334194, bug 333043.


Reproducible: Didn't try
Comment 1 Nate Graham 2018-06-08 18:27:36 UTC
Hello!

This bug report was filed for KDE Plasma 4, which reached end-of-support status in August 2015. KDE Plasma 5's desktop shell has been almost completely rewritten for better performance and usability, so it is likely that this bug has already been resolved in Plasma 5.

Accordingly, we hope you understand why we must close this bug report. If the issue described  here is still present in KDE Plasma 5.12 or later, please feel free to open a new ticket in the "plasmashell" product after reading https://community.kde.org/Get_Involved/Bug_Reporting

If you would like to get involved in KDE's bug triaging effort so that future mass bug closes like this are less likely, please read https://community.kde.org/Get_Involved#Bug_Triaging

Thanks for your understanding!

Nate Graham