mfunyu / malloc

Find out the workings behind optimum memory management and recode it, as well as free and realloc.
2 stars 0 forks source link

[segfault] realloc extending #16

Closed mfunyu closed 8 months ago

mfunyu commented 8 months ago
    Start 1: ReallocTest.Expanding
1/1 Test #1: ReallocTest.Expanding ............***Exception: SegFault  0.18 sec

0% tests passed, 1 tests failed out of 1

Total Test time (real) =   0.19 sec

The following tests FAILED:
          1 - ReallocTest.Expanding (SEGFAULT)
< FreeList >
----------------+----------------+----------------+----------------+
 0x7ff29c9b4018 |     8 (   0x8) | 0x7ff29c9b4028 |         0x5fc0 |
----------------+----------------+----------------+----------------+
 0x7ff29c9b4028 | 24504 (0x5fb8) |            0x0 | 0x7ff29c9b4018 |
----------------+----------------+----------------+----------------+