Bug 440512 - Konsole segfaults in Konsole::TabbedViewContainer::activeViewChanged() when closing a tab (also KWin repeatedly crashes)
Summary: Konsole segfaults in Konsole::TabbedViewContainer::activeViewChanged() when c...
Status: RESOLVED DUPLICATE of bug 411962
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 20.04.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-08-02 01:36 UTC by Nathan Mills
Modified: 2022-06-10 23:05 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Mills 2021-08-02 01:36:21 UTC
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@entry=0, argv=argv@entry=0x7ffc8989d650) at kernel/qobject.cpp:3784
#13 0x00007f41986f65c7 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f4199c32960 <QTabWidget::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@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@entry=0x55bdd1881020, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc8989d7d0) at kernel/qobject.cpp:3804
#17 0x00007f41986f65c7 in QMetaObject::activate (sender=sender@entry=0x55bdd1881020, m=m@entry=0x7f4199c313e0 <QTabBar::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc8989d7d0) at kernel/qobject.cpp:3657
#18 0x00007f41996f28ce in QTabBar::currentChanged (this=this@entry=0x55bdd1881020, _t1=<optimized out>, _t1@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@entry=0x55bdd1881020, event=event@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@entry=0x55bdd1753ac0, receiver=receiver@entry=0x55bdd1881020, e=e@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@entry=0x55bdd1881020, event=event@entry=0x7ffc8989dec0) at kernel/qcoreapplication.cpp:1488
#28 0x00007f4199552a7f in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x55bdd1881020, event=event@entry=0x7ffc8989dec0, alienWidget=0x55bdd1881020, nativeWidget=0x55bdd182a6b0, buttonDown=buttonDown@entry=0x7f4199c573f0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2647
#29 0x00007f41995a6f81 in QWidgetWindow::handleMouseEvent (this=this@entry=0x55bdd18a5080, event=event@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@entry=0x55bdd1753ac0, receiver=receiver@entry=0x55bdd18a5080, e=e@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@entry=0x55bdd18a5080, event=event@entry=0x7ffc8989e350) at kernel/qcoreapplication.cpp:1488
#35 0x00007f4198ccd4e5 in QGuiApplicationPrivate::processMouseEvent (e=e@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@entry=0x55bdd1bf3230) at kernel/qguiapplication.cpp:1842
#38 0x00007f4198ca82bb in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@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@entry=0x7ffc8989e910, flags=..., flags@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
Comment 1 Nate Graham 2021-08-02 18:34:42 UTC
The system seems to be completely fucked (that's a technical term), based on your description of all the other things that are going on. I would strongly suspect a configuration/packaging issue with the OS image itself.
Comment 2 Nate Graham 2021-08-02 18:37:53 UTC

*** This bug has been marked as a duplicate of bug 411962 ***