|
From: | Suciu, Adrian |
Subject: | crosscompiled GR - bad_weak_ptr in gr::hier_block2 |
Date: | Fri, 19 Aug 2022 14:05:27 +0000 |
Hello everyone, I’m running a pretty experimental version of Gnuradio on Android. The python console is working correctly, I can instantiate regular blocks, connect them around and run them, but when I instantiate hierarchical blocks, I get the following
exception: Traceback (most recent call last): RuntimeError: bad_weak_ptr As far as I can tell, the C++ to_basic_block gets called, and throws the error from within shared_from_this(). I’m not sure however if it’s called on the correct block, or a new instance is created, or … ?
The script isn’t anything too crazy, a simple flowgraph with a NBFM receiver connected to a pluto source – it is generated from the companion. Other hier blocks exhibit the same behavior as far as I’ve tested. Anyone know what might be wrong here ? For reference: gnuradio is buit from the latest master, pybind11 with the latest master, python 3.10 using android-ndk r23. -Adrian |
[Prev in Thread] | Current Thread | [Next in Thread] |