https://bugs.kde.org/show_bug.cgi?id=469269
Bug ID: 469269 Summary: kdiff3 1.10.1 aborts on "Assertion `!m_modificationTime.isNull()'" when a file or directory with mtime <= 999,999ns from epoch is encountered Classification: Applications Product: kdiff3 Version: 1.10.1 Platform: Gentoo Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: application Assignee: reeves...@gmail.com Reporter: kde....@v6y.net Target Milestone: --- SUMMARY kdiff3 1.10.1 fails when it encounters a file or directory with an mtime <= 999,999ns from epoch. STEPS TO REPRODUCE 1. mkdir -p a/c b; touch -m -d '1969-12-31 17:00:00.000999999 -0700' a/c 2. kdiff3 a b OBSERVED RESULT $ kdiff3 a b org.kde.kdiff3.fileAccess: Reading folder: "/delme/a" org.kde.kdiff3.fileAccess: Reading folder: "/delme/a/c" org.kde.kdiff3.fileAccess: Reading folder: "/delme/b" kdiff3: /var/tmp/portage/kde-misc/kdiff3-1.10.1/work/kdiff3-1.10.1/src/fileaccess.cpp:773: QDateTime FileAccess::lastModified() const: Assertion `!m_modificationTime.isNull()' failed. Aborted $ python -c "import os; print(os.lstat('a/c').st_mtime_ns)" 999999 Adding a nanosecond, the assert is not triggered: $ mkdir -p a/c b; touch -m -d '1969-12-31 17:00:00.001000000 -0700' a/c; /usr/bin/kdiff3 a b org.kde.kdiff3.fileAccess: Reading folder: "/delme/a" org.kde.kdiff3.fileAccess: Reading folder: "/delme/a/c" org.kde.kdiff3.fileAccess: Reading folder: "/delme/b" $ python -c "import os; print(os.lstat('a/c').st_mtime_ns)" 1000000 Filesystem: ext4 -- You are receiving this mail because: You are watching all bug changes.