Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QTGUI segfaults on 3.8 with QT5 because QWT detection in CMake fails #2027

Closed
argilo opened this issue Sep 21, 2018 · 9 comments
Closed

QTGUI segfaults on 3.8 with QT5 because QWT detection in CMake fails #2027

argilo opened this issue Sep 21, 2018 · 9 comments

Comments

@argilo
Copy link
Member

argilo commented Sep 21, 2018

After next was merged into master, I tried to build GNU Radio and ran into a problem with QtGui. I can reproduce the problem by running python3 -c 'import gnuradio.qtgui', which causes a segfault.

Here is the stack trace, as reported by gdb. It appears that the Qt4 version of libQtGui is being loaded:

#0  0x00007fffee9d7604 in  () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#1  0x00007ffff7de5733 in call_init (env=0x7fffffffdb38, argv=0x7fffffffdb28, argc=1, l=<optimized out>) at dl-init.c:72
#2  0x00007ffff7de5733 in _dl_init (main_map=main_map@entry=0xbb98d0, argc=1, argv=0x7fffffffdb28, env=0x7fffffffdb38) at dl-init.c:119
#3  0x00007ffff7dea1ff in dl_open_worker (a=a@entry=0x7fffffff9c00) at dl-open.c:522
#4  0x00007ffff7b4b2df in __GI__dl_catch_exception (exception=0x7fffffff9be0, operate=0x7ffff7de9dc0 <dl_open_worker>, args=0x7fffffff9c00) at dl-error-skeleton.c:196
#5  0x00007ffff7de97ca in _dl_open (file=0x7ffff583a8c0 "/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/_qtgui_swig.so", mode=-2147483646, caller_dlopen=0x5f170d <_PyImport_FindSharedFuncptr+109>, nsid=<optimized out>, argc=1, argv=<optimized out>, env=0x7fffffffdb38)
    at dl-open.c:605
#6  0x00007ffff75c1f96 in dlopen_doit (a=a@entry=0x7fffffff9e30) at dlopen.c:66
#7  0x00007ffff7b4b2df in __GI__dl_catch_exception (exception=exception@entry=0x7fffffff9dd0, operate=0x7ffff75c1f40 <dlopen_doit>, args=0x7fffffff9e30) at dl-error-skeleton.c:196
#8  0x00007ffff7b4b36f in __GI__dl_catch_error (objname=0xad8fa0, errstring=0xad8fa8, mallocedp=0xad8f98, operate=<optimized out>, args=<optimized out>) at dl-error-skeleton.c:215
#9  0x00007ffff75c2735 in _dlerror_run (operate=operate@entry=0x7ffff75c1f40 <dlopen_doit>, args=args@entry=0x7fffffff9e30) at dlerror.c:162
#10 0x00007ffff75c2051 in __dlopen (file=<optimized out>, mode=<optimized out>) at dlopen.c:87
#11 0x00000000005f170d in _PyImport_FindSharedFuncptr (prefix=0x657a4c "PyInit", shortname=0x7ffff57d5fb0 "_qtgui_swig", pathname=0x7ffff583a8c0 "/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/_qtgui_swig.so", fp=0x0) at ../Python/dynload_shlib.c:95
#12 0x00000000005eeb7f in _PyImport_LoadDynamicModuleWithSpec (spec=
    <ModuleSpec(name='gnuradio.qtgui._qtgui_swig', loader=<ExtensionFileLoader(name='gnuradio.qtgui._qtgui_swig', path='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/_qtgui_swig.so') at remote 0x7ffff57e9080>, origin='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/_qtgui_swig.so', loader_state=None, submodule_search_locations=None, _set_fileattr=True, _cached=None) at remote 0x7ffff57e90f0>, fp=0x0) at ../Python/importdl.c:129
#13 0x00000000005eee78 in _imp_create_dynamic_impl (module=<optimized out>, file=0x0, spec=<ModuleSpec(name='gnuradio.qtgui._qtgui_swig', loader=<ExtensionFileLoader(name='gnuradio.qtgui._qtgui_swig',---Type <return> to continue, or q <return> to quit---
 path='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/_qtgui_swig.so') at remote 0x7ffff57e9080>, origin='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/_qtgui_swig.so', loader_state=None, submodule_search_locations=None, _set_fileattr=True, _cached=None) at remote 0x7ffff57e90f0>) at ../Python/import.c:1994
#14 0x00000000005eee78 in _imp_create_dynamic (module=<optimized out>, args=<optimized out>)
    at ../Python/clinic/import.c.h:289
#15 0x0000000000556c12 in PyCFunction_Call (func=<built-in method create_dynamic of module object at remote 0x7ffff7f80548>, args=<optimized out>, kwds=<optimized out>)
    at ../Objects/methodobject.c:112
#16 0x00000000004fa8e2 in do_call_core (kwdict={}, callargs=(<ModuleSpec(name='gnuradio.qtgui._qtgui_swig', loader=<ExtensionFileLoader(name='gnuradio.qtgui._qtgui_swig', path='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/_qtgui_swig.so') at remote 0x7ffff57e9080>, origin='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/_qtgui_swig.so', loader_state=None, submodule_search_locations=None, _set_fileattr=True, _cached=None) at remote 0x7ffff57e90f0>,), func=<built-in method create_dynamic of module object at remote 0x7ffff7f80548>)
    at ../Python/ceval.c:5095
#17 0x00000000004fa8e2 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>)
    at ../Python/ceval.c:3397
#18 0x00000000004f3338 in PyEval_EvalFrameEx (throwflag=0, f=Frame 0x7ffff7e4acc0, for file <frozen importlib._bootstrap>, line 219, in _call_with_frames_removed (f=<built-in method create_dynamic of module object at remote 0x7ffff7f80548>, args=(<ModuleSpec(name='gnuradio.qtgui._qtgui_swig', loader=<ExtensionFileLoader(name='gnuradio.qtgui._qtgui_swig', path='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/_qtgui_swig.so') at remote 0x7ffff57e9080>, origin='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/_qtgui_swig.so', loader_state=None, submodule_search_locations=None, _set_fileattr=True, _cached=None) at remote 0x7ffff57e90f0>,), kwds={}))
    at ../Python/ceval.c:4159
#19 0x00000000004f3338 in _PyEval_EvalCodeWithName.lto_priv.1583 (_co=<optimized out>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kwnames=0x0, kwargs=0xaec940, kwcount=<optimized out>, kwstep=1, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0, name='_call_with_frames_removed', qualname='_call_with_frames_removed') at ../Python/ceval.c:4159
#20 0x0000000000510fb0 in fast_function.lto_priv (func=<function at remote 0x7ffff7fa2ea0>, stack=0x---Type <return> to continue, or q <return> to quit---
aec930, nargs=2, kwnames=<optimized out>) at ../Python/ceval.c:4971
#21 0x00000000005119bd in call_function.lto_priv (pp_stack=0x7fffffffa5b0, oparg=<optimized out>, kwnames=<optimized out>) at ../Python/ceval.c:4851
#22 0x00000000004f5277 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>)
    at ../Python/ceval.c:3328
