[Top][All Lists]

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

Re: [GNUnet-developers] segfault creating hostkey

From: Igor Wronsky
Subject: Re: [GNUnet-developers] segfault creating hostkey
Date: Mon, 12 Apr 2004 16:34:13 +0300 (EEST)

On Mon, 12 Apr 2004, Glenn McGrath wrote:

> # gnunetd -d
> Apr 12 22:51:40 MESSAGE: gnunetd starting
> Apr 12 22:51:40 WARNING: scanDirectory /var/lib/GNUnet/data/hosts/
> returned no known hosts!
> Apr 12 22:51:40 DEBUG: connection goal is 256 peers (3000000 BPS
> bandwidth downstream)
> Apr 12 22:51:40 Creating new hostkey (this may take a while)...
> free(): invalid pointer 0x8061be0!
> free(): invalid pointer 0x805f560!
> Segmentation fault

I've seen this a couple of times before, here and there. The
problem started to happen on debian unstable gcc & co some
time ago. On the surface its caused by some part of the code
trying to free() a pointer allocated with MALLOC(). If the
pointer is freed with FREE(), the problem disappeared in
the cases I encountered -- or was it the other way around
(malloc followed by FREE). Matching the cases may be worth
trying anyway if it turns out to be that. ;)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]