[Mono-dev] Malloc issue?

Greg Young gregoryyoung1 at gmail.com
Thu Aug 23 06:35:41 UTC 2012


We are allocating and releasing unmanaged memory with marshal.allochglobal.
In mono we are getting the following failure (no failures under clr).

Any ideas?


part from team city logs:
[20:55:52][Step 2/2] mono: malloc.c:2451: sYSMALLOc: Assertion `(old_top ==
(((mbinptr) (((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof
(struct malloc_chunk, fd)))) && old_size == 0) || ((unsigned long)
(old_size) >= (unsigned long)((((__builtin_offsetof (struct malloc_chunk,
fd_nextsize))+((2 * (sizeof(size_t))) - 1)) & ~((2 * (sizeof(size_t))) -
1))) && ((old_top)->size & 0x1) && ((unsigned long)old_end & pagemask) ==
0)' failed.
[20:55:52][Step 2/2] Stacktrace:
[20:55:52][Step 2/2]


-- 
Le doute n'est pas une condition agréable, mais la certitude est absurde.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20120823/ffea4d88/attachment.html>


More information about the Mono-devel-list mailing list