#23 0x0000000000510c78 in PyEval_EvalFrameEx (throwflag=0, f=Frame 0xaec798, for file <frozen importlib._bootstrap_external>, line 922, in create_module (self=<ExtensionFileLoader(name='gnuradio.qtgui._qtgui_swig', path='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/_qtgui_swig.so') at remote 0x7ffff57e9080>, spec=<ModuleSpec(name='gnuradio.qtgui._qtgui_swig', loader=<...>, origin='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/_qtgui_swig.so', loader_state=None, submodule_search_locations=None, _set_fileattr=True, _cached=None) at remote 0x7ffff57e90f0>)) at ../Python/ceval.c:754
#24 0x0000000000510c78 in _PyFunction_FastCall (globals=<optimized out>, nargs=11454360, args=<optimized out>, co=<optimized out>) at ../Python/ceval.c:4912
#25 0x0000000000510c78 in fast_function.lto_priv (func=<function at remote 0x7ffff7f286a8>, stack=<optimized out>, nargs=2, kwnames=<optimized out>) at ../Python/ceval.c:4947
#26 0x00000000005119bd in call_function.lto_priv (pp_stack=0x7fffffffa7a0, oparg=<optimized out>, kwnames=<optimized out>) at ../Python/ceval.c:4851
#27 0x00000000004f5277 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>)
    at ../Python/ceval.c:3328
#28 0x0000000000510c78 in PyEval_EvalFrameEx (throwflag=0, f=Frame 0x7ffff7f89208, for file <frozen importlib._bootstrap>, line 571, in module_from_spec (spec=<ModuleSpec(name='gnuradio.qtgui._qtgui_swig', loader=<ExtensionFileLoader(name='gnuradio.qtgui._qtgui_swig', path='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/_qtgui_swig.so') at remote 0x7ffff57e9080>, origin='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/_qtgui_swig.so', loader_state=None, submodule_search_locations=None, _set_fileattr=True, _cached=None) at remote 0x7ffff57e90f0>, module=None)) at ../Python/ceval.c:754
#29 0x0000000000510c78 in _PyFunction_FastCall (globals=<optimized out>, nargs=140737353650696, args=<optimized out>, co=<optimized out>) at ../Python/ceval.c:4912
#30 0x0000000000510c78 in fast_function.lto_priv (func=<function at remote 0x7ffff7f819d8>, stack=<optimized out>, nargs=1, kwnames=<optimized out>) at ../Python/ceval.c:4947
---Type <return> to continue, or q <return> to quit---
#31 0x00000000005119bd in call_function.lto_priv (pp_stack=0x7fffffffa990, oparg=<optimized out>, kwnames=<optimized out>) at ../Python/ceval.c:4851
#32 0x00000000004f5277 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>)
    at ../Python/ceval.c:3328
#33 0x0000000000510c78 in PyEval_EvalFrameEx (throwflag=0, f=Frame 0x7ffff61dd848, for file <frozen importlib._bootstrap>, line 658, in _load_unlocked (spec=<ModuleSpec(name='gnuradio.qtgui._qtgui_swig', loader=<ExtensionFileLoader(name='gnuradio.qtgui._qtgui_swig', path='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/_qtgui_swig.so') at remote 0x7ffff57e9080>, origin='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/_qtgui_swig.so', loader_state=None, submodule_search_locations=None, _set_fileattr=True, _cached=None) at remote 0x7ffff57e90f0>))
    at ../Python/ceval.c:754
#34 0x0000000000510c78 in _PyFunction_FastCall (globals=<optimized out>, nargs=140737322539080, args=<optimized out>, co=<optimized out>) at ../Python/ceval.c:4912
#35 0x0000000000510c78 in fast_function.lto_priv (func=<function at remote 0x7ffff7f81bf8>, stack=<optimized out>, nargs=1, kwnames=<optimized out>) at ../Python/ceval.c:4947
#36 0x00000000005119bd in call_function.lto_priv (pp_stack=0x7fffffffab80, oparg=<optimized out>, kwnames=<optimized out>) at ../Python/ceval.c:4851
#37 0x00000000004f5277 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>)
    at ../Python/ceval.c:3328
#38 0x0000000000510c78 in PyEval_EvalFrameEx (throwflag=0, f=Frame 0xb25448, for file <frozen importlib._bootstrap>, line 955, in _find_and_load_unlocked (name='gnuradio.qtgui._qtgui_swig', import_=<function at remote 0x7ffff7f83e18>, path=['/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui'], parent='gnuradio.qtgui', parent_module=<module at remote 0x7ffff6159a98>, spec=<ModuleSpec(name='gnuradio.qtgui._qtgui_swig', loader=<ExtensionFileLoader(name='gnuradio.qtgui._qtgui_swig', path='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/_qtgui_swig.so') at remote 0x7ffff57e9080>, origin='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/_qtgui_swig.so', loader_state=None, submodule_search_locations=None, _set_fileattr=True, _cached=None) at remote 0x7ffff57e90f0>)) at ../Python/ceval.c:754
#39 0x0000000000510c78 in _PyFunction_FastCall (globals=<optimized out>, nargs=11686984, args=<optimized out>, co=<optimized out>) at ../Python/ceval.c:4912
#40 0x0000000000510c78 in fast_function.lto_priv (func=<function at remote 0x7ffff7f83d08>, stack=<o---Type <return> to continue, or q <return> to quit---
ptimized out>, nargs=2, kwnames=<optimized out>) at ../Python/ceval.c:4947
#41 0x00000000005119bd in call_function.lto_priv (pp_stack=0x7fffffffad70, oparg=<optimized out>, kwnames=<optimized out>) at ../Python/ceval.c:4851
#42 0x00000000004f5277 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>)
    at ../Python/ceval.c:3328
#43 0x0000000000510c78 in PyEval_EvalFrameEx (throwflag=0, f=Frame 0xbb9668, for file <frozen importlib._bootstrap>, line 971, in _find_and_load (name='gnuradio.qtgui._qtgui_swig', import_=<function at remote 0x7ffff7f83e18>, module=<object at remote 0x7ffff7f87030>)) at ../Python/ceval.c:754
#44 0x0000000000510c78 in _PyFunction_FastCall (globals=<optimized out>, nargs=12293736, args=<optimized out>, co=<optimized out>) at ../Python/ceval.c:4912
#45 0x0000000000510c78 in fast_function.lto_priv (func=<function at remote 0x7ffff7f83d90>, stack=<optimized out>, nargs=2, kwnames=<optimized out>) at ../Python/ceval.c:4947
#46 0x00000000005119bd in call_function.lto_priv (pp_stack=0x7fffffffaf60, oparg=<optimized out>, kwnames=<optimized out>) at ../Python/ceval.c:4851
#47 0x00000000004f5277 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>)
    at ../Python/ceval.c:3328
