Bug 439633

Summary: Segfault on launch (looks tab related)
Product: [Applications] konsole Reporter: Martin Sandsmark <martin.sandsmark>
Component: tabbarAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Martin Sandsmark 2021-07-08 09:34:12 UTC
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.)
Comment 1 Martin Sandsmark 2021-07-08 09:47:17 UTC
Introduced by 2c1a4113e1f3b728a377f9288518fd214fc47d24
Comment 2 Kurt Hindenburg 2024-03-23 04:14:21 UTC
let us know if this is still an issue
Comment 3 Bug Janitor Service 2024-04-07 03:47:13 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2024-04-22 03:47:27 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!