Path: utzoo!attcan!uunet!wucs1!plus5!hokey From: hokey@plus5.UUCP (Hokey) Newsgroups: comp.sources.d Subject: Re: Perl 2.0 Message-ID: <2472@plus5.UUCP> Date: 3 Jul 88 15:43:43 GMT References: <275@sdba.UUCP> <2340@devvax.JPL.NASA.GOV> <113@luna.UUCP> Reply-To: hokey@plus5.com (Hokey) Organization: Plus Five Computer Services, St. Louis, MO Lines: 15 It happens on our 68000 SysVr2.2 box, also. The problem seems to be around line 810 in regexp.c. While parsing the sharpbang regexp and determining the length of the compiled form, regcomp calls regpiece which calls regatom. The line in question is: *OPERAND(ret) = len; For reasons as yet unclear to me, this causes the value saved in regcode to be altered, which causes regc() to try to emit code instead of counting the byte. Since regcode is pointing to garbage, Bad Things happen. Perhaps I'll have more time to look at this today. -- Hokey