[konsole] [Bug 446830] Konsole crashes when splitting a window

Bernie Innocenti bugzilla_noreply at kde.org
Wed Dec 22 05:57:55 GMT 2021


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

Bernie Innocenti <bernie at codewiz.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bernie at codewiz.org
             Status|REPORTED                    |CONFIRMED
     Ever confirmed|0                           |1

--- Comment #1 from Bernie Innocenti <bernie at codewiz.org> ---
I was able to reproduce this with konsole built from git master:

(gdb) r
Starting program: /home/bernie/kde/usr/bin/konsole 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffefefc640 (LWP 226434)]
QIBusPlatformInputContext: invalid portal bus.
QSocketNotifier: Can only be used with threads started with QThread
[New Thread 0x7fffe17d1640 (LWP 226436)]
[New Thread 0x7fffe0fd0640 (LWP 226437)]
[New Thread 0x7fffdbfff640 (LWP 226438)]
[New Thread 0x7fffdb7fe640 (LWP 226439)]
[New Thread 0x7fffdaffd640 (LWP 226440)]
[New Thread 0x7fffda7fc640 (LWP 226441)]
[New Thread 0x7fffd9ffb640 (LWP 226442)]
[New Thread 0x7fffd97fa640 (LWP 226443)]
[New Thread 0x7fffd8ff9640 (LWP 226444)]
[Detaching after fork from child process 226445]
[New Thread 0x7fffabc95640 (LWP 226467)]
[Detaching after fork from child process 226468]
[Detaching after fork from child process 226470]
[Detaching after fork from child process 226472]
[Detaching after fork from child process 226474]
[Detaching after fork from child process 226476]
[Detaching after fork from child process 226478]
QIBusPlatformInputContext: invalid portal bus.
QSocketNotifier: Can only be used with threads started with QThread
[Detaching after fork from child process 226492]
[Detaching after fork from child process 226494]
[Detaching after fork from child process 226496]
[Detaching after fork from child process 226499]
[Detaching after fork from child process 226501]
[Detaching after fork from child process 226544]
[Detaching after fork from child process 226545]
qt.qpa.wayland: setGrabPopup called with a parent,
QtWaylandClient::QWaylandXdgSurface(0x555555c37360) which does not match the
current topmost grabbing popup,
QtWaylandClient::QWaylandXdgSurface(0x555556289160) According to the xdg-shell
protocol, this is not allowed. The wayland QPA plugin is currently handling it
by setting the parent to the topmost grabbing popup. Note, however, that this
may cause positioning errors and popups closing unxpectedly because xdg-shell
mandate that child popups close before parents
ASSERT: "currentSessionId >= 0" in file
/home/bernie/kde/src/konsole/src/ViewManager.cpp, line 603

Thread 1 "konsole" received signal SIGABRT, Aborted.
0x00007ffff4bd9d22 in raise () from /usr/lib/libc.so.6
(gdb) bt
#0  0x00007ffff4bd9d22 in raise () from /usr/lib/libc.so.6
#1  0x00007ffff4bc3862 in abort () from /usr/lib/libc.so.6
#2  0x00007ffff516e910 in QMessageLogger::fatal(char const*, ...) const () from
/usr/lib/libQt5Core.so.5
#3  0x00007ffff516dcf5 in qt_assert(char const*, char const*, int) () from
/usr/lib/libQt5Core.so.5
#4  0x00007ffff7d2a7ef in Konsole::ViewManager::splitView (this=0x555555827c20,
orientation=Qt::Horizontal)
    at /home/bernie/kde/src/konsole/src/ViewManager.cpp:603
#5  0x00007ffff7d2a77b in Konsole::ViewManager::splitLeftRight
(this=0x555555827c20) at /home/bernie/kde/src/konsole/src/ViewManager.cpp:591
#6  0x00007ffff7d38176 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>,
QtPrivate::List<>, void, void (Konsole::ViewManager::*)()>::call(void
(Konsole::ViewManager::*)(), Konsole::ViewManager*, void**) (
    f=(void (Konsole::ViewManager::*)(Konsole::ViewManager * const))
0x7ffff7d2a75e <Konsole::ViewManager::splitLeftRight()>, o=0x555555827c20, 
    arg=0x7fffffffc8b0) at /usr/include/qt/QtCore/qobjectdefs_impl.h:152
#7  0x00007ffff7d375c0 in QtPrivate::FunctionPointer<void
(Konsole::ViewManager::*)()>::call<QtPrivate::List<>, void>(void
(Konsole::ViewManager::*)(), Konsole::ViewManager*, void**) (f=(void
(Konsole::ViewManager::*)(Konsole::ViewManager * const)) 0x7ffff7d2a75e
<Konsole::ViewManager::splitLeftRight()>, 
    o=0x555555827c20, arg=0x7fffffffc8b0) at
/usr/include/qt/QtCore/qobjectdefs_impl.h:185
#8  0x00007ffff7d3617d in QtPrivate::QSlotObject<void
(Konsole::ViewManager::*)(), QtPrivate::List<>, void>::impl(int,
QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1,
this_=0x555555831810, r=0x555555827c20, a=0x7fffffffc8b0, ret=0x0) at
/usr/include/qt/QtCore/qobjectdefs_impl.h:418
#9  0x00007ffff53ce7cb in ?? () from /usr/lib/libQt5Core.so.5
#10 0x00007ffff60a4203 in QAction::triggered(bool) () from
/usr/lib/libQt5Widgets.so.5
#11 0x00007ffff60a6f18 in QAction::activate(QAction::ActionEvent) () from
/usr/lib/libQt5Widgets.so.5
#12 0x00007ffff6234103 in ?? () from /usr/lib/libQt5Widgets.so.5
#13 0x00007ffff623be39 in ?? () from /usr/lib/libQt5Widgets.so.5
#14 0x00007ffff60ee0be in QWidget::event(QEvent*) () from
/usr/lib/libQt5Widgets.so.5
#15 0x00007ffff60aad62 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/libQt5Widgets.so.5
#16 0x00007ffff60b2ac9 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/libQt5Widgets.so.5
#17 0x00007ffff539741a in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/libQt5Core.so.5
#18 0x00007ffff60b157b in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) ()
   from /usr/lib/libQt5Widgets.so.5
#19 0x00007ffff6108593 in ?? () from /usr/lib/libQt5Widgets.so.5
#20 0x00007ffff610adb5 in ?? () from /usr/lib/libQt5Widgets.so.5
#21 0x00007ffff60aad62 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/libQt5Widgets.so.5
#22 0x00007ffff539741a in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/libQt5Core.so.5
#23 0x00007ffff586c1f0 in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
() from /usr/lib/libQt5Gui.so.5
#24 0x00007ffff58417d5 in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib/libQt5Gui.so.5
#25 0x00007ffff3d581e1 in ?? () from /usr/lib/libQt5WaylandClient.so.5
#26 0x00007ffff2d2b52c in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#27 0x00007ffff2d7f7b9 in ?? () from /usr/lib/libglib-2.0.so.0
#28 0x00007ffff2d28c11 in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#29 0x00007ffff53f0046 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQt5Core.so.5
#30 0x00007ffff5395d8c in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQt5Core.so.5
#31 0x00007ffff539e2f4 in QCoreApplication::exec() () from
/usr/lib/libQt5Core.so.5
#32 0x000055555555a98b in main (argc=1, argv=0x7fffffffd7b8) at
/home/bernie/kde/src/konsole/src/main.cpp:242

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


More information about the konsole-devel mailing list