#48 0x00000000004f3338 in PyEval_EvalFrameEx (throwflag=0, f=Frame 0x7ffff7ea0cf8, for file <frozen importlib._bootstrap>, line 994, in _gcd_import (name='gnuradio.qtgui._qtgui_swig', package=None, level=0)) at ../Python/ceval.c:4159
#49 0x00000000004f3338 in _PyEval_EvalCodeWithName.lto_priv.1583 (_co=<optimized out>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kwnames=0x0, kwargs=0x7ffff61527a8, kwcount=<optimized out>, kwstep=1, defs=0x7ffff7f76e60, defcount=2, kwdefs=0x0, closure=0x0, name='_gcd_import', qualname='_gcd_import') at ../Python/ceval.c:4159
#50 0x0000000000510fb0 in fast_function.lto_priv (func=<function at remote 0x7ffff7f83e18>, stack=0x7ffff6152790, nargs=3, kwnames=<optimized out>) at ../Python/ceval.c:4971
#51 0x00000000005119bd in call_function.lto_priv (pp_stack=0x7fffffffb280, oparg=<optimized out>, kwnames=<optimized out>) at ../Python/ceval.c:4851
#52 0x00000000004f5277 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>)
    at ../Python/ceval.c:3328
#53 0x00000000004f3338 in PyEval_EvalFrameEx (throwflag=0, f=Frame 0x7ffff61525e8, for file /usr/lib/python3.6/importlib/__init__.py, line 126, in import_module (name='gnuradio.qtgui._qtgui_swig', pac---Type <return> to continue, or q <return> to quit---
kage=None, level=0)) at ../Python/ceval.c:4159
#54 0x00000000004f3338 in _PyEval_EvalCodeWithName.lto_priv.1583 (_co=<optimized out>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kwnames=0x0, kwargs=0xbb95f8, kwcount=<optimized out>, kwstep=1, defs=0x7ffff61c2958, defcount=1, kwdefs=0x0, closure=0x0, name='import_module', qualname='import_module') at ../Python/ceval.c:4159
#55 0x0000000000510fb0 in fast_function.lto_priv (func=<function at remote 0x7ffff61aa7b8>, stack=0xbb95f0, nargs=1, kwnames=<optimized out>) at ../Python/ceval.c:4971
#56 0x00000000005119bd in call_function.lto_priv (pp_stack=0x7fffffffb5a0, oparg=<optimized out>, kwnames=<optimized out>) at ../Python/ceval.c:4851
#57 0x00000000004f5277 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>)
    at ../Python/ceval.c:3328
#58 0x0000000000510c78 in PyEval_EvalFrameEx (throwflag=0, f=Frame 0xbb9458, for file /home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/qtgui_swig.py, line 14, in swig_import_helper (importlib=<module at remote 0x7ffff619fe08>, pkg='gnuradio.qtgui', mname='gnuradio.qtgui._qtgui_swig')) at ../Python/ceval.c:754
#59 0x0000000000510c78 in _PyFunction_FastCall (globals=<optimized out>, nargs=12293208, args=<optimized out>, co=<optimized out>) at ../Python/ceval.c:4912
#60 0x0000000000510c78 in fast_function.lto_priv (func=<function at remote 0x7ffff58f7bf8>, stack=<optimized out>, nargs=0, kwnames=<optimized out>) at ../Python/ceval.c:4947
#61 0x00000000005119bd in call_function.lto_priv (pp_stack=0x7fffffffb790, oparg=<optimized out>, kwnames=<optimized out>) at ../Python/ceval.c:4851
#62 0x00000000004f5277 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>)
    at ../Python/ceval.c:3328
#63 0x00000000004f3338 in PyEval_EvalFrameEx (throwflag=0, f=Frame 0xba3528, for file /home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/qtgui_swig.py, line 17, in <module> ())
    at ../Python/ceval.c:4159
