Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!usc!wuarchive!bcm!dimacs.rutgers.edu!rutgers!carssdf!usenet From: usenet@carssdf.UUCP (John Watson) Newsgroups: comp.lang.perl Subject: Re: problem with "out of memory" in perl debugger Keywords: perl, debugger, bug, out of memory Message-ID: <278@carssdf.UUCP> Date: 13 Dec 90 01:28:41 GMT References: <40012@genrad.UUCP> Organization: C.A.R.S.,Middlesex,NJ Lines: 16 In article <40012@genrad.UUCP>, rep@genrad.com (Pete Peterson) writes: > On the vax, perl -d ANYTHING gives segmentation fault core dump. > Has anybody seen and fixed this problem? A problem on SCO Xenix similar to this was corrected by changing the compile options to include -Zp2, That means pack all structures on short word (2 byte) boundaries. The ARG structure has a pointer followed by three shorts and this seems to be related to the problem. When the problem hits, "afake" asks for 100 + M Byte of memory. On the Xenix System, that change also requires you to fix the "stat.h" include module, or just accept a couple of errors from the make test, of io.fs and op.stat. A #pragma pack(4) and ...pack() do the trick. John Watson ...!rutgers!carssdf!usenet