Newsgroups: comp.lang.perl Path: utzoo!utgpu!cunews!bnrgate!bwdls61!dbruce From: dbruce@bnr.ca (D. Bruce) Subject: Re: questions Message-ID: <1991Jun19.013243.7913@bwdls61.bnr.ca> Sender: usenet@bwdls61.bnr.ca (Use Net) Nntp-Posting-Host: bwdls1 Organization: Bell-Northern Research Ottawa References: <1991Jun15.174050.9277@bwdls61.bnr.ca> Distribution: na Date: Wed, 19 Jun 1991 01:32:43 GMT Hi Aditya! In article <1991Jun15.174050.9277@bwdls61.bnr.ca> asehgal@bwdls57.bnr.ca (Aditya Sehgal) writes: > >I am using perl 4.0 at patch level 3 on a sparcstaion 1+ Sunos 4.0.3. > >I am getting the following Perl ERROR. The strange thing about this error >is that it doesnt' happen everytime when I execute my perl program but >sometimes. Has anyone else experienced the same and could they share their >experiences ? >----------- > >Bad free() ignored at slinkrep.pl line 66, line 261. The 'malloc.c' supplied with perl patch 3 is generating this error when it finds it's header trashed on a free. Either this malloc is buggy, or perl is trying to free bad addresses. I'd rather suspect the malloc. Possibly a sign extension problem? (I'll dig deeper tomorrow) I notice in patches 4-10 some reference to the built in malloc code. So maybe it has been fixed. (We have been waiting till it's stable :-) ) I have re-built perl 4p3 with the SUN malloc code, lets try it tomorrow on your 'killer' code. .. :-) > >Another question is that in the perl format TOP statement for printing a >header of a report, is there a way also to print the current date and >time ? > Look at page 261 of Programming Perl. >Thanks in advance, > You're welcome. > Aditya Sehgal > asehgal@bnr.ca > -- D. Bruce Bell-Northern Research |opinions expressed dbruce@bnr.ca P.O. Box 3511, Stn. C |are my own, and not (or internally dbruce@bwdls1) Ottawa, ON, CANADA |necessarily BNRs