-
-
Notifications
You must be signed in to change notification settings - Fork 274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SIGSEGV when analyzing RAR containing 3 CBZ comics #1826
Comments
Thanks for the report. The issue is in the NightCompress library, but may also be in I tested with
|
After some more investigation i found out that libarchive can be configured to only decode some formats. By setting it to decode RAR5 only, i managed to get the 3 zip entries instead of the content of the first zip. I will need to release a new version of NightCompress and use that in Komga in order to fix your issue. |
🎉 This issue has been resolved in |
I can confirm that the issue has been resolved. Thank you! I was able to identify the source of the problem, but it might pose a challenge for someone else. P.S. Komga has the best UI design I've ever seen in a web application! |
Steps to reproduce
Link to rar with comic:
Mirror 1: 7 days
https://www.transfernow.net/dl/20250113eVjZ2SaP
Mirror 2: 21 days
http://www.fileconvoy.com/dfl.php?id=g30cfa3d19081f7271000576501115e9b5389083d08
Add these comics to your library and scan. Komga will crash. Obviously, the file is not readable. Instead of having JPGs, it contains other CBZ files, but crushing whole komga service is not expected.
Expected behavior
In media management/analysis, there should be some information about error in the file.
Actual behavior
The Docker container running Komga crashes completely unless a specific file is removed from the folder.
Logs
docker_log.log
komga.log
Komga version
1.17.0
Operating system
linux/docker/unriad
Installation method
Docker
Other details
Checked rar with virus total:
https://www.virustotal.com/gui/file/8f067cf33b8e67277d1d57bb26785d7e046324d243394c46af1b00b0a7f5ce52
Acknowledgements
The text was updated successfully, but these errors were encountered: