delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/04/26/09:03:20

From: <ams AT ludd DOT luth DOT se>
Message-Id: <200304261241.h3QCf7kV026622@speedy.ludd.luth.se>
Subject: tests/libc/ansi/stdlib/tmalloc
To: DJGPP-WORKERS <djgpp-workers AT delorie DOT com>
Date: Sat, 26 Apr 2003 14:41:07 +0200 (CEST)
X-Mailer: ELM [version 2.4ME+ PL78 (25)]
MIME-Version: 1.0
X-MailScanner: Found to be clean
Reply-To: djgpp-workers AT delorie DOT com

Hello.

I've just cvs updated and while I was about to check my strto*() I
happened to run tmalloc. Either it's outdated or we have problems. It
ends with:

  Addr=0x0089b374   size=0x00000a41   ENDSZ=0x00000a41   in use

=== Heap corruption test:
>>> PASSED (as expected)

=== Freed everything.
>>> mallinfo reports:
    Arena: 4324280
    Ordinary blocks: 41
    Small blocks: 0
    Space in small blocks in use: 0
    Space in free small blocks: 0
    Space in ordinary blocks in use: 17648
    Space in free ordinary blocks: 4306280

=== Corrupt memory test (expect early exit and corrupted block
reports).
Bad size info in heap block: addr=0x0049a81c size=0x4d96f56c
Corrupted heap block: addr=0x0049a47c size=0x00000399 ENDSZ=0x4d4d4d4d
!!!Heap corruption detected after 26 allocations
   and 1 corrupted blocks; exiting.

FYI. I don't think I have time to further inverstigate this.


Right,

						MartinS

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019