Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!lavaca.uh.edu!karazm.math.uh.edu!jet From: jet@karazm.math.uh.edu (J. Eric Townsend) Newsgroups: comp.lang.perl Subject: Re: Perl dumps core on SparcStation: Script At 11 ... Message-ID: <1990Jul21.010932.1140@lavaca.uh.edu> Date: 21 Jul 90 01:09:32 GMT References: <1990Jul19.133014.1445@DRD.Com> Sender: nntppost@lavaca.uh.edu (NNTP Posting Service) Organization: University of Houston -- Department of Mathematics Lines: 23 In article <1990Jul19.133014.1445@DRD.Com> mark@drd.Com (Mark Lawrence) writes: >Core file is from "perl". >Program terminated with signal 11, Segmentation fault. >(gdb) where >#0 0x4476c in dbm_nextkey () >#1 0x43c60 in dbm_fetch () [etc.] Two things: 0. Segmentation faults are common on the sparc, as it's a word-aligned box, and compiler tools seem to ignore things like alignment these days. 1/2 :-) 1. There is a known bug in the gcc compiler regarding passing structures on the stack. It is supposed to be fixed in the next gcc release. I use cc(1) on perl, and anything else that crashes (and shouldn't), including the Poskanzer tools, parts of X11R4 (the rgb database stuff, which also uses dbm and dies under gcc), and a few other goodies. -- J. Eric Townsend -- University of Houston Dept. of Mathematics (713) 749-2120 Internet: jet@uh.edu Bitnet: jet@UHOU Skate UNIX(r)