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

            Bug ID: 513914
           Summary: Kdiff3 crashes on first add manual diff alignment in a
                    file
    Classification: Applications
           Product: kdiff3
      Version First 1.12.3
       Reported In:
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: application
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 188035
  --> https://bugs.kde.org/attachment.cgi?id=188035&action=edit
Input file 1

SUMMARY

Kdiff3 crashes on first add manual diff alignment in file1.

STEPS TO REPRODUCE

1. Launch `kdiff3 -o out file1 file2 file3`.
2. Click ok on number of conflicts dialog.
3. Select the first character on line 14 in file1.
4. Press Ctrl-Y (add manual diff alignment)
5. KDiff3 crashes.

OBSERVED RESULT

Stdout/stderr from the crash:

/usr/include/c++/15/bits/stl_vector.h:1263: std::vector<_Tp, _Alloc>::reference
std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = Diff3WrapLine;
_Alloc = std::allocator<Diff3WrapLine>; reference = Diff3WrapLine&; size_type =
long unsigned int]: Assertion '__n < this->size()' failed.
KCrash: Application 'kdiff3' crashing... crashRecursionCounter = 2

EXPECTED RESULT

No crash.

SOFTWARE/OS VERSIONS

Operating System: Fedora Linux 43
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1
Kernel Version: 6.17.12-300.fc43.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i5-10500H CPU @ 2.50GHz
Memory: 64 GiB of RAM (62.6 GiB usable)
Graphics Processor: Intel® UHD Graphics

ADDITIONAL INFORMATION

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

Reply via email to