IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 22 years ago

Closed 22 years ago

Last modified 22 years ago

#179 closed enhancement (fixed)

Message "memory block %ld was freed but still used" is unclear

Reported by: rhl@… Owned by: robert.desonia@…
Priority: lowest Milestone:
Component: sys Version: 0.2.2
Severity: minor Keywords:
Cc:

Description

The error string

memory block %ld was freed but still used

is unclear. What it means is that a block was used after being freed, and is now
being freed a second time.

I'd suggest something like

psFree called for an already free memory block %ld

Change History (2)

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

Status: newassigned

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

Resolution: fixed
Status: assignedclosed

Added logic in the main branch of the CVS to catch this particular case so
that the error is specific to psFree. The error message is now something
like:

Block 1, allocated at tst_psMemory.c:548, freed multiple times at
tst_psMemory.c:553.

The new message, I think, is pretty explicit and gives the allocation point
and where it was freed the additional time(s).

Note: See TracTickets for help on using tickets.