[konsole] [Bug 439633] New: Segfault on launch (looks tab related)

Martin Sandsmark bugzilla_noreply at kde.org
Thu Jul 8 10:34:12 BST 2021


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

            Bug ID: 439633
           Summary: Segfault on launch (looks tab related)
           Product: konsole
           Version: master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: tabbar
          Assignee: konsole-devel at kde.org
          Reporter: martin.sandsmark at kde.org
  Target Milestone: ---

Just built master and tried to launch:

0x00007ffff7d68103 in Konsole::SessionController::view (this=0x0) at
../src/session/SessionController.h:97
97              return _sessionDisplayConnection->view();
(gdb) bt
#0  0x00007ffff7d68103 in Konsole::SessionController::view (this=0x0) at
../src/session/SessionController.h:97
#1  0x00007ffff7e8ead7 in Konsole::TabbedViewContainer::updateTitle
(this=0x5555559aa0c0, item=0x0)
    at ../src/widgets/ViewContainer.cpp:518
#2  0x00007ffff7e8f6d2 in
Konsole::TabbedViewContainer::currentSessionControllerChanged
(this=0x5555559aa0c0, 
    controller=0x555555ac7d00) at ../src/widgets/ViewContainer.cpp:648
#3  0x00007ffff7e93709 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>,
QtPrivate::List<Konsole::SessionController*>, void, void
(Konsole::TabbedViewContainer::*)(Konsole::SessionController*)>::call (f=
    (void (Konsole::TabbedViewContainer::*)(Konsole::TabbedViewContainer *
const, Konsole::SessionController *)) 0x7ffff7e8f5f4
<Konsole::TabbedViewContainer::currentSessionControllerChanged(Konsole::SessionController*)>,
o=0x5555559aa0c0, arg=0x7fffffffd390)
    at /usr/include/qt/QtCore/qobjectdefs_impl.h:152
#4  0x00007ffff7e93086 in QtPrivate::FunctionPointer<void
(Konsole::TabbedViewContainer::*)(Konsole::SessionController*)>::call<QtPrivate::List<Konsole::SessionController*>,
void> (f=
    (void (Konsole::TabbedViewContainer::*)(Konsole::TabbedViewContainer *
const, Konsole::SessionController *)) 0x7ffff7e8f5f4
<Konsole::TabbedViewContainer::currentSessionControllerChanged(Konsole::SessionController*)>,
o=0x5555559aa0c0, arg=0x7fffffffd390)
    at /usr/include/qt/QtCore/qobjectdefs_impl.h:185
#5  0x00007ffff7e92ac5 in QtPrivate::QSlotObject<void
(Konsole::TabbedViewContainer::*)(Konsole::SessionController*),
QtPrivate::List<Konsole::SessionController*>, void>::impl (which=1,
this_=0x555555b6a050, r=0x5555559aa0c0, a=0x7fffffffd390, ret=0x0)
    at /usr/include/qt/QtCore/qobjectdefs_impl.h:418
#6  0x00007ffff5c0f75b in ?? () from /usr/lib/libQt5Core.so.5
#7  0x000055555566bdec in Konsole::SessionController::viewFocused
(this=0x555555ac7d00, _t1=0x555555ac7d00)
    at
src/session/konsolesession_autogen/EWIEGA46WW/moc_SessionController.cpp:536
#8  0x000055555567e864 in Konsole::SessionController::viewFocusChangeHandler
(this=0x555555ac7d00, focused=true)
    at ../src/session/SessionController.cpp:290
#9  0x00005555555ef8e8 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>,
QtPrivate::List<bool>, void, void (Konsole::SessionController::*)(bool)>::call
(f=
    (void (Konsole::SessionController::*)(Konsole::SessionController * const,
bool)) 0x55555567e81e
<Konsole::SessionController::viewFocusChangeHandler(bool)>, o=0x555555ac7d00,
arg=0x7fffffffd600) at /usr/include/qt/QtCore/qobjectdefs_impl.h:152
#10 0x00005555555eed33 in QtPrivate::FunctionPointer<void
(Konsole::SessionController::*)(bool)>::call<QtPrivate::List<bool>, void> (f=
    (void (Konsole::SessionController::*)(Konsole::SessionController * const,
bool)) 0x55555567e81e
<Konsole::SessionController::viewFocusChangeHandler(bool)>, o=0x555555ac7d00,
arg=0x7fffffffd600) at /usr/include/qt/QtCore/qobjectdefs_impl.h:185
#11 0x00005555555edd79 in QtPrivate::QSlotObject<void
(Konsole::SessionController::*)(bool), QtPrivate::List<bool>, void>::impl (
    which=1, this_=0x5555559dd180, r=0x555555ac7d00, a=0x7fffffffd600, ret=0x0)
