Re: calloc fails and returns NULL
> in one of our application's module, calloc() is failing and returning
> NULL. The amount of memory that it is trying to allocate is of
> structure which is of 9292 bytes. The operating system is AIX 7.1 and
> running VIOS 188.8.131.52.
> The machine has 2+GB ram and does not seems to have an issue with lack
> of memory. The same application module is running fine on one of the
> other boxes, which has same configurations as the problematic
> I'm clueless as can't really figure out why calloc() is failing even
> for 9292 bytes on this box.
Possibly your heap has been corrupted by either: freeing a block that
was not returned by malloc, calloc, or realloc; freeing a block more
than once; or writing beyond the end of an allocated block and
overwriting some of malloc's heap management data.
|All times are GMT. The time now is 10:22 PM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.