#64 0x00000000004f3338 in _PyEval_EvalCodeWithName.lto_priv.1583 (_co=<optimized out>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kwnames=0x0, kwargs=0x0, kwcount=<optimized out>, kwstep=2, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0, name=0x0, qualname=0x0) at ../Python/ceval.c:4159
#65 0x00000000004ff8d8 in PyEval_EvalCodeEx (closure=0x0, kwdefs=0x0, defcount=0, defs=0x0, kwcount=---Type <return> to continue, or q <return> to quit---
0, kws=0x0, argcount=0, args=0x0, locals={'__name__': 'gnuradio.qtgui.qtgui_swig', '__doc__': None, '__package__': 'gnuradio.qtgui', '__loader__': <SourceFileLoader(name='gnuradio.qtgui.qtgui_swig', path='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/qtgui_swig.py') at remote 0x7ffff61639b0>, '__spec__': <ModuleSpec(name='gnuradio.qtgui.qtgui_swig', loader=<...>, origin='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/qtgui_swig.py', loader_state=None, submodule_search_locations=None, _set_fileattr=True, _cached='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__pycache__/qtgui_swig.cpython-36.pyc', _initializing=True) at remote 0x7ffff6163978>, '__file__': '/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/qtgui_swig.py', '__cached__': '/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__pycache__/qtgui_swig.cpython-36.pyc', '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and
 other objects.\n\nNoteworthy: None is th...(truncated), globals={'__name__': 'gnuradio.qtgui.qtgui_swig', '__doc__': None, '__package__': 'gnuradio.qtgui', '__loader__': <SourceFileLoader(name='gnuradio.qtgui.qtgui_swig', path='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/qtgui_swig.py') at remote 0x7ffff61639b0>, '__spec__': <ModuleSpec(name='gnuradio.qtgui.qtgui_swig', loader=<...>, origin='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/qtgui_swig.py', loader_state=None, submodule_search_locations=None, _set_fileattr=True, _cached='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__pycache__/qtgui_swig.cpython-36.pyc', _initializing=True) at remote 0x7ffff6163978>, '__file__': '/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/qtgui_swig.py', '__cached__': '/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__pycache__/qtgui_swig.cpython-36.pyc', '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is th...(truncated), _co=<code at remote 0x7ffff57e5540>) at ../Python/ceval.c:729
#66 0x00000000004ff8d8 in PyEval_EvalCode (locals={'__name__': 'gnuradio.qtgui.qtgui_swig', '__doc__': None, '__package__': 'gnuradio.qtgui', '__loader__': <SourceFileLoader(name='gnuradio.qtgui.qtgui_swig', path='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/qtgui_swig.py') at remote 0x7ffff61639b0>, '__spec__': <ModuleSpec(name='gnuradio.qtgui.qtgui_swig', loader=<...>, origin='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/qtgui_swig.py', loader_state=None, submodule_search_locations=None, _set_fileattr=True, _cached='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__pycache__/qtgui_swig.cpython-36.pyc', _initializing=True) at remote 0x7ffff6163978>, '__file__': '/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/qtgui_swig.py', '__cached__': '/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/q---Type <return> to continue, or q <return> to quit---
tgui/__pycache__/qtgui_swig.cpython-36.pyc', '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is th...(truncated), globals={'__name__': 'gnuradio.qtgui.qtgui_swig', '__doc__': None, '__package__': 'gnuradio.qtgui', '__loader__': <SourceFileLoader(name='gnuradio.qtgui.qtgui_swig', path='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/qtgui_swig.py') at remote 0x7ffff61639b0>, '__spec__': <ModuleSpec(name='gnuradio.qtgui.qtgui_swig', loader=<...>, origin='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/qtgui_swig.py', loader_state=None, submodule_search_locations=None, _set_fileattr=True, _cached='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__pycache__/qtgui_swig.cpython-36.pyc', _initializing=True) at remote 0x7ffff6163978>, '__file__': '/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/qtgui_swig.py', '__cached__': '/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__pycache__/qtgui_swig.cpython-36.pyc', '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is th...(truncated), co=<code at remote 0x7ffff57e5540>) at ../Python/ceval.c:731

#67 0x00000000004ff8d8 in builtin_exec_impl (module=<optimized out>, locals={'__name__': 'gnuradio.qtgui.qtgui_swig', '__doc__': None, '__package__': 'gnuradio.qtgui', '__loader__': <SourceFileLoader(name='gnuradio.qtgui.qtgui_swig', path='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/qtgui_swig.py') at remote 0x7ffff61639b0>, '__spec__': <ModuleSpec(name='gnuradio.qtgui.qtgui_swig', loader=<...>, origin='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/qtgui_swig.py', loader_state=None, submodule_search_locations=None, _set_fileattr=True, _cached='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__pycache__/qtgui_swig.cpython-36.pyc', _initializing=True) at remote 0x7ffff6163978>, '__file__': '/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/qtgui_swig.py', '__cached__': '/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__pycache__/qtgui_swig.cpython-36.pyc', '__builtins__': {'__name__': 'builtins', '__doc__': "
Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is th...(truncated), globals={'__name__': 'gnuradio.qtgui.qtgui_swig', '__doc__': None, '__package__': 'gnuradio.qtgui', '__loader__': <SourceFileLoader(name='gnuradio.qtgui.qtgui_swig', path='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/qtgui_swig.py') at remote 0x7ffff61639b0>, '__spec__': <ModuleSpec(name='gnuradio.qtgui.qtgui_swig', loader=<...>, origin='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/qtgui_swig.py', loader_state=None, submodule_search_locations=None, _set_fileattr=True, _cached='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__pycache__/qtgui_swig.cpython-36.pyc', _initializing=True) at remote 0x7ffff6163978>, '---Type <return> to continue, or q <return> to quit---
__file__': '/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/qtgui_swig.py', '__cached__': '/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__pycache__/qtgui_swig.cpython-36.pyc', '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is th...(truncated), source=<code at remote 0x7ffff57e5540>) at ../Python/bltinmodule.c:983
#68 0x00000000004ff8d8 in builtin_exec (module=<optimized out>, args=<optimized out>)
    at ../Python/clinic/bltinmodule.c.h:283
#69 0x0000000000556c12 in PyCFunction_Call (func=<built-in method exec of module object at remote 0x7ffff7fc5638>, args=<optimized out>, kwds=<optimized out>) at ../Objects/methodobject.c:112
#70 0x00000000004fa8e2 in do_call_core (kwdict={}, callargs=(<code at remote 0x7ffff57e5540>, {'__name__': 'gnuradio.qtgui.qtgui_swig', '__doc__': None, '__package__': 'gnuradio.qtgui', '__loader__': <SourceFileLoader(name='gnuradio.qtgui.qtgui_swig', path='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/qtgui_swig.py') at remote 0x7ffff61639b0>, '__spec__': <ModuleSpec(name='gnuradio.qtgui.qtgui_swig', loader=<...>, origin='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/qtgui_swig.py', loader_state=None, submodule_search_locations=None, _set_fileattr=True, _cached='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__pycache__/qtgui_swig.cpython-36.pyc', _initializing=True) at remote 0x7ffff6163978>, '__file__': '/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/qtgui_swig.py', '__cached__': '/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__pycache__/qtgui_swig.cpython-36.pyc', '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other ...(truncated), func=<built-in method exec of module object at remote 0x7ffff7fc5638>) at ../Python/ceval.c:5095
#71 0x00000000004fa8e2 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>)
    at ../Python/ceval.c:3397

#72 0x00000000004f3338 in PyEval_EvalFrameEx (throwflag=0, f=Frame 0x7ffff7f0b248, for file <frozen importlib._bootstrap>, line 219, in _call_with_frames_removed (f=<built-in method exec of module object at remote 0x7ffff7fc5638>, args=(<code at remote 0x7ffff57e5540>, {'__name__': 'gnuradio.qtgui.qtgui_swig', '__doc__': None, '__package__': 'gnuradio.qtgui', '__loader__': <SourceFileLoader(name='gnuradio.qtgui.qtgui_swig', path='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/qtgui_swig.py') at remote 0x7ffff61639b0>, '__spec__': <ModuleSpec(name='gnuradio.qtgui.qtgui_swig', loader=<...>, origin='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/qtgui_swig.py', loader_state=None, submodule_search_locations=None, _set_fileattr=True, _cached='/home/argi---Type <return> to continue, or q <return> to quit---
lo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__pycache__/qtgui_swig.cpython-36.pyc', _initializing=True) at remote 0x7ffff6163978>, '__file__': '/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/qtgui_swig.py', '__cached__': '/home/argilo/prefix_next/lib...(truncated)) at ../Python/ceval.c:4159
#73 0x00000000004f3338 in _PyEval_EvalCodeWithName.lto_priv.1583 (_co=<optimized out>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kwnames=0x0, kwargs=0xb2a4b8, kwcount=<optimized out>, kwstep=1, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0, name='_call_with_frames_removed', qualname='_call_with_frames_removed') at ../Python/ceval.c:4159
#74 0x0000000000510fb0 in fast_function.lto_priv (func=<function at remote 0x7ffff7fa2ea0>, stack=0xb2a4a0, nargs=3, kwnames=<optimized out>) at ../Python/ceval.c:4971
#75 0x00000000005119bd in call_function.lto_priv (pp_stack=0x7fffffffbd60, oparg=<optimized out>, kwnames=<optimized out>) at ../Python/ceval.c:4851
#76 0x00000000004f5277 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>)
    at ../Python/ceval.c:3328
#77 0x0000000000510c78 in PyEval_EvalFrameEx (throwflag=0, f=Frame 0xb2a308, for file <frozen importlib._bootstrap_external>, line 678, in exec_module (self=<SourceFileLoader(name='gnuradio.qtgui.qtgui_swig', path='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/qtgui_swig.py') at remote 0x7ffff61639b0>, module=<module at remote 0x7ffff61654a8>, code=<code at remote 0x7ffff57e5540>)) at ../Python/ceval.c:754
#78 0x0000000000510c78 in _PyFunction_FastCall (globals=<optimized out>, nargs=11707144, args=<optimized out>, co=<optimized out>) at ../Python/ceval.c:4912
#79 0x0000000000510c78 in fast_function.lto_priv (func=<function at remote 0x7ffff7f278c8>, stack=<optimized out>, nargs=2, kwnames=<optimized out>) at ../Python/ceval.c:4947
#80 0x00000000005119bd in call_function.lto_priv (pp_stack=0x7fffffffbf50, oparg=<optimized out>, kwnames=<optimized out>) at ../Python/ceval.c:4851
#81 0x00000000004f5277 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>)
    at ../Python/ceval.c:3328
#82 0x0000000000510c78 in PyEval_EvalFrameEx (throwflag=0, f=Frame 0xb72938, for file <frozen importlib._bootstrap>, line 665, in _load_unlocked (spec=<ModuleSpec(name='gnuradio.qtgui.qtgui_swig', loader=<SourceFileLoader(name='gnuradio.qtgui.qtgui_swig', path='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/qtgui_swig.py') at remote 0x7ffff61639b0>, origin='/home/argilo/prefix---Type <return> to continue, or q <return> to quit---
_next/lib/python3.6/dist-packages/gnuradio/qtgui/qtgui_swig.py', loader_state=None, submodule_search_locations=None, _set_fileattr=True, _cached='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__pycache__/qtgui_swig.cpython-36.pyc', _initializing=True) at remote 0x7ffff6163978>, module=<module at remote 0x7ffff61654a8>)) at ../Python/ceval.c:754
#83 0x0000000000510c78 in _PyFunction_FastCall (globals=<optimized out>, nargs=12003640, args=<optimized out>, co=<optimized out>) at ../Python/ceval.c:4912
#84 0x0000000000510c78 in fast_function.lto_priv (func=<function at remote 0x7ffff7f81bf8>, stack=<optimized out>, nargs=1, kwnames=<optimized out>) at ../Python/ceval.c:4947
#85 0x00000000005119bd in call_function.lto_priv (pp_stack=0x7fffffffc140, oparg=<optimized out>, kwnames=<optimized out>) at ../Python/ceval.c:4851
#86 0x00000000004f5277 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>)
    at ../Python/ceval.c:3328
#87 0x0000000000510c78 in PyEval_EvalFrameEx (throwflag=0, f=Frame 0xb12c78, for file <frozen importlib._bootstrap>, line 955, in _find_and_load_unlocked (name='gnuradio.qtgui.qtgui_swig', import_=<built-in method __import__ of module object at remote 0x7ffff7fc5638>, path=['/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui'], parent='gnuradio.qtgui', parent_module=<module at remote 0x7ffff6159a98>, spec=<ModuleSpec(name='gnuradio.qtgui.qtgui_swig', loader=<SourceFileLoader(name='gnuradio.qtgui.qtgui_swig', path='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/qtgui_swig.py') at remote 0x7ffff61639b0>, origin='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/qtgui_swig.py', loader_state=None, submodule_search_locations=None, _set_fileattr=True, _cached='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__pycache__/qtgui_swig.cpython-36.pyc', _initializing=True) at remote 0x7ffff6163978>))
    at ../Python/ceval.c:754
#88 0x0000000000510c78 in _PyFunction_FastCall (globals=<optimized out>, nargs=11611256, args=<optimized out>, co=<optimized out>) at ../Python/ceval.c:4912
#89 0x0000000000510c78 in fast_function.lto_priv (func=<function at remote 0x7ffff7f83d08>, stack=<optimized out>, nargs=2, kwnames=<optimized out>) at ../Python/ceval.c:4947
#90 0x00000000005119bd in call_function.lto_priv (pp_stack=0x7fffffffc330, oparg=<optimized out>, kwnames=<optimized out>) at ../Python/ceval.c:4851
#91 0x00000000004f5277 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>)
    at ../Python/ceval.c:3328
---Type <return> to continue, or q <return> to quit---
#92 0x0000000000510375 in PyEval_EvalFrameEx (throwflag=0, f=Frame 0xb73038, for file <frozen importlib._bootstrap>, line 971, in _find_and_load (name='gnuradio.qtgui.qtgui_swig', import_=<built-in method __import__ of module object at remote 0x7ffff7fc5638>, module=<object at remote 0x7ffff7f87030>)) at ../Python/ceval.c:754
#93 0x0000000000510375 in _PyFunction_FastCall (globals=<optimized out>, nargs=<optimized out>, args=<optimized out>, co=<optimized out>) at ../Python/ceval.c:4912
#94 0x0000000000510375 in _PyFunction_FastCallDict (func=<optimized out>, args=<optimized out>, nargs=<optimized out>, kwargs=<optimized out>) at ../Python/ceval.c:5014
#95 0x000000000059d591 in _PyObject_FastCallDict (func=<function at remote 0x7ffff7f83d90>, args=0x7fffffffc4e0, nargs=2, kwargs=0x0) at ../Objects/abstract.c:2310
#96 0x000000000059d8fe in _PyObject_CallMethodIdObjArgs (callable=<function at remote 0x7ffff7f83d90>, name=<optimized out>) at ../Objects/abstract.c:2796
#97 0x00000000004dab6d in PyImport_ImportModuleLevelObject (name='qtgui_swig', globals=<optimized out>, locals=<optimized out>, fromlist=('*',), level=1) at ../Python/import.c:1578
#98 0x00000000004f70ba in import_name (level=1, fromlist=('*',), name='qtgui_swig', f=Frame 0x7ffff7e5c240, for file /home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__init__.py, line 32, in <module> ()) at ../Python/ceval.c:5224
#99 0x00000000004f70ba in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>)
    at ../Python/ceval.c:2892
#100 0x00000000004f3338 in PyEval_EvalFrameEx (throwflag=0, f=Frame 0x7ffff7e5c240, for file /home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__init__.py, line 32, in <module> ())
    at ../Python/ceval.c:4159
#101 0x00000000004f3338 in _PyEval_EvalCodeWithName.lto_priv.1583 (_co=<optimized out>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kwnames=0x0, kwargs=0x0, kwcount=<optimized out>, kwstep=2, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0, name=0x0, qualname=0x0) at ../Python/ceval.c:4159
#102 0x00000000004ff8d8 in PyEval_EvalCodeEx (closure=0x0, kwdefs=0x0, defcount=0, defs=0x0, kwcount=0, kws=0x0, argcount=0, args=0x0, locals={'__name__': 'gnuradio.qtgui', '__doc__': '\nProvides a GUI interface using the QT backend.\n', '__package__': 'gnuradio.qtgui', '__loader__': <SourceFileLoader(name='gnuradio.qtgui', path='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__init__.py') at remote 0x7ffff61636d8>, '__spec__': <ModuleSpec(name='gnuradio.qtgui', loader=<...>---Type <return> to continue, or q <return> to quit---
, origin='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__init__.py', loader_state=None, submodule_search_locations=['/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui'], _set_fileattr=True, _cached='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__pycache__/__init__.cpython-36.pyc', _initializing=True) at remote 0x7ffff6163710>, '__path__': [...], '__file__': '/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__init__.py', '__cached__': '/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__pycache__/__init__.cpython-36.pyc', '__builtins__': {'__name__': 'builtins...(truncated), globals={'__name__': 'gnuradio.qtgui', '__doc__': '\nProvides a GUI interface using the QT backend.\n', '__package__': 'gnuradio.qtgui', '__loader__': <SourceFileLoader(name='gnuradio.qtgui', path='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__init__.py') at remote 0x7ffff61636d8>, '__spec__': <ModuleSpec(name='gnuradio.qtgui', loader=<...>, origin='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__init__.py', loader_state=None, submodule_search_locations=['/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui'], _set_fileattr=True, _cached='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__pycache__/__init__.cpython-36.pyc', _initializing=True) at remote 0x7ffff6163710>, '__path__': [...], '__file__': '/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__init__.py', '__cached__': '/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__pycache__/__init__.cpython-36.pyc', '__builtins__': {'__name__': 'builtins...(truncated), _co=<code at remote 0x7ffff61b8930>) at ../Python/ceval.c:729
#103 0x00000000004ff8d8 in PyEval_EvalCode (locals={'__name__': 'gnuradio.qtgui', '__doc__': '\nProvides a GUI interface using the QT backend.\n', '__package__': 'gnuradio.qtgui', '__loader__': <SourceFileLoader(name='gnuradio.qtgui', path='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__init__.py') at remote 0x7ffff61636d8>, '__spec__': <ModuleSpec(name='gnuradio.qtgui', loader=<...>, origin='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__init__.py', loader_state=None, submodule_search_locations=['/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui'], _set_fileattr=True, _cached='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__pycache__/__init__.cpython-36.pyc', _initializing=True) at remote 0x7ffff6163710>, '__path__': [...], '__file__': '/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__init__.py', '__cached__': '/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__pycache__/__init__.cpyt
hon-36.pyc', '__builtins__': {'__name__': 'builtins...(truncated), globals={'__name__': 'gnuradio.qtgui', '__doc__': '\nProvides a GUI interface using the QT backend.\n', '__package__': 'gnuradio.qtgui', '__loader__': <SourceFileLoader(name='gnuradio.qtgui', path='/home/argil---Type <return> to continue, or q <return> to quit---
o/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__init__.py') at remote 0x7ffff61636d8>, '__spec__': <ModuleSpec(name='gnuradio.qtgui', loader=<...>, origin='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__init__.py', loader_state=None, submodule_search_locations=['/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui'], _set_fileattr=True, _cached='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__pycache__/__init__.cpython-36.pyc', _initializing=True) at remote 0x7ffff6163710>, '__path__': [...], '__file__': '/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__init__.py', '__cached__': '/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__pycache__/__init__.cpython-36.pyc', '__builtins__': {'__name__': 'builtins...(truncated), co=<code at remote 0x7ffff61b8930>) at ../Python/ceval.c:731
#104 0x00000000004ff8d8 in builtin_exec_impl (module=<optimized out>, locals={'__name__': 'gnuradio.qtgui', '__doc__': '\nProvides a GUI interface using the QT backend.\n', '__package__': 'gnuradio.qtgui', '__loader__': <SourceFileLoader(name='gnuradio.qtgui', path='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__init__.py') at remote 0x7ffff61636d8>, '__spec__': <ModuleSpec(name='gnuradio.qtgui', loader=<...>, origin='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__init__.py', loader_state=None, submodule_search_locations=['/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui'], _set_fileattr=True, _cached='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__pycache__/__init__.cpython-36.pyc', _initializing=True) at remote 0x7ffff6163710>, '__path__': [...], '__file__': '/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__init__.py', '__cached__': '/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui
/__pycache__/__init__.cpython-36.pyc', '__builtins__': {'__name__': 'builtins...(truncated), globals={'__name__': 'gnuradio.qtgui', '__doc__': '\nProvides a GUI interface using the QT backend.\n', '__package__': 'gnuradio.qtgui', '__loader__': <SourceFileLoader(name='gnuradio.qtgui', path='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__init__.py') at remote 0x7ffff61636d8>, '__spec__': <ModuleSpec(name='gnuradio.qtgui', loader=<...>, origin='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__init__.py', loader_state=None, submodule_search_locations=['/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui'], _set_fileattr=True, _cached='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__pycache__/__init__.cpython-36.pyc', _initializing=True) at remote 0x7ffff6163710>, '__path__': [...], '__file__': '/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__init__.py', '__cached__': '/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__pycache__/__init__.cpython-36.pyc', '__builtins__': {'__name__': 'builtins...(truncated), source=<code at remote 0x7ffff61b89---Type <return> to continue, or q <return> to quit---
30>) at ../Python/bltinmodule.c:983
#105 0x00000000004ff8d8 in builtin_exec (module=<optimized out>, args=<optimized out>)
    at ../Python/clinic/bltinmodule.c.h:283
#106 0x0000000000556c12 in PyCFunction_Call (func=<built-in method exec of module object at remote 0x7ffff7fc5638>, args=<optimized out>, kwds=<optimized out>) at ../Objects/methodobject.c:112
#107 0x00000000004fa8e2 in do_call_core (kwdict={}, callargs=(<code at remote 0x7ffff61b8930>, {'__name__': 'gnuradio.qtgui', '__doc__': '\nProvides a GUI interface using the QT backend.\n', '__package__': 'gnuradio.qtgui', '__loader__': <SourceFileLoader(name='gnuradio.qtgui', path='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__init__.py') at remote 0x7ffff61636d8>, '__spec__': <ModuleSpec(name='gnuradio.qtgui', loader=<...>, origin='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__init__.py', loader_state=None, submodule_search_locations=['/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui'], _set_fileattr=True, _cached='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__pycache__/__init__.cpython-36.pyc', _initializing=True) at remote 0x7ffff6163710>, '__path__': [...], '__file__': '/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__init__.py', '__cached__': '/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__pycache__/__init__.cpython-36.pyc', '__b...(truncated), func=<built-in method exec of module object at remote 0x7ffff7fc5638>) at ../Python/ceval.c:5095
#108 0x00000000004fa8e2 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>)
    at ../Python/ceval.c:3397
#109 0x00000000004f3338 in PyEval_EvalFrameEx (throwflag=0, f=Frame 0x7ffff61fe768, for file <frozen importlib._bootstrap>, line 219, in _call_with_frames_removed (f=<built-in method exec of module object at remote 0x7ffff7fc5638>, args=(<code at remote 0x7ffff61b8930>, {'__name__': 'gnuradio.qtgui', '__doc__': '\nProvides a GUI interface using the QT backend.\n', '__package__': 'gnuradio.qtgui', '__loader__': <SourceFileLoader(name='gnuradio.qtgui', path='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__init__.py') at remote 0x7ffff61636d8>, '__spec__': <ModuleSpec(name='gnuradio.qtgui', loader=<...>, origin='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__init__.py', loader_state=None, submodule_search_locations=['/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui'], _set_fileattr=True, _cached='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__pycache__/__init__.cpython-36.pyc', _initializing=True) at remote 0x7ffff6163710>, '__path__': [...], '__file__': '/home/argilo/prefix_next/lib/pyt...(truncated)) at ../Python/ceval.c:4159
---Type <return> to continue, or q <return> to quit---
#110 0x00000000004f3338 in _PyEval_EvalCodeWithName.lto_priv.1583 (_co=<optimized out>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kwnames=0x0, kwargs=0x7ffff7f8aea8, kwcount=<optimized out>, kwstep=1, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0, name='_call_with_frames_removed', qualname='_call_with_frames_removed')
    at ../Python/ceval.c:4159
#111 0x0000000000510fb0 in fast_function.lto_priv (func=<function at remote 0x7ffff7fa2ea0>, stack=0x7ffff7f8ae90, nargs=3, kwnames=<optimized out>) at ../Python/ceval.c:4971
#112 0x00000000005119bd in call_function.lto_priv (pp_stack=0x7fffffffcca0, oparg=<optimized out>, kwnames=<optimized out>) at ../Python/ceval.c:4851
#113 0x00000000004f5277 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>)
    at ../Python/ceval.c:3328
#114 0x0000000000510c78 in PyEval_EvalFrameEx (throwflag=0, f=Frame 0x7ffff7f8acf8, for file <frozen importlib._bootstrap_external>, line 678, in exec_module (self=<SourceFileLoader(name='gnuradio.qtgui', path='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__init__.py') at remote 0x7ffff61636d8>, module=<module at remote 0x7ffff6159a98>, code=<code at remote 0x7ffff61b8930>)) at ../Python/ceval.c:754
#115 0x0000000000510c78 in _PyFunction_FastCall (globals=<optimized out>, nargs=140737353657592, args=<optimized out>, co=<optimized out>) at ../Python/ceval.c:4912
#116 0x0000000000510c78 in fast_function.lto_priv (func=<function at remote 0x7ffff7f278c8>, stack=<optimized out>, nargs=2, kwnames=<optimized out>) at ../Python/ceval.c:4947
#117 0x00000000005119bd in call_function.lto_priv (pp_stack=0x7fffffffce90, oparg=<optimized out>, kwnames=<optimized out>) at ../Python/ceval.c:4851
#118 0x00000000004f5277 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>)
    at ../Python/ceval.c:3328
#119 0x0000000000510c78 in PyEval_EvalFrameEx (throwflag=0, f=Frame 0x7ffff61dd248, for file <frozen importlib._bootstrap>, line 665, in _load_unlocked (spec=<ModuleSpec(name='gnuradio.qtgui', loader=<SourceFileLoader(name='gnuradio.qtgui', path='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__init__.py') at remote 0x7ffff61636d8>, origin='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__init__.py', loader_state=None, submodule_search_locations=['/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui'], _set_fileattr=True, _cached='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__pycache__/__init__.cpython-36.pyc', ---Type <return> to continue, or q <return> to quit---
_initializing=True) at remote 0x7ffff6163710>, module=<module at remote 0x7ffff6159a98>))
    at ../Python/ceval.c:754
