Re: [mpls-linux-general] LDP :(
Status: Beta
Brought to you by:
jleu
|
From: Bertrand L. <ble...@in...> - 2005-04-28 14:44:17
|
in fact, in searching, I think the probleme is somewhere else...
I fand this error message :
Program received signal SIGTERM, Terminated.
malloc_consolidate (av=0xb7f5e480) at malloc.c:4400
4400 malloc.c: No such file or directory.
in malloc.c
and, I have a malloc.c file but it is located in filesystem jff2...
and the line number told by gdb don't correspond at all... these numbers are
greater than the total lines in the file....
ideas ???
thanks
Selon "James R. Leu" <jl...@mi...>:
> If you want to debug further, I would add a fprintf to the functions in
> impl_mm.c. It will make ldpd very chatty, but it will help debug a
> "double free" which is kind of what it is looking like.
>
> On Thu, Apr 28, 2005 at 04:03:33PM +0200, Bertrand Lemaitre wrote:
> > I have the following :
> >
> > (gdb) where
> > #0 0xb7eae03e in malloc_consolidate (av=0xb7f5e480) at malloc.c:4391
> > #1 0xb7eaf02d in _int_malloc (av=0xb7f5e480, bytes=24) at malloc.c:3849
> > #2 0xb7eb05a1 in *__GI___libc_malloc (bytes=4096) at malloc.c:3308
> > #3 0xb7fce60b in zmalloc (type=115, size=4096) at memory.c:56
> > #4 0x0804a915 in mpls_malloc (size=4096) at impl_mm.c:12
> > #5 0x080525c1 in ldp_buf_create (size=4096) at ldp_buf.c:31
> > #6 0x0805c99c in ldp_if_create (g=0x809a050) at ldp_if.c:60
> > #7 0x08054cde in ldp_cfg_if_set (handle=0x809a050, i=0x80987c8, flag=3)
> > at ldp_cfg.c:860
> > #8 0x0804c77a in ldp_interface_create (li=0x8098738) at ldp_interface.c:51
> > #9 0x0804c412 in ldp_new () at ldp.c:116
> > #10 0x0804c962 in mpls_ldp (self=0x80819e0, vty=0x8099818, argc=0,
> > argv=0xbffff868) at ldp_vty.c:50
> > #11 0xb7fd3ae4 in cmd_execute_command_real (vline=0x8099fe0, vty=0x8099818,
> > cmd=0x0) at command.c:2053
> > #12 0xb7fd3bd0 in cmd_execute_command (vline=0x8099fe0, vty=0x8099818,
> cmd=0x0)
> > at command.c:2087
> > #13 0xb7fd59e8 in vty_command (vty=0x8099818, buf=0x80998f8 "mpls ldp ")
> > at vty.c:357
> > #14 0xb7fd7247 in vty_read (thread=0x18) at vty.c:1209
> > #15 0xb7fd0b8b in thread_call (thread=0xbffffc4c) at thread.c:877
> > #16 0x0804c0e6 in main (argc=7, argv=0xbffffd54) at ldp_main.c:236
> >
> >
> > I'm searching too...
> >
> >
> >
> > Selon "James R. Leu" <jl...@mi...>:
> >
> > > You could try running ldpd in gdb to figure out where it is dieing.
> > >
> > > gdb /usr/sbin/ldpd
> > > run -A 127.0.0.1 -f /etc/quagga/ldpd.conf
> > > <use telnet to issue ldpd commands>
> > > <after ldpd dies>
> > > where
> > >
> > > Send the output to the list and we can start debugging it.
> > >
> > > On Thu, Apr 28, 2005 at 03:18:25PM +0200, Bertrand Lemaitre wrote:
> > > > Hi everybody,
> > > >
> > > > First of all, I can tell you that mpls between Quagga / Cisco is good.
> > > > But, Cisco -> Quagga takes more problems.
> > > >
> > > > I think it's linked to LDP.
> > > >
> > > > So, when I try to type 'mpls ldp' in the ldpd administration console
> (via
> > > > telnet), my console is over and I must kill the process ldpd to go back
> > > again.
> > > >
> > > > In the log, I have the follow message :
> > > >
> > > > Apr 28 14:53:45 NX7H7 kernel: MPLS mpls_skb_dump: from eth1 with len 88
> > > > (296)headroom=12 tailroom=28
> > > >
> > > >
> > > > Any idea ?
> > > >
> > > > With TcpDump, I don't see any ldp packets...
> > > >
> > > > Thanks for your help
> > > >
> > > > Bertrand Lemaitre
> > > >
> > > > ----------------------------------------------------------------
> > > > This message was sent using IMP, the Internet Messaging Program.
> > > >
> > > >
> > > >
> > > > -------------------------------------------------------
> > > > SF.Net email is sponsored by: Tell us your software development plans!
> > > > Take this survey and enter to win a one-year sub to SourceForge.net
> > > > Plus IDC's 2005 look-ahead and a copy of this survey
> > > > Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix
> > > > _______________________________________________
> > > > mpls-linux-general mailing list
> > > > mpl...@li...
> > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general
> > >
> > > --
> > > James R. Leu
> > > jl...@mi...
> > >
> >
> >
> > Bertrand Lemaitre
> >
> > ----------------------------------------------------------------
> > This message was sent using IMP, the Internet Messaging Program.
>
> --
> James R. Leu
> jl...@mi...
>
Bertrand Lemaitre
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
|