Thursday, July 18, 2024

Re: flowgraph crashes when I enable a block

I just tried with the latest commit, same issue.  Maybe its the python version?  I'm using 3.9.18 in conda.  This is the message I see, but I feel like these X errors aren't usually the actual problem:

(gnuradio-companion:1759026): Gdk-WARNING **: 06:23:29.883: The program 'gnuradio-companion' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 6258 error_code 11 request_code 131 (MIT-SHM) minor_code 5)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

On Wed, Jul 17, 2024 at 10:26 AM Jameson Collins <jameson.collins@gmail.com> wrote:
I'm using v3.10.2.0 from source, in conda.  I'll try with another version.

On Wed, Jul 17, 2024 at 10:22 AM Volker Schroer <dl1ksv@gmx.de> wrote:
Just tested with a freesh build from main
and it works. I can enable the block and run the generated flowgraph.


Am 17.07.24 um 13:19 schrieb Jameson Collins:
> This flowgraph is based on the example in the PDU to Stream
> documentation.  The difference is that now 'N' is now a formula instead
> of a constant ( int(samp_rate*tx_dur) )
>
> As soon as I enable the one disabled block then gnuradio will crash with
> only a X window system error.  And as far as I can tell this only
> happens when N is variable.
>
> VEC is defined as `pmt.init_f32vector( N, np.arange(N) )`
>
> image.png


No comments:

Post a Comment