discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Segmentation fault executing gnuradio-companion


From: Minas Kouroublakis
Subject: [Discuss-gnuradio] Segmentation fault executing gnuradio-companion
Date: Mon, 29 Jun 2015 11:06:33 +0000 (UTC)

Greetings GnuRadio community

For a week now i am trying to install gnuradio on Ubuntu 14.04. I use the command to fetch the script

wget http://www.sbrac.org/files/build-gnuradio && chmod a+x ./build-gnuradio & ./build-gnuradio
and after 5 (!!!!!!) hours it finishes succesfully. After that i set the PYTHONPATH as it is directed after the completion of the installation

 export PYTHONPATH=/usr/local/lib/python2.7/dist-packages

Then i execute gnuradio-companion and i get a segmentation fault. I traced the fault using gdb and  the following commands

gdb --args python $(which gnuradio-companion)
(gdb) run
(gbd) bt

As a result  i get the detailed trace that is attached. Below i pasted the lines of the  trace that shows the error. It seems that it cannot import gnuradio because the because the PYTHONPATH is not correct. This drives me crazy because i am sure that the PYTHONPATH is correct.

#94 0x080a9728 in PyRun_FileExFlags (address@hidden, address@hidden "/usr/local/bin/gnuradio-companion",
    address@hidden,
    address@hidden'GPollableInputStream': <type at remote 0xb7a723dc>, 'main': <function at remote 0xb6788994>, 'get_source_tree_root': <function at remote 0xb678895c>, 'show_gtk_error_dialog': <function at remote 0xb7c8ab1c>, '__builtins__': <module at remote 0xb7d4311c>, 'check_gnuradio_import': <function at remote 0xb678864c>, '__file__': '/usr/local/bin/gnuradio-companion', 'gtk': <module at remote 0xb7a4e56c>, 'pygtk': <module at remote 0xb7c8d9a4>, '__package__': None, 'sys': <module at remote 0xb7d432e4>, 'optparse': <module at remote 0xb7c8df2c>, 'GR_IMPORT_ERROR_MESSAGE': 'Cannot import gnuradio.\n\nIs the python path environment variable set correctly?\n    All OS: PYTHONPATH\n\nIs the library path environment variable set correctly?\n    Linux: LD_LIBRARY_PATH\n    Windows: PATH\n    MacOSX:---Type <return> to continue, or q <return> to quit---
 DYLD_LIBRARY_PATH\n', 'VERSION_AND_DISCLAIMER_TEMPLATE': 'GNU Radio Companion %s\n\nThis program is part of GNU Radio\nGRC comes with ABSOLUTELY NO WARRANTY.\nThis is free software, and you are welcome to redistribute it.\n', '...(truncated),
    address@hidden'GPollableInputStream': <type at remote 0xb7a723dc>, 'main': <function at remote 0xb6788994>, 'get_source_tree_root': <function at remote 0xb678895c>, 'show_gtk_error_dialog': <function at remote 0xb7c8ab1c>, '__builtins__': <module at remote 0xb7d4311c>, 'check_gnuradio_import': <function at remote 0xb678864c>, '__file__': '/usr/local/bin/gnuradio-companion', 'gtk': <module at remote 0xb7a4e56c>, 'pygtk': <module at remote 0xb7c8d9a4>, '__package__': None, 'sys': <module at remote 0xb7d432e4>, 'optparse': <module at remote 0xb7c8df2c>, 'GR_IMPORT_ERROR_MESSAGE': 'Cannot import gnuradio.\n\nIs the python path environment variable set correctly?\n    All OS: PYTHONPATH\n\nIs the library path environment variable set correctly?\n    Linux: LD_LIBRARY_PATH\n    Windows: PATH\n    MacOSX: DYLD_LIBRARY_PATH\n', 'VERSION_AND_DISCLAIMER_TEMPLATE': 'GNU Radio Companion %s\n\nThis program is part of GNU Radio\nGRC comes with ABSOLUTELY NO WARRANTY.\nThis is free software, and you are welcome to redistribute it.\n', '...(truncated), address@hidden,
    address@hidden) at ../Python/pythonrun.c:1356
#95 0x080aa008 in PyRun_SimpleFileExFlags (fp=0x837bc38, filename=<optimized out>, closeit=1, flags=0xbfffef2c)
    at ../Python/pythonrun.c:948
#96 0x080aa0fb in PyRun_AnyFileExFlags (address@hidden, filename=<optimized out>,
    address@hidden "/usr/local/bin/gnuradio-companion", address@hidden, address@hidden)
    at ../Python/pythonrun.c:752
#97 0x080aad65 in Py_Main (address@hidden, address@hidden) at ../Modules/main.c:640
#98 0x080aae44 in main (argc=2, argv=0xbffff064) at ../Modules/python.c:23

Can anyone help with this? I tried everything i could and i am desperate!!

Minas








Attachment: trace-segfault
Description: Binary data


reply via email to

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