noproc error in starting gen_fsm

maruthavanan s maruthavanan_s@REDACTED
Fri Feb 4 18:51:19 CET 2011


Hi,

I have gen_fsm M1 and gen_Event M2 module,

I am starting the M2 module, where init on M2 will start M1 with start_link,

But once I start it I receive the following error 
=ERROR REPORT==== 4-Feb-2011::23:00:16 ===
** State machine dahdi_59 terminating
** Last message in was {'EXIT',<0.34.0>,noproc}
** When State == 'INITIALIZE'
**      Data  == {state}
** Reason for termination =
** noproc

I thought there might be some problem with M1

and tried below in erlang shell 

gen_fsm:start_link({local,test},M1,[],[]).

this works good below without any problem.

What is wrong I am doing here?

Kindly help.

Thanks,
Marutha
 		 	   		  


More information about the erlang-questions mailing list