Issue #18 new

bgpdump crashes on many dump files

Anonymous created an issue

Hi, bgpdump crashes on many dump files on my machine. One example file is: http://data.ris.ripe.net/rrc15/2012.09/updates.20120906.1330.gz

{{{

!c

$ ./bgpdump -m /tmp/updates.20120906.1330.gz > /tmp/out 2012-09-08 00:14:01 [info] logging to syslog glibc detected ./bgpdump: double free or corruption (!prev): 0x08147308 *** ======= Backtrace: ========= /lib/i386-linux-gnu/libc.so.6(+0x73e42)[0xb75dfe42] ./bgpdump[0x804f875] ./bgpdump[0x8049f27] /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0xb75854d3] ./bgpdump[0x804c889] ======= Memory map: ======== 08048000-08056000 r-xp 00000000 ca:01 983180 /tmp/ripencc-bgpdump-b8e3ed2b370c/bgpdump 08056000-08057000 r--p 0000d000 ca:01 983180 /tmp/ripencc-bgpdump-b8e3ed2b370c/bgpdump 08057000-08058000 rw-p 0000e000 ca:01 983180 /tmp/ripencc-bgpdump-b8e3ed2b370c/bgpdump 08141000-08162000 rw-p 00000000 00:00 0 [heap] b7544000-b7560000 r-xp 00000000 ca:01 3637283 /lib/i386-linux-gnu/libgcc_s.so.1 b7560000-b7561000 r--p 0001b000 ca:01 3637283 /lib/i386-linux-gnu/libgcc_s.so.1 b7561000-b7562000 rw-p 0001c000 ca:01 3637283 /lib/i386-linux-gnu/libgcc_s.so.1 b756a000-b756c000 rw-p 00000000 00:00 0 b756c000-b770b000 r-xp 00000000 ca:01 3637321 /lib/i386-linux-gnu/libc-2.15.so b770b000-b770d000 r--p 0019f000 ca:01 3637321 /lib/i386-linux-gnu/libc-2.15.so b770d000-b770e000 rw-p 001a1000 ca:01 3637321 /lib/i386-linux-gnu/libc-2.15.so b770e000-b7711000 rw-p 00000000 00:00 0 b7711000-b7725000 r-xp 00000000 ca:01 3637436 /lib/i386-linux-gnu/libz.so.1.2.3.4 b7725000-b7726000 r--p 00013000 ca:01 3637436 /lib/i386-linux-gnu/libz.so.1.2.3.4 b7726000-b7727000 rw-p 00014000 ca:01 3637436 /lib/i386-linux-gnu/libz.so.1.2.3.4 b7727000-b7736000 r-xp 00000000 ca:01 3637273 /lib/i386-linux-gnu/libbz2.so.1.0.4 b7736000-b7737000 r--p 0000e000 ca:01 3637273 /lib/i386-linux-gnu/libbz2.so.1.0.4 b7737000-b7738000 rw-p 0000f000 ca:01 3637273 /lib/i386-linux-gnu/libbz2.so.1.0.4 b773e000-b7744000 rw-p 00000000 00:00 0 b7744000-b7745000 r-xp 00000000 00:00 0 [vdso] b7745000-b7765000 r-xp 00000000 ca:01 3637262 /lib/i386-linux-gnu/ld-2.15.so b7765000-b7766000 r--p 0001f000 ca:01 3637262 /lib/i386-linux-gnu/ld-2.15.so b7766000-b7767000 rw-p 00020000 ca:01 3637262 /lib/i386-linux-gnu/ld-2.15.so bff68000-bff89000 rw-p 00000000 00:00 0 [stack] Aborted }}}

I think it's specific to newer version of libc as it seems to not do it on older versions of ubuntu. I run Ubuntu 12.04.1 LTS

{{{

!c

$ ldd ./bgpdump linux-gate.so.1 => (0xb77c9000) libbz2.so.1.0 => /lib/i386-linux-gnu/libbz2.so.1.0 (0xb77ac000) libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb7796000) libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb75f1000) /lib/ld-linux.so.2 (0xb77ca000)

}}}

$ aptitude show libc6 | grep Version Version: 2.15-0ubuntu10

{{{

!c

$ uname -a Linux toronto01 2.6.38-8-generic-pae #42-Ubuntu SMP Mon Apr 11 05:17:09 UTC 2011 i686 i686 i386 GNU/Linux }}}

Comments (0)

  1. Log in to comment