DragonFly BSD
DragonFly users List (threaded) for 2006-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: gaim segfault while blocking someone


From: "Trevor Kendall" <trevorjkendall@xxxxxxxxx>
Date: Mon, 28 Aug 2006 23:05:48 -0700

On 28/08/06, Petr Janda <elekktretterr@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]