Subject: Re: new rpc code: what am I doing wrong ?
To: Jason R Thorpe <thorpej@zembu.com>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: current-users
Date: 06/12/2000 21:58:44
On Mon, Jun 12, 2000 at 11:37:51AM -0700, Jason R Thorpe wrote:
> On Mon, Jun 12, 2000 at 08:37:16PM +0200, Manuel Bouyer wrote:
> 
>  > Hi,
>  > I tried upgrading my system today, and I've troubles with the new rpc code:
>  > I followed the instrutions Franck posted here, and then I did a 'make build'.
>  > When rpcbind starts, it prints:
> 
> Make sure you have a new /etc/services and /etc/netconfig.

it was /etc/services. I checked all others but not this one. Sorry for
the trouble.

> 
>  > unreachable (showmount -e from local or remote host time out).
>  > (BTW, starting mountd prints:
>  > armandeche:/#mountd
>  > mountd in free(): warning: chunk is already free.
>  > mountd in free(): warning: chunk is already free.
> 
> That's definitely a bug.  Set MALLOC_OPTIONS="A" and it will abort
> when this happens.

The stack trace is strange:
#0  0x480e454f in kill ()
#1  0x480e3cc1 in abort ()
#2  0x480e29b3 in _tcgetattr ()
#3  0x480e29e4 in _tcgetattr ()
#4  0x480e389b in _tcgetattr ()
#5  0x480e3a88 in free ()
#6  0x480be938 in _freeaddrinfo ()
#7  0x804ca27 in dladdr ()
#8  0x804aee4 in dladdr ()
#9  0x804988d in dladdr ()
#10 0x8049561 in free ()
(gdb)

Looks like a recursive call to free() but it's also possible that the stack
is corrupted. I'll recompile with '-g' and investigate.

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--