[konsole] [Bug 440512] New: Konsole segfaults when closing a tab (also KWin repeatedly crashes)

Nathan Mills bugzilla_noreply at kde.org
Mon Aug 2 02:36:21 BST 2021


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

            Bug ID: 440512
           Summary: Konsole segfaults when closing a tab (also KWin
                    repeatedly crashes)
           Product: konsole
           Version: 20.04.2
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: konsole-devel at kde.org
          Reporter: the.true.nathan.mills at gmail.com
  Target Milestone: ---

Application: konsole (20.04.2)

Qt Version: 5.12.7
Frameworks Version: 5.76.0
Operating System: Linux 5.3.18-57-default x86_64
Windowing system: X11
Distribution: "openSUSE Leap 15.3"

-- Information about the crash:
- What I was doing when the application crashed:
I had two tabs open in Konsole. In the second one I was running `sudo
/media/cdrom/VBoxLinuxAdditions.run` and I clicked the X on the first tab and
then Konsole segfaulted.

- Unusual behavior I noticed:
KWin keeps crashing over and over and it popped up a window saying "KWin is
unstable. It seems to have crashed several times in a row. You can select
another window manager to run:" with a dropdown that had the options fvwm2 or
kwin_x11. Also, pressing Alt Tab when in Konsole just shows a message "Display
all 526 possibilities (y or n)" and doesn't switch between windows. If I run
ksplashqml, krunner, or kwin_x11 they crash with signal: illegal instruction
(4) in a function '?? ()' somewhere inside libLLVM.so.11. I even installed the
libLLVM debuginfo and the function is shown as '?? ()'

Also, the taskbar is missing and there is no desktop background or icons, the
background is solid black.

