[erlang-questions] noproc error in starting gen_fsm

maruthavanan s maruthavanan_s@REDACTED
Fri Feb 4 19:34:31 CET 2011


Hi All,

Found the reason,  I started as a supervisor's child and then it went away.

Thanks,
Marutha

> From: maruthavanan_s@REDACTED
> To: erlang-questions@REDACTED
> Date: Fri, 4 Feb 2011 12:51:19 -0500
> Subject: [erlang-questions] noproc error in starting gen_fsm
> 
> 
> 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