error meaning

[Pls ignored this post and refer to]


Can you tell me what this message is ? I think it's a memory issue. I code was just instantiating objects until it gets to obj #5.

IntArray: 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.
Last edited on
Well it looks like it may be an Assertion problem (I'm a beginner myself), the page I looked at has an example and said it was aborted because of a pointer with a null value, so this may be your problem, try checking your pointers values before this line is called. Hope this helps.
well...pointer is ok. I tried running it through the eclipse debugger and got this error.

"No source available for "__kernel_vsyscall() at 0xb7fdd424" "

don't see anything googling it !
Just wondering what your code looks like.

Have you tried googling the error number C2451, this is what I got :

I think it has something to do with the pointer I am using, just can't figure out what ? I posted a more detail description at this link. (should have done that here).
Topic archived. No new replies allowed.