openSUSE 15.3 + KDE VirtualBox image from osboxes.org

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault
[KCrash Handler]
#4  QWidget::testAttribute (attribute=<optimized out>, this=<optimized out>) at
kernel/qwidget.h:868
#5  QWidget::isEnabled (this=0x0) at kernel/qwidget.h:767
#6  QWidget::setFocus (this=0x0, reason=Qt::OtherFocusReason) at
kernel/qwidget.cpp:6516
#7  0x00007f41986f5fcf in QtPrivate::QSlotObjectBase::call (a=0x7ffc8989d4f0,
r=0x55bdd187f9e0, this=0x55bdd188f4f0) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#8  QMetaObject::activate (sender=0x55bdd1875e60, signalOffset=<optimized out>,
local_signal_index=<optimized out>, argv=<optimized out>) at
kernel/qobject.cpp:3784
#9  0x00007f419bcf2912 in
Konsole::TabbedViewContainer::activeViewChanged(Konsole::TerminalDisplay*) ()
from /usr/lib64/libkonsoleprivate.so.20
#10 0x00007f419bd97e47 in Konsole::TabbedViewContainer::currentTabChanged(int)
() from /usr/lib64/libkonsoleprivate.so.20
#11 0x00007f41986f5fcf in QtPrivate::QSlotObjectBase::call (a=0x7ffc8989d650,
r=0x55bdd1875e60, this=0x55bdd18813a0) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#12 QMetaObject::activate (sender=0x55bdd1875e60, signalOffset=<optimized out>,
local_signal_index=local_signal_index at entry=0, argv=argv at entry=0x7ffc8989d650)
at kernel/qobject.cpp:3784
#13 0x00007f41986f65c7 in QMetaObject::activate (sender=<optimized out>,
m=m at entry=0x7f4199c32960 <QTabWidget::staticMetaObject>,
local_signal_index=local_signal_index at entry=0, argv=argv at entry=0x7ffc8989d650)
at kernel/qobject.cpp:3657
#14 0x00007f419971136e in QTabWidget::currentChanged (this=<optimized out>,
_t1=<optimized out>) at .moc/moc_qtabwidget.cpp:325
#15 0x00007f41997137b7 in QTabWidget::qt_static_metacall (_o=<optimized out>,
_c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at
.moc/moc_qtabwidget.cpp:176
#16 0x00007f41986f5eb5 in QMetaObject::activate
(sender=sender at entry=0x55bdd1881020, signalOffset=<optimized out>,
local_signal_index=local_signal_index at entry=0, argv=argv at entry=0x7ffc8989d7d0)
at kernel/qobject.cpp:3804
#17 0x00007f41986f65c7 in QMetaObject::activate
(sender=sender at entry=0x55bdd1881020, m=m at entry=0x7f4199c313e0
<QTabBar::staticMetaObject>, local_signal_index=local_signal_index at entry=0,
argv=argv at entry=0x7ffc8989d7d0) at kernel/qobject.cpp:3657
#18 0x00007f41996f28ce in QTabBar::currentChanged
(this=this at entry=0x55bdd1881020, _t1=<optimized out>, _t1 at entry=0) at
.moc/moc_qtabbar.cpp:337
#19 0x00007f41996f6ecd in QTabBar::setCurrentIndex (this=0x55bdd1881020,
index=0) at widgets/qtabbar.cpp:1383
#20 0x00007f41996f94dd in QTabBar::mousePressEvent (this=0x55bdd1881020,
event=0x7ffc8989dec0) at widgets/qtabbar.cpp:1986
#21 0x00007f419bd24d70 in
Konsole::DetachableTabBar::mousePressEvent(QMouseEvent*) () from
/usr/lib64/libkonsoleprivate.so.20
#22 0x00007f419958cc0f in QWidget::event (this=this at entry=0x55bdd1881020,
event=event at entry=0x7ffc8989dec0) at kernel/qwidget.cpp:8959
#23 0x00007f41996f7a4b in QTabBar::event (this=0x55bdd1881020,
event=0x7ffc8989dec0) at widgets/qtabbar.cpp:1708
#24 0x00007f419954bf9c in QApplicationPrivate::notify_helper
(this=this at entry=0x55bdd1753ac0, receiver=receiver at entry=0x55bdd1881020,
e=e at entry=0x7ffc8989dec0) at kernel/qapplication.cpp:3701
#25 0x00007f4199554488 in QApplication::notify (this=<optimized out>,
receiver=0x55bdd1881020, e=0x7ffc8989dec0) at kernel/qapplication.cpp:3161
#26 0x00007f41986c63a8 in QCoreApplication::notifyInternal2
(receiver=0x55bdd1881020, event=0x7ffc8989dec0) at
kernel/qcoreapplication.cpp:1088
#27 0x00007f41986c658e in QCoreApplication::sendSpontaneousEvent
(receiver=receiver at entry=0x55bdd1881020, event=event at entry=0x7ffc8989dec0) at
kernel/qcoreapplication.cpp:1488
#28 0x00007f4199552a7f in QApplicationPrivate::sendMouseEvent
(receiver=receiver at entry=0x55bdd1881020, event=event at entry=0x7ffc8989dec0,
alienWidget=0x55bdd1881020, nativeWidget=0x55bdd182a6b0,
buttonDown=buttonDown at entry=0x7f4199c573f0 <qt_button_down>,
lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at
kernel/qapplication.cpp:2647
#29 0x00007f41995a6f81 in QWidgetWindow::handleMouseEvent
(this=this at entry=0x55bdd18a5080, event=event at entry=0x7ffc8989e350) at
kernel/qwidgetwindow.cpp:670
#30 0x00007f41995a9dda in QWidgetWindow::event (this=0x55bdd18a5080,
event=0x7ffc8989e350) at kernel/qwidgetwindow.cpp:289
#31 0x00007f419954bf9c in QApplicationPrivate::notify_helper
(this=this at entry=0x55bdd1753ac0, receiver=receiver at entry=0x55bdd18a5080,
e=e at entry=0x7ffc8989e350) at kernel/qapplication.cpp:3701
#32 0x00007f41995535b0 in QApplication::notify (this=0x55bdd1752a20,
receiver=0x55bdd18a5080, e=0x7ffc8989e350) at kernel/qapplication.cpp:3447
#33 0x00007f41986c63a8 in QCoreApplication::notifyInternal2
(receiver=0x55bdd18a5080, event=0x7ffc8989e350) at
kernel/qcoreapplication.cpp:1088
#34 0x00007f41986c658e in QCoreApplication::sendSpontaneousEvent
(receiver=receiver at entry=0x55bdd18a5080, event=event at entry=0x7ffc8989e350) at
kernel/qcoreapplication.cpp:1488
#35 0x00007f4198ccd4e5 in QGuiApplicationPrivate::processMouseEvent
(e=e at entry=0x55bdd1bf3230) at kernel/qguiapplication.cpp:2107
#36 0x00007f4198ccd34c in QGuiApplicationPrivate::processMouseEvent
(e=0x55bdd1bf3230) at kernel/qguiapplication.cpp:1988
#37 0x00007f4198cce835 in QGuiApplicationPrivate::processWindowSystemEvent
(e=e at entry=0x55bdd1bf3230) at kernel/qguiapplication.cpp:1842
#38 0x00007f4198ca82bb in QWindowSystemInterface::sendWindowSystemEvents
(flags=flags at entry=...) at kernel/qwindowsysteminterface.cpp:1151
#39 0x00007f418a7bf25a in xcbSourceDispatch (source=<optimized out>) at
qxcbeventdispatcher.cpp:105
#40 0x00007f4191482694 in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#41 0x00007f4191482a30 in ?? () from /usr/lib64/libglib-2.0.so.0
#42 0x00007f4191482abc in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#43 0x00007f419872342f in QEventDispatcherGlib::processEvents
(this=0x55bdd175bc30, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#44 0x00007f41986c45fa in QEventLoop::exec (this=this at entry=0x7ffc8989e910,
flags=..., flags at entry=...) at kernel/qeventloop.cpp:225
#45 0x00007f41986cd800 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1389
#46 0x00007f419c4049ea in kdemain () from /usr/lib64/libkdeinit5_konsole.so
#47 0x00007f419c02334d in __libc_start_main () from /lib64/libc.so.6
#48 0x000055bdd140378a in _start ()
[Inferior 1 (process 10872) detached]

The reporter indicates this bug may be a duplicate of or related to bug 429486.

Possible duplicates by query: bug 434194, bug 431827, bug 429486, bug 425775,
bug 424342.

Reported using DrKonqi

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


More information about the konsole-devel mailing list