Closed RichardSharpe closed 10 years ago
OK, it seems that I have pygobject 2.28 installed, so I told pybombs that, and now I have another problem. I probably just need to tell it which packages are installed.
After I told pybombs about all the things I already had installed, things went OK.
Building in this chimeric fashion where some things are part of my Fedora install and some are part of the pybombs install seems to be causing crashes, so I need a work around for this issue.
To be clear, what happens is that when I run gnuradio-companion, it crashes in python. Can't get a crash dump because of a lack of symbols.
is it a segmentation fault? If so you can use gdb as explained in the following link:
http://lists.gnu.org/archive/html/discuss-gnuradio/2013-11/msg00232.html
Commands:
gdb --args python $(which gnuradio-companion) run
bt
Mike
Mike Jameson M0MIK BSc MIET Email: mike@scanoo.com Web: http://scanoo.com
On Fri, Sep 5, 2014 at 3:35 PM, Richard Sharpe notifications@github.com wrote:
To be clear, what happens is that when I run gnuradio-companion, it crashes in python. Can't get a crash dump because of a lack of symbols.
— Reply to this email directly or view it on GitHub https://github.com/pybombs/pybombs/issues/93#issuecomment-54632723.
Well, it seems to be a segfault in python itself, but I will give that a try.
I also realized I can get symbols on Fedora if I install the debug modules (I think) so I have done that.
If you start again using a fresh installation of Ubuntu 14.04 x64 LTS then running './pybombs install gnuradio' just works!
Link to Ubuntu ISO:
http://releases.ubuntu.com/14.04.1/ubuntu-14.04.1-desktop-amd64.iso
Mike
Mike Jameson M0MIK BSc MIET Email: mike@scanoo.com Web: http://scanoo.com
On Fri, Sep 5, 2014 at 3:44 PM, Richard Sharpe notifications@github.com wrote:
Well, it seems to be a segfault in python itself, but I will give that a try.
I also realized I can get symbols on Fedora if I install the debug modules (I think) so I have done that.
— Reply to this email directly or view it on GitHub https://github.com/pybombs/pybombs/issues/93#issuecomment-54633900.
Ubuntu is just not an option for me. I will keep trying this. Why is the patched version of pygobject 2.27 required?
Here is the best traceback I can get at the moment:
key=<unknown at remote 0x7fffffffaf00>)
at /usr/src/debug/Python-2.7.5/Objects/dictobject.c:752
{'/usr/lib64/python2.7/lib-dynload/itertoolsmodule.so': {'ifilter': <type at remote 0x7fffee37d820>, 'product': <type at remote 0x7fffee37e040>, 'repeat': <type at remote 0x7fffee37d1a0>, 'starmap': <type at remote 0x7fffee37e520>, 'chain': <type at remote 0x7fffee37e1e0>, 'compress': <type at remote 0x7fffee37d9c0>, 'izip': <type at remote 0x7fffee37d340>, 'permutations': <type at remote 0x7fffee37db60>, 'combinations_with_replacement': <type at remote 0x7fffee37dd00>, 'tee': <built-in function tee>, 'groupby': <type at remote 0x7fffee37f220>, '**file**': '/usr/lib64/python2.7/lib-dynload/itertoolsmodule.so', 'imap': <type at remote 0x7fffee37e380>, 'islice': <type at remote 0x7fffee37e6c0>, 'combinations': <type at remote 0x7fffee37dea0>, '**name**': 'itertools', 'izip_longest': <type at remote 0x7fffee37d000>, 'cycle': <type at remote 0x7fffee37eba0>, 'count': <type at remote 0x7fffee37d4e0>, 'takewhile': <type at remote 0x7fffee37e860>, '**package**': None, 'ifilterfalse': <type at remote 0x7fffee37d680>,...(truncated), key=<optimized out>)
at /usr/src/debug/Python-2.7.5/Objects/dictobject.c:2435
name=0x52d7834 "_osmosdr_swig", pathname=0x4df6ea0 "\300m\337\004",
fp=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/importdl.c:53
fp=<optimized out>, pathname=<optimized out>, type=<optimized out>,
loader=loader@entry=0x0)
at /usr/src/debug/Python-2.7.5/Python/import.c:1915
args=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/import.c:3182
pp_stack=0x7fffffffb0e0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:4098
f=f@entry=Frame 0x5300830, for file /home/rsharpe/target/lib64/python2.7/site-packages/osmosdr/osmosdr_swig.py, line 22, in swig_import_helper (dirname=<function at remote 0x7ffff7f83578>, imp=<module at remote 0xb4f130>, fp=<file at remote 0x52eb420>, pathname='/home/rsharpe/target/lib64/python2.7/site-packages/osmosdr/_osmosdr_swig.so', description=('.so', 'rb', 3)),
throwflag=throwflag@entry=0)
at /usr/src/debug/Python-2.7.5/Python/ceval.c:2740
pp_stack=0x7fffffffb240, func=<function at remote 0x52e7668>)
at /usr/src/debug/Python-2.7.5/Python/ceval.c:4184
at /usr/src/debug/Python-2.7.5/Python/ceval.c:4119
f=f@entry=Frame 0x5295a20, for file /home/rsharpe/target/lib64/python2.7/site-packages/osmosdr/osmosdr_swig.py, line 26, in <module> (),
throwflag=throwflag@entry=0)
at /usr/src/debug/Python-2.7.5/Python/ceval.c:2740
globals=globals@entry={'version_info': <sys.version_info at remote 0x7ffff7f97f70>, '__builtins__': {'bytearray': <type at remote 0x3dfa77a020>, 'IndexError': <type at remote 0x3dfa780c40>, 'all': <built-in function all>, 'help': <_Helper at remote 0x7ffff7ea89d0>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x3dfa7812c0>, 'unicode': <type at remote 0x3dfa7972c0>, 'UnicodeDecodeError': <type at remote 0x3dfa780320>, 'memoryview': <type at remote 0x3dfa78b4a0>, 'isinstance': <built-in function isinstance>, 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2013 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 0x7ffff7ea8590>, 'NameError': <type at remote 0x3dfa7...(truncated),
locals=locals@entry={'version_info': <sys.version_info at remote 0x7ffff7f97f70>, '__builtins__': {'bytearray': <type at remote 0x3dfa77a020>, 'IndexError': <type at remote 0x3dfa780c40>, 'all': <built-in function all>, 'help': <_Helper at remote 0x7ffff7ea89d0>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x3dfa7812c0>, 'unicode': <type at remote 0x3dfa7972c0>, 'UnicodeDecodeError': <type at remote 0x3dfa780320>, 'memoryview': <type at remote 0x3dfa78b4a0>, 'isinstance': <built-in function isinstance>, 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2013 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 0x7ffff7ea8590>, 'NameError': <type at remote 0x3dfa7...(truncated), args=args@entry=0x0, argcount=argcount@entry=0,
kws=kws@entry=0x0, kwcount=kwcount@entry=0, defs=defs@entry=0x0,
defcount=defcount@entry=0, closure=closure@entry=0x0)
at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330
globals=globals@entry={'version_info': <sys.version_info at remote 0x7ffff7f97f70>, '__builtins__': {'bytearray': <type at remote 0x3dfa77a020>, 'IndexError': <type at remote 0x3dfa780c40>, 'all': <built-in function all>, 'help': <_Helper at remote 0x7ffff7ea89d0>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x3dfa7812c0>, 'unicode': <type at remote 0x3dfa7972c0>, 'UnicodeDecodeError': <type at remote 0x3dfa780320>, 'memoryview': <type at remote 0x3dfa78b4a0>, 'isinstance': <built-in function isinstance>, 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2013 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 0x7ffff7ea8590>, 'NameError': <type at remote 0x3dfa7...(truncated),
locals=locals@entry={'version_info': <sys.version_info at remote 0x7ffff7f97f70>, '__builtins__': {'bytearray': <type at remote 0x3dfa77a020>, 'IndexError': <type at remote 0x3dfa780c40>, 'all': <built-in function all>, 'help': <_Helper at remote 0x7ffff7ea89d0>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x3dfa7812c0>, 'unicode': <type at remote 0x3dfa7972c0>, 'UnicodeDecodeError': <type at remote 0x3dfa780320>, 'memoryview': <type at remote 0x3dfa78b4a0>, 'isinstance': <built-in function isinstance>, 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2013 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 0x7ffff7ea8590>, 'NameError': <type at remote 0x3dfa7...(truncated)) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689
name=name@entry=0x529c250 "osmosdr.osmosdr_swig",
co=co@entry=<code at remote 0x533b3b0>,
pathname=pathname@entry=0x5304fa0 "/home/rsharpe/target/lib64/python2.7/site-packages/osmosdr/osmosdr_swig.pyc")
at /usr/src/debug/Python-2.7.5/Python/import.c:709
name=name@entry=0x529c250 "osmosdr.osmosdr_swig",
pathname=0x5304fa0 "/home/rsharpe/target/lib64/python2.7/site-packages/osmosdr/osmosdr_swig.pyc",
pathname@entry=0x529d260 "/home/rsharpe/target/lib64/python2.7/site-packages/osmosdr/osmosdr_swig.py", fp=<optimized out>)
at /usr/src/debug/Python-2.7.5/Python/import.c:1099
name=name@entry=0x529c250 "osmosdr.osmosdr_swig", fp=<optimized out>,
pathname=pathname@entry=0x529d260 "/home/rsharpe/target/lib64/python2.7/site-packages/osmosdr/osmosdr_swig.py", type=<optimized out>,
loader=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/import.c:1906
mod=mod@entry=<module at remote 0x52d77f8>,
subname=subname@entry=0x529c258 "osmosdr_swig",
fullname=fullname@entry=0x529c250 "osmosdr.osmosdr_swig")
at /usr/src/debug/Python-2.7.5/Python/import.c:2700
altmod=None, p_name=p_name@entry=0x7fffffffb560,
buf=buf@entry=0x529c250 "osmosdr.osmosdr_swig",
p_buflen=p_buflen@entry=0x7fffffffb568)
at /usr/src/debug/Python-2.7.5/Python/import.c:2515
level=<optimized out>, fromlist=('_',), globals=<optimized out>, name=0x0)
at /usr/src/debug/Python-2.7.5/Python/import.c:2224
locals=<optimized out>, fromlist=('_',), level=<optimized out>)
at /usr/src/debug/Python-2.7.5/Python/import.c:2288
args=<optimized out>, kwds=<optimized out>)
at /usr/src/debug/Python-2.7.5/Python/bltinmodule.c:49
func=func@entry=<built-in function __import__>,
arg=arg@entry=('osmosdr_swig', {'**builtins**': {'bytearray': <type at remote 0x3dfa77a020>, 'IndexError': <type at remote 0x3dfa780c40>, 'all': <built-in function all>, 'help': <_Helper at remote 0x7ffff7ea89d0>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x3dfa7812c0>, 'unicode': <type at remote 0x3dfa7972c0>, 'UnicodeDecodeError': <type at remote 0x3dfa780320>, 'memoryview': <type at remote 0x3dfa78b4a0>, 'isinstance': <built-in function isinstance>, 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2013 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 0x7ffff7ea8590>, 'NameError': <type at remote 0x3dfa7818c0>, 'BytesWarning': <type at remote 0x3d...(truncated), kw=<optimized out>)
at /usr/src/debug/Python-2.7.5/Objects/abstract.c:2529
func=func@entry=<built-in function __import__>,
arg=arg@entry=('osmosdr_swig', {'**builtins**': {'bytearray': <type at remote 0x3dfa77a020>, 'IndexError': <type at remote 0x3dfa780c40>, 'all': <built-in function all>, 'help': <_Helper at remote 0x7ffff7ea89d0>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x3dfa7812c0>, 'unicode': <type at remote 0x3dfa7972c0>, 'UnicodeDecodeError': <type at remote 0x3dfa780320>, 'memoryview': <type at remote 0x3dfa78b4a0>, 'isinstance': <built-in function isinstance>, 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2013 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 0x7ffff7ea8590>, 'NameError': <type at remote 0x3dfa7818c0>, 'BytesWarning': <type at remote 0x3d...(truncated), kw=kw@entry=0x0)
at /usr/src/debug/Python-2.7.5/Python/ceval.c:3967
f=f@entry=Frame 0x3191930, for file /home/rsharpe/target/lib64/python2.7/site-packages/osmosdr/__init__.py, line 26, in <module> (),
throwflag=throwflag@entry=0)
at /usr/src/debug/Python-2.7.5/Python/ceval.c:2407
globals=globals@entry={'**builtins**': {'bytearray': <type at remote 0x3dfa77a020>, 'IndexError': <type at remote 0x3dfa780c40>, 'all': <built-in function all>, 'help': <_Helper at remote 0x7ffff7ea89d0>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x3dfa7812c0>, 'unicode': <type at remote 0x3dfa7972c0>, 'UnicodeDecodeError': <type at remote 0x3dfa780320>, 'memoryview': <type at remote 0x3dfa78b4a0>, 'isinstance': <built-in function isinstance>, 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2013 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 0x7ffff7ea8590>, 'NameError': <type at remote 0x3dfa7818c0>, 'BytesWarning': <type at remote 0x3dfa77e2a0>, 'dict'...(truncated),
locals=locals@entry={'__builtins__': {'bytearray': <type at remote 0x3dfa77a020>, 'IndexError': <type at remote 0x3dfa780c40>, 'all': <built-in function all>, 'help': <_Helper at remote 0x7ffff7ea89d0>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x3dfa7812c0>, 'unicode': <type at remote 0x3dfa7972c0>, 'UnicodeDecodeError': <type at remote 0x3dfa780320>, 'memoryview': <type at remote 0x3dfa78b4a0>, 'isinstance': <built-in function isinstance>, 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2013 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 0x7ffff7ea8590>, 'NameError': <type at remote 0x3dfa7818c0>, 'BytesWarning': <type at remote 0x3dfa77e2a0>, 'dict'...(truncated), args=args@entry=0x0, argcount=argcount@entry=0,
kws=kws@entry=0x0, kwcount=kwcount@entry=0, defs=defs@entry=0x0,
defcount=defcount@entry=0, closure=closure@entry=0x0)
at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330
globals=globals@entry={'__builtins__': {'bytearray': <type at remote 0x3dfa77a020>, 'IndexError': <type at remote 0x3dfa780c40>, 'all': <built-in function all>, 'help': <_Helper at remote 0x7ffff7ea89d0>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x3dfa7812c0>, 'unicode': <type at remote 0x3dfa7972c0>, 'UnicodeDecodeError': <type at remote 0x3dfa780320>, 'memoryview': <type at remote 0x3dfa78b4a0>, 'isinstance': <built-in function isinstance>, 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2013 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 0x7ffff7ea8590>, 'NameError': <type at remote 0x3dfa7818c0>, 'BytesWarning': <type at remote 0x3dfa77e2a0>, 'dict'...(truncated),
locals=locals@entry={'__builtins__': {'bytearray': <type at remote 0x3dfa77a020>, 'IndexError': <type at remote 0x3dfa780c40>, 'all': <built-in function all>, 'help': <_Helper at remote 0x7ffff7ea89d0>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x3dfa7812c0>, 'unicode': <type at remote 0x3dfa7972c0>, 'UnicodeDecodeError': <type at remote 0x3dfa780320>, 'memoryview': <type at remote 0x3dfa78b4a0>, 'isinstance': <built-in function isinstance>, 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2013 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 0x7ffff7ea8590>, 'NameError': <type at remote 0x3dfa7818c0>, 'BytesWarning': <type at remote 0x3dfa77e2a0>, 'dict'...(truncated)) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689
name=name@entry=0x52f4950 "osmosdr",
co=co@entry=<code at remote 0x5042e30>,
pathname=pathname@entry=0x529b240 "/home/rsharpe/target/lib64/python2.7/site-packages/osmosdr/__init__.pyc")
at /usr/src/debug/Python-2.7.5/Python/import.c:709
name=name@entry=0x52f4950 "osmosdr",
pathname=0x529b240 "/home/rsharpe/target/lib64/python2.7/site-packages/osmosdr/**init**.pyc",
pathname@entry=0x52ab2c0 "/home/rsharpe/target/lib64/python2.7/site-packages/osmosdr/**init**.py", fp=<optimized out>)
at /usr/src/debug/Python-2.7.5/Python/import.c:1099
fp=<optimized out>,
pathname=pathname@entry=0x52ab2c0 "/home/rsharpe/target/lib64/python2.7/site-packages/osmosdr/**init**.py", type=<optimized out>, loader=loader@entry=0x0)
at /usr/src/debug/Python-2.7.5/Python/import.c:1906
pathname=pathname@entry=0x52aa2b0 "/home/rsharpe/target/lib64/python2.7/site-packages/osmosdr") at /usr/src/debug/Python-2.7.5/Python/import.c:1166
fp=<optimized out>,
pathname=pathname@entry=0x52aa2b0 "/home/rsharpe/target/lib64/python2.7/site-packages/osmosdr", type=<optimized out>, loader=<optimized out>)
at /usr/src/debug/Python-2.7.5/Python/import.c:1920
subname=subname@entry=0x52f4950 "osmosdr",
fullname=fullname@entry=0x52f4950 "osmosdr")
at /usr/src/debug/Python-2.7.5/Python/import.c:2700
p_name=p_name@entry=0x7fffffffbaf0, buf=buf@entry=0x52f4950 "osmosdr",
p_buflen=p_buflen@entry=0x7fffffffbaf8)
at /usr/src/debug/Python-2.7.5/Python/import.c:2515
level=<optimized out>, fromlist=0x0, globals=<optimized out>, name=0x0)
at /usr/src/debug/Python-2.7.5/Python/import.c:2224
locals=<optimized out>, fromlist=0x0, level=<optimized out>)
at /usr/src/debug/Python-2.7.5/Python/import.c:2288
args=<optimized out>, kwds=<optimized out>)
at /usr/src/debug/Python-2.7.5/Python/bltinmodule.c:49
pp_stack=0x7fffffffbcb0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:4098
f=f@entry=Frame 0x318d870, for file /home/rsharpe/target/lib64/python2.7/site-packages/gnuradio/grc/python/extract_docs.py, line 41, in _extract (key='osmosdr_source', module_name='osmosdr', constructor_name='source'),
throwflag=throwflag@entry=0)
at /usr/src/debug/Python-2.7.5/Python/ceval.c:2740
globals=<optimized out>, locals=locals@entry=0x0, args=<optimized out>,
argcount=argcount@entry=1, kws=0x318d5d0, kwcount=0, defs=0x0, defcount=0,
closure=closure@entry=0x0)
at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330
pp_stack=0x7fffffffbeb0, func=<function at remote 0x15e2aa0>)
at /usr/src/debug/Python-2.7.5/Python/ceval.c:4194
at /usr/src/debug/Python-2.7.5/Python/ceval.c:4119
f=f@entry=Frame 0x318d440, for file /home/rsharpe/target/lib64/python2.7/site-packages/gnuradio/grc/python/extract_docs.py, line 69, in extract (key='osmosdr_source'), throwflag=throwflag@entry=0)
at /usr/src/debug/Python-2.7.5/Python/ceval.c:2740
pp_stack=0x7fffffffc010, func=<function at remote 0x15e2f50>)
at /usr/src/debug/Python-2.7.5/Python/ceval.c:4184
at /usr/src/debug/Python-2.7.5/Python/ceval.c:4119
f=f@entry=Frame 0x31816c0, for file /home/rsharpe/target/lib64/python2.7/site-packages/gnuradio/grc/python/Block.py, line 162, in get_doc (self=<Block(_var_value='$value', _doc="\nThe osmocom source block:\n\nWhile primarily being developed for the OsmoSDR hardware, this block as well supports:\n\n * FUNcube Dongle through libgnuradio-fcd\n * FUNcube Dongle Pro+ through gr-fcdproplus\n * sysmocom OsmoSDR Devices through libosmosdr\n * RTL2832U based DVB-T dongles through librtlsdr\n * RTL-TCP spectrum server (see librtlsdr project)\n * MSi2500 based DVB-T dongles through libmirisdr\n * gnuradio .cfile input through libgnuradio-blocks\n * RFSPACE SDR-IQ, SDR-IP, NetSDR (incl. X2 option)\n * AirSpy Wideband Receiver through libairspy\n * Great Scott Gadgets HackRF through libhackrf\n * Nuand LLC bladeRF through libbladeRF library\n * Ettus USRP Devices through Ettus UHD library\n * Fairwaves UmTRX through Fairwaves' fork of UHD\n\nBy using the osmocom source block you can take advantage of a common software api in your a...(truncated), throwflag=throwflag@entry=0)
at /usr/src/debug/Python-2.7.5/Python/ceval.c:2740
pp_stack=0x7fffffffc170, func=<function at remote 0x15ef488>)
at /usr/src/debug/Python-2.7.5/Python/ceval.c:4184
at /usr/src/debug/Python-2.7.5/Python/ceval.c:4119
f=f@entry=Frame 0x316a2f0, for file /home/rsharpe/target/lib64/python2.7/site-packages/gnuradio/grc/gui/BlockTreeWindow.py, line 141, in add_block (self=<BlockTreeWindow(search_entry=<gtk.Entry at remote 0x2f9ba00>, treestore=<gtk.TreeStore at remote 0x2f9bb40>, _categories={('Digital Television', 'ATSC'): <gtk.TreeIter at remote 0x172b490>, ('IQ Balance',): <gtk.TreeIter at remote 0x5026620>, ('Byte Operators',): <gtk.TreeIter at remote 0x172b210>, ('Resamplers',): <gtk.TreeIter at remote 0x172b580>, ('Channel Models',): <gtk.TreeIter at remote 0x172b350>, ('Error Coding', 'Decoders'): <gtk.TreeIter at remote 0x172b4e0>, ('Filters',): <gtk.TreeIter at remote 0x172b558>, ('Stream Operators',): <gtk.TreeIter at remote 0x172b300>, ('GUI Widgets', 'WX'): <gtk.TreeIter at remote 0x52622d8>, ('File Operators',): <gtk.TreeIter at remote 0x172b288>, ('Audio',): <gtk.TreeIter at remote 0x172b1c0>, ('Waveform Generators',): <gtk.TreeIter at remote 0x172b080>, ('Impairment Models',): <gtk.TreeIter at remote 0x172b3a0>, ('Channel...(truncated), throwflag=throwflag@entry=0)
at /usr/src/debug/Python-2.7.5/Python/ceval.c:2740
globals=<optimized out>, locals=locals@entry=0x0, args=<optimized out>,
argcount=argcount@entry=3, kws=0xa4bfc0, kwcount=0, defs=0x1681bf8,
defcount=3, closure=closure@entry=0x0)
at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330
pp_stack=0x7fffffffc370, func=<function at remote 0x168a500>)
at /usr/src/debug/Python-2.7.5/Python/ceval.c:4194
at /usr/src/debug/Python-2.7.5/Python/ceval.c:4119
at /usr/src/debug/Python-2.7.5/Python/ceval.c:2740
globals=<optimized out>, locals=locals@entry=0x0, args=<optimized out>,
argcount=argcount@entry=2, kws=0x30eafd8, kwcount=0, defs=0x0, defcount=0,
closure=closure@entry=0x0)
at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330
pp_stack=0x7fffffffc570, func=<function at remote 0x159c410>)
at /usr/src/debug/Python-2.7.5/Python/ceval.c:4194
at /usr/src/debug/Python-2.7.5/Python/ceval.c:4119
f=f@entry=Frame 0x30eae20, for file /home/rsharpe/target/lib64/python2.7/site-packages/gnuradio/grc/gui/BlockTreeWindow.py, line 104, in __init__ (self=<BlockTreeWindow(search_entry=<gtk.Entry at remote 0x2f9ba00>, treestore=<gtk.TreeStore at remote 0x2f9bb40>, _categories={('Digital Television', 'ATSC'): <gtk.TreeIter at remote 0x172b490>, ('IQ Balance',): <gtk.TreeIter at remote 0x5026620>, ('Byte Operators',): <gtk.TreeIter at remote 0x172b210>, ('Resamplers',): <gtk.TreeIter at remote 0x172b580>, ('Channel Models',): <gtk.TreeIter at remote 0x172b350>, ('Error Coding', 'Decoders'): <gtk.TreeIter at remote 0x172b4e0>, ('Filters',): <gtk.TreeIter at remote 0x172b558>, ('Stream Operators',): <gtk.TreeIter at remote 0x172b300>, ('GUI Widgets', 'WX'): <gtk.TreeIter at remote 0x52622d8>, ('File Operators',): <gtk.TreeIter at remote 0x172b288>, ('Audio',): <gtk.TreeIter at remote 0x172b1c0>, ('Waveform Generators',): <gtk.TreeIter at remote 0x172b080>, ('Impairment Models',): <gtk.TreeIter at remote 0x172b3a0>, ('Channeli...(truncated), throwflag=throwflag@entry=0)
at /usr/src/debug/Python-2.7.5/Python/ceval.c:2740
globals=<optimized out>, locals=locals@entry=0x0,
args=args@entry=0x174b388, argcount=3, kws=kws@entry=0x0,
kwcount=kwcount@entry=0, defs=defs@entry=0x0, defcount=defcount@entry=0,
closure=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330
arg=(<BlockTreeWindow(search_entry=<gtk.Entry at remote 0x2f9ba00>, treestore=<gtk.TreeStore at remote 0x2f9bb40>, _categories={('Digital Television', 'ATSC'): <gtk.TreeIter at remote 0x172b490>, ('IQ Balance',): <gtk.TreeIter at remote 0x5026620>, ('Byte Operators',): <gtk.TreeIter at remote 0x172b210>, ('Resamplers',): <gtk.TreeIter at remote 0x172b580>, ('Channel Models',): <gtk.TreeIter at remote 0x172b350>, ('Error Coding', 'Decoders'): <gtk.TreeIter at remote 0x172b4e0>, ('Filters',): <gtk.TreeIter at remote 0x172b558>, ('Stream Operators',): <gtk.TreeIter at remote 0x172b300>, ('GUI Widgets', 'WX'): <gtk.TreeIter at remote 0x52622d8>, ('File Operators',): <gtk.TreeIter at remote 0x172b288>, ('Audio',): <gtk.TreeIter at remote 0x172b1c0>, ('Waveform Generators',): <gtk.TreeIter at remote 0x172b080>, ('Impairment Models',): <gtk.TreeIter at remote 0x172b3a0>, ('Channelizers',): <gtk.TreeIter at remote 0x172b5a8>, ('GUI Widgets', 'QT'): <gtk.TreeIter at remote 0x172b648>, ('Instrumentation',): <gtk.TreeIter a...(truncated), kw=0x0) at /usr/src/debug/Python-2.7.5/Objects/funcobject.c:526
func=func@entry=<function at remote 0x168a410>,
arg=arg@entry=(<BlockTreeWindow(search_entry=<gtk.Entry at remote 0x2f9ba00>, treestore=<gtk.TreeStore at remote 0x2f9bb40>, _categories={('Digital Television', 'ATSC'): <gtk.TreeIter at remote 0x172b490>, ('IQ Balance',): <gtk.TreeIter at remote 0x5026620>, ('Byte Operators',): <gtk.TreeIter at remote 0x172b210>, ('Resamplers',): <gtk.TreeIter at remote 0x172b580>, ('Channel Models',): <gtk.TreeIter at remote 0x172b350>, ('Error Coding', 'Decoders'): <gtk.TreeIter at remote 0x172b4e0>, ('Filters',): <gtk.TreeIter at remote 0x172b558>, ('Stream Operators',): <gtk.TreeIter at remote 0x172b300>, ('GUI Widgets', 'WX'): <gtk.TreeIter at remote 0x52622d8>, ('File Operators',): <gtk.TreeIter at remote 0x172b288>, ('Audio',): <gtk.TreeIter at remote 0x172b1c0>, ('Waveform Generators',): <gtk.TreeIter at remote 0x172b080>, ('Impairment Models',): <gtk.TreeIter at remote 0x172b3a0>, ('Channelizers',): <gtk.TreeIter at remote 0x172b5a8>, ('GUI Widgets', 'QT'): <gtk.TreeIter at remote 0x172b648>, ('Instrumentation',): <gtk.TreeIter a...(truncated), kw=kw@entry=0x0)
at /usr/src/debug/Python-2.7.5/Objects/abstract.c:2529
func=<function at remote 0x168a410>,
arg=(<BlockTreeWindow(search_entry=<gtk.Entry at remote 0x2f9ba00>, treestore=<gtk.TreeStore at remote 0x2f9bb40>, _categories={('Digital Television', 'ATSC'): <gtk.TreeIter at remote 0x172b490>, ('IQ Balance',): <gtk.TreeIter at remote 0x5026620>, ('Byte Operators',): <gtk.TreeIter at remote 0x172b210>, ('Resamplers',): <gtk.TreeIter at remote 0x172b580>, ('Channel Models',): <gtk.TreeIter at remote 0x172b350>, ('Error Coding', 'Decoders'): <gtk.TreeIter at remote 0x172b4e0>, ('Filters',): <gtk.TreeIter at remote 0x172b558>, ('Stream Operators',): <gtk.TreeIter at remote 0x172b300>, ('GUI Widgets', 'WX'): <gtk.TreeIter at remote 0x52622d8>, ('File Operators',): <gtk.TreeIter at remote 0x172b288>, ('Audio',): <gtk.TreeIter at remote 0x172b1c0>, ('Waveform Generators',): <gtk.TreeIter at remote 0x172b080>, ('Impairment Models',): <gtk.TreeIter at remote 0x172b3a0>, ('Channelizers',): <gtk.TreeIter at remote 0x172b5a8>, ('GUI Widgets', 'QT'): <gtk.TreeIter at remote 0x172b648>, ('Instrumentation',): <gtk.TreeIter a...(truncated), kw=0x0) at /usr/src/debug/Python-2.7.5/Objects/classobject.c:2602
func=func@entry=<instancemethod at remote 0x2f9b9b0>,
arg=arg@entry=(<Platform(_category_trees_n=[<odict(_keys=['name', <built-in function Comment>, 'cat'], _data={<built-in function Comment>: ' Blank for Root Name ', 'name': '', 'cat': [<odict(_keys=['name', 'block'], _data={'name': 'Level Controllers', 'block': ['analog_agc_xx', 'analog_agc2_xx', 'analog_agc3_xx', 'analog_feedforward_agc_cc', 'analog_ctcss_squelch_ff', 'analog_pwr_squelch_xx', 'analog_simple_squelch_cc', 'analog_standard_squelch', 'analog_rail_ff']}) at remote 0x175a4d0>, <odict(_keys=['name', 'block'], _data={'name': 'Modulators', 'block': ['analog_cpfsk_bc', 'analog_frequency_modulator_fc', 'analog_phase_modulator_fc', 'analog_quadrature_demod_cf', 'analog_nbfm_tx', 'analog_nbfm_rx', 'analog_wfm_tx', 'analog_wfm_rcv', 'analog_wfm_rcv_pll', 'analog_am_demod_cf', 'analog_fm_demod_cf', 'analog_fm_deemph', 'analog_fm_preemph']}) at remote 0x175a488>, <odict(_keys=['name', 'block'], _data={'name': 'Waveform Generators', 'block': ['analog_sig_source_x', 'analog_const_source_x', 'analog_noise_source_x', 'analog_...(truncated), kw=kw@entry=0x0)
at /usr/src/debug/Python-2.7.5/Objects/abstract.c:2529
args=(<Platform(_category_trees_n=[<odict(_keys=['name', <built-in function Comment>, 'cat'], _data={<built-in function Comment>: ' Blank for Root Name ', 'name': '', 'cat': [<odict(_keys=['name', 'block'], _data={'name': 'Level Controllers', 'block': ['analog_agc_xx', 'analog_agc2_xx', 'analog_agc3_xx', 'analog_feedforward_agc_cc', 'analog_ctcss_squelch_ff', 'analog_pwr_squelch_xx', 'analog_simple_squelch_cc', 'analog_standard_squelch', 'analog_rail_ff']}) at remote 0x175a4d0>, <odict(_keys=['name', 'block'], _data={'name': 'Modulators', 'block': ['analog_cpfsk_bc', 'analog_frequency_modulator_fc', 'analog_phase_modulator_fc', 'analog_quadrature_demod_cf', 'analog_nbfm_tx', 'analog_nbfm_rx', 'analog_wfm_tx', 'analog_wfm_rcv', 'analog_wfm_rcv_pll', 'analog_am_demod_cf', 'analog_fm_demod_cf', 'analog_fm_deemph', 'analog_fm_preemph']}) at remote 0x175a488>, <odict(_keys=['name', 'block'], _data={'name': 'Waveform Generators', 'block': ['analog_sig_source_x', 'analog_const_source_x', 'analog_noise_source_x', 'analog_...(truncated), kwds=0x0) at /usr/src/debug/Python-2.7.5/Objects/typeobject.c:5692
and more ...
These lines point to osmosdr being a possible cause:
f=f@entry=Frame 0x5300830, for file /home/rsharpe/target/lib64/python2.7/site-packages/osmosdr/osmosdr_swig.py, line 22, in swig_import_helper (dirname=, imp=, fp=, pathname='/home/rsharpe/target/lib64/python2.7/site-packages/osmosdr/_osmosdr_swig.so', description=('.so', 'rb', 3)),
Uninstall osmosdr and then coimpile and install it again. It is advisable to rebuild external modules if GNU Radio is updated to prevent these segmentation faults from occurring.
Mike
Mike Jameson M0MIK BSc MIET Email: mike@scanoo.com Web: http://scanoo.com
On Fri, Sep 5, 2014 at 4:19 PM, Richard Sharpe notifications@github.com wrote:
Here is the best traceback I can get at the moment:
0 0x00000000000301b6 in ?? ()
1 https://github.com/pybombs/pybombs/issues/1 0x00007fffd8bcd227 in ??
()
2 https://github.com/pybombs/pybombs/pull/2 0x00007fffd8e3ce40 in ?? ()
3 https://github.com/pybombs/pybombs/pull/3 0x00007fffd8e3e500 in ?? ()
4 https://github.com/pybombs/pybombs/pull/4 0x00007fffd8e3e720 in ?? ()
5 https://github.com/pybombs/pybombs/issues/5 0x00007fffd8e394a0 in ??
()
6 https://github.com/pybombs/pybombs/pull/6 0x00000000031f1de3 in ?? ()
7 https://github.com/pybombs/pybombs/pull/7 0x0000003dfa47f09c in
PyDict_GetItem (op=, key=) at /usr/src/debug/Python-2.7.5/Objects/dictobject.c:752
8 https://github.com/pybombs/pybombs/issues/8 0x0000003dfa480b8f in
PyDict_GetItemString (v= {'/usr/lib64/python2.7/lib-dynload/itertoolsmodule.so': {'ifilter': , 'product': , 'repeat': , 'starmap': , 'chain': , 'compress': , 'izip': , 'permutations': , 'combinations_with_replacement': , 'tee': , 'groupby': , ' file': '/usr/lib64/python2.7/lib-dynload/itertoolsmodule.so', 'imap': , 'islice': , 'combinations': , 'name': 'itertools', 'izip_longest': , 'cycle': , 'count': , 'takewhile': , 'package': None, 'ifilterfalse': ,...(truncated), key=) at /usr/src/debug/Python-2.7.5/Objects/dictobject.c:2435
9 https://github.com/pybombs/pybombs/issues/9 0x00007fffd8bcd4d1 in ??
()
10 https://github.com/pybombs/pybombs/pull/10 0x00007ffff7fd1420 in ??
()
11 https://github.com/pybombs/pybombs/pull/11 0x00000000052d7834 in ??
()
12 https://github.com/pybombs/pybombs/pull/12 0x0000000005300a20 in ??
()
13 https://github.com/pybombs/pybombs/pull/13 0x0000000004df6fa4 in ??
()
14 https://github.com/pybombs/pybombs/pull/14 0x0000003dfa7bbf78 in
extensions () from /lib64/libpython2.7.so.1.0
15 https://github.com/pybombs/pybombs/pull/15 0x0000003dfa4f1279 in
_PyImport_LoadDynamicModule ( name=0x52d7834 "osmosdr_swig", pathname=0x4df6ea0 "\300m\337\004", fp=) at /usr/src/debug/Python-2.7.5/Python/importdl.c:53 #16 https://github.com/pybombs/pybombs/pull/16 0x0000003dfa4ef1e3 in load_module (name=, fp=, pathname=, type=, loader=loader@entry=0x0) at /usr/src/debug/Python-2.7.5/Python/import.c:1915 #17 https://github.com/pybombs/pybombs/pull/17 0x0000003dfa4efd76 in imp_load_module (self=, args=) at /usr/src/debug/Python-2.7.5/Python/import.c:3182 #18 https://github.com/pybombs/pybombs/pull/18 0x0000003dfa4ddc2e in call_function (oparg=, pp_stack=0x7fffffffb0e0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:4098 #19 https://github.com/pybombs/pybombs/issues/19 PyEval_EvalFrameEx ( f=f@entry=Frame 0x5300830, for file /home/rsharpe/target/lib64/python2.7/site-packages/osmosdr/osmosdr_swig.py, line 22, in swig_import_helper (dirname=, imp=, fp=, pathname='/home/rsharpe/target/lib64/python2.7/site-packages/osmosdr/_osmosdr_swig.so', description=('.so', 'rb', 3)), throwflag=throwflag@entry=0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:2740 #20 https://github.com/pybombs/pybombs/issues/20 0x0000003dfa4dd74c in fast_function (nk=, na=0, n=0, pp_stack=0x7fffffffb240, func=) at /usr/src/debug/Python-2.7.5/Python/ceval.c:4184 #21 https://github.com/pybombs/pybombs/issues/21 call_function (oparg=, pp_stack=0x7fffffffb240) at /usr/src/debug/Python-2.7.5/Python/ceval.c:4119
22 https://github.com/pybombs/pybombs/issues/22 PyEval_EvalFrameEx (
f=f@entry=Frame 0x5295a20, for file /home/rsharpe/target/lib64/python2.7/site-packages/osmosdr/osmosdr_swig.py, line 26, in (), throwflag=throwflag@entry=0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:2740 #23 https://github.com/pybombs/pybombs/issues/23 0x0000003dfa4debbd in PyEval_EvalCodeEx (co=co@entry=0x533b3b0, globals=globals@entry={'version_info': , 'builtins_': {'bytearray': , 'IndexError': , 'all': , 'help': <_Helper at remote 0x7ffff7ea89d0>, 'vars': , 'SyntaxError': , 'unicode': , 'UnicodeDecodeError': , 'memoryview': , 'isinstance': , 'copyright': <Printer(_Printer__data='Copyright (c) 2001-2013 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.', _Printerlines=None, _Printername='copyright', _Printer__dirs=(), _Printerfiles=(...)) at remote 0x7ffff7ea8590>, 'NameError': locals=locals@entry={'version_info': , '_builtins': {'bytearray': , 'IndexError': , 'all': , 'help': <
_Helper at remote 0x7ffff7ea89d0>, 'vars': , 'SyntaxError': , 'unicode': , 'UnicodeDecodeError': , 'memoryview': , 'isinstance': , 'copyright': <Printer(_Printerdata='Copyright (c) 2001-2013 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, _Printername='copyright', _Printerdirs=(), _Printerfiles=(...)) at remote 0x7ffff7ea8590>, 'NameError': kws=kws@entry=0x0, kwcount=kwcount@entry=0, defs=defs@entry=0x0, defcount=defcount@entry=0, closure=closure@entry=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330 #24 https://github.com/pybombs/pybombs/issues/24 0x0000003dfa4decc2 in PyEval_EvalCode (co=co@entry=0x533b3b0, globals=globals@entry={'version_info': , 'builtins_': {'bytearray': , 'IndexError': , 'all': , 'help': <_Helper at remote 0x7ffff7ea89d0>, 'vars': , 'SyntaxError': , 'unicode': , 'UnicodeDecodeError': , 'memoryview': , 'isinstance': , 'copyright': <Printer(_Printerdata='Copyright (c) 2001-2013 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.', _Printerlines=None, _Printer__name='copyright', _Printerdirs=(), _Printer__files=(...)) at remote 0x7ffff7ea8590>, 'NameError': locals=locals@entry={'version_info': , '_builtins': {'bytearray': , 'IndexError': , 'all': , 'help': <
_Helper at remote 0x7ffff7ea89d0>, 'vars': , 'SyntaxError': , 'unicode': , 'UnicodeDecodeError': , 'memoryview': , 'isinstance': , 'copyright': <Printer(_Printerdata='Copyright (c) 2001-2013 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, _Printername='copyright', _Printer__dirs=(), _Printerfiles=(...)) at remote 0x7ffff7ea8590>, 'NameError': #25 https://github.com/pybombs/pybombs/issues/25 0x0000003dfa4ee5cc in PyImport_ExecCodeModuleEx ( name=name@entry=0x529c250 "osmosdr.osmosdr_swig", co=co@entry=, pathname=pathname@entry=0x5304fa0 "/home/rsharpe/target/lib64/python2.7/site-packages/osmosdr/osmosdr_swig.pyc") at /usr/src/debug/Python-2.7.5/Python/import.c:709 #26 0x0000003dfa4ee835 in load_source_module ( name=name@entry=0x529c250 "osmosdr.osmosdr_swig", pathname=0x5304fa0 "/home/rsharpe/target/lib64/python2.7/site-packages/osmosdr/osmosdr_swig.pyc", pathname@entry=0x529d260 "/home/rsharpe/target/lib64/python2.7/site-packages/osmosdr/osmosdr_swig.py", fp=) at /usr/src/debug/Python-2.7.5/Python/import.c:1099 #27 0x0000003dfa4ef1b3 in load_module ( name=name@entry=0x529c250 "osmosdr.osmosdr_swig", fp=, pathname=pathname@entry=0x529d260 "/home/rsharpe/target/lib64/python2.7/site-packages/osmosdr/osmosdr_swig.py", type=, loader=) at /usr/src/debug/Python-2.7.5/Python/import.c:1906 #28 0x0000003dfa4ef459 in import_submodule ( mod=mod@entry=, subname=subname@entry=0x529c258 "osmosdr_swig", fullname=fullname@entry=0x529c250 "osmosdr.osmosdr_swig") at /usr/src/debug/Python-2.7.5/Python/import.c:2700 #29 0x0000003dfa4ef69d in load_next (mod=, altmod=None, p_name=p_name@entry=0x7fffffffb560, buf=buf@entry=0x529c250 "osmosdr.osmosdr_swig", p_buflen=p_buflen@entry=0x7fffffffb568) at /usr/src/debug/Python-2.7.5/Python/import.c:2515 #30 0x0000003dfa4effce in import_module_level (locals=, level=, fromlist=('',), globals=, name=0x0) at /usr/src/debug/Python-2.7.5/Python/import.c:2224 #31 PyImportImportModuleLevel (name=, globals=, locals=, fromlist=('',), level=) at /usr/src/debug/Python-2.7.5/Python/import.c:2288 #32 0x0000003dfa4d6eef in builtinimport_ (self=, args=, kwds=) at /usr/src/debug/Python-2.7.5/Python/bltinmodule.c:49
33 https://github.com/pybombs/pybombs/issues/33 0x0000003dfa449da3 in
PyObject_Call ( func=func@entry=, arg=arg@entry=('osmosdr_swig', {'builtins': {'bytearray': , 'IndexError': , 'all': , 'help': <
_Helper at remote 0x7ffff7ea89d0>, 'vars': , 'SyntaxError': , 'unicode': , 'UnicodeDecodeError': , 'memoryview': , 'isinstance': , 'copyright': <Printer(_Printerdata='Copyright (c) 2001-2013 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, _Printername='copyright', _Printer__dirs=(), _Printer__files=(...)) at remote 0x7ffff7ea8590>, 'NameError': , 'BytesWarning': ) at /usr/src/debug/Python-2.7.5/Objects/abstract.c:2529
34 https://github.com/pybombs/pybombs/issues/34 0x0000003dfa4d8a37 in
PyEval_CallObjectWithKeywords ( func=func@entry=
, arg=arg@entry=('osmosdr_swig', {'builtins': {'bytearray': , 'IndexError': , 'all': , 'help': <
_Helper at remote 0x7ffff7ea89d0>, 'vars': , 'SyntaxError': , 'unicode': , 'UnicodeDecodeError': , 'memoryview': , 'isinstance': , 'copyright': <Printer(_Printerdata='Copyright (c) 2001-2013 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, _Printername='copyright', _Printerdirs=(), _Printer__files=(...)) at remote 0x7ffff7ea8590>, 'NameError': , 'BytesWarning': <type at remote 0x3d...(truncated), kw=kw@entry=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3967 #35 https://github.com/pybombs/pybombs/issues/35 0x0000003dfa4da87b in PyEval_EvalFrameEx ( f=f@entry=Frame 0x3191930, for file /home/rsharpe/target/lib64/python2.7/site-packages/osmosdr/init_.py, line 26, in (), throwflag=throwflag@entry=0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:2407
36 https://github.com/pybombs/pybombs/pull/36 0x0000003dfa4debbd in
PyEval_EvalCodeEx (co=co@entry=0x5042e30, globals=globals@entry={'builtins': {'bytearray': , 'IndexError': , 'all': , 'help': < _Helper at remote 0x7ffff7ea89d0>, 'vars': , 'SyntaxError': , 'unicode': , 'UnicodeDecodeError': , 'memoryview': , 'isinstance': , 'copyright': <Printer(_Printerdata='Copyright (c) 2001-2013 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, _Printername='copyright', _Printer__dirs=(), Printerfiles=(...)) at remote 0x7ffff7ea8590>, 'NameError': , 'BytesWarning': , 'dict'...(truncated), locals=locals@entry={'builtins': {'bytearray': , 'IndexError': , 'all': , 'help': <
_Helper at remote 0x7ffff7ea89d0>, 'vars': , 'SyntaxError': , 'unicode': , 'UnicodeDecodeError': , 'memoryview': , 'isinstance': , 'copyright': <Printer(_Printerdata='Copyright (c) 2001-2013 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, _Printername='copyright', _Printerdirs=(), _Printer__files=(...)) at remote 0x7ffff7ea8590>, 'NameError': , 'BytesWarning': , 'dict'...(truncated), args=args@entry=0x0, argcount=argcount@entry=0, kws=kws@entry=0x0, kwcount=kwcount@entry=0, defs=defs@entry=0x0, defcount=defcount@entry=0, closure=closure@entry=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330 #37 https://github.com/pybombs/pybombs/issues/37 0x0000003dfa4decc2 in PyEval_EvalCode (co=co@entry=0x5042e30, globals=globals@entry={'builtins_': {'bytearray': , 'IndexError': , 'all': , 'help': < _Helper at remote 0x7ffff7ea89d0>, 'vars': , 'SyntaxError': , 'unicode': , 'UnicodeDecodeError': , 'memoryview': , 'isinstance': , 'copyright': <Printer(_Printerdata='Copyright (c) 2001-2013 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, _Printername='copyright', _Printer__dirs=(), Printerfiles=(...)) at remote 0x7ffff7ea8590>, 'NameError': , 'BytesWarning': , 'dict'...(truncated), locals=locals@entry={'builtins': {'bytearray': , 'IndexError': , 'all': , 'help': <
_Helper at remote 0x7ffff7ea89d0>, 'vars': , 'SyntaxError': , 'unicode': , 'UnicodeDecodeError': , 'memoryview': , 'isinstance': , 'copyright': <Printer(_Printerdata='Copyright (c) 2001-2013 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, _Printername='copyright', _Printerdirs=(), _Printer__files=(...)) at remote 0x7ffff7ea8590>, 'NameError': , 'BytesWarning': , 'dict'...(truncated)) at /usr/src/debug/Python-2.7.5/Python/ceval.c:689 #38 https://github.com/pybombs/pybombs/issues/38 0x0000003dfa4ee5cc in PyImport_ExecCodeModuleEx ( name=name@entry=0x52f4950 "osmosdr", co=co@entry=, pathname=pathname@entry=0x529b240 "/home/rsharpe/target/lib64/python2.7/site-packages/osmosdr/init_.pyc") at /usr/src/debug/Python-2.7.5/Python/import.c:709
39 https://github.com/pybombs/pybombs/issues/39 0x0000003dfa4ee835 in
load_source_module ( name=name@entry=0x52f4950 "osmosdr", pathname=0x529b240 "/home/rsharpe/target/lib64/python2.7/site-packages/osmosdr/init.pyc", pathname@entry=0x52ab2c0 "/home/rsharpe/target/lib64/python2.7/site-packages/osmosdr/init.py", fp=) at /usr/src/debug/Python-2.7.5/Python/import.c:1099
40 https://github.com/pybombs/pybombs/pull/40 0x0000003dfa4ef1b3 in
load_module (name=name@entry=0x52f4950 "osmosdr", fp=, pathname=pathname@entry=0x52ab2c0 "/home/rsharpe/target/lib64/python2.7/site-packages/osmosdr/init.py", type=, loader=loader@entry=0x0) at /usr/src/debug/Python-2.7.5/Python/import.c:1906
41 https://github.com/pybombs/pybombs/issues/41 0x0000003dfa4efc1a in
load_package (name=name@entry=0x52f4950 "osmosdr", pathname=pathname@entry=0x52aa2b0 "/home/rsharpe/target/lib64/python2.7/site-packages/osmosdr") at /usr/src/debug/Python-2.7.5/Python/import.c:1166
42 https://github.com/pybombs/pybombs/issues/42 0x0000003dfa4ef1f8 in
load_module (name=name@entry=0x52f4950 "osmosdr", fp=, pathname=pathname@entry=0x52aa2b0 "/home/rsharpe/target/lib64/python2.7/site-packages/osmosdr", type=, loader=) at /usr/src/debug/Python-2.7.5/Python/import.c:1920
43 https://github.com/pybombs/pybombs/pull/43 0x0000003dfa4ef459 in
import_submodule (mod=mod@entry=None, subname=subname@entry=0x52f4950 "osmosdr", fullname=fullname@entry=0x52f4950 "osmosdr") at /usr/src/debug/Python-2.7.5/Python/import.c:2700
44 https://github.com/pybombs/pybombs/pull/44 0x0000003dfa4ef69d in
load_next (mod=None, altmod=None, p_name=p_name@entry=0x7fffffffbaf0, buf=buf@entry=0x52f4950 "osmosdr", p_buflen=p_buflen@entry=0x7fffffffbaf8) at /usr/src/debug/Python-2.7.5/Python/import.c:2515
45 https://github.com/pybombs/pybombs/pull/45 0x0000003dfa4effce in
import_module_level (locals=, level=, fromlist=0x0, globals=, name=0x0) at /usr/src/debug/Python-2.7.5/Python/import.c:2224
46 https://github.com/pybombs/pybombs/pull/46
PyImport_ImportModuleLevel (name=, globals=, locals=, fromlist=0x0, level=) at /usr/src/debug/Python-2.7.5/Python/import.c:2288
47 https://github.com/pybombs/pybombs/issues/47 0x0000003dfa4d6eef in
builtin_import (self=, args=, kwds=) at /usr/src/debug/Python-2.7.5/Python/bltinmodule.c:49
48 https://github.com/pybombs/pybombs/pull/48 0x0000003dfa4ddc2e in
call_function (oparg=, pp_stack=0x7fffffffbcb0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:4098
49 https://github.com/pybombs/pybombs/pull/49 PyEval_EvalFrameEx (
f=f@entry=Frame 0x318d870, for file /home/rsharpe/target/lib64/python2.7/site-packages/gnuradio/grc/python/extract_docs.py, line 41, in
_extract (key='osmosdr_source', module_name='osmosdr', constructor_name='source'), throwflag=throwflag@entry=0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:2740 #50 https://github.com/pybombs/pybombs/pull/50 0x0000003dfa4debbd in PyEval_EvalCodeEx (co=, globals=, locals=locals@entry=0x0, args=, argcount=argcount@entry=1, kws=0x318d5d0, kwcount=0, defs=0x0, defcount=0, closure=closure@entry=0x0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:3330 #51 https://github.com/pybombs/pybombs/pull/51 0x0000003dfa4dd6a9 in fast_function (nk=, na=1, n=1, pp_stack=0x7fffffffbeb0, func=) at /usr/src/debug/Python-2.7.5/Python/ceval.c:4194 #52 https://github.com/pybombs/pybombs/pull/52 call_function (oparg=, pp_stack=0x7fffffffbeb0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:4119
53 https://github.com/pybombs/pybombs/pull/53 PyEval_EvalFrameEx (
f=f@entry=Frame 0x318d440, for file /home/rsharpe/target/lib64/python2.7/site-packages/gnuradio/grc/python/extract_docs.py, line 69, in extract (key='osmosdr_source'), throwflag=throwflag@entry=0) at /usr/src/debug/Python-2.7.5/Python/ceval.c:2740 #54 https://github.com/pybombs/pybombs/pull/54 0x0000003dfa4dd74c in fast_function (nk=, na=1, n=1, pp_stack=0x7fffffffc010, func=) at /usr/src/debug/Python-2.7.5/Python/ceval.c:4184 #55 https://github.com/pybombs/pybombs/issues/55 call_function (oparg=, pp_stack=0x7fffffffc010) at /usr/src/debug/Python-2.7.5/Python/ceval.c:4119
56 https://github.com/pybombs/pybombs/pull/56 PyEval_EvalFrameEx (
f=f@entry=Frame 0x31816c0, for file /home/rsharpe/target/lib64/python2.7/site-packages/gnuradio/grc/python/Block.py, line 162, in getdoc (self=
— Reply to this email directly or view it on GitHub https://github.com/pybombs/pybombs/issues/93#issuecomment-54638965.
OK, deleting everything and starting again seems to have worked.
It now seems to have everything I need.
I did './pybombs install hackrf'
then './pybombs install gr-osmosdr'
No more crashes. Now to see if I can see and use the HackRF One.
However, when I run with an osmocom source and the HackRF connected I get the following error. Has anyone seen this? What causes it?
Executing: "/home/rsharpe/pybombs/top_block.py"
Traceback (most recent call last):
File "/home/rsharpe/pybombs/top_block.py", line 17, in
Done
This was caused by having the gnuradio RPMs on the system as well. Ldd shows the problem:
However, when I run with an osmocom source and the HackRF connected I get the following error. Has anyone seen this? What causes it?
[rsharpe@localhost src]$ ldd /home/rsharpe/target/lib64/libgnuradio-osmosdr-0.1.4git.so.0.0.0 | more linux-vdso.so.1 => (0x00007fff0a5fe000) libboost_thread-mt.so.1.53.0 => /lib64/libboost_thread-mt.so.1.53.0 (0x0 0007f543fe6f000) libboost_system-mt.so.1.53.0 => /lib64/libboost_system-mt.so.1.53.0 (0x0 0007f543fc6a000) libgnuradio-runtime-3.7.6git.so.0.0.0 => /home/rsharpe/target/lib64/libg nuradio-runtime-3.7.6git.so.0.0.0 (0x00007f543f996000) libgnuradio-pmt-3.7.6git.so.0.0.0 => /home/rsharpe/target/lib64/libgnura dio-pmt-3.7.6git.so.0.0.0 (0x00007f543f74e000) libgnuradio-blocks-3.6.5.so.0.0.0 => /lib64/libgnuradio-blocks-3.6.5.so. 0.0.0 (0x00007f543f36c000) libgnuradio-iqbalance.so => /home/rsharpe/target/lib64/libgnuradio-iqbal ance.so (0x00007f543f157000)
It's picking up the wrong library.
Richard,
I am just few days behind you, on also on CentOS(6.4) Your posting are helping alot.
Regarding this patch I was able to download it from a web browser, do not know why pybombs script cannot do the same anyhow:
How can you tell pybombs that you already have pygobject-2.27.91.patched.tar.gz file locally.
Thanks
lc111
More info(clarification) Was able to get : pygobject-2.27.91.tar.gz From: http://ftp.gnome.org/pub/GNOME/sources/pygobject/2.27/ From a web browser lc111
Actually, that problem was solved for me by telling pybombs that I already had pygobject, since the version on my laptop was already at 2.28.
However, that might not be possible on CentOS 6.x, and I tried to install on CentOS 6.x at work on Friday and ran into problems. I have not diagnosed them yet.
I also have not yet figured out how to hack pybombs to tell it you already have stuff it wants.
I think you will have multiple problems. I see the following:
PyBombs.sysutils - WARNING - have_rpm: Does not satisfy requirement...installed version of pygobject2-devel (2.20.0) is not >= than 2.27
pygobject None
PyBombs.sysutils - WARNING - have_rpm: Does not satisfy requirement...installed version of pygtk2-devel (2.16.0) is not >= than 2.17
[ 5%] [ 5%] Built target man_page_gzips
Built target doxygen_docs
make[2]: * No rule to make target /usr/lib64/lib64/libboost_date_time-mt-d.so.5', needed by
lib/libuhd.so.003.007'. Stop.
make[1]: * [lib/CMakeFiles/uhd.dir/all] Error 2
make: *\ [all] Error 2
I think that CentOS 7 will be required. I am trying that now in a VM.
Yes saw the same, please keep the updates coming
Sigh,
I get this on CentOS 7:
make[3]: Entering directory `/home/rsharpe/pybombs/src/alsa/modules/mixer/simple' CCLD smixer-python.la /usr/bin/ld: cannot find -lpython2.6 collect2: error: ld returned 1 exit status make[3]: *\ [smixer-python.la] Error 1
I don't understand why it is looking for libpython2.6 and have run out of time to look at this today.
Here is what I get:
PyBombs.sysutils - INFO - monitor: Tried command 9 time(s) --2014-09-02 18:24:55-- http://ftp.gnome.org/pub/GNOME/sources/pygobject/2.27/pygobject-2.27.91.patched.tar.gz Resolving ftp.gnome.org (ftp.gnome.org)... 130.239.18.165, 130.239.18.173, 130.239.18.163, ... Connecting to ftp.gnome.org (ftp.gnome.org)|130.239.18.165|:80... connected. HTTP request sent, awaiting response... 302 Found Location: http://gensho.acc.umu.se/pub/GNOME/sources/pygobject/2.27/pygobject-2.27.91.patched.tar.gz [following] --2014-09-02 18:24:56-- http://gensho.acc.umu.se/pub/GNOME/sources/pygobject/2.27/pygobject-2.27.91.patched.tar.gz Resolving gensho.acc.umu.se (gensho.acc.umu.se)... 130.239.18.176, 2001:6b0:e:2018::176 Connecting to gensho.acc.umu.se (gensho.acc.umu.se)|130.239.18.176|:80... connected. HTTP request sent, awaiting response... 404 Not Found
2014-09-02 18:24:56 ERROR 404: Not Found.
It's no longer there. I checked.
Environment is Fedora 19.