Re: gr-Trellis FSM

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

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 A. [email protected] wrote:

From: Achilleas A. [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