Errors when searching many files #6

Closed
opened 2021-05-27 19:09:52 +02:00 by tastytea · 1 comment
Owner

When I copy the same book to 30 files I get a lot of Could not open <file name> errors. They come fom zip::open_file(). result is ARCHIVE_FATAL (No more operations are possible). It occurs with and without multithreading.

I noticed that there is a memory leak. With each searched file 5-15 MiB memory is allocated. Not sure if that is related.

When I copy the same book to 30 files I get a lot of **Could not open \<file name>** errors. They come fom [zip::open_file()](https://schlomp.space/tastytea/epubgrep/src/branch/main/src/zip.cpp#L97). `result` is `ARCHIVE_FATAL` (No more operations are possible). It occurs with and without multithreading. I noticed that there is a memory leak. With each searched file 5-15 MiB memory is allocated. Not sure if that is related.
tastytea referenced this issue from a commit 2021-05-27 20:05:54 +02:00
Author
Owner

The ”Could not open …” errors are gone, but I now get “double free or corruption (out)” sometimes. But only in multi-threaded mode.

The ”Could not open …” errors are gone, but I now get “double free or corruption (out)” sometimes. But only in multi-threaded mode.
tastytea added the
bug
label 2021-05-28 12:09:28 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: tastytea/epubgrep#6
No description provided.