discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] core dumps when using gr.firdes


From: Josh Blum
Subject: Re: [Discuss-gnuradio] core dumps when using gr.firdes
Date: Sat, 09 Jun 2007 01:45:56 -0400
User-agent: Thunderbird 2.0.0.0 (X11/20070326)

Hello,

Despite the trial fix, I still get core dumps.

I decided to try other functions that are supposed to throw an error: The gr.correlate_access_code_bb constructor is suppose to throw a std::out_of_range when the length of the code is greater than 64: sure enough, this crashes the python shell just as the firdes.

Is something wrong with swig? I am using SWIG Version 1.3.31 and trunk r5754.

-Josh

--- Example: ---
gr.correlate_access_code_bb("0000000000000000000000000000000000000000000000000000000000000000000000", 1)
gr_correlate_access_code_bb: access_code is > 64 bits
terminate called after throwing an instance of 'std::out_of_range'
  what():  access_code is > 64 bits
Aborted (core dumped)

---   ---

Johnathan Corgan wrote:
Johnathan Corgan wrote:

This will need to be fixed in the SWIG wrapper(s) for gnuradio-core, to
have the check for these exceptions and pass them up to Python instead
of aborting.  Please file a Trac bug.

A trial fix for this was checked into the trunk this morning  Please
update and let me know how it goes.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]