Python - double free or corruption error

Hi,

when running a gnuradio application.py from the cmd line after some
seconds the application crashs and i get the message:

*** Error in `python’: double free or corruption (fasttop): 0xaf9031c0


Iam using python 2.7.

Any ideas ?

cheers,
Andy

On Fri, Apr 10, 2015 at 2:49 AM, Andreas L.
[email protected]
wrote:

cheers,
Andy

It might be useful to know what your flowgraph looks like since this
might
be the result of a particular block. We’ve also seen issues of this when
closing GRC, but that seems to be specific to a version of glibc.

What OS are you running? What version of glibc? Anything but canonical
blocks in the flowgraph?

Tom

Also, if you want to go deeper into debugging this, try the following
(assuming you have a modern shell of some kind)

export MALLOC_CHECK_=2
python application.py

This should make free “abort” at the point it prints out that warning.

you should then be able to

gdb --args python application.py
run

bt

to get a backtrace. For a bit more of background [1].

Greetings,
Marcus

[1] http://gnuradio.org/redmine/projects/gnuradio/wiki/TutorialsGDB