Created attachment 174819 [details] krash file - debian bookworm SUMMARY I used to compare remote directories (specially sftp) and merge changes from one system to another using krusader and sysnchronize folders option then run kdiff3 by double click, compare, merge and save. It was working perfectly in kde4 then I changed position at work and stopped using this feature, but recalled it last time and kdiff3 crashed not once but started crashing over and over again during pressing save button. I did tests on debian bookworm with 1.10.0-1(1.9.70 64bit) version of kdiff3 and debian trixie with 1.11.4 (1.11.4 64bit). STEPS TO REPRODUCE 1. generate ssh key pair and append public keys to ~/.ssh/authorized_keys - I was using public key auth during tests and regular work when catched the bug 2. create two files eg. /tmp/1.txt and /tmp/2.txt with some content to compare 3. run kdiff3 sftp://localhost/tmp/1.txt sftp://localhost/tmp/2.txt 4. in merge menu choose merge then merge files and try to save with save button 5. app should crash - on debian bookworm it launches kde report app so crash is immediate, on trixie error window with "Out of memery" text appears after click on OK app is crashing but drkonqi is not starting intead systemd-coredump is taking care of dump. SOFTWARE/OS VERSIONS Operating System: Debian GNU/Linux 12 KDE Plasma Version: 5.27.5 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8 Kernel Version: 6.6.13+bpo-amd64 (64-bit) Graphics Platform: offscreen Processors: 16 × 11th Gen Intel® Core™ i7-11850H @ 2.50GHz Memory: 31.1 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics ADDITIONAL INFORMATION attaching kcrash file from debian bookworm and screen from debian trixie.
Created attachment 174820 [details] screen - debian trixie
And console log from debian trixie: gwozniak@gamingpc:~$ kdiff3 sftp://gwozniak@127.0.0.1/tmp/zzz/1/rtpengine.conf.dpkg-dist sftp://gwozniak@127.0.0.1/tmp/zzz/2/rtpengine.conf.dpkg-dist Qt: Session management error: None of the authentication protocols specified are supported org.kde.kdiff3: Loading A: "sftp://gwozniak@127.0.0.1/tmp/zzz/1/rtpengine.conf.dpkg-dist" org.kde.kdiff3: Loading B: "sftp://gwozniak@127.0.0.1/tmp/zzz/2/rtpengine.conf.dpkg-dist" org.kde.kdiff3: Diff: A <-> B org.kde.kdiff3: Linediff: A <-> B org.kde.kdiff3: Enter: calcDiff3LineListUsingAB org.kde.kdiff3: Leave: calcDiff3LineListUsingAB QSocketNotifier: Invalid socket 8 and type 'Read', disabling... QSocketNotifier: Invalid socket 313 and type 'Read', disabling... QSocketNotifier: Invalid socket 314 and type 'Read', disabling... Unable to start Dr. Konqi Re-raising signal for core dump handling. org.kde.kdiff3: Loading A: "sftp://gwozniak@127.0.0.1/tmp/zzz/1/rtpengine.conf.dpkg-dist" org.kde.kdiff3: Loading B: "sftp://gwozniak@127.0.0.1/tmp/zzz/2/rtpengine.conf.dpkg-dist" org.kde.kdiff3: Diff: A <-> B org.kde.kdiff3: Linediff: A <-> B org.kde.kdiff3: Enter: calcDiff3LineListUsingAB org.kde.kdiff3: Leave: calcDiff3LineListUsingAB 20 -- exe=/usr/bin/kdiff3 13 -- platform=xcb 11 -- display=:0 15 -- appname=kdiff3 17 -- apppath=/usr/bin 10 -- signal=11 12 -- pid=1563233 27 -- appversion=1.11.4 (64 bit) 19 -- programname=KDiff3 31 -- bugaddress=submit@bugs.kde.org KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = kdiff3 path = /usr/bin pid = 1563233 KCrash: Arguments: /usr/bin/kdiff3 sftp://gwozniak@127.0.0.1/tmp/zzz/1/rtpengine.conf.dpkg-dist sftp://gwozniak@127.0.0.1/tmp/zzz/2/rtpengine.conf.dpkg-dist KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi Qt: Session management error: None of the authentication protocols specified are supported [1] Segmentation fault (core dumped) kdiff3 sftp://gwozniak@127.0.0.1/tmp/zzz/1/rtpengine.conf.dpkg-dist sftp://gwozniak@127.0.0.1/tmp/zzz/2/rtpengine.conf.dpkg-dist [2]+ Stopped kdiff3 sftp://gwozniak@127.0.0.1/tmp/zzz/1/rtpengine.conf.dpkg-dist sftp://gwozniak@127.0.0.1/tmp/zzz/2/rtpengine.conf.dpkg-dist QSocketNotifier: Invalid socket 8 and type 'Read', disabling... QSocketNotifier: Invalid socket 313 and type 'Read', disabling... QSocketNotifier: Invalid socket 314 and type 'Read', disabling... Unable to start Dr. Konqi Re-raising signal for core dump handling.
Just downloaded latest kubuntu 24.04.1 iso and tested scenario in VM -> crash similar to debian trixie with "out of memory" error window, attaching krash file from there.
Created attachment 174823 [details] kubuntu krash file
This should be fixed in 1.12.0. Undefining NDEBUG while building will remove the errant assert from older versions.