Saturday, April 11, 2015

Re: [Discuss-gnuradio] python - double free or corruption error

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
<wait for things to go down>
bt

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

Greetings,
Marcus

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

On 04/10/2015 03:16 PM, Tom Rondeau wrote:
On Fri, Apr 10, 2015 at 2:49 AM, Andreas Ladanyi <andreas.ladanyi@gmx.net> wrote:
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

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
 


_______________________________________________  Discuss-gnuradio mailing list  Discuss-gnuradio@gnu.org  https://lists.gnu.org/mailman/listinfo/discuss-gnuradio  

No comments:

Post a Comment