SUMMARY KZip enters an endless loop after calling the open(QIODevice::OpenMode mode) method. This only occurs with some zip files created with an older version of KZip. Prior to KF 6.13, they worked fine, even with Qt 6.9. Also, it cannot open some zip files created with KZip from KF 6.13. STEPS TO REPRODUCE 1. Create a zip file with KZip from KF 6.12 or earlier. It can be opened without any problems. 2. Update to KF 6.13 OBSERVED RESULT Some zip files (not all) can no longer be opened with KZip. Only with some files, the KZip's open() method never returns and the application enters an endless loop. EXPECTED RESULT KF 6.13's Kzip should be able to open any zip file created with earlier versions. SOFTWARE/OS VERSIONS Operating System: openSUSE Tumbleweed 20250417 KDE Plasma Version: 6.3.4 KDE Frameworks Version: 6.13.0 Qt Version: 6.9.0 Kernel Version: 6.14.2-1-default (64-bit) Graphics Platform: Wayland
(In reply to Eloy Cuadra from comment #0) > SUMMARY > > KZip enters an endless loop after calling the open(QIODevice::OpenMode mode) > method. This only occurs with some zip files created with an older version > of KZip. Prior to KF 6.13, they worked fine, even with Qt 6.9. Also, it > cannot open some zip files created with KZip from KF 6.13. > > STEPS TO REPRODUCE > 1. Create a zip file with KZip from KF 6.12 or earlier. It can be opened > without any problems. > 2. Update to KF 6.13 > > OBSERVED RESULT > Some zip files (not all) can no longer be opened with KZip. Only with some > files, the KZip's open() method never returns and the application enters an > endless loop. > > EXPECTED RESULT > KF 6.13's Kzip should be able to open any zip file created with earlier > versions. > > SOFTWARE/OS VERSIONS > Operating System: openSUSE Tumbleweed 20250417 > KDE Plasma Version: 6.3.4 > KDE Frameworks Version: 6.13.0 > Qt Version: 6.9.0 > Kernel Version: 6.14.2-1-default (64-bit) > Graphics Platform: Wayland These MRs should’ve fixed that: - https://invent.kde.org/frameworks/karchive/-/merge_requests/111 - https://invent.kde.org/frameworks/karchive/-/merge_requests/116 Can you try building from the master branch and see if the issue still happens? If building isn't an option or it still loops infinitely, could you attach one of the zips that fails?
(In reply to Azhar Momin from comment #1) > These MRs should’ve fixed that: > - https://invent.kde.org/frameworks/karchive/-/merge_requests/111 > - https://invent.kde.org/frameworks/karchive/-/merge_requests/116 > > Can you try building from the master branch and see if the issue still > happens? If building isn't an option or it still loops infinitely, could you > attach one of the zips that fails? I built KArchive from master branch and it's working fine again with all my zip files. Thanks! I think this bug report can be closed now.