[Top][All Lists]

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

Re: memory errors in 3.8.2

From: Ron Economos
Subject: Re: memory errors in 3.8.2
Date: Sun, 6 Sep 2020 22:36:37 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

A few notes:

1) The automatic update may be bad. The GNU Radio PPA has other procedural problems and this may be another.

2) Your OOT may be over-writing some Python code. I've seen this before. The different error behavior depends on exactly where your code got loaded in memory.

3) Believe it or not, the module destructor never gets called in GNU Radio.


On 9/6/20 14: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
#7  0x00007ffff3adc25c in ?? ()
   from /usr/lib/python3/dist-packages/gi/_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

reply via email to

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