From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e7a9a297667042f3 X-Google-Attributes: gidfee84,public X-Google-Thread: 1164f8,e7a9a297667042f3 X-Google-Attributes: gid1164f8,public From: smiller@bnr.ca (Scott Miller) Subject: Re: Multithreaded programs and RPCs Date: 1995/09/05 Message-ID: <42i006$lh2@bcarh8ab.bnr.ca>#1/1 X-Deja-AN: 109532778 distribution: world references: <4289kh$hv6@bcarh8ab.bnr.ca> <42f657$oef@charm.magnus.acs.ohio-state.edu> organization: Bell-Northern Research Ltd. reply-to: smiller@bnr.ca newsgroups: comp.sys.dec,comp.unix.osf.osf1 originator: smiller@bcarhe2d In article <42f657$oef@charm.magnus.acs.ohio-state.edu>, JONESD@kcgl1.eng.ohio-state.edu (David Jones) writes: |> In message <4289kh$hv6@bcarh8ab.bnr.ca>, smiller@bnr.ca (Scott Miller) writes: |> >I wrote a simple program that spawns off a thread to act as an RPC server. |> >It core dumps... |> |> Most likely the RPC server function overflows the stack in your created |> thread. Yep, that was it. I was so busy worrying about the libraries that I forgot about the (default) 21K stack. It made sense too, because the output of tstack in dbx was truncated for one of the threads, which should have clued me in to a stack problem. (Or maybe that had nothing to do with it) Anyway, thanks for the help. It was appreciated. -- -- Scott Miller, in the bowels of Bell-Northern Research smiller@bnr.ca I don't speak for BNR; BNR doesn't speak for me. aa438@freenet.carleton.ca