gaim segfault while blocking someone

Petr Janda elekktretterr at exemail.com.au
Tue Aug 29 00:11:46 PDT 2006


Ah thanks,

No I didnt play with the MALLOC_OPTIONS at all.  I just want a somewhat 
usable GUI :) It seems to be getting worse. KDE/Gnome are nearly always 
broken in pkgsrc. How can this free() problem be fixed?

Petr

Trevor Kendall wrote:
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