#120 0x0000000000510c78 in _PyFunction_FastCall (globals=<optimized out>, nargs=140737322537544, args=<optimized out>, co=<optimized out>) at ../Python/ceval.c:4912
#121 0x0000000000510c78 in fast_function.lto_priv (func=<function at remote 0x7ffff7f81bf8>, stack=<optimized out>, nargs=1, kwnames=<optimized out>) at ../Python/ceval.c:4947
#122 0x00000000005119bd in call_function.lto_priv (pp_stack=0x7fffffffd080, oparg=<optimized out>, kwnames=<optimized out>) at ../Python/ceval.c:4851
#123 0x00000000004f5277 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>)
    at ../Python/ceval.c:3328
#124 0x0000000000510c78 in PyEval_EvalFrameEx (throwflag=0, f=Frame 0xb51448, for file <frozen importlib._bootstrap>, line 955, in _find_and_load_unlocked (name='gnuradio.qtgui', import_=<built-in method __import__ of module object at remote 0x7ffff7fc5638>, path=['/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio'], parent='gnuradio', parent_module=<module at remote 0x7ffff6159a48>, spec=<ModuleSpec(name='gnuradio.qtgui', loader=<SourceFileLoader(name='gnuradio.qtgui', path='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__init__.py') at remote 0x7ffff61636d8>, origin='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__init__.py', loader_state=None, submodule_search_locations=['/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui'], _set_fileattr=True, _cached='/home/argilo/prefix_next/lib/python3.6/dist-packages/gnuradio/qtgui/__pycache__/__init__.cpython-36.pyc', _initializing=True) at remote 0x7ffff6163710>))
    at ../Python/ceval.c:754
