Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal Python error: deallocating None #8

Open
rafaelzimmermann opened this issue Jan 14, 2016 · 1 comment
Open

Fatal Python error: deallocating None #8

rafaelzimmermann opened this issue Jan 14, 2016 · 1 comment

Comments

@rafaelzimmermann
Copy link

When we try to decompress many files in a loop the process is killed by the OS.

Python 2.7.6
OS: Ubuntu 14.04.3 LTS 14.04

import lz4tools
file_name = "/tmp/file.lz4"
for i in range(1, 1000):
    print i
    file_ = lz4tools.open(file_name)
    data = file_.decomp
    file_.close()

Output

...
364
365
366
367
368
369
Fatal Python error: deallocating None

strace

16:14:39.809310 write(2, "Fatal Python error: deallocating"..., 38) = 38
16:14:39.810527 rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
16:14:39.814320 tgkill(69, 69, SIGABRT) = 0
16:14:39.814395 --- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=69, si_uid=0} ---
16:14:39.841279 +++ killed by SIGABRT +++

/cc @mspringfeldt @bixu

@dpkp
Copy link

dpkp commented Mar 9, 2017

I'm also seeing a free error when using lz4f.freeDecompContext:

pypy: free(): invalid pointer: 0x00007fc96e5543b0

I wonder if this is related?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants