discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] gdb help


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] gdb help
Date: Fri, 9 Jan 2009 00:59:59 -0800
User-agent: Mutt/1.5.18 (2008-05-17)

On Fri, Jan 09, 2009 at 09:42:59AM +0200, Sebastiaan Heunis wrote:
> Eric
> 
> Sorry about previously.  I guess I need to read more :).  I got the
> gdb backtrace.


This looks suspicious:

string=0x8ffebac "vector_to_streams(13): missing connection from
output port 0") at ../Python/errors.c:57

I'm guessing there's an error in your program that's triggering a bug
in the GR code.

The complaint indicates a gr.vector_to_streams block doesn't have
anything connected to it's first output port.  Does that sound
possible?  Of course the code shouldn't die...

If fixing a problem in your code (missing connection?) makes the
problem go away, can you please see if you can create a small test
case that reproduces the problem?  That way we can go after the GR bug.

Thanks!
Eric


> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0xb7dc18c0 (LWP 7143)]
> PyErr_Restore (type=0x81422c0, value=0x8e36ac8, traceback=0x0)
>     at ../Python/errors.c:39
> 39    ../Python/errors.c: No such file or directory.
>       in ../Python/errors.c
> (gdb) bt
> #0  PyErr_Restore (type=0x81422c0, value=0x8e36ac8, traceback=0x0)
>     at ../Python/errors.c:39
> #1  0x080d9e6e in PyErr_SetString (exception=0x81422c0,
>     string=0x8ffebac "vector_to_streams(13): missing connection from
> output port 0") at ../Python/errors.c:57
> #2  0xb5ffb5fa in SWIG_Python_SetErrorMsg ()
>    from 
> /usr/local/lib/python2.5/site-packages/gnuradio/gr/_gnuradio_swig_py_runtime.so
> #3  0xb600bdf0 in _wrap_top_block_run_unlocked ()
>    from 
> /usr/local/lib/python2.5/site-packages/gnuradio/gr/_gnuradio_swig_py_runtime.so
> #4  0x0805cb97 in PyObject_Call (func=0x0, arg=0x8e0ca4c, kw=0x0)
>     at ../Objects/abstract.c:1861
> #5  0x080c7e04 in PyEval_EvalFrameEx (f=0x8fdb054, throwflag=0)
>     at ../Python/ceval.c:3853
> #6  0x080cb1f7 in PyEval_EvalCodeEx (co=0x8780e30, globals=0x870c13c,
>     locals=0x0, args=0x8fdb03c, argcount=1, kws=0x8fdb040, kwcount=0,
>     defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:2836
> #7  0x080c93fe in PyEval_EvalFrameEx (f=0x8fdaefc, throwflag=0)
>     at ../Python/ceval.c:3669
> #8  0x080c96e5 in PyEval_EvalFrameEx (f=0x81770d4, throwflag=0)
>     at ../Python/ceval.c:3659
> #9  0x080cb1f7 in PyEval_EvalCodeEx (co=0xb7d4f260, globals=0xb7d9aacc,
> ---Type <return> to continue, or q <return> to quit---
>     locals=0xb7d9aacc, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0,
>     defcount=0, closure=0x0) at ../Python/ceval.c:2836
> #10 0x080cb347 in PyEval_EvalCode (co=0xb7d4f260, globals=0xb7d9aacc,
>     locals=0xb7d9aacc) at ../Python/ceval.c:494
> #11 0x080ea818 in PyRun_FileExFlags (fp=0x816b008,
>     filename=0xbf93b68a "test_channelise.py", start=257, globals=0xb7d9aacc,
>     locals=0xb7d9aacc, closeit=1, flags=0xbf93a5a8)
>     at ../Python/pythonrun.c:1273
> #12 0x080eaab9 in PyRun_SimpleFileExFlags (fp=0x816b008,
>     filename=0xbf93b68a "test_channelise.py", closeit=1, flags=0xbf93a5a8)
>     at ../Python/pythonrun.c:879
> #13 0x08059335 in Py_Main (argc=1, argv=0xbf93a674) at ../Modules/main.c:523
> #14 0x080587f2 in main (argc=Cannot access memory at address 0x0
> ) at ../Modules/python.c:23
> 
> Sebastiaan
> 




reply via email to

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