#125 0x0000000000510c78 in _PyFunction_FastCall (globals=<optimized out>, nargs=11867208, args=<optimized out>, co=<optimized out>) at ../Python/ceval.c:4912
#126 0x0000000000510c78 in fast_function.lto_priv (func=<function at remote 0x7ffff7f83d08>, stack=<optimized out>, nargs=2, kwnames=<optimized out>) at ../Python/ceval.c:4947
#127 0x00000000005119bd in call_function.lto_priv (pp_stack=0x7fffffffd270, oparg=<optimized out>, kwnames=<optimized out>) at ../Python/ceval.c:4851
#128 0x00000000004f5277 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>)
    at ../Python/ceval.c:3328
#129 0x0000000000510375 in PyEval_EvalFrameEx (throwflag=0, f=Frame 0xb238a8, for file <frozen importlib._bootstrap>, line 971, in _find_and_load (name='gnuradio.qtgui', import_=<built-in method __imp---Type <return> to continue, or q <return> to quit---
ort__ of module object at remote 0x7ffff7fc5638>, module=<object at remote 0x7ffff7f87030>))
    at ../Python/ceval.c:754
#130 0x0000000000510375 in _PyFunction_FastCall (globals=<optimized out>, nargs=<optimized out>, args=<optimized out>, co=<optimized out>) at ../Python/ceval.c:4912
#131 0x0000000000510375 in _PyFunction_FastCallDict (func=<optimized out>, args=<optimized out>, nargs=<optimized out>, kwargs=<optimized out>) at ../Python/ceval.c:5014
#132 0x000000000059d591 in _PyObject_FastCallDict (func=<function at remote 0x7ffff7f83d90>, args=0x7fffffffd420, nargs=2, kwargs=0x0) at ../Objects/abstract.c:2310
#133 0x000000000059d8fe in _PyObject_CallMethodIdObjArgs (callable=<function at remote 0x7ffff7f83d90>, name=<optimized out>) at ../Objects/abstract.c:2796
#134 0x00000000004dab6d in PyImport_ImportModuleLevelObject (name='gnuradio.qtgui', globals=<optimized out>, locals=<optimized out>, fromlist=None, level=0) at ../Python/import.c:1578
#135 0x00000000004f70ba in import_name (level=0, fromlist=None, name='gnuradio.qtgui', f=Frame 0x7ffff7ea0788, for file <stdin>, line 1, in <module> ()) at ../Python/ceval.c:5224
#136 0x00000000004f70ba in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>)
    at ../Python/ceval.c:2892
