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

            Bug ID: 503813
           Summary: Crash on using the Menu Key in the default editor of a
                    `.cpp` file
    Classification: Applications
           Product: kdevelop
           Version: unspecified
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: ulte...@gmail.com
  Target Milestone: ---

Application: kdevelop (6.2.250400 (25.04.0))

ApplicationNotResponding [ANR]: false
Qt Version: 6.9.0
Frameworks Version: 6.13.0
Operating System: Linux 6.14.4-arch1-2 x86_64
Windowing System: Wayland
Distribution: EndeavourOS
DrKonqi: 6.3.4 [CoredumpBackend]

-- Information about the crash:
STEPS FOR REPRODUCTION
0. Create a file in a directory with a git
  - Minimally, just `git init; touch file1;` will do
1. Open the file in the KDevelop's text editor
2. Click somewhere within the text editor
3. Press the "Menu" key on the keyboard
  - the one that's usually next to the Right-Ctrl key

OBSERVATION
1. The right click menu opens
2. KDevelop GUI freezes afterwards (keyboard arrow keys don't change the
selection on the menu either)
3. Crash after a few seconds
Additionally, 
3. The server side decoration by KWin still works
4. Clicking on the decoration may cause the opened menu (otherwise frozen to
the user) to close

EXPECTATION
- The right click menu should be usable and the application should not crash
right after
  - Same as how it works when using the Mouse Right Click

The crash can be reproduced every time.

-- Backtrace (Reduced):
#5  std::__atomic_base<QThread*>::load (this=<optimized out>, __m=<optimized
out>, this=<optimized out>, __m=<optimized out>) at
/usr/include/c++/14.2.1/bits/atomic_base.h:831
#6  std::atomic<QThread*>::load (this=<optimized out>, __m=<optimized out>,
this=<optimized out>, __m=<optimized out>) at
/usr/include/c++/14.2.1/atomic:582
#7  QAtomicOps<QThread*>::loadAcquire<QThread*> (_q_value=..., _q_value=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qatomic_cxx11.h:214
#8  QBasicAtomicPointer<QThread>::loadAcquire (this=<optimized out>,
this=<optimized out>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qbasicatomic.h:177
#9  QObject::thread (this=this@entry=0x62e9909f3100) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1612


Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to