Bug 485440 - Data loss error dialog when "Align B and C for 3 input files" preference is checked
Summary: Data loss error dialog when "Align B and C for 3 input files" preference is c...
Status: REPORTED
Alias: None
Product: kdiff3
Classification: Applications
Component: application (other bugs)
Version First Reported In: 1.8.4
Platform: RedHat Enterprise Linux Linux
: NOR normal
Target Milestone: ---
Assignee: michael
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-12 15:26 UTC by Max Vohlken
Modified: 2024-04-12 15:28 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
input file a (127 bytes, text/plain)
2024-04-12 15:26 UTC, Max Vohlken
Details
input file b (84 bytes, text/plain)
2024-04-12 15:27 UTC, Max Vohlken
Details
input file c (77 bytes, text/plain)
2024-04-12 15:27 UTC, Max Vohlken
Details
screen capture of the error dialog (8.70 KB, image/png)
2024-04-12 15:28 UTC, Max Vohlken
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Max Vohlken 2024-04-12 15:26:48 UTC
Created attachment 168421 [details]
input file a

SUMMARY
Data loss error dialog is displayed when comparing 3 files and the "Align B and C for 3 input files" preference is checked.

STEPS TO REPRODUCE
1. download the 3 input file that are attached. These file will demonstrate the problem.
2. open kdiff3, go into the kdiff3 settings and check the "Align B and C for 3 input files" option in the Diff Settings tab
3. diff the 3 files by running: kdiff3 a b c

OBSERVED RESULT
a Severe Internal Error dialog will pop-up saying:
Data loss error:
If it is reproducible please contact the author."

My removing line 3 from file c the issue will go away. 

EXPECTED RESULT
I expected kdiff3 to open normally and display the differences between the 3 files

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Red Hat Enterprise Linux release 8.9 (Ootpa)
KDE Plasma Version: 
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
$ dnf info kdiff3
Installed Packages
Name         : kdiff3
Version      : 1.8.4
Release      : 1.el8
Architecture : x86_64
Size         : 5.8 M
Source       : kdiff3-1.8.4-1.el8.src.rpm
Repository   : @System
From repo    : epel
Summary      : Compare + merge 2 or 3 files or directories
URL          : https://github.com/KDE/kdiff3
Comment 1 Max Vohlken 2024-04-12 15:27:20 UTC
Created attachment 168422 [details]
input file b
Comment 2 Max Vohlken 2024-04-12 15:27:42 UTC
Created attachment 168423 [details]
input file c
Comment 3 Max Vohlken 2024-04-12 15:28:08 UTC
Created attachment 168424 [details]
screen capture of the error dialog