#137 0x00000000004f3338 in PyEval_EvalFrameEx (throwflag=0, f=Frame 0x7ffff7ea0788, for file <stdin>, line 1, in <module> ()) at ../Python/ceval.c:4159
#138 0x00000000004f3338 in _PyEval_EvalCodeWithName.lto_priv.1583 (_co=<optimized out>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kwnames=0x0, kwargs=0x0, kwcount=<optimized out>, kwstep=2, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0, name=0x0, qualname=0x0) at ../Python/ceval.c:4159
#139 0x00000000004f4ab3 in PyEval_EvalCodeEx (closure=0x0, kwdefs=0x0, defcount=0, defs=0x0, kwcount=0, kws=0x0, argcount=0, args=0x0, locals=<optimized out>, globals=<optimized out>, _co=<optimized out>) at ../Python/ceval.c:4180
#140 0x00000000004f4ab3 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at ../Python/ceval.c:731
#141 0x0000000000640862 in run_mod (mod=0xb6d858, filename='<stdin>', globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <type at remote 0xaa1f68>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7ffff7fc5638>}, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <type at remote 0xaa1f68>, '__spec__': No---Type <return> to continue, or q <return> to quit---
ne, '__annotations__': {}, '__builtins__': <module at remote 0x7ffff7fc5638>}, flags=0x7fffffffd92c, arena=0x7ffff7f5d300) at ../Python/pythonrun.c:1025
#142 0x00000000004b50a7 in PyRun_InteractiveOneObjectEx (fp=fp@entry=0x7ffff7dcfa00 <_IO_2_1_stdin_>, filename=filename@entry='<stdin>', flags=flags@entry=0x7fffffffd92c) at ../Python/pythonrun.c:246
#143 0x00000000004b627d in PyRun_InteractiveLoopFlags (fp=fp@entry=0x7ffff7dcfa00 <_IO_2_1_stdin_>, filename_str=filename_str@entry=0x7596b3 "<stdin>", flags=flags@entry=0x7fffffffd92c)
    at ../Python/pythonrun.c:114
