piet@cs.ruu.nl (Piet van Oostrum) (03/13/90)
I recompiled perl 3.0 patch level 14 on our newly installed HP/UX version 7.0 and several tests failed. We changed to version 7.0 last weekend. The previous version of perl (patch level 12) had been compiled on HP/UX 6.5 and continues to work on 7.0. I have not tried to compile perl3pl12 on HP/UX 7.0. The following tests give problems: comp.cpp: Out of memory! after ok 2 comp.script: Hangs after ok 1 cmd.while: Out of memory! after ok 19 io.fs: Segmentation fault io.inplace: Segmentation fault op.mkdir: Hangs op.stat: Hangs after ok 4 When I trace the thing with adb, it seems that perl is reading from a file on a pipe (opened by a ``). I get: str_gets, `calls' getc, which calls __filbuf, which calls __findbuf, which calls malloc. The malloc never returns, so there is apparently a problem. The problem seems to be the malloc, because it works if I use the malloc that comes with perl. -- Piet* van Oostrum, Dept of Computer Science, Utrecht University, Padualaan 14, P.O. Box 80.089, 3508 TB Utrecht, The Netherlands. Telephone: +31-30-531806 Uucp: uunet!mcsun!hp4nl!ruuinf!piet Telefax: +31-30-513791 Internet: piet@cs.ruu.nl (*`Pete')
wehr@fmeed1.UUCP (Bruce Wehr) (03/14/90)
In article <2643@ruuinf.cs.ruu.nl>, piet@cs.ruu.nl (Piet van Oostrum) writes: > > The following tests give problems: I just brought Perl up to PL14 on our HP-UX 6.5 system. Though I didn't investigate as thoroughly as Piet did, the same 7 tests failed here. I took the suggestion of using the malloc that comes with Perl, and everything is OK. I'm satified that I have a working version of PL14, but I'd sure like to know what broke. If anyone has any ideas, please let us know. Thanks. -- Bruce Wehr (wehr%dptc.decnet@srlvx0.srl.ford.com) (...!mailrus!sharkey!fmeed1!wehr) (wehr%fmeed1.uucp@mailgw.cc.umich.edu) Ford Motor Company - Electronics Division 17000 Rotunda Drive, ETC Room LN081, Dearborn, Michigan 48121 (313)845-3039
wrwalke@prcrs.UUCP (03/19/90)
In article <2643@ruuinf.cs.ruu.nl>, piet@cs.ruu.nl (Piet van Oostrum) writes: > I recompiled perl 3.0 patch level 14 on our newly installed HP/UX version > 7.0 and several tests failed. We changed to version 7.0 last weekend. The > > The problem seems to be the malloc, because it works if I use the malloc > that comes with perl. (HP9000s850, hp/ux 3.10) on the 800 series, the malloc included with perl causes core dumps during the man page creation. this appears to be an alignment problem in the overhead structure. to fix the malloc problem, just change #if defined (mips) || defined (sparc) in the overhead structure of malloc.c to ==> #if defined (mips) || defined (sparc) || defined (hp9000s800) as of patchlevel 15, the hp malloc still works, but don't forget to define JMPCLOBBER for longjumps in syscalls. thanks to jand and of course larry. bill. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= William Walker --- uunet!prcrs!wrwalke --- 530N-3 (703)556-2565 "There's nothing wrong with IBM that a REAL Operating System couldn't cure." -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Subject: Re: perl 3.0 patch level 14 fails on HP/UX 7.0 Newsgroups: comp.lang.perl References: <2643@ruuinf.cs.ruu.nl>