Bug 467086

Summary: kdiff3 aborts on "Assertion `!m_modificationTime.isNull()' failed" when broken symlinks are encountered
Product: [Applications] kdiff3 Reporter: Justin Keogh <kde.org>
Component: applicationAssignee: michael <reeves.87>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version First Reported In: 1.10.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Justin Keogh 2023-03-09 00:10:02 UTC
SUMMARY
kdiff3 1.10.0 fails when it attempts to compare dirs that have broken symlinks

STEPS TO REPRODUCE
1. mkdir -p test/a test/b && ln -s c test/a/d && ln -s c test/b/d
2. kdiff3 test/a test/b

OBSERVED RESULT
$ kdiff3 test/a test/b
org.kde.kdiff3.fileAccess: Reading folder:  "/delme/test/a"
org.kde.kdiff3.fileAccess: Reading folder:  "/delme/test/b"
kdiff3: /var/tmp/portage/kde-misc/kdiff3-1.10.0/work/kdiff3-1.10.0/src/fileaccess.cpp:762: QDateTime FileAccess::lastModified() const: Assertion `!m_modificationTime.isNull()' failed.
Aborted

EXPECTED RESULT
GUI window showing graphical diff of the two directories

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Linux zbook 6.0.5-gentoo-x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 26 15:28:45 MST 2022 x86_64 Intel(R) Core(TM) i7-4910MQ CPU @ 2.90GHz GenuineIntel GNU/Linux
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Comment 1 michael 2023-03-09 01:35:29 UTC

*** This bug has been marked as a duplicate of bug 466241 ***