Created attachment 188035 [details] 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
Created attachment 188036 [details] Input file 2
Created attachment 188037 [details] Input file 3
Created attachment 188038 [details] DrKonqi crash report
This does not seem to reproduce on my system but it is not clear why.