IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 22 years ago

Closed 22 years ago

Last modified 22 years ago

#63 closed defect (fixed)

Testpoint 450 (TPOutOfMemory) fails

Reported by: Paul Price Owned by: robert.desonia@…
Priority: normal Milestone:
Component: sys Version: unspecified
Severity: normal Keywords:
Cc:

Description

This testpoint passed on mithrandir and poiserver0, but failed on nkfb0, which
is a x86-64 machine with a good deal of memory (4017024k total). It seems that
the memory wasn't being completely chewed up with a single call to psAlloc.
Suggest calling:

mem1 = (int*) psAlloc(SIZE_MAX);

multiple times in order to force malloc to come back NULL.

Change History (3)

comment:1 by Paul Price, 22 years ago

Owner: changed from Paul Price to robert.desonia@…

comment:2 by robert.desonia@…, 22 years ago

op_sys: LinuxAll
rep_platform: PCAll
Resolution: fixed
Status: newclosed

Made the necessary fix to tst_psMemory in the main trunk of CVS.

I now repeatedly (up to 10 times) allocate SIZE_MAX-1000 bytes of memory (the
-1000 is to allow for the addition of psMemBlock to not overflow the value in
psAlloc).

-rdd

comment:3 by Paul Price, 22 years ago

Verified in rel2.

Note: See TracTickets for help on using tickets.