https://bugs.kde.org/show_bug.cgi?id=375869

            Bug ID: 375869
           Summary: Application menu crashes plasma 5
           Product: plasmashell
           Version: 5.9.0
          Platform: openSUSE RPMs
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: k...@davidedmundson.co.uk
          Reporter: pavestn...@protonmail.com
                CC: bhus...@gmail.com, plasma-b...@kde.org
  Target Milestone: 1.0

Application: plasmashell (5.9.0)

Qt Version: 5.7.1
Frameworks Version: 5.30.0
Operating System: Linux 4.9.3-1-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:
I was configuring the applications menu to try and integrate it to my desktop.

- Unusual behavior I noticed:
It crashed plasma. The button in button mode didn't have an icon and the full
menu's text is off.  

Also, the mouse focus in the full menu is off by at least one button. That is,
where buttons are "File, Edit, Insert, etc.", if I hover over "File", it will
show "File" highlighted, then if I click on "File", it will do what you'd
expect, but if I move by a single pixel while staying on "File", it'll switch
to "Insert". The box it creates has proper focus, and I have to move
significantly to the left to properly select "File".

- Custom settings of the application:
It crashed once in full menu mode, but crashed several times in button mode.
I have a sloppy focus config that might be related to it, since it might
somehow switch focus to the bar while it's not expecting it. The focus is set
to "follows mouse - mouse precedence" delayed by 100ms.

I just want to say that I really appreciate all the work that you put into this
and the Plasma desktop is making a lot of great progress. It just keeps getting
better and better and never stales. I don't expect my software to be bug free
especially when I get it this early, but I can't wait to see what the future
holds. It has a lot of potential and I believe that with this much improvement
every release it's making good use of that potential. Thank you very much.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f4f57fd08c0 (LWP 3726))]

Thread 13 (Thread 0x7f4e6e7e8700 (LWP 3965)):
#0  0x00007f4f5162166d in poll () at /lib64/libc.so.6
#1  0x00007f4f4c3be886 in g_main_context_iterate (priority=<optimized out>,
n_fds=1, fds=0x7f4e680048d0, timeout=<optimized out>, context=0x7f4e68000990)
at gmain.c:4228
#2  0x00007f4f4c3be886 in g_main_context_iterate
(context=context@entry=0x7f4e68000990, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3924
#3  0x00007f4f4c3be99c in g_main_context_iteration (context=0x7f4e68000990,
may_block=may_block@entry=1) at gmain.c:3990
#4  0x00007f4f51f4918b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7f4e680008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f4f51ef2aea in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7f4e6e7e7cc0, flags=..., flags@entry=...) at
kernel/qeventloop.cpp:212
#6  0x00007f4f51d20813 in QThread::exec() (this=<optimized out>) at
thread/qthread.cpp:507
#7  0x00007f4e70371df7 in KCupsConnection::run() () at
/usr/lib64/libkcupslib.so
#8  0x00007f4f51d254c8 in QThreadPrivate::start(void*) (arg=0x38d9b00) at
thread/qthread_unix.cpp:368
#9  0x00007f4f50bd8454 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f4f5162a37f in clone () at /lib64/libc.so.6

Thread 12 (Thread 0x7f4e95f70700 (LWP 3922)):
#0  0x00007f4f4c403e59 in g_mutex_lock (mutex=mutex@entry=0x7f4e90000990) at
gthread-posix.c:1336
#1  0x00007f4f4c3bd750 in g_main_context_acquire (context=0x7f4e90000990) at
gmain.c:3264
#2  0x00007f4f4c3be735 in g_main_context_iterate
(context=context@entry=0x7f4e90000990, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3879
#3  0x00007f4f4c3be99c in g_main_context_iteration (context=0x7f4e90000990,
may_block=may_block@entry=1) at gmain.c:3990
#4  0x00007f4f51f4918b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7f4e900008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f4f51ef2aea in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7f4e95f6fc90, flags=..., flags@entry=...) at
kernel/qeventloop.cpp:212
#6  0x00007f4f51d20813 in QThread::exec() (this=this@entry=0x207e2e0) at
thread/qthread.cpp:507
#7  0x00007f4f559d62d6 in QQuickPixmapReader::run() (this=0x207e2e0) at
/usr/src/debug/qtdeclarative-opensource-src-5.7.1/src/quick/util/qquickpixmapcache.cpp:822
#8  0x00007f4f51d254c8 in QThreadPrivate::start(void*) (arg=0x207e2e0) at
thread/qthread_unix.cpp:368
#9  0x00007f4f50bd8454 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f4f5162a37f in clone () at /lib64/libc.so.6

