discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] uhd_fft segfault


From: Richard Bell
Subject: Re: [Discuss-gnuradio] uhd_fft segfault
Date: Mon, 16 Feb 2015 16:37:50 -0800

I once had an OpenGL issue mess with uhd_fft. If you run 'glxgears' from a 
terminal does it work and do you get a normal frame rate (30+ fps, I get up to 
60). My fix was installing proper video card drivers. Just a thought. 

Rich

Sent from my iPhone

> On Feb 16, 2015, at 12:48 PM, Ergeerts Glenn <address@hidden> wrote:
> 
> yes i did, "pybombs list" shows this:
> 
>                  gnuradio    installed  inventory 
> fc7861ac029a4297df5a0b1159cb07f922670054 
> git://http://www.gnuradio.org/git/gnuradio.git
>                       uhd    installed  inventory 
> 7d97ab60012b99ed92fb122a3a68d68515a404fa 
> git://https://github.com/EttusResearch/uhd.git
> 
> 
>> On 02/16/2015 09:39 PM, Martin Braun wrote:
>> Those swig traces are hard to parse, but you might have to rebuild GNU
>> Radio against the current UHD build. Did you install both via Pybombs?
>> 
>> M
>> 
>>> On 02/16/2015 09:09 PM, Ergeerts Glenn wrote:
>>> Hi,
>>> 
>>> I'm new to SDR and gnuradio and trying to get started with an USRP B200
>>> and gnuradio on ubuntu 14.04.
>>> I'm using pybombs (up-to-date) for building. Building succeeds but i get
>>> a segfault when running uhd_fft.
>>> The backtrace is below.
>>> 
>>> I checked if the correct libuhd was being used (with ldd),instead of an
>>> old version from an ubuntu package.
>>> I also tried uhd_find_devices (which uses pure uhd if i'm correct,
>>> without gnuradio?), this works fine.
>>> Running "pybombs verify gnuradio" results in:
>>> The following tests FAILED:
>>>          183 - qa_uhd (Failed)
>>>          192 - qa_fcd (Failed)
>>> Errors while running CT
>>> 
>>> Running gnuradio/gr-uhd/python/uhd/qa_uhd.py in gdb segfaults with a
>>> similar backtrace as well.
>>> Finally, i tried changing the gnuradio recipe to use the maint branch
>>> instead of master.
>>> Rebuilding (after cleaning the build dir) results in the same situation
>>> however.
>>> 
>>> I don't know where to look next. Did anyone experience the same problem?
>>> Thanks for any pointers!
>>> 
>>> 
>>> (gdb) bt
>>> #0  0x000000000001e626 in ?? ()
>>> #1  0x00007ffff079d3a0 in strstr (__needle=0x7ffff082bfca "swig_ptr: ",
>>> __haystack=0xd9398 <error: Cannot access memory at address 0xd9398>) at
>>> /usr/include/string.h:337
>>> #2  SWIG_Python_FixMethods (methods=0x7ffff0a57380 <SwigMethods>,
>>> const_table=0x7ffff0a5d920 <swig_const_table>, types=0x7ffff0a5d980
>>> <swig_types>,
>>>      types_initial=0x7ffff0a55a20 <swig_type_initial>) at
>>> /home/glenn/projects/pybombs/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:47200
>>> #3  init_uhd_swig () at
>>> /home/glenn/projects/pybombs/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:47321
>>> #4  0x00000000004268bc in _PyImport_LoadDynamicModule
>>> (name=0x7ffff1cccd74 "_uhd_swig",
>>>      pathname=0x7fffed3fa48c
>>> "/home/glenn/bin/gnuradio/lib/python2.7/dist-packages/gnuradio/uhd/_uhd_swig.so",
>>> fp=<optimized out>) at ../Python/importdl.c:53
>>> #5  0x00000000005b75d1 in load_module.39237 (name=<optimized out>,
>>> fp=<optimized out>, pathname=<optimized out>, type=<optimized out>,
>>> address@hidden)
>>>      at ../Python/import.c:1915
>>> #6  0x000000000046232a in imp_load_module.39244 (self=<optimized out>,
>>> args=<optimized out>) at ../Python/import.c:3182
>>> #7  0x000000000052c6d5 in call_function (oparg=<optimized out>,
>>> pp_stack=0x7fffffffc170) at ../Python/ceval.c:4020
>>> #8  PyEval_EvalFrameEx (address@hidden
>>>      Frame 0x7ffff2182a50, for file
>>> /home/glenn/bin/gnuradio/lib/python2.7/dist-packages/gnuradio/uhd/uhd_swig.py,
>>> line 24, in swig_import_helper (dirname=<function at remote
>>> 0x7ffff7f0f578>, imp=<module at remote 0x7ffff6b519f0>, fp=<file at
>>> remote 0x7ffff0aa1f60>,
>>> pathname='/home/glenn/bin/gnuradio/lib/python2.7/dist-packages/gnuradio/uhd/_uhd_swig.so',
>>> description=('.so', 'rb', 3)), address@hidden) at
>>> ../Python/ceval.c:2666
>>> #9  0x000000000052cf32 in fast_function (nk=<optimized out>,
>>> na=<optimized out>, n=0, pp_stack=0x7fffffffc2b0, func=<function at
>>> remote 0x7fffed3fa398>)
>>>      at ../Python/ceval.c:4106
>>> #10 call_function (oparg=<optimized out>, pp_stack=0x7fffffffc2b0) at
>>> ../Python/ceval.c:4041
>>> #11 PyEval_EvalFrameEx (address@hidden 0x7ffff1c73b00, for file
>>> /home/glenn/bin/gnuradio/lib/python2.7/dist-packages/gnuradio/uhd/uhd_swig.py,
>>> line 28, in <module> (),
>>>      address@hidden) at ../Python/ceval.c:2666
>>> #12 0x000000000055c594 in PyEval_EvalCodeEx (co=0x7fffed40a9b0,
>>> globals=<optimized out>, locals=<optimized out>, args=<optimized out>,
>>> argcount=<optimized out>,
>>>      kws=<optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0)
>>> at ../Python/ceval.c:3252
>>> #13 0x00000000005b7392 in PyEval_EvalCode (co=<optimized out>,
>>> globals=<optimized out>, locals=<optimized out>) at ../Python/ceval.c:667
>>> #14 0x00000000005b744a in PyImport_ExecCodeModuleEx
>>> (address@hidden "gnuradio.uhd.uhd_swig", address@hidden<code at
>>> remote 0x7fffed40a9b0>,
>>>      address@hidden
>>> "/home/glenn/bin/gnuradio/lib/python2.7/dist-packages/gnuradio/uhd/uhd_swig.pyc")
>>> at ../Python/import.c:709
>>> #15 0x0000000000579f0f in load_source_module.39194
>>> (address@hidden "gnuradio.uhd.uhd_swig",
>>>      pathname=0xa0f170
>>> "/home/glenn/bin/gnuradio/lib/python2.7/dist-packages/gnuradio/uhd/uhd_swig.pyc",
>>> 
>>>      address@hidden
>>> "/home/glenn/bin/gnuradio/lib/python2.7/dist-packages/gnuradio/uhd/uhd_swig.py",
>>> fp=<optimized out>) at ../Python/import.c:1099
>>> #16 0x00000000005b7541 in load_module.39237 (address@hidden
>>> "gnuradio.uhd.uhd_swig", fp=<optimized out>,
>>>      address@hidden
>>> "/home/glenn/bin/gnuradio/lib/python2.7/dist-packages/gnuradio/uhd/uhd_swig.py",
>>> type=<optimized out>, loader=<optimized out>)
>>>      at ../Python/import.c:1906
>>> #17 0x000000000055d3a3 in import_submodule.39248 (address@hidden<module
>>> at remote 0x7ffff1c8aa98>, address@hidden "uhd_swig",
>>>      fullname=0xdf9060 "gnuradio.uhd.uhd_swig") at ../Python/import.c:2700
>>> #18 0x000000000055d77c in load_next (mod=<module at remote
>>> 0x7ffff1c8aa98>, altmod=None, address@hidden,
>>>      address@hidden "gnuradio.uhd.uhd_swig",
>>> address@hidden) at ../Python/import.c:2515
>>> #19 0x000000000055db37 in import_module_level.isra.3 (level=-1,
>>> fromlist=None, globals=<optimized out>, name=0x0) at ../Python/import.c:2224
>>> #20 PyImport_ImportModuleLevel (name=<optimized out>, globals=<optimized
>>> out>, locals=<optimized out>, fromlist=None, level=-1) at
>>> ../Python/import.c:2288
>>> #21 0x00000000004755e7 in builtin___import__.32997 (self=<optimized
>>> out>, args=<optimized out>, kwds=<optimized out>) at
>>> ../Python/bltinmodule.c:49
>>> #22 0x00000000004da20b in PyObject_Call (kw=0x0,
>>>      arg=('uhd_swig', {'_prepare_uhd_swig': <function at remote
>>> 0x7ffff0adf2a8>, '__builtins__': {'bytearray': <type at remote
>>> 0x9166a0>, 'IndexError': <type at remote 0x919900>, 'all': <built-in
>>> function all>, 'help': <_Helper at remote 0x7ffff7e7d290>, 'vars':
>>> <built-in function vars>, 'SyntaxError': <type at remote 0x91b9e0>,
>>> 'unicode': <type at remote 0x91dc80>, 'UnicodeDecodeError': <type at
>>> remote 0x91a920>, 'memoryview': <type at remote 0x90dae0>, 'isinstance':
>>> <built-in function isinstance>, 'copyright':
>>> <_Printer(_Printer__data='Copyright (c) 2001-2014 Python Software
>>> Foundation.\nAll Rights Reserved.\n\nCopyright (c) 2000 BeOpen.com.\nAll
>>> Rights Reserved.\n\nCopyright (c) 1995-2001 Corporation for National
>>> Research Initiatives.\nAll Rights Reserved.\n\nCopyright (c) 1991-1995
>>> Stichting Mathematisch Centrum, Amsterdam.\nAll Rights Reserved.',
>>> _Printer__lines=None, _Printer__name='copyright', _Printer__dirs=(),
>>> _Printer__files=(...)) at remote 0x7ffff7e7d590>, 'NameError': <type at
>>> remote 0x91bd20>, 'BytesWarn...(truncated), func=<built-in function
>>> __import__>) at ../Objects/abstract.c:2529
>>> #23 PyEval_CallObjectWithKeywords (address@hidden<built-in function
>>> __import__>,
>>>      address@hidden('uhd_swig', {'_prepare_uhd_swig': <function at
>>> remote 0x7ffff0adf2a8>, '__builtins__': {'bytearray': <type at remote
>>> 0x9166a0>, 'IndexError': <type at remote 0x919900>, 'all': <built-in
>>> function all>, 'help': <_Helper at remote 0x7ffff7e7d290>, 'vars':
>>> <built-in function vars>, 'SyntaxError': <type at remote 0x91b9e0>,
>>> 'unicode': <type at remote 0x91dc80>, 'UnicodeDecodeError': <type at
>>> remote 0x91a920>, 'memoryview': <type at remote 0x90dae0>, 'isinstance':
>>> <built-in function isinstance>, 'copyright':
>>> <_Printer(_Printer__data='Copyright (c) 2001-2014 Python Software
>>> Foundation.\nAll Rights Reserved.\n\nCopyright (c) 2000 BeOpen.com.\nAll
>>> Rights Reserved.\n\nCopyright (c) 1995-2001 Corporation for National
>>> Research Initiatives.\nAll Rights Reserved.\n\nCopyright (c) 1991-1995
>>> Stichting Mathematisch Centrum, Amsterdam.\nAll Rights Reserved.',
>>> _Printer__lines=None, _Printer__name='copyright', _Printer__dirs=(),
>>> _Printer__files=(...)) at remote 0x7ffff7e7d590>, 'NameError': <type at
>>> remote
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Discuss-gnuradio mailing list
>>> address@hidden
>>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>> 
>> _______________________________________________
>> Discuss-gnuradio mailing list
>> address@hidden
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio



reply via email to

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