noproc error in starting gen_fsm

maruthavanan s <>
Fri Feb 4 18:51:19 CET 2011


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 


this works good below without any problem.

What is wrong I am doing here?

Kindly help.


More information about the erlang-questions mailing list