Bug 495247

Summary: kdiff3 crashes with segfault on macOS starting with 1.11 when comparing some files or directories
Product: [Applications] kdiff3 Reporter: James O'Cull <james.ocull>
Component: applicationAssignee: michael <reeves.87>
Status: REPORTED ---    
Severity: crash    
Priority: NOR    
Version: 1.11.4   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Crash report from macOS

Description James O'Cull 2024-10-23 15:38:51 UTC
Created attachment 175149 [details]
Crash report from macOS

SUMMARY

Starting with 1.11 (any version) on both x86 (emulated) and arm64 (native) the application is crashing _some of the time_. It crashes consistently when I try to compare xml files.

It is working properly with x86 version on Rosetta on `kdiff3-1.10.7-macos-x86_64` (the application reports 1.10.6 though)

STEPS TO REPRODUCE
1. Install any version of 1.11.x
2. Try to diff an XML file
3. Observe crash

OBSERVED RESULT
Segmentation fault. Trace is below.

EXPECTED RESULT
Not crashing :)

SOFTWARE/OS VERSIONS
macOS: Sonoma 14.7

ADDITIONAL INFORMATION
Crash report is attached