[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adaptation of Federico La Roccas ISDB-T blocks for DVB-T
From: |
Vasil Velichkov |
Subject: |
Re: Adaptation of Federico La Roccas ISDB-T blocks for DVB-T |
Date: |
Fri, 10 Dec 2021 13:35:38 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 |
Hi Ralf,
On 10/12/2021 11.52, Ralf Gorholt wrote:
> Unfortunately, when I deactivate the original flowgraph, it does no
> longer work and I get a -11 return code.
The "-11" value means that you got a segmentation fault and the process was
kill with signal 11 (SIGSEGV)
https://docs.python.org/3.8/library/subprocess.html#subprocess.CalledProcessError.returncode
https://www.man7.org/linux/man-pages/man7/signal.7.html
In my opinion the easiest way to debug segfaults is to run the flowgraph under
gdb and valgrind. Open your flowgraph in the gnuradio-companion and then
Generate (F5) but do not Execute (F6). The open a terminal, go where the
flowgraph python (.py) file was generated and execute
gdb -ex run --args /usr/bin/python3 test.py
and then when it stops execute `bt` command in the gdb's shell and provide the
full output. To run it under valgrind execute
valgrind --tool=memcheck /usr/bin/python3 test.py
Adjust the path to your python interpreter and its version if needed.
Regards,
Vasil
- Adaptation of Federico La Roccas ISDB-T blocks for DVB-T, Ralf Gorholt, 2021/12/10
- Re: Adaptation of Federico La Roccas ISDB-T blocks for DVB-T,
Vasil Velichkov <=
- Re: Adaptation of Federico La Roccas ISDB-T blocks for DVB-T, Ralf Gorholt, 2021/12/10
- Re: Adaptation of Federico La Roccas ISDB-T blocks for DVB-T, Federico 'Larroca' La Rocca, 2021/12/10
- Re: Adaptation of Federico La Roccas ISDB-T blocks for DVB-T, Ralf Gorholt, 2021/12/10
- Re: Adaptation of Federico La Roccas ISDB-T blocks for DVB-T, Ralf Gorholt, 2021/12/11
- Re: Adaptation of Federico La Roccas ISDB-T blocks for DVB-T, Ralf Gorholt, 2021/12/13
- Re: Adaptation of Federico La Roccas ISDB-T blocks for DVB-T, Federico 'Larroca' La Rocca, 2021/12/13
- Still: adaptation of the ISDB-T blocks for DVB-T / python problem, Ralf Gorholt, 2021/12/20
- Re: Adaptation of Federico La Roccas ISDB-T blocks for DVB-T, Vasil Velichkov, 2021/12/10
- Re: Adaptation of Federico La Roccas ISDB-T blocks for DVB-T, Ralf Gorholt, 2021/12/10