Unknown reporter writes

Recoll chokes while indexing a particular zipfile.

The version in Debian/stable (1.13.04) simply hangs forever on this file, with two zombified rclimg processes. Indexing can not be stopped and the program cannot be terminated gracefully (ie has to be SIGKILLed).

Current Version 1.15.16 actually crashes instead! Console output:

terminate called after throwing an instance of std::length_error what(): basic_string::_S_create

TCU.DOC is not a word document btw, but a plain text file.

The zip file in question is mirrored here: http://91.201.116.112/freqs/dosutil/eprsr992.zip

Unknown User writes

That should have been "Current Version 1.15.7"

medoc writes

Thanks a lot for reporting this and providing the test data ! This made it quite easy to fix. Commit/patch following just behind.

jf

medoc writes

indexing: an error on an archive member could crash or block the indexing because of the unclean way the ipath was passed in/out of internfile(). Closes issue #55

→ <<cset 7b6c920d0e01 > >

The patch should apply cleanly to 1.15.7