discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] issue with GRC on ubuntu 12.10 - Segmentation Fau


From: Tim O'Shea
Subject: Re: [Discuss-gnuradio] issue with GRC on ubuntu 12.10 - Segmentation Fault when launching the tool
Date: Wed, 24 Oct 2012 00:49:57 -0400

Another simple workaround is importing _io before the gnuradio swig modules are imported
ultimately fixing the underlying swig problem is the right thing to do

diff --git a/grc/scripts/gnuradio-companion b/grc/scripts/gnuradio-companion
index e76322b..7da73fd 100755
--- a/grc/scripts/gnuradio-companion
+++ b/grc/scripts/gnuradio-companion
@@ -18,6 +18,7 @@ along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
 
+import _io
 import pygtk
 pygtk.require('2.0')
 import gtk








On Fri, Oct 19, 2012 at 10:33 PM, Tom Rondeau <address@hidden> wrote:
Johnathan Corgan and I /might/ have tracked down the problem. Please
check out the branch 'rtld_ticket181_undo' on my github git repo:
git://github.com/trondeau/gnuradio.git


This undoes something that was put in a while ago to make up for a
problem with exceptions in SWIG. We think that a) SWIG now handles
this stuff better and b) someone (ld, Python, stdc, etc., etc.) have
updated their behavior to cause a conflict with how things run. On my
12.10 box, this patch allows me to run GRC again. Also, I could not
run 'from gnuradio import audio' before but can now.

This is a bit touchy since this code has been in here for so long.
We're concerned that people might be relying on it and that removing
it could cause some other, unknown behavior. At the same time, getting
GRC to run again is a pretty big deal.

Please check out and test the branch and let me know how it works on
your currently broken systems or on your currently working system to
see if it breaks anything. This was branched off today's master
branch.

Tom


reply via email to

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