Hi Marcus - thanks for the reply. Previously I had rebuilt my OOT by deleting all contents of ./build, then going through cmake, make, make install, and ldconfig.
cmake reported: -- Found PythonInterp: /usr/bin/python3 (found version "3.8.2") -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.8.so (found suitable exact version "3.8.2") and: usr/lib/x86_64-linux-gnu$ ls -la libpython* lrwxrwxrwx 1 root root 55 Jul 16 07:00 libpython3.8.a -> ../python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a lrwxrwxrwx 1 root root 17 Jul 16 07:00 libpython3.8.so -> libpython3.8.so.1 lrwxrwxrwx 1 root root 19 Jul 16 07:00 libpython3.8.so.1 -> libpython3.8.so.1.0 -rw-r--r-- 1 root root 5416192 Jul 16 07:00 libpython3.8.so.1.0 So I think that the tools would have linked against 3.8.2, but I do not know how to view the exact linker commands when using the cmake and make tools. -- Tom, N5EG On Mon, Sep 7, 2020 at 4:37 AM Marcus Müller <muel...@kit.edu> wrote: > Hi Tom, > > just to verify: You did recompile your module against 3.8.2.0 and not > accidentally linked it against a gnuradio-something.so of 3.8.1.0 that > lingered on your system? I ask because these things really happen often. > > Best regards, > Marcus > > On 06/09/2020 23.48, Tom McDermott wrote: > > My Ubuntu 20.04 updated automatically to 3.8.2. > > > > SInce the update I have been getting memory error messages in the > > gnuradio-companion terminal window. > > These errors did not occur in 3.8.1. The error is not consistent, > > always get one of the following three error messages: > > > > double free or corruption (!prev) > > > > malloc_consolidate(): invalid chunk size > > Aborted (core dumped) > > > > corrupted size vs. prev_size while consolidating > > > > Have commented out all instances of delete [] in my destructors, but no > > change to the errors. No instances of free() in my code. > > > > The errors occur after stopping the flowgraph from gnuradio-companion. > > I was able to catch the "corrupted size vs. prev_size while > > consolidating" error using gdb (OOT built with > > -DCMAKE_BUYILD_TYPE=Debug). > > > > Thread 1 "python3" received signal SIGINT, Interrupt. > > 0x00007ffff7ed396f in __GI___poll (fds=0x22c9990, nfds=4, timeout=14712) > > at ../sysdeps/unix/sysv/linux/poll.c:29 > > 29 ../sysdeps/unix/sysv/linux/poll.c: No such file or directory. > > (gdb) bt > > #0 0x00007ffff7ed396f in __GI___poll (fds=0x22c9990, nfds=4, > timeout=14712) > > at ../sysdeps/unix/sysv/linux/poll.c:29 > > #1 0x00007ffff39cc1ae in ?? () from > /lib/x86_64-linux-gnu/libglib-2.0.so.0 > > #2 0x00007ffff39cc2e3 in g_main_context_iteration () > > from /lib/x86_64-linux-gnu/libglib-2.0.so.0 > > #3 0x00007ffff3770fd5 in g_application_run () > > from /lib/x86_64-linux-gnu/libgio-2.0.so.0 > > #4 0x00007ffff524fff5 in ?? () from /lib/x86_64-linux-gnu/libffi.so.7 > > #5 0x00007ffff524f40a in ?? () from /lib/x86_64-linux-gnu/libffi.so.7 > > #6 0x00007ffff3ae50a5 in ?? () > > from > > /usr/lib/python3/dist-packages/gi/_gi.cpython-38-x86_64-linux-gnu.so > > <http://gi.cpython-38-x86_64-linux-gnu.so> > > #7 0x00007ffff3adc25c in ?? () > > from > > /usr/lib/python3/dist-packages/gi/_gi.cpython-38-x86_64-linux-gnu.so > > <http://gi.cpython-38-x86_64-linux-gnu.so> > > #8 0x00000000005f118e in PyObject_Call () > > #9 0x0000000000568e1f in _PyEval_EvalFrameDefault () > > #10 0x0000000000565972 in _PyEval_EvalCodeWithName () > > #11 0x00000000005f1d85 in _PyFunction_Vectorcall () > > #12 0x00000000005677c7 in _PyEval_EvalFrameDefault () > > #13 0x00000000005f1b8b in _PyFunction_Vectorcall () > > #14 0x000000000056769f in _PyEval_EvalFrameDefault () > > #15 0x00000000005f1b8b in _PyFunction_Vectorcall () > > #16 0x000000000056769f in _PyEval_EvalFrameDefault () > > #17 0x0000000000565972 in _PyEval_EvalCodeWithName () > > --Type <RET> for more, q to quit, c to continue without paging-- > > #18 0x0000000000686053 in PyEval_EvalCode () > > #19 0x00000000006753d1 in ?? () > > #20 0x000000000067544f in ?? () > > #21 0x0000000000675507 in PyRun_FileExFlags () > > #22 0x000000000067758a in PyRun_SimpleFileExFlags () > > #23 0x00000000006ae99e in Py_RunMain () > > #24 0x00000000006aed29 in Py_BytesMain () > > #25 0x00007ffff7de50b3 in __libc_start_main (main=0x4ebd20 <main>, > argc=2, > > argv=0x7fffffffe028, init=<optimized out>, fini=<optimized out>, > > rtld_fini=<optimized out>, stack_end=0x7fffffffe018) at > > ../csu/libc-start.c:308 > > #26 0x00000000005f62ee in _start () > > > > -- Tom, N5EG > > >