[konsole] [Bug 393512] New: SEGFAULT on context menu display

Alexander Trufanov bugzilla_noreply at kde.org
Wed Apr 25 16:09:22 UTC 2018


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

            Bug ID: 393512
           Summary: SEGFAULT on context menu display
           Product: konsole
           Version: unspecified
          Platform: Kubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: konsole-devel at kde.org
          Reporter: trufanovan at gmail.com
  Target Milestone: ---

I've broke my keyboard and a few days was forced to use context menu commands
to copy/paste text in Konsole app instead of Ctrl+Shift+C/V hotkeys that I used
to. And, unfortunately, I'm faced with annoying Konsole app crashes.

Launch Konsole, make sure it's not maximized. Launch some commands in it to get
output that can't be displayed on single screen. Now you have vertical scroll
bar in your window. Scroll it back to the top. Select some text with mouse then
press right mouse button to get a context menu. The app will crash before
context menu is displayed with SEGFAULT message.

System info:

$ konsole -v
konsole 17.07.70
$ uname -a
Linux t-laptop 4.13.0-22-generic #25-Ubuntu SMP Tue Dec 19 11:13:36 UTC 2017
x86_64 x86_64 x86_64 GNU/Linux
$ sudo dpkg -l 'libkf5kiowidgets5'
ii  libkf5kiowidgets5:amd64             5.44.0-0ubuntu1~ubuntu amd64



The gdb backtrace output is:
[code]
(gdb) continue
Continuing.

Thread 1 "konsole" received signal SIGSEGV, Segmentation fault.
0x00007fca1d102682 in int QAtomicOps<int>::load<int>(std::atomic<int> const&)
() from /usr/local/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
(gdb) backtrace
#0  0x00007fca1d102682 in int QAtomicOps<int>::load<int>(std::atomic<int>
const&) () from /usr/local/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#1  0x00007fca1d10122e in QBasicAtomicInteger<int>::load() const () from
/usr/local/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#2  0x00007fca1d10013c in QtPrivate::RefCount::ref() () from
/usr/local/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#3  0x00007fca1d100667 in QString::QString(QString const&) () from
/usr/local/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#4  0x00007fca1d180c8d in KUriFilterSearchProvider::name() const () from
/usr/local/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#5  0x00007fca1d181d0b in KUriFilterPlugin::setSearchProviders(KUriFilterData&,
QList<KUriFilterSearchProvider*> const&) const ()
   from /usr/local/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#6  0x00007fc9f5829e20 in ?? () from
/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/urifilters/kuriikwsfilter.so
#7  0x00007fca1d18214d in KUriFilter::filterUri(KUriFilterData&, QStringList
const&) () from /usr/local/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#8  0x00007fca1d182666 in KUriFilter::filterSearchUri(KUriFilterData&,
QFlags<KUriFilter::SearchFilterType>) ()
   from /usr/local/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#9  0x00007fca1dc41bc7 in Konsole::SessionController::updateWebSearchMenu() ()
from /usr/local/lib/x86_64-linux-gnu/libkonsoleprivate.so.17
#10 0x00007fca1dc498a6 in
Konsole::SessionController::showDisplayContextMenu(QPoint const&) () from
/usr/local/lib/x86_64-linux-gnu/libkonsoleprivate.so.17
#11 0x00007fca1dc5410e in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>,
QtPrivate::List<QPoint const&>, void, void
(Konsole::SessionController::*)(QPoint const&)>::call(void
(Konsole::SessionController::*)(QPoint const&), Konsole::SessionController*,
void**) () from /usr/local/lib/x86_64-linux-gnu/libkonsoleprivate.so.17
#12 0x00007fca1dc53322 in void QtPrivate::FunctionPointer<void
(Konsole::SessionController::*)(QPoint const&)>::call<QtPrivate::List<QPoint
const&>, void>(void (Konsole::SessionController::*)(QPoint const&),
Konsole::SessionController*, void**) () from
/usr/local/lib/x86_64-linux-gnu/libkonsoleprivate.so.17
#13 0x00007fca1dc5154f in QtPrivate::QSlotObject<void
(Konsole::SessionController::*)(QPoint const&), QtPrivate::List<QPoint const&>,
void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) () from
/usr/local/lib/x86_64-linux-gnu/libkonsoleprivate.so.17
#14 0x00007fca1a35e9ff in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007fca1dca2356 in Konsole::TerminalDisplay::configureRequest(QPoint
const&) () from /usr/local/lib/x86_64-linux-gnu/libkonsoleprivate.so.17
#16 0x00007fca1dc675f3 in
Konsole::TerminalDisplay::mousePressEvent(QMouseEvent*) () from
/usr/local/lib/x86_64-linux-gnu/libkonsoleprivate.so.17
#17 0x00007fca1b3a171f in QWidget::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007fca1dc6c9f2 in Konsole::TerminalDisplay::event(QEvent*) () from
/usr/local/lib/x86_64-linux-gnu/libkonsoleprivate.so.17
#19 0x00007fca1b36046c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007fca1b36828f in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007fca1a32fde8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007fca1b367262 in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007fca1b3bb94b in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007fca1b3bdfba in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007fca1b36046c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007fca1b367d34 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007fca1a32fde8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007fca1aba4f43 in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#29 0x00007fca1aba6a25 in
QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
()
   from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
---Type <return> to continue, or q <return> to quit---q
Quit
[/code]

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list