[Python-Dev] Inclusion of lz4 bindings in stdlib?

Jonathan Underwood jonathan.underwood at gmail.com
Thu Nov 29 08:45:34 EST 2018


On Thu, 29 Nov 2018 at 11:00, Andrew Svetlov <andrew.svetlov at gmail.com> wrote:
> I worked with lz4 python binding a year ago.
> It sometimes crashed to core dump when used in multithreaded environment (we used to run compressor/decompresson with asyncio by loop.run_in_executor() call).
> I hope the bug is fixed now, have no update for the current state.

Andrew and I discussed this off-list. The upshot is that this was
happening in a situation where a (de)compression context was being
used simultaneously by multiple threads, which is not supported. I'll
look at making this use case not crash, though.


More information about the Python-Dev mailing list