#144 0x0000000000642ba3 in PyRun_AnyFileExFlags (fp=0x7ffff7dcfa00 <_IO_2_1_stdin_>, filename=0x7596b3 "<stdin>", closeit=0, flags=0x7fffffffd92c) at ../Python/pythonrun.c:75
#145 0x0000000000634117 in run_file (p_cf=0x7fffffffd92c, filename=<optimized out>, fp=<optimized out>) at ../Modules/main.c:340
#146 0x0000000000634117 in Py_Main (argc=<optimized out>, argv=<optimized out>)
    at ../Modules/main.c:810
#147 0x00000000004b6e80 in main (argc=1, argv=0x7fffffffdb28) at ../Programs/python.c:69

It could be I'm missing a dependency. The only change I made to PyBOMBS' gnuradio.lwr recipe was to add pyqt5 as a dependency.

@argilo
Copy link
Member Author

argilo commented Sep 21, 2018

I attempted to install using PyBOMBS on Ubuntu 18.04.

@noc0lour
Copy link
Member

The PyBOMBS recipe is not yet setup for the "new" GR master and in fact the old recipe was adjusted to pull in maint-3.7 to avoid a lot of breakage.

@argilo
Copy link
Member Author

argilo commented Sep 21, 2018

I solved this by installing all the dependencies listed in the buildbot dockerfile and running pybombs rebuild gnuradio.

https://github.com/gnuradio/gnuradio-buildbot/blob/public/worker/ubuntu-18.04.Dockerfile

@777arc
Copy link
Member

777arc commented Oct 17, 2018

I just started playing around with 3.8 (master) and have the same issue when trying to add any QT GUIs to the GRC canvas. Same issue, import gnuradio.qtgui fails. I'll try to figure out which of those dependencies is the culprit.

@mbr0wn
Copy link
Member

mbr0wn commented Nov 13, 2018

I just saw this with Python 2 also.

@mbr0wn
Copy link
Member

mbr0wn commented Nov 13, 2018

...on Fedora 28.

@noc0lour
Copy link
Member

can you check with ldd which version of libQwt is being loaded by libgnuradio-qtgui ? I bet it's pulling in the Qt4 version.

@noc0lour
Copy link
Member

Which is a problem with the FindQwt.cmake we are shipping.

@mbr0wn
Copy link
Member

mbr0wn commented Nov 13, 2018

@balister pointed me the right way: If you build with QT5 and have QWT for QT4, CMake will get that mixed up. Adding QWT for QT5 fixes the issue, but our CMake should still be failing.

@mbr0wn mbr0wn changed the title Segfault when importing gnuradio.qtgui package in python3 QTGUI segfaults on 3.8 with QT5 because QWT detection in CMake fails Nov 13, 2018
mbr0wn added a commit to mbr0wn/gnuradio that referenced this issue Nov 15, 2018
The only way to be sure that FindQwt.cmake is finding the Qt5 version
of Qwt is to either
- limit the name to qwt-qt5 or
- have the user specify it when running CMake.

The latter is unimpeded by this change. However, by default, it'll now
skip libqwt.so on Fedora and Ubuntu systems, which is actually only
a valid library when using Qt4, not Qt5.

Fixes gnuradio#2027.
mbr0wn added a commit that referenced this issue Nov 15, 2018
The only way to be sure that FindQwt.cmake is finding the Qt5 version
of Qwt is to either
- limit the name to qwt-qt5 or
- have the user specify it when running CMake.

The latter is unimpeded by this change. However, by default, it'll now
skip libqwt.so on Fedora and Ubuntu systems, which is actually only
a valid library when using Qt4, not Qt5.

Fixes #2027.
hcab14 pushed a commit to hcab14/gnuradio that referenced this issue Nov 26, 2018
The only way to be sure that FindQwt.cmake is finding the Qt5 version
of Qwt is to either
- limit the name to qwt-qt5 or
- have the user specify it when running CMake.

The latter is unimpeded by this change. However, by default, it'll now
skip libqwt.so on Fedora and Ubuntu systems, which is actually only
a valid library when using Qt4, not Qt5.

Fixes gnuradio#2027.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants