Hi Achilleas, after skimming through your code, I found no obvious mistakes so far. My guess was that under some circumstances, you connect or disconnect a connection twice or something similarly wicked happens, but I can't see why that should happen. Can you supply us with a backtrace, generated by GDB? (gdb --args python onoff_flat_test.py; then type "run<return>" as soon as gdb is ready, then type "backtrace<return>" after the program segfaulted)
Greetings Marcus On Fri, 2013-10-04 at 17:46 -0400, Achilleas Anastasopoulos wrote: > > > I have a pyhton program (see > http://web.eecs.umich.edu/~anastas/docs/onoff_flat_test.py) > that based on a button chooser (on/off) rearranges itself. > I use lock/unlock to do the disconnection/reconnection. > However, I always get segfaults after a couple of changes. > > > The graph is pretty simple: > > > A complex sinusodial source + noise (throttled) goes to either: > > > ON) multiplication by 2 and complex to mag squared > > or > > OFF) multiplication by 0 and complex to mag squared > > > and then to a null sink. > > > > I would really appreciate some input because I am kind of lost as to > what > > is going wrong. > > thanks in advance, > Achilleas > > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio