[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Segmentation fault
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] Segmentation fault |
Date: |
Sat, 2 Apr 2005 02:23:42 -0800 |
User-agent: |
Mutt/1.5.6i |
On Sat, Apr 02, 2005 at 12:37:12AM -0800, Sachi wrote:
> By the way,
> If I run nbfm_rcv.py, I got the same error. But if I
> use --no-gui option, then the error won't appear. It
> seems that this error is related tothe graphical use,
> could any one of you give me any suggestions?
>
> Sachi
Generic suggestion #1: When your program is seg faulting, run it under
a debugger to see where it's segfaulting and get a stack trace if you
can.
It's slightly more complicated than usual in our situation, because
we're dynamically loaded into python. The good news is that gdb handles
this well. If you're not familiar with gdb, now's a good time to
learn how to use it.
See http://www.gnu.org/software/gnuradio/doc/howto-write-a-block.html#debugging
Generic suggestion #2: When a program has a problem, find the smallest
test case that reproduces the problem.
Eric