Looks like gnuradio-companion is trying to open the previous flowgraph with the old blocks.
Try renaming that file or removing if from the list of open files in your "~/.gnuradio/grc.conf".
From: Beckmann, Niklas [mailto:niklas.beckmann1@rwth-aachen.de]
Sent: Monday, March 20, 2023 at 19:49 UTC+1
Subject: Import Error "undefined symbol"
Hello Vasil,I hope this is what you meant:
niklas@niklas~$ gdb --ex run --args python $(which gnuradio-companion)GNU gdb (Ubuntu 9.2-0ubuntu1~20.04.1) 9.2Copyright (C) 2020 Free Software Foundation, Inc.License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>This is free software: you are free to change and redistribute it.There is NO WARRANTY, to the extent permitted by law.Type "show copying" and "show warranty" for details.This GDB was configured as "x86_64-linux-gnu".Type "show configuration" for configuration details.For bug reporting instructions, please see:Find the GDB manual and other documentation resources online at:
For help, type "help".Type "apropos word" to search for commands related to "word"...Reading symbols from python...(No debugging symbols found in python)Starting program: /usr/bin/python /usr/bin/gnuradio-companion[Thread debugging using libthread_db enabled]Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".[New Thread 0x7ffff649c700 (LWP 7650)][New Thread 0x7ffff5c9b700 (LWP 7651)][New Thread 0x7ffff549a700 (LWP 7652)][New Thread 0x7ffff4c99700 (LWP 7653)][New Thread 0x7ffff4498700 (LWP 7654)][New Thread 0x7ffff3c97700 (LWP 7655)][New Thread 0x7ffff3496700 (LWP 7656)][New Thread 0x7ffff2c95700 (LWP 7657)][New Thread 0x7ffff2494700 (LWP 7658)][New Thread 0x7ffff1c93700 (LWP 7659)][Detaching after fork from child process 7660][New Thread 0x7fffed2da700 (LWP 7663)][New Thread 0x7fffecad9700 (LWP 7664)][New Thread 0x7fffe7dff700 (LWP 7665)][Detaching after fork from child process 7666]>>> Warning: vocoder_codec2_decode_ps - option_attributes are for enums only, ignoring>>> Warning: vocoder_codec2_encode_sp - option_attributes are for enums only, ignoring[New Thread 0x7fffdbfff700 (LWP 7678)][New Thread 0x7fffdb7fe700 (LWP 7679)]<<< Welcome to GNU Radio Companion 3.10.5.0 >>>
Block paths:/home/niklas/.grc_gnuradio/usr/share/gnuradio/grc/blocks/usr/local/share/gnuradio/grc/blocks
Loading: "/home/niklas/Workspace/Niklas_flowgraphs/Transceiver_Station_1.grc"[Thread 0x7fffdbfff700 (LWP 7678) exited][Detaching after fork from child process 7681]--Type <RET> for more, q to quit, c to continue without paging--RET
Thread 1 "python" received signal SIGSEGV, Segmentation fault.0x00007fffc9d1340b in ?? ()from /usr/lib/python3/dist-packages/gnuradio/digital/digital_python.cpython-38-x86_64-linux-gnu.so(gdb) backtrace#0 0x00007fffc9d1340b in ()at /usr/lib/python3/dist-packages/gnuradio/digital/digital_python.cpython-38-x86_64-linux-gnu.so#1 0x00007fffc9d94a02 in ()at /usr/lib/python3/dist-packages/gnuradio/digital/digital_python.cpython-38-x86_64-linux-gnu.so#2 0x00000000005f5b39 in PyCFunction_Call ()#3 0x00000000005f6706 in _PyObject_MakeTpCall ()#4 0x000000000050ba83 in ()#5 0x0000000000570b82 in _PyEval_EvalFrameDefault ()#6 0x0000000000569d8a in _PyEval_EvalCodeWithName ()#7 0x000000000068e267 in PyEval_EvalCode ()#8 0x000000000067d9b1 in ()#9 0x000000000067da2f in ()#10 0x000000000067dc1f in PyRun_StringFlags ()#11 0x000000000060091e in ()#12 0x00000000005c4790 in ()#13 0x000000000056bab6 in _PyEval_EvalFrameDefault ()#14 0x0000000000569d8a in _PyEval_EvalCodeWithName ()#15 0x00000000005f60c3 in _PyFunction_Vectorcall ()#16 0x000000000056bbe1 in _PyEval_EvalFrameDefault ()#17 0x00000000005f5ee6 in _PyFunction_Vectorcall ()#18 0x000000000056bbe1 in _PyEval_EvalFrameDefault ()
Thank you for helping
Von: Vasil Velichkov <vvvelichkov@gmail.com>
Gesendet: Montag, 20. März 2023 18:58:46
An: Beckmann, Niklas
Cc: discuss-gnuradio@gnu.org
Betreff: Re: AW: Import Error "undefined symbol"Hi Niklas
On 20/03/2023 19.19, Beckmann, Niklas wrote:
> but... I am not able to open gnuradio anymore:
>
>
> <<< Welcome to GNU Radio Companion 3.10.5.0 >>>
>
> Block paths:
> /home/niklas/.grc_gnuradio
> /usr/share/gnuradio/grc/blocks
> /usr/local/share/gnuradio/grc/blocks
>
> Loading: "/home/niklas/Workspace/Niklas_flowgraphs/Transceiver_Station_1.grc"
> Segmentation fault (core dumped)
Start gnuradio under gdb, in your terminal execute
gdb --ex run --args python $(which gnuradio-companion)
When it stops and you get "Segmentation fault (core dumped)" then take a backtrace
(gdb) backtrace
and provide the full output.
Regards,
Vasil
No comments:
Post a Comment