[konsole] [Bug 497633] New: Dragging a tab on a 'Configure - Konsole' window crashes with a 'invalid nullptr' exception

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Wed Dec 18 01:32:40 GMT 2024


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

            Bug ID: 497633
           Summary: Dragging a tab on a 'Configure - Konsole' window
                    crashes with a 'invalid nullptr' exception
    Classification: Applications
           Product: konsole
           Version: 24.12.0
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: tabbar
          Assignee: konsole-devel at kde.org
          Reporter: Bowarc at proton.me
  Target Milestone: ---

Created attachment 176736
  --> https://bugs.kde.org/attachment.cgi?id=176736&action=edit
Quick video showing the crash in gdb

Im a new Linux user so if i did something wrong please tell me

SUMMARY
Dragging a tab on the 'Configure Konsole' window crashes



STEPS TO REPRODUCE
1. Open Konsole
2. Open the Configure window ( ctrl + shift + , )
3. Drag a tab onto that new window

OBSERVED RESULT
Segfault
Stacktrace:
``` 
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffe03ff6c0 (LWP 45632)]
[New Thread 0x7fffdf7ff6c0 (LWP 45633)]
[New Thread 0x7fffdeffe6c0 (LWP 45634)]
[New Thread 0x7fffde4e96c0 (LWP 45635)]
[New Thread 0x7fffddb1e6c0 (LWP 45637)]
[New Thread 0x7fffdd31d6c0 (LWP 45638)]
[New Thread 0x7fffd53ff6c0 (LWP 45639)]
[New Thread 0x7fffd4bfe6c0 (LWP 45640)]
[Detaching after fork from child process 45641]
[New Thread 0x7fffbffff6c0 (LWP 45666)]
[New Thread 0x7fffbf7fe6c0 (LWP 45667)]
qt.qpa.wayland: Creating a popup with a parent, QWidgetWindow(0x555555a81bc0,
name="MainWindow#1Window") which does not match the current topmost grabbing
popup, QWidgetWindow(0x555555d6dfc0, name="QMenuClassWindow") With some shell
surface protocols, 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. Please
fix the transient parent of the popup.
qt.core.qobject.connect: QObject::connect(Konsole::Session, Unknown): invalid
nullptr parameter

Thread 1 "konsole" received signal SIGSEGV, Segmentation fault.
Konsole::ViewManager::registerTerminal (this=this at entry=0x0,
terminal=terminal at entry=0x555555b5ce10)
    at /usr/src/debug/konsole-24.12.0-1.fc41.x86_64/src/ViewManager.cpp:1697
1697        connect(terminal, &TerminalDisplay::requestToggleExpansion,
_viewContainer, &TabbedViewContainer::toggleMaximizeCurrentTerminal,
Qt::UniqueConnection);
``` 

EXPECTED RESULT
User not being able to move the tab, and the tab returning to the tabbar

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1
Kernel Version: 6.12.4-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 2700X Eight-Core Processor
Memory: 15.6 GiB of RAM
Graphics Processor: NV166

ADDITIONAL INFORMATION
I made a quick video showing the bug inside gdb

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


More information about the konsole-devel mailing list