Yep, this fixed the problem. Successfully ran the FSM for 20,000+ times without 
an error.
Thanks for the fix!
-Chris

--- On Sat, 3/31/12, Achilleas Anastasopoulos <[email protected]> wrote:

From: Achilleas Anastasopoulos <[email protected]>
Subject: Re: [Discuss-gnuradio] gr-Trellis FSM
To: "[email protected]" <[email protected]>
Cc: [email protected]
Date: Saturday, March 31, 2012, 12:20 PM

great catch!

It appears that in the constructor we (ie, I) forgot to close the file...

I will submit a patch ASAP, but in the meantime, please add

fclose(fsmfile);

just before

  generate_PS_PI();
  generate_TM();

in the fsm constructor fsm::fsm(const char *name)
in gr-trellis/src/lib/fsm.cc

remake reinstall and test.

Please let us know if this fixes your problem.

Achilleas
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to