DragonFly users List (threaded) for 2006-08
Re: gaim segfault while blocking someone
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?
Trevor Kendall wrote:
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
That looks like something this would cause:
test = (char *)malloc(getpagesize());
test = test + 1;
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.