Program fails: can it be malloc()?

Wim van Dorst (baron@clifton.hobby.nl)
Wed, 24 Apr 1996 23:00:11 +0200 (MDT)


Hello *,

I have a program that uses quite a lot of malloc()s.

Compiled on an Intel machine it runs quite fine (on that
Intel machine); compile on my Alpha, it fails with odd
errors, e.g. in not being able to fopen() a file, cannot
create a temp file, and not enough memory for malloc.

Editing the pertaining source file, and commenting out code
run _after_ the error causing algorithm results in no errors.

I really cannot find any C-related problem (casting or so),
and gcc -Wall does not cause any warnings at all.

Upgrading from libc 0.40.2 to 0.40.3 doesn't help.
Upgrading memset.S with Linus' recent version doesn't help.

Any ideas? Please?

Met vriendelijke groeten, Wim van Dorst
--------------------------------------------------------------------
Blue Baron = Wim van Dorst, Voice (+31) 33 4676365, (+31) 35 5242319
(-: baron@clifton.hobby.nl WvD@Chem.AkzoNobel.nl :-)
--------------------------------------------------------------------