Hi, When compiling i did 'configure --enable-debugging'. so the memory error finally crashed op25 and the core file dumped. i ran 'sudo gdb /home/matt/OP25_GRC/op25_grc.py /home/matt/core.8995'.
I hardly got anything out of gdb (i attached a copy of what was in terminal) but it did say the /home/matt/OP25_GRC/op25_grc.py was not in executable format: file format not recognized.
What am I doing wrong here?
All you need to do is run:
gdb core.8995
On 09/02/2013 07:42 PM, Steve Glass wrote:
All you need to do is run:
gdb core.8995
all i get is :
matt@matt-Inspiron-1525:~$ gdb core.8995 GNU gdb (GDB) 7.5-ubuntu Copyright (C) 2012 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 "i686-linux-gnu". For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/... core.8995: No such file or directory. (gdb)
Try
gdb /usr/bin/python core.8995
Max --- In op25-dev@yahoogroups.com, Matt D <md123@...> wrote:
On 09/02/2013 07:42 PM, Steve Glass wrote:
All you need to do is run:
gdb core.8995
all i get is :
matt@matt-Inspiron-1525:~$ gdb core.8995 GNU gdb (GDB) 7.5-ubuntu Copyright (C) 2012 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 "i686-linux-gnu". For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/... core.8995: No such file or directory. (gdb)
On 09/03/2013 08:43 AM, ikj1234i wrote:
Try
gdb /usr/bin/python core.8995
Max
Hey,
i ran that command. So looking at frame 8 in the backtrace, like Steve said, it seems that the bad pointer is coming from 'snapshot_du_handler::handle'. or somewhere proceeding there. so i did 'list' and 'info locals' for frame 8 till frame 18. please have a look at the attached file.
i rebuilt gnu radio with --enable-debug so i am currently waiting for another crash. kind of funny, hopping the program dies sooner than later.
Thanks!