Bug 467086 - kdiff3 aborts on "Assertion `!m_modificationTime.isNull()' failed" when broken symlinks are encountered
Summary: kdiff3 aborts on "Assertion `!m_modificationTime.isNull()' failed" when broke...
Status: RESOLVED DUPLICATE of bug 466241
Alias: None
Product: kdiff3
Classification: Applications
Component: application (other bugs)
Version First Reported In: 1.10.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: michael
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-09 00:10 UTC by Justin Keogh
Modified: 2023-03-09 01:35 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***