[comp.lang.perl] Perl Crashes

jstuart@math-cs.kent.edu (Jeff Stuart) (05/30/90)

Has ANYONE gotten perl to compile on (yes believe or not these still do
exist) a Plexus P/75 running System V.2.  This is both perl Version 3.0
patchlevel 0 and patchlevel 18 (i think that is the latest).  When I run
the test base.lex test 5 which is the floating point operators (IE eval)
gives me a:
	"perl: Floating exception -- Core dumped".

Running adb on perl with the core file and doing a stackback trace (ie
$c) gives me:
	"_psignal(7feb90,10001,6f)+16
	 dtoi(7fffffff,c1800000,427f4)+34
	 _scanstr(40c04)+32e
	 _yylex(42258)+143c
	 _yyparse(0)+14c
	 _main(2,7fed6c,7fed78,2)+aec".
	 
Now the first thing that strikes my eye is that the one paramater
7feb90.  Now this MAY just be a coindence but I am not sure.  Oh one
other thing, this is using a motorola 68020 chip.

CAN ANYONE HELP!!! PLEASE!!!!!!

--
Jeff Stuart			Internet: jstuart@math-cs.kent.edu
Kent State University		UUCP: ...!uunet!telxon!teleng!kentba!jstuart
Kent, Ohio 44449		(216) 672-3282

lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) (05/31/90)

In article <1990May30.065642.2753@math-cs.kent.edu> jstuart@math-cs.kent.edu (Jeff Stuart) writes:
: Has ANYONE gotten perl to compile on (yes believe or not these still do
: exist) a Plexus P/75 running System V.2.  This is both perl Version 3.0
: patchlevel 0 and patchlevel 18 (i think that is the latest).  When I run
: the test base.lex test 5 which is the floating point operators (IE eval)
: gives me a:
: 	"perl: Floating exception -- Core dumped".
: 
: Running adb on perl with the core file and doing a stackback trace (ie
: $c) gives me:
: 	"_psignal(7feb90,10001,6f)+16
: 	 dtoi(7fffffff,c1800000,427f4)+34
: 	 _scanstr(40c04)+32e
: 	 _yylex(42258)+143c
: 	 _yyparse(0)+14c
: 	 _main(2,7fed6c,7fed78,2)+aec".
: 	 
: Now the first thing that strikes my eye is that the one paramater
: 7feb90.  Now this MAY just be a coindence but I am not sure.  Oh one
: other thing, this is using a motorola 68020 chip.

There's a Mad Hacker loose on your system who declared independence for
Ohio on the 7th of February.  She's trying to send a coded signal to her
followers to get them all to post a message simultaneously, thus bringing
the net to its knees.  She thinks she's Scheherazade, but she can't count.
She's 16 years old, and her shoe size is 6f.

The fact that it's a motorola chip is a coincidence.

The insidious dtoi() appears to be a cast of a double to an int.  This is
probably a transmogrified cast to void.  Try changing the lines in
scanstr() (in file toke.c) that say

    #ifdef MICROPORT

to

    #if defined(MICROPORT) || defined(plexus)

or whatever the appropriate incantation is.

Larry