Mail Archives: djgpp/2004/05/11/21:45:43
On Tue, 11 May 2004 17:33:55 -0600 in comp.os.msdos.djgpp,
"Schumacher, Gordon" <gordon_schumacher AT maxtor DOT com> wrote:
>Well, I *had* a test case, but I did something to it which caused it to
>not crash anymore in the same manner. But in trying to re-reproduce the
>crash, I've stumbled across something else fascinating (which may be the
>crash in another form...)
>
>I'm now running with the code in djgpp/alpha, per what Andrew Cottrell
>suggested, on a Windows 2000 box. When I run the attached script, my
>computer performs the compile (as evidenced by the appearance of a .EXE
>file in the directory) and then the computer goes unresponsive. Many
>seconds later, I get the following message:
>
>/test.sh: xmalloc: ../variables.c:2292: cannot allocate 792674112 bytes (0
>bytes allocated)
792674112 just happens to be '/?? ' -- garbage allocation!
>This only appeared when I added the FOO=`tmp_file_name` line - before
>doing so, everything seemed to work properly.
Try echoing each script variable set in each function.
--
Thanks. Take care, Brian Inglis Calgary, Alberta, Canada
Brian DOT Inglis AT CSi DOT com (Brian dot Inglis at SystematicSw dot ab dot ca)
fake address use address above to reply
- Raw text -