Bug 327475

Summary: Crash/Exit when diff window is resized horizontally to over 800 pixels
Product: [Applications] kdiff3 Reporter: george anderson <supergra>
Component: applicationAssignee: michael <reeves.87>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: cfeck, reeves.87
Priority: NOR    
Version First Reported In: 0.9.97   
Target Milestone: ---   
Platform: unspecified   
OS: macOS   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description george anderson 2013-11-11 23:11:35 UTC
When I resize the window horizontally to more than 800 pixels (plus or minus 15, I was measuring roughly), Kdiff3 exits and prints "Illegal instruction" to the terminal, with no other information.

This is on OSX 10.8, using a fresh install via Homebrew. 

Reproducible: Always

Steps to Reproduce:
1. Open kdiff3 from the command line (with or without files to diff)
2. Either drag the window horizontally wider, or click the maximize button.
Comment 1 george anderson 2013-11-11 23:17:37 UTC
The bug does not occur with the 0.9.97 official DMG from sourceforge. 

Perhaps this is rather a bug with the QT 4.8.5 framework installed by Homebrew?
Comment 2 Christoph Feck 2013-11-18 14:04:26 UTC
Is valgrind or gdb ported to OSX? If yes, please provide a backtrace for the crash.
Comment 3 george anderson 2013-11-20 00:01:01 UTC
From GDB:

Program received signal EXC_BAD_INSTRUCTION, Illegal instruction/operand.
0x00000001022edc05 in png_read_destroy ()