POV-Ray : Newsgroups : povray.bugreports : Animations. malloc(): unsorted double linked list corrupted : Re: Animations. malloc(): unsorted double linked list corrupted Server Time
17 Apr 2025 07:52:57 EDT (-0400)
  Re: Animations. malloc(): unsorted double linked list corrupted  
From: Thorsten
Date: 8 Apr 2025 08:30:09
Message: <67f516d1$1@news.povray.org>
On 07.04.2025 14:15, William F Pokorny wrote:
> (*) - I found that the messaging code doesn't use the pov_mem versions, 
> but rather raw C malloc(), realloc() and free().

Yes, it needs memory allocation outside the main code because it must be 
able to handle low and out of memory conditions.

On Linux it may also be that the C++ library calls malloc for handling 
new. There used to be overrides for new/delete somewhere that could use 
the POV-Ray internal memory allocation functions, but they may since 
have been removed. If so, you can always use Memcheck from Valgrind.

Thorsten


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.