Thread 11 (Thread 0x7f4e9f02d700 (LWP 3917)):
#0  0x00007f4f50bde10f in pthread_cond_wait@@GLIBC_2.3.2 () at
/lib64/libpthread.so.0
#1  0x00007f4ea7650a9b in util_queue_thread_func (mtx=0x1f4d9b8,
cond=0x1f4d9e0) at ../../../include/c11/threads_posix.h:159
#2  0x00007f4ea7650a9b in util_queue_thread_func (input=input@entry=0x1f1ce30)
at util/u_queue.c:76
#3  0x00007f4ea76508f7 in impl_thrd_routine (p=<optimized out>) at
../../../include/c11/threads_posix.h:87
#4  0x00007f4f50bd8454 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f4f5162a37f in clone () at /lib64/libc.so.6

Thread 10 (Thread 0x7f4e9f82e700 (LWP 3916)):
#0  0x00007f4f50bde10f in pthread_cond_wait@@GLIBC_2.3.2 () at
/lib64/libpthread.so.0
#1  0x00007f4ea7650a9b in util_queue_thread_func (mtx=0x1f4d9b8,
cond=0x1f4d9e0) at ../../../include/c11/threads_posix.h:159
#2  0x00007f4ea7650a9b in util_queue_thread_func (input=input@entry=0x1ef6460)
at util/u_queue.c:76
#3  0x00007f4ea76508f7 in impl_thrd_routine (p=<optimized out>) at
../../../include/c11/threads_posix.h:87
#4  0x00007f4f50bd8454 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f4f5162a37f in clone () at /lib64/libc.so.6

Thread 9 (Thread 0x7f4ea002f700 (LWP 3915)):
#0  0x00007f4f50bde10f in pthread_cond_wait@@GLIBC_2.3.2 () at
/lib64/libpthread.so.0
#1  0x00007f4ea7650a9b in util_queue_thread_func (mtx=0x1f4d9b8,
cond=0x1f4d9e0) at ../../../include/c11/threads_posix.h:159
#2  0x00007f4ea7650a9b in util_queue_thread_func (input=input@entry=0x1f1ce30)
at util/u_queue.c:76
#3  0x00007f4ea76508f7 in impl_thrd_routine (p=<optimized out>) at
../../../include/c11/threads_posix.h:87
#4  0x00007f4f50bd8454 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f4f5162a37f in clone () at /lib64/libc.so.6

