gaim segfault while blocking someone

Trevor Kendall trevorjkendall at gmail.com
Mon Aug 28 23:15:49 PDT 2006


On 28/08/06, Petr Janda <elekktretterr at xxxxxxxxxxxxxx> wrote:
When I try to block someone in gaim, i get this error:

*gaim in free(): error: modified (page-) pointerAbort*

The user is blocked, but everytime i would log in into msn it would
segfault with the same error.
Can anyone explain to me what this error means and whats the cause of it?

Petr

That looks like something this would cause:

char *test;
test = (char *)malloc(getpagesize());
test = test + 1;

free(test);

I thought the DragonFly malloc implementation was supposed to only
crash on things like that if A was set in MALLOC_OPTIONS. If this is
the case then the man page needs to be updated because I don't find
any mention of crashing being the default behaviour. I, however, don't
find any mention of not crashing being the default behaviour either.
(You haven't set MALLOC_OPTIONS have you?)
As for what the error means, this is copied straight from the man page:

    modified (chunk-/page-) pointer  The pointer passed to free() or
    realloc() has been modified.
Trevor





More information about the Users mailing list