Add as_bytearray=False flag to decompress. by llllllllll · Pull Request #107 · Blosc/python-blosc (original) (raw)

I can reproduce this sporadic failure when I run many times locally, unfortunatly, the stack trace I am getting out of the segfault is:

#0  0x0000000000000000 in ?? ()
#1  0x00007fe53c854290 in blosc_c (context=0x561ee626f0c0, blocksize=blocksize@entry=262144, leftoverblock=leftoverblock@entry=0, 
    ntbytes=ntbytes@entry=0, maxbytes=maxbytes@entry=262160, src=src@entry=0x7fe538abc030 "", dest=0x561ee66a03a0 "", tmp=0x561ee6660360 "")
    at c-blosc/blosc/blosc.c:533
#2  0x00007fe53c85491e in t_blosc (ctxt=0x561ee626c080) at c-blosc/blosc/blosc.c:1483
#3  0x00007fe5416054a4 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007fe54134313d in clone () from /usr/lib/libc.so.6

I am running on arch gnu+linux x64 compiling with gcc 5.3.0