at /usr/include/qt/QtCore/qobjectdefs_impl.h:418
#12 0x00007ffff5c0f75b in ?? () from /usr/lib/libQt5Core.so.5
#13 0x00007ffff7ddaa89 in Konsole::TerminalDisplay::compositeFocusChanged
(this=0x555555ab0fc0, _t1=true)
    at src/konsoleprivate_autogen/DRAQINE3W2/moc_TerminalDisplay.cpp:601
#14 0x00007ffff7d9924d in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>,
QtPrivate::List<bool>, void, void (Konsole::TerminalDisplay::*)(bool)>::call
(f=
    (void (Konsole::TerminalDisplay::*)(Konsole::TerminalDisplay * const,
bool)) 0x7ffff7ddaa2a <Konsole::TerminalDisplay::compositeFocusChanged(bool)>,
o=0x555555ab0fc0, arg=0x7fffffffd7d0) at
/usr/include/qt/QtCore/qobjectdefs_impl.h:152
#15 0x00007ffff7d97f8f in QtPrivate::FunctionPointer<void
(Konsole::TerminalDisplay::*)(bool)>::call<QtPrivate::List<bool>, void>
    (f=
    (void (Konsole::TerminalDisplay::*)(Konsole::TerminalDisplay * const,
bool)) 0x7ffff7ddaa2a <Konsole::TerminalDisplay::compositeFocusChanged(bool)>,
o=0x555555ab0fc0, arg=0x7fffffffd7d0) at
/usr/include/qt/QtCore/qobjectdefs_impl.h:185
#16 0x00007ffff7d9715b in QtPrivate::QSlotObject<void
(Konsole::TerminalDisplay::*)(bool), QtPrivate::List<bool>, void>::impl (
    which=1, this_=0x555555ad52f0, r=0x555555ab0fc0, a=0x7fffffffd7d0, ret=0x0)
at /usr/include/qt/QtCore/qobjectdefs_impl.h:418
#17 0x00007ffff5c0f75b in ?? () from /usr/lib/libQt5Core.so.5
#18 0x00007ffff7ddb573 in
Konsole::CompositeWidgetFocusWatcher::compositeFocusChanged
(this=0x555555ae3330, _t1=true)
    at
src/konsoleprivate_autogen/U6X5NA7TNB/moc_CompositeWidgetFocusWatcher.cpp:133
#19 0x00007ffff7e6722d in Konsole::CompositeWidgetFocusWatcher::eventFilter
(this=0x555555ae3330, watched=0x555555ab0fc0, 
    event=0x7fffffffd970) at
../src/terminalDisplay/extras/CompositeWidgetFocusWatcher.cpp:31
#20 0x00007ffff5bd8102 in
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
   from /usr/lib/libQt5Core.so.5
#21 0x00007ffff6755d51 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/libQt5Widgets.so.5
#22 0x00007ffff5bd83aa in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/libQt5Core.so.5
#23 0x00007ffff675a2dc in QApplicationPrivate::setFocusWidget(QWidget*,
Qt::FocusReason) () from /usr/lib/libQt5Widgets.so.5
#24 0x00007ffff6792c4f in QWidget::setFocus(Qt::FocusReason) () from
/usr/lib/libQt5Widgets.so.5
#25 0x00007ffff675a7ea in QApplication::setActiveWindow(QWidget*) () from
/usr/lib/libQt5Widgets.so.5
#26 0x00007ffff675a85c in
QApplicationPrivate::notifyActiveWindowChange(QWindow*) () from
/usr/lib/libQt5Widgets.so.5
#27 0x00007ffff605659d in
QGuiApplicationPrivate::processActivatedEvent(QWindowSystemInterfacePrivate::ActivatedWindowEvent*)
()
   from /usr/lib/libQt5Gui.so.5
#28 0x00007ffff602f7e5 in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
()
   from /usr/lib/libQt5Gui.so.5
#29 0x00007ffff0b70396 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#30 0x00007ffff5bd6d1c in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQt5Core.so.5
#31 0x00007ffff5bdf284 in QCoreApplication::exec() () from
/usr/lib/libQt5Core.so.5
#32 0x000055555559ec64 in main (argc=1, argv=0x7fffffffdf88) at
../src/main.cpp:220


(There also seems to be some issues with reflowing causing the backtrace to
look weird, but the locations in the stack should be understandable.)

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


More information about the konsole-devel mailing list