discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: qa_qtgui (Failed)-Segmentation fault (core dumped)


From: isaac mario tupac davila
Subject: Re: qa_qtgui (Failed)-Segmentation fault (core dumped)
Date: Tue, 30 Nov 2021 09:15:24 -0500

Hi Vasil.

Thanks for the respond. This is what I see. I had a GR 3.7.13 before. I desintaled with make uninstall but I didn't erase its workarea file. This could be the problem?...I'm installing this new GNR 3.8.1 in a new worarea file by the way.

Regards
Isaac T.

==18632== Invalid read of size 4
==18632==    at 0x5AC3AE: ??? (in /usr/bin/python3.6)
==18632==    by 0x5A9676: PyParser_ParseStringObject (in /usr/bin/python3.6)
==18632==    by 0x5B2307: PyParser_ASTFromStringObject (in /usr/bin/python3.6)
==18632==    by 0x63538B: Py_CompileStringObject (in /usr/bin/python3.6)
==18632==    by 0x6023D2: ??? (in /usr/bin/python3.6)
==18632==    by 0x566AD9: _PyCFunction_FastCallDict (in /usr/bin/python3.6)
==18632==    by 0x566F85: PyCFunction_Call (in /usr/bin/python3.6)
==18632==    by 0x510F55: _PyEval_EvalFrameDefault (in /usr/bin/python3.6)
==18632==    by 0x507CD3: ??? (in /usr/bin/python3.6)
==18632==    by 0x5099FF: ??? (in /usr/bin/python3.6)
==18632==    by 0x50A3FC: ??? (in /usr/bin/python3.6)
==18632==    by 0x50CD14: _PyEval_EvalFrameDefault (in /usr/bin/python3.6)
==18632==  Address 0x8e6c020 is 64 bytes inside a block of size 694 free'd
==18632==    at 0x4C32D3B: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==18632==    by 0x4EFAA8: PyCode_Optimize (in /usr/bin/python3.6)
==18632==    by 0x4FF7DE: ??? (in /usr/bin/python3.6)
==18632==    by 0x5034F1: ??? (in /usr/bin/python3.6)
==18632==    by 0x505C4E: ??? (in /usr/bin/python3.6)
==18632==    by 0x5070DA: PyAST_CompileObject (in /usr/bin/python3.6)
==18632==    by 0x6353B2: Py_CompileStringObject (in /usr/bin/python3.6)
==18632==    by 0x6023D2: ??? (in /usr/bin/python3.6)
==18632==    by 0x566AD9: _PyCFunction_FastCallDict (in /usr/bin/python3.6)
==18632==    by 0x566F85: PyCFunction_Call (in /usr/bin/python3.6)
==18632==    by 0x510F55: _PyEval_EvalFrameDefault (in /usr/bin/python3.6)
==18632==    by 0x507CD3: ??? (in /usr/bin/python3.6)
==18632==  Block was alloc'd at
==18632==    at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==18632==    by 0x5AD3DA: PyMem_Malloc (in /usr/bin/python3.6)
==18632==    by 0x4EF582: PyCode_Optimize (in /usr/bin/python3.6)
==18632==    by 0x4FF7DE: ??? (in /usr/bin/python3.6)
==18632==    by 0x5034F1: ??? (in /usr/bin/python3.6)
==18632==    by 0x505C4E: ??? (in /usr/bin/python3.6)
==18632==    by 0x5070DA: PyAST_CompileObject (in /usr/bin/python3.6)
==18632==    by 0x6353B2: Py_CompileStringObject (in /usr/bin/python3.6)
==18632==    by 0x6023D2: ??? (in /usr/bin/python3.6)
==18632==    by 0x566AD9: _PyCFunction_FastCallDict (in /usr/bin/python3.6)
==18632==    by 0x566F85: PyCFunction_Call (in /usr/bin/python3.6)
==18632==    by 0x510F55: _PyEval_EvalFrameDefault (in /usr/bin/python3.6)
==18632==
==18632== Jump to the invalid address stated on the next line
==18632==    at 0x2CF0: ???
==18632==    by 0x40108D2: call_init (dl-init.c:72)
==18632==    by 0x40108D2: _dl_init (dl-init.c:119)
==18632==    by 0x401539E: dl_open_worker (dl-open.c:522)
==18632==    by 0x4FA51EE: _dl_catch_exception (dl-error-skeleton.c:196)
==18632==    by 0x4014969: _dl_open (dl-open.c:605)
==18632==    by 0x544EF95: dlopen_doit (dlopen.c:66)
==18632==    by 0x4FA51EE: _dl_catch_exception (dl-error-skeleton.c:196)
==18632==    by 0x4FA527E: _dl_catch_error (dl-error-skeleton.c:215)
==18632==    by 0x544F744: _dlerror_run (dlerror.c:162)
==18632==    by 0x544F050: dlopen@@GLIBC_2.2.5 (dlopen.c:87)
==18632==    by 0x5F88BC: _PyImport_FindSharedFuncptr (in /usr/bin/python3.6)
==18632==    by 0x5FBB27: _PyImport_LoadDynamicModuleWithSpec (in /usr/bin/python3.6)
==18632==  Address 0x2cf0 is not stack'd, malloc'd or (recently) free'd
==18632==
==18632==
==18632== Process terminating with default action of signal 11 (SIGSEGV)
==18632==  Bad permissions for mapped region at address 0x2CF0
==18632==    at 0x2CF0: ???
==18632==    by 0x40108D2: call_init (dl-init.c:72)
==18632==    by 0x40108D2: _dl_init (dl-init.c:119)
==18632==    by 0x401539E: dl_open_worker (dl-open.c:522)
==18632==    by 0x4FA51EE: _dl_catch_exception (dl-error-skeleton.c:196)
==18632==    by 0x4014969: _dl_open (dl-open.c:605)
==18632==    by 0x544EF95: dlopen_doit (dlopen.c:66)
==18632==    by 0x4FA51EE: _dl_catch_exception (dl-error-skeleton.c:196)
==18632==    by 0x4FA527E: _dl_catch_error (dl-error-skeleton.c:215)
==18632==    by 0x544F744: _dlerror_run (dlerror.c:162)
==18632==    by 0x544F050: dlopen@@GLIBC_2.2.5 (dlopen.c:87)
==18632==    by 0x5F88BC: _PyImport_FindSharedFuncptr (in /usr/bin/python3.6)
==18632==    by 0x5FBB27: _PyImport_LoadDynamicModuleWithSpec (in /usr/bin/python3.6)
==18632==
==18632== HEAP SUMMARY:
==18632==     in use at exit: 6,210,580 bytes in 7,589 blocks
==18632==   total heap usage: 24,228 allocs, 16,639 frees, 67,406,788 bytes allocated
==18632==
==18632== LEAK SUMMARY:
==18632==    definitely lost: 176 bytes in 4 blocks
==18632==    indirectly lost: 33 bytes in 2 blocks
==18632==      possibly lost: 217,624 bytes in 208 blocks
==18632==    still reachable: 5,992,747 bytes in 7,375 blocks
==18632==         suppressed: 0 bytes in 0 blocks
==18632== Rerun with --leak-check=full to see details of leaked memory
==18632==
==18632== For counts of detected and suppressed errors, rerun with: -v
==18632== Use --track-origins=yes to see where uninitialised values come from
==18632== ERROR SUMMARY: 25930 errors from 222 contexts (suppressed: 0 from 0)
Segmentation fault (core dumped)
soporte@CI-50:~/GR-workarea/gnuradio/build/gr-qtgui/python/qtgui$

El mar, 30 nov 2021 a las 2:23, Vasil Velichkov (<vvvelichkov@gmail.com>) escribió:
Hi Isaac,

On 30/11/2021 07.50, isaac mario tupac davila wrote:
> So I've run valgrind -v ctest -V -R qa_qtgui

This way you are running the ctest under valgrind and not the test.You need to open the qa_qtgui_test.sh file and on the last line add valgrind before python. As this test is a python script you will need to run python under valgrind.

/home/soporte/GR-workarea/gnuradio/build/gr-qtgui/python/qtgui/qa_qtgui_test.sh

  valgrind /usr/bin/python3 -B /home/soporte/GR-workarea/gnuradio/gr-qtgui/python/qtgui/qa_qtgui.py

Regards,
Vasil

reply via email to

[Prev in Thread] Current Thread [Next in Thread]