-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
core dump when opening gz file #354
Comments
that's very interesting. Does it matter which I'll take a look, often a |
I modified the content of the spef file (replace all word characters to x) and it had no impact, so it looks like the only thing that matters is the size of the file. I also created a dummy file by duplicating following sequence until the uncompressed file was >728Mbytes and with it the I get the crash. After a couple iterations it looks like the limit for crash is very close to 715Mbytes Here is the content that I used
|
So, i made a script like this:
To try to test, and I have a couple of questions:
|
OK, never mind that last comment. I mis-read it and thought that the .gz file needed to be a certain size, not the source file. I've replicated the issue and will see if I can fix it ASAP :-) |
This is an interesting situation. it may not be obvious at first, but this is actually running into a circumstance where we are hitting the memory limit of what can be held in a I was able to reproduce this with a very trivial Qt application that looks like this:
with a Soi, back to I'll have to refactor the code to use a different approach since |
…sing a QString as much as possible. this is necessary because, at least in Qt5, there is a hard upper limit to the length of a QString addesses issue #354
@marilmanen I believe that this PR should fix the issue, if it does, please let me know and I'll merge it into master. |
I tested with couple large files and no issues, so it looks like you have fixed the issue. |
I'm using following command to see what's inside a gz file
if the uncompressed file is 608Mbytes with 19M lines everything works fine, but with file size of 725Mbytes with 25M lines I get
There is no issue with the bigger file if it's first uncompressed to a file and then I open the file with nedit-ng.
I have tested also old NEdit editor and there are no issues with it.
The text was updated successfully, but these errors were encountered: