From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,1a0c63bd65ee526b,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-06-19 12:01:04 PST Path: nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!europa.eng.gtefsd.com!MathWorks.Com!solaris.cc.vt.edu!server.cs.vt.edu!usenet From: ajit@envision1.cs.vt.edu (Ajit Naidu) Newsgroups: comp.sys.dec Subject: Help: using fork() in DCE under OSF/1 2.0 on a AXP 3000 - 300 Date: 19 Jun 1994 18:28:48 GMT Organization: Virginia Tech, Blacksburg, Virginia Message-ID: <2u22p0$mhi@server.cs.vt.edu> Reply-To: ajit@csgrad.cs.vt.edu NNTP-Posting-Host: envision1.cs.vt.edu Keywords: DCE, OSF, fork(), threads Hi, I am using DCE under OSF/1 and have run into problems when trying to to use fork() system call side for a DCE RPC. The message I get on the server side: %Internal DECthreads problem (version V1.11-AgS2), terminating execution. %running on DEC OSF/1 AXP [OSF1 alpha V2.0(240)] % Reason: vp_suspend: (ipc/rcv) invalid port (-202) msg_receive(vp 43, port 44) % See 'cma_dump.log' for state information. On the client side I get the following message and core dump ofcourse: (rpc__cn_call_sm_protocol_error) Illegal state transition detected in CN client call state machine (rpc__cn_call_sm_protocol_error) Current state: 255 (rpc__cn_call_sm_protocol_error) Current event: 101 (rpc__cn_call_sm_protocol_error) Call rep: 3d008 (rpc) *** FATAL ERROR "(rpc__cn_call_sm_protocol_error)" at cnsclsm.c\2895 *** Abort process (core dumped) I understand that I may need to use the atfork() system call, but I could not get any concrete examples or information in the DEC OSF documentation. I have the cma_dump.log if anybody wants wade thru it. Thanks, -- Ajit --