On Sun, 01 Feb 2015 03:27:06 +0000, ketmar wrote: > On Sun, 01 Feb 2015 03:09:15 +0000, ZombineDev wrote: > >> I have made a pull request[1] with your fix, if you don't mind. > thank you.
ah, and that caching is needed. `free()` in `AsyncRead::dispose` *can* be executed before loop in `startthread` finishes, so `startthread` will try to dereference `aw->filesdim` and hit the same "use after free" bug. multithreaded code is a very fragile thing. ;-)
signature.asc
Description: PGP signature