Thread 8 (Thread 0x7f4ea0830700 (LWP 3914)):
#0  0x00007f4f50bde10f in pthread_cond_wait@@GLIBC_2.3.2 () at
/lib64/libpthread.so.0
#1  0x00007f4ea7650a9b in util_queue_thread_func (mtx=0x1f4d9b8,
cond=0x1f4d9e0) at ../../../include/c11/threads_posix.h:159
#2  0x00007f4ea7650a9b in util_queue_thread_func (input=input@entry=0x1ef6460)
at util/u_queue.c:76
#3  0x00007f4ea76508f7 in impl_thrd_routine (p=<optimized out>) at
../../../include/c11/threads_posix.h:87
#4  0x00007f4f50bd8454 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f4f5162a37f in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7f4ea1238700 (LWP 3913)):
#0  0x00007f4f50bde10f in pthread_cond_wait@@GLIBC_2.3.2 () at
/lib64/libpthread.so.0
#1  0x00007f4ea7650a9b in util_queue_thread_func (mtx=0x1faf9f8,
cond=0x1fafa20) at ../../../include/c11/threads_posix.h:159
#2  0x00007f4ea7650a9b in util_queue_thread_func (input=input@entry=0x1f05510)
at util/u_queue.c:76
#3  0x00007f4ea76508f7 in impl_thrd_routine (p=<optimized out>) at
../../../include/c11/threads_posix.h:87
#4  0x00007f4f50bd8454 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f4f5162a37f in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f4f2dcc8700 (LWP 3895)):
#0  0x00007f4f50bde10f in pthread_cond_wait@@GLIBC_2.3.2 () at
/lib64/libpthread.so.0
#1  0x00007f4f576b3974 in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007f4f576b39b9 in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007f4f50bd8454 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f4f5162a37f in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f4f2fbb8700 (LWP 3840)):
#0  0x00007f4f4c3bdc18 in g_main_context_prepare
(context=context@entry=0x7f4f28000990, priority=priority@entry=0x7f4f2fbb7ba0)
at gmain.c:3429
#1  0x00007f4f4c3be7ab in g_main_context_iterate
(context=context@entry=0x7f4f28000990, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3909
#2  0x00007f4f4c3be99c in g_main_context_iteration (context=0x7f4f28000990,
may_block=may_block@entry=1) at gmain.c:3990
#3  0x00007f4f51f4918b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7f4f280008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f4f51ef2aea in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7f4f2fbb7ce0, flags=..., flags@entry=...) at
kernel/qeventloop.cpp:212
#5  0x00007f4f51d20813 in QThread::exec() (this=this@entry=0x1b556f0) at
thread/qthread.cpp:507
#6  0x00007f4f54e3b305 in QQmlThreadPrivate::run() (this=0x1b556f0) at
/usr/src/debug/qtdeclarative-opensource-src-5.7.1/src/qml/qml/ftw/qqmlthread.cpp:147
#7  0x00007f4f51d254c8 in QThreadPrivate::start(void*) (arg=0x1b556f0) at
thread/qthread_unix.cpp:368
#8  0x00007f4f50bd8454 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f4f5162a37f in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f4f3d5b8700 (LWP 3774)):
#0  0x00007f4f4c403e59 in g_mutex_lock (mutex=mutex@entry=0x7f4f34000990) at
gthread-posix.c:1336
#1  0x00007f4f4c3be988 in g_main_context_iteration (context=0x7f4f34000990,
may_block=may_block@entry=1) at gmain.c:3989
#2  0x00007f4f51f4918b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7f4f340008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#3  0x00007f4f51ef2aea in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7f4f3d5b7ce0, flags=..., flags@entry=...) at
kernel/qeventloop.cpp:212
#4  0x00007f4f51d20813 in QThread::exec() (this=this@entry=0x1b49fa0) at
thread/qthread.cpp:507
#5  0x00007f4f54e3b305 in QQmlThreadPrivate::run() (this=0x1b49fa0) at
/usr/src/debug/qtdeclarative-opensource-src-5.7.1/src/qml/qml/ftw/qqmlthread.cpp:147
#6  0x00007f4f51d254c8 in QThreadPrivate::start(void*) (arg=0x1b49fa0) at
thread/qthread_unix.cpp:368
#7  0x00007f4f50bd8454 in start_thread () at /lib64/libpthread.so.0
#8  0x00007f4f5162a37f in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f4f40478700 (LWP 3736)):
#0  0x00007f4f5162166d in poll () at /lib64/libc.so.6
#1  0x00007f4f565be3e0 in _xcb_conn_wait (__timeout=-1, __nfds=1,
__fds=0x7f4f40477c00) at /usr/include/bits/poll2.h:46
#2  0x00007f4f565be3e0 in _xcb_conn_wait (c=c@entry=0x1a62be0,
cond=cond@entry=0x1a62c20, vector=vector@entry=0x0, count=count@entry=0x0) at
xcb_conn.c:479
#3  0x00007f4f565c0179 in xcb_wait_for_event (c=0x1a62be0) at xcb_in.c:693
#4  0x00007f4f425fe889 in QXcbEventReader::run() (this=0x1a75c30) at
qxcbconnection.cpp:1343
#5  0x00007f4f51d254c8 in QThreadPrivate::start(void*) (arg=0x1a75c30) at
thread/qthread_unix.cpp:368
#6  0x00007f4f50bd8454 in start_thread () at /lib64/libpthread.so.0
#7  0x00007f4f5162a37f in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f4f44b50700 (LWP 3735)):
#0  0x00007f4f5162166d in poll () at /lib64/libc.so.6
#1  0x00007f4f4c3be886 in g_main_context_iterate (priority=<optimized out>,
n_fds=1, fds=0x7f4f30003220, timeout=<optimized out>, context=0x7f4f30000990)
at gmain.c:4228
#2  0x00007f4f4c3be886 in g_main_context_iterate
(context=context@entry=0x7f4f30000990, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3924
#3  0x00007f4f4c3be99c in g_main_context_iteration (context=0x7f4f30000990,
may_block=may_block@entry=1) at gmain.c:3990
#4  0x00007f4f51f4918b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7f4f300008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f4f51ef2aea in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7f4f44b4fcd0, flags=..., flags@entry=...) at
kernel/qeventloop.cpp:212
#6  0x00007f4f51d20813 in QThread::exec() (this=this@entry=0x7f4f525ccd20
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread.cpp:507
#7  0x00007f4f5235b385 in QDBusConnectionManager::run() (this=0x7f4f525ccd20
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:178
#8  0x00007f4f51d254c8 in QThreadPrivate::start(void*) (arg=0x7f4f525ccd20
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:368
#9  0x00007f4f50bd8454 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f4f5162a37f in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f4f57fd08c0 (LWP 3726)):
[KCrash Handler]
#6  0x00007f4f526d959d in QWindow::mapFromGlobal(QPoint const&) const
(this=<optimized out>) at ../../src/corelib/tools/qscopedpointer.h:141
#7  0x00007f4f526d959d in QWindow::mapFromGlobal(QPoint const&) const (p=...)
at ../../src/corelib/global/qglobal.h:980
#8  0x00007f4f526d959d in QWindow::mapFromGlobal(QPoint const&) const
(this=<optimized out>) at kernel/qwindow.h:94
#9  0x00007f4f526d959d in QWindow::mapFromGlobal(QPoint const&) const
(this=0x0, pos=...) at kernel/qwindow.cpp:2368
#10 0x00007f4f2dee47b1 in AppMenuApplet::eventFilter(QObject*, QEvent*)
(this=0x1c86e80, watched=<optimized out>, event=<optimized out>) at
/usr/src/debug/plasma-workspace-5.9.0/applets/appmenu/lib/appmenuapplet.cpp:236
#11 0x00007f4f51ef4861 in
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*)
(receiver=receiver@entry=0x2f7bac0, event=event@entry=0x7ffda1694ea0) at
kernel/qcoreapplication.cpp:1099
#12 0x00007f4f52e79e85 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=<optimized out>, receiver=0x2f7bac0, e=0x7ffda1694ea0) at
kernel/qapplication.cpp:3795
#13 0x00007f4f52e8251d in QApplication::notify(QObject*, QEvent*)
(this=<optimized out>, receiver=0x2f7bac0, e=0x7ffda1694ea0) at
kernel/qapplication.cpp:3273
#14 0x00007f4f51ef4b00 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=receiver@entry=0x2f7bac0, event=event@entry=0x7ffda1694ea0) at
kernel/qcoreapplication.cpp:988
#15 0x00007f4f52e80bcd in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool)
(event=<optimized out>, receiver=<optimized out>) at
../../src/corelib/kernel/qcoreapplication.h:231
#16 0x00007f4f52e80bcd in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool)
(receiver=receiver@entry=0x2f7bac0, event=event@entry=0x7ffda1694ea0,
alienWidget=0x0, alienWidget@entry=0x2f7bac0, nativeWidget=0x2f7bac0,
buttonDown=buttonDown@entry=0x7f4f53580830 <qt_button_down>,
lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2771
#17 0x00007f4f52edc016 in QWidgetWindow::handleMouseEvent(QMouseEvent*)
(this=this@entry=0x2b173d0, event=event@entry=0x7ffda16952c0) at
kernel/qwidgetwindow.cpp:511
#18 0x00007f4f52ede613 in QWidgetWindow::event(QEvent*) (this=0x2b173d0,
event=0x7ffda16952c0) at kernel/qwidgetwindow.cpp:239
#19 0x00007f4f52e79eac in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=<optimized out>, receiver=0x2b173d0, e=0x7ffda16952c0) at
kernel/qapplication.cpp:3799
#20 0x00007f4f52e81661 in QApplication::notify(QObject*, QEvent*)
(this=0x7ffda16957d0, receiver=0x2b173d0, e=0x7ffda16952c0) at
kernel/qapplication.cpp:3556
#21 0x00007f4f51ef4b00 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=receiver@entry=0x2b173d0, event=event@entry=0x7ffda16952c0) at
kernel/qcoreapplication.cpp:988
#22 0x00007f4f526d1c43 in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
(event=0x7ffda16952c0, receiver=0x2b173d0) at
../../src/corelib/kernel/qcoreapplication.h:234
#23 0x00007f4f526d1c43 in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
(e=0x1efd810) at kernel/qguiapplication.cpp:1903
#24 0x00007f4f526d37c5 in
QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
(e=e@entry=0x1efd810) at kernel/qguiapplication.cpp:1687
#25 0x00007f4f526b175b in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(flags=...) at kernel/qwindowsysteminterface.cpp:659
#26 0x00007f4f42635210 in userEventSourceDispatch(GSource*, GSourceFunc,
gpointer) (source=<optimized out>) at
eventdispatchers/qeventdispatcher_glib.cpp:76
#27 0x00007f4f4c3be687 in g_main_context_dispatch (context=0x7f4f380016f0) at
gmain.c:3203
#28 0x00007f4f4c3be687 in g_main_context_dispatch
(context=context@entry=0x7f4f380016f0) at gmain.c:3856
#29 0x00007f4f4c3be8f0 in g_main_context_iterate
(context=context@entry=0x7f4f380016f0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3929
#30 0x00007f4f4c3be99c in g_main_context_iteration (context=0x7f4f380016f0,
may_block=may_block@entry=1) at gmain.c:3990
#31 0x00007f4f51f4916f in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x1acdbe0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#32 0x00007f4f51ef2aea in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7ffda1695660, flags=..., flags@entry=...) at
kernel/qeventloop.cpp:212
#33 0x00007f4f51efb25c in QCoreApplication::exec() () at
kernel/qcoreapplication.cpp:1261
#34 0x00007f4f526c941c in QGuiApplication::exec() () at
kernel/qguiapplication.cpp:1633
#35 0x00007f4f52e79e05 in QApplication::exec() () at
kernel/qapplication.cpp:2975
#36 0x000000000041ea42 in main(int, char**) (argc=<optimized out>,
argv=<optimized out>) at
/usr/src/debug/plasma-workspace-5.9.0/shell/main.cpp:166

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to