Bug 379795 - Konsole crashed on double right click
Summary: Konsole crashed on double right click
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kxmlgui
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords: drkonqi
: 379850 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-05-13 23:16 UTC by Tony
Modified: 2017-05-17 12:14 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (7.00 KB, text/plain)
2017-05-15 08:29 UTC, rооt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tony 2017-05-13 23:16:24 UTC
Application: konsole (17.07.70)

Qt Version: 5.7.1
Frameworks Version: 5.34.0
Operating System: Linux 4.11.0-xanmod2 x86_64
Distribution: KDE neon Developer Edition

-- Information about the crash:
- What I was doing when the application crashed:
I had 2 tabs on a konsole window.
In one of them i had a list of packages i got from running "dpkg --get-selections | less"

When i right clicked twice on one package from the list the crash happen.

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f740fc118c0 (LWP 17127))]

Thread 3 (Thread 0x7f73ebfff700 (LWP 17130)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f73f39940f3 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#2  0x00007f73f3993817 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#3  0x00007f74088726ba in start_thread (arg=0x7f73ebfff700) at pthread_create.c:333
#4  0x00007f740f6b982d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f73f9b72700 (LWP 17129)):
#0  0x00007ffcac78db32 in clock_gettime ()
#1  0x00007f740f6c7c86 in __GI___clock_gettime (clock_id=clock_id@entry=1, tp=tp@entry=0x7f73f9b71a30) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f740c107241 in qt_clock_gettime (ts=0x7f73f9b71a30, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:109
#3  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:164
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:173
#5  0x00007f740c2803d9 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f73ec002ed0) at kernel/qtimerinfo_unix.cpp:91
#6  0x00007f740c280945 in QTimerInfoList::timerWait (this=0x7f73ec002ed0, tm=...) at kernel/qtimerinfo_unix.cpp:388
#7  0x00007f740c281d0e in timerSourcePrepareHelper (timeout=0x7f73f9b71b04, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:132
#8  timerSourcePrepare (source=<optimized out>, timeout=0x7f73f9b71b04) at kernel/qeventdispatcher_glib.cpp:165
#9  0x00007f74069cc91d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f74069cd2bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f74069cd49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007f740c28275b in QEventDispatcherGlib::processEvents (this=0x7f73ec0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#13 0x00007f740c22d0ba in QEventLoop::exec (this=this@entry=0x7f73f9b71cd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#14 0x00007f740c05cf64 in QThread::exec (this=this@entry=0x7f740fd4cd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:507
#15 0x00007f740fcd8735 in QDBusConnectionManager::run (this=0x7f740fd4cd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#16 0x00007f740c061b48 in QThreadPrivate::start (arg=0x7f740fd4cd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:368
#17 0x00007f74088726ba in start_thread (arg=0x7f73f9b72700) at pthread_create.c:333
#18 0x00007f740f6b982d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f740fc118c0 (LWP 17127)):
[KCrash Handler]
#6  QWidget::actions (this=this@entry=0x0) at kernel/qwidget.cpp:3387
#7  0x00007f740cf1b19f in QMenu::clear (this=0x0) at widgets/qmenu.cpp:2060
#8  0x00007f740f31d229 in Konsole::SessionController::updateWebSearchMenu (this=this@entry=0x215d0f0) at /workspace/build/src/SessionController.cpp:380
#9  0x00007f740f323aad in Konsole::SessionController::showDisplayContextMenu (this=0x215d0f0, position=...) at /workspace/build/src/SessionController.cpp:1544
#10 0x00007f740c25a1f6 in QtPrivate::QSlotObjectBase::call (a=0x7ffcac71b1c0, r=0x215d0f0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#11 QMetaObject::activate (sender=sender@entry=0x2113370, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7ffcac71b1c0) at kernel/qobject.cpp:3723
#12 0x00007f740c25a837 in QMetaObject::activate (sender=sender@entry=0x2113370, m=m@entry=0x7f740f5aaee0 <Konsole::TerminalDisplay::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7ffcac71b1c0) at kernel/qobject.cpp:3602
#13 0x00007f740f35ef25 in Konsole::TerminalDisplay::configureRequest (this=this@entry=0x2113370, _t1=...) at /workspace/build/obj-x86_64-linux-gnu/src/moc_TerminalDisplay.cpp:436
#14 0x00007f740f33f912 in Konsole::TerminalDisplay::mousePressEvent (this=0x2113370, ev=0x7ffcac71b6d0) at /workspace/build/src/TerminalDisplay.cpp:2051
#15 0x00007f740cdf48ef in QWidget::event (this=this@entry=0x2113370, event=event@entry=0x7ffcac71b6d0) at kernel/qwidget.cpp:8781
#16 0x00007f740f34066a in Konsole::TerminalDisplay::event (this=0x2113370, event=0x7ffcac71b6d0) at /workspace/build/src/TerminalDisplay.cpp:3215
#17 0x00007f740cdacecc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x2113370, e=0x7ffcac71b6d0) at kernel/qapplication.cpp:3799
#18 0x00007f740cdb5165 in QApplication::notify (this=<optimized out>, receiver=0x2113370, e=0x7ffcac71b6d0) at kernel/qapplication.cpp:3273
#19 0x00007f740c22f0c8 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x2113370, event=event@entry=0x7ffcac71b6d0) at kernel/qcoreapplication.cpp:988
#20 0x00007f740cdb3e8f in QCoreApplication::sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#21 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x2113370, event=event@entry=0x7ffcac71b6d0, alienWidget=alienWidget@entry=0x2113370, nativeWidget=0x1eb9a50, buttonDown=buttonDown@entry=0x7f740d2b0c80 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2771
#22 0x00007f740ce0e236 in QWidgetWindow::handleMouseEvent (this=this@entry=0x1f5d840, event=event@entry=0x7ffcac71bae0) at kernel/qwidgetwindow.cpp:617
#23 0x00007f740ce10c83 in QWidgetWindow::event (this=0x1f5d840, event=0x7ffcac71bae0) at kernel/qwidgetwindow.cpp:239
#24 0x00007f740cdacecc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x1f5d840, e=0x7ffcac71bae0) at kernel/qapplication.cpp:3799
#25 0x00007f740cdb48c6 in QApplication::notify (this=0x1e327e0, receiver=0x1f5d840, e=0x7ffcac71bae0) at kernel/qapplication.cpp:3556
#26 0x00007f740c22f0c8 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x1f5d840, event=event@entry=0x7ffcac71bae0) at kernel/qcoreapplication.cpp:988
#27 0x00007f740c80a5a0 in QCoreApplication::sendSpontaneousEvent (event=0x7ffcac71bae0, receiver=0x1f5d840) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#28 QGuiApplicationPrivate::processMouseEvent (e=0x2591180) at kernel/qguiapplication.cpp:1903
#29 0x00007f740c80c4a5 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x2591180) at kernel/qguiapplication.cpp:1687
#30 0x00007f740c7ea32b in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:659
#31 0x00007f73fe8cd270 in userEventSourceDispatch (source=<optimized out>) at eventdispatchers/qeventdispatcher_glib.cpp:76
#32 0x00007f74069cd197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f74069cd3f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f74069cd49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f740c28273f in QEventDispatcherGlib::processEvents (this=0x1ea02c0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#36 0x00007f740c22d0ba in QEventLoop::exec (this=this@entry=0x7ffcac71be80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#37 0x00007f740c2356cc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1261
#38 0x00007f740c80224c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1633
#39 0x00007f740cdace25 in QApplication::exec () at kernel/qapplication.cpp:2975
#40 0x00007f740f9ab4a7 in kdemain (argc=1, argv=<optimized out>) at /workspace/build/src/main.cpp:186
#41 0x00007f740f5d3830 in __libc_start_main (main=0x4006b0 <main(int, char**)>, argc=1, argv=0x7ffcac71c188, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffcac71c178) at ../csu/libc-start.c:291
#42 0x00000000004006e9 in _start ()

Reported using DrKonqi
Comment 1 Tony 2017-05-13 23:27:32 UTC
It happens every time.
Comment 2 rооt 2017-05-15 08:29:05 UTC
Created attachment 105546 [details]
New crash information added by DrKonqi

konsole (17.07.70) using Qt 5.7.1

I had 2 tabs on a konsole window.
When i right clicked on first tab crash happen.

-- Backtrace (Reduced):
#6  QWidget::actions (this=this@entry=0x0) at kernel/qwidget.cpp:3387
#7  0x00007fe7d233f96f in QMenu::clear (this=0x0) at widgets/qmenu.cpp:2060
#8  0x00007fe7d491f239 in Konsole::SessionController::updateWebSearchMenu (this=this@entry=0x562fd55e3730) at ./src/SessionController.cpp:380
#9  0x00007fe7d49259bb in Konsole::SessionController::showDisplayContextMenu (this=0x562fd55e3730, position=...) at ./src/SessionController.cpp:1544
#10 0x00007fe7d129081e in QtPrivate::QSlotObjectBase::call (a=0x7ffdfbb830a0, r=0x562fd55e3730, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
Comment 3 Christoph Feck 2017-05-15 22:53:47 UTC
*** Bug 379850 has been marked as a duplicate of this bug. ***
Comment 4 Christoph Feck 2017-05-17 11:30:40 UTC
Regression in kxmlgui.

Could you check if https://phabricator.kde.org/D5900 fixes the crash?
Comment 5 rооt 2017-05-17 12:01:40 UTC
(In reply to Christoph Feck from comment #4)
> Regression in kxmlgui.
> 
> Could you check if https://phabricator.kde.org/D5900 fixes the crash?

Kubuntu 17.10 + KCI just updated, now no problem.
Comment 6 Marco Martin 2017-05-17 12:14:42 UTC
fixed by 4690808e65f1abda5e779620672da14c830aaa89 in kxmlgui