[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] problems with python blocks [attn: jblum]
From: |
Paul Miller |
Subject: |
Re: [Discuss-gnuradio] problems with python blocks [attn: jblum] |
Date: |
Wed, 7 Dec 2011 06:32:33 -0500 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, Dec 06, 2011 at 09:54:43PM -0800, Josh Blum wrote:
> So it looks like everything else passed which included gr_feval (another
> thing in gnuradio-core that uses swig directors).
Yes, indeed sir, that happened.
Start 22: qa_feval 22/92
Test #22: qa_feval ......................... Passed 0.70 sec
> It looks like the last recognizable thing the thread calls (from your
> traceback) is the swig director used in gr_block_gateway:
> #7 0x00007ffff46ca774 in
> SwigDirector_gr_block_gw_handler_safe::call_handle (this=0x1b5ef90)
I don't understand swig, but that is how I read it too. I went
source diving in there and decided it was too arcane for my tired
mind at that time. Maybe now that I have more sleep, who
knows…
> So perhaps, if the problem is the director, and if we remove the things
> that are different from gr_feval, this might work for you? Can you try
> this patch: http://pastebin.com/nThT5RBj
Patched! Compiled!
That didn't seem to work either …
Start 22: qa_feval
22/92 Test #22: qa_feval ......................... Passed 0.69 sec
…
Start 27: qa_block_gateway
27/92 Test #27: qa_block_gateway .................***Failed 0.67 sec
…
99% tests passed, 1 tests failed out of 92
Double checked to make sure I applied the patch:
bash$ curl http://pastebin.com/raw.php?i=nThT5RBj | patch -p1
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 968 0 968 0 0 10759 0 --:--:-- --:--:-- --:--:--
16406
(Stripping trailing CRs from patch.)
patching file gnuradio-core/src/lib/general/gr_block_gateway.i
Reversed (or previously applied) patch detected! Assume -R? [n] ^C
Definitely applied.
my gr_norm.aq result is familiar…
#7 0x00007ffff4706d03 in
SwigDirector_gr_block_gw_handler_safe::call_handle (this=0x1af5550)
at
/home/jettero/code/arch/gnuradio/src/build/gnuradio-core/src/lib/swig/gnuradio_core_generalPYTHON_wrap.cxx:6829
> I wonder if anyone else on arch has the same issue?
Hard to say since there's no official package for gnuradio. The
community build (AUR) is (or was) a little out of date, so I
tweaked it to do things I wanted and to use the most recent git
(his did a clone too, but I wanted to control that process a
little, most recently to use your repo and branch).
However, I have a hunch that it would not be unique to me since
my build isn't so much different from the AUR build, just uses
newer gits and … ahh … builds completely on the current
repos.
I definitely wonder if it's my swig. Can you try under Swig
2.0.4 on your end?
-Paul
--
If riding in an airplane is flying, then riding in a boat is swimming.
116 jumps, 48.6 minutes of freefall, 92.9 freefall miles.
- [Discuss-gnuradio] problems with python blocks [attn: jblum], Paul Miller, 2011/12/04
- Re: [Discuss-gnuradio] problems with python blocks [attn: jblum], Josh Blum, 2011/12/05
- Re: [Discuss-gnuradio] problems with python blocks [attn: jblum], Paul Miller, 2011/12/05
- Re: [Discuss-gnuradio] problems with python blocks [attn: jblum], Josh Blum, 2011/12/06
- Re: [Discuss-gnuradio] problems with python blocks [attn: jblum], Paul Miller, 2011/12/06
- Re: [Discuss-gnuradio] problems with python blocks [attn: jblum], Josh Blum, 2011/12/07
- Re: [Discuss-gnuradio] problems with python blocks [attn: jblum],
Paul Miller <=
- Re: [Discuss-gnuradio] problems with python blocks [attn: jblum], Josh Blum, 2011/12/07
- Re: [Discuss-gnuradio] problems with python blocks [attn: jblum], Paul Miller, 2011/12/12
- Re: [Discuss-gnuradio] problems with python blocks [attn: jblum], Josh Blum, 2011/12/12
- Re: [Discuss-gnuradio] problems with python blocks [attn: jblum], Paul Miller, 2011/12/12
- Re: [Discuss-gnuradio] problems with python blocks [attn: jblum], Josh Blum, 2011/12/30