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

Huanyu Liu <1293660...@qq.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |1293660...@qq.com
         Resolution|FIXED                       |---
     Ever confirmed|0                           |1
             Status|RESOLVED                    |REOPENED

--- Comment #6 from Huanyu Liu <1293660...@qq.com> ---
I am afraid that this segfault crash has not been totally fixed. I can still
reproduce the crash in KDE Framework 6.8.0. Furthermore, the crash behavior is
quite complicated. It is not reproducible every time. I have managed to find a
method to reproduce the crash with 90% probability:

1. Open the attached file "crash.txt" (consisting of 100 lines of "1234567890")
with Kwrite (or Kate).
2. Do a regex "Replace All" of "\n" (linefeed) to "" (empty string).

Then Kwrite will crash 90% of the time. If it does not crash:

3. Press Ctrl+Z to undo the replace, then click on the "Replace All" button
again.
4. Repeat Step 3 as fast as possible.

Then Kwrite will crash 60% of the time.

If you replace from "\n" to "\n" (i.e. leave the linefeed unchanged), then
Kwrite will not crash on the first replace, but still has a probability to
crash on subsequent undo-and-replaces.

Crash on the first replace will yield a fixed backtrace (see Backtrace 1 in the
attached file), while crash on subsequent undo-and-replaces will yield
different backtraces randomly (see Backtraces 2 to 4).

Operating System: Arch Linux 
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Kernel Version: 6.12.1-arch1-1 (64-bit)
Graphics Platform: Wayland

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

Reply via email to