-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Opening certain part of TOC crashes - heavy xhtml (>280 Kb) #73
Comments
Hmm, could be running out of memory - I wonder if it's a particularly heavy chapter? |
@cgreening tell me if you can reproduce this one. A funny fact is that this happens if you open Chapter 8 directly from the TOC. But if you navigate from Chapter 7 to 8 this does not happen. Would like to try catching the error instead of generating a restart loop. This exception looks like std::__throw_out_of_range_fmt and I'm not sure it's a memory problem or something related to this special TOC item. So far I could not catch it neither detect in what precise part of the code is being triggered. What would be the best way to get out of this restart loops? They are really annoying and there is no other way than a hardware reset. Readme update preview: https://github.com/atomic14/diy-esp32-epub-reader/tree/feature/better-error-handling |
To reproduce open Chapter VIII of Blade Runner "Future noir" book.
@cgreening book to reproduce this is here: https://sync.luckycloud.de/d/a04070e242b841f7b784/
It seems to be a specific problem with this Chapter, others seem to work well, and open as expected. It will be nice to research why it hangs on this one since it might happen also with other books.
The text was updated successfully, but these errors were encountered: