Open letsencrypt6 opened 2 years ago
you can download the log file at the below link: https://drive.google.com/file/d/13yR_aOUdurYeIIozO4aTCfO02nOWL81T/view?usp=sharing
Every time this file is opened, the program crashes and exits.
Great! Many thanks for the file, as it is always hard to reproduce such issues locally. I’ll check it this week when I get home from vacation.
Thanks a lot, Variar. the log from the Cisco IOS-XR router.
I've checked the file. The structure of it is quite unusual. It has 4Gb zeroes at the beginning and then some meaningfull characters. Klogg is not smart enough to skip those zero bytes, and strings in Qt5 are limited to about 2^30 characters, so Qt crashes when klogg tries to read the text. Current dev versions will not crash but still is not able to handle this file. I'm not sure how that could be handled correctly in general case. I think that klogg can treat each zero byte as an empty line, that would allow to load the file. However, building an index for file with 2^32 lines will be slow, and it will use a log of memory.
Works fine for the attached log in 22.04.0.1216+
thanks a lot. Variar.
Magic handling for long lines of null breaks search in some more common casese. Klogg needs to have support for lines with more than 2^30 characters.
Details for the issue
What did you do?
just open one log file.
Crash id 5cdfe4e2-df42-4f01-9081-e6803a6c3ce7
Useful extra information