[Oisf-devel] suricata git 3 sep: *** glibc detected *** double free or corruption
Victor Julien
victor at inliniac.net
Wed Sep 5 06:20:09 UTC 2012
On 09/05/2012 12:33 AM, rmkml wrote:
> Hi,
> Well, I restarted Suricata testing, and I have "looped" test on my own
> pcap set...
>
> I have core.2409 if you need...
>
> After restarting two times, I have this result:
>
> *** glibc detected *** suricata-1.3.1git3sep2012/src/.libs/suricata:
> double free or corruption (out): 0x00007f2468fdae80 ***
> ======= Backtrace: =========
> /lib64/libc.so.6[0x37bee76d63]
> suricata-1.3.1git3sep2012/src/.libs/suricata[0x45544e]
> suricata-1.3.1git3sep2012/src/.libs/suricata[0x42e8e1]
> suricata-1.3.1git3sep2012/src/.libs/suricata[0x4306f7]
> suricata-1.3.1git3sep2012/src/.libs/suricata[0x4f775c]
> suricata-1.3.1git3sep2012/src/.libs/suricata[0x4fa0a8]
> /lib64/libpthread.so.0[0x3dd2e06ccb]
> /lib64/libc.so.6(clone+0x6d)[0x37beee0c2d]
> ======= Memory map: ========
> 00400000-00590000 r-xp 00000000 08:01 13544276
> suricata-1.3.1git3sep2012/src/.libs/suricata
> 00790000-00797000 rw-p 00190000 08:01 13544276
> suricata-1.3.1git3sep2012/src/.libs/suricata
> 00797000-00c0b000 rw-p 00000000 00:00 0
> 019b8000-6e8b6000 rw-p 00000000 00:00 0 [heap]
> 34b8200000-34b8235000 r-xp 00000000 08:01 11425 /lib64/libpcre.so.0.0.1
> 34b8235000-34b8434000 ---p 00035000 08:01 11425 /lib64/libpcre.so.0.0.1
> 34b8434000-34b8435000 rw-p 00034000 08:01 11425 /lib64/libpcre.so.0.0.1
> 37bea00000-37bea1f000 r-xp 00000000 08:01 11772 /lib64/ld-2.13.so
> 37bec1e000-37bec1f000 r--p 0001e000 08:01 11772 /lib64/ld-2.13.so
> 37bec1f000-37bec20000 rw-p 0001f000 08:01 11772 /lib64/ld-2.13.so
> 37bec20000-37bec21000 rw-p 00000000 00:00 0
> 37bee00000-37bef91000 r-xp 00000000 08:01 30830 /lib64/libc-2.13.so
> 37bef91000-37bf191000 ---p 00191000 08:01 30830 /lib64/libc-2.13.so
> 37bf191000-37bf195000 r--p 00191000 08:01 30830 /lib64/libc-2.13.so
> 37bf195000-37bf196000 rw-p 00195000 08:01 30830 /lib64/libc-2.13.so
> 37bf196000-37bf19c000 rw-p 00000000 00:00 0
> 37bfe00000-37bfe15000 r-xp 00000000 08:01 14279
> /lib64/libgcc_s-4.5.1-20100924.so.1
> 37bfe15000-37c0014000 ---p 00015000 08:01 14279
> /lib64/libgcc_s-4.5.1-20100924.so.1
> 37c0014000-37c0015000 rw-p 00014000 08:01 14279
> /lib64/libgcc_s-4.5.1-20100924.so.1
> 37c0600000-37c0616000 r-xp 00000000 08:01 68626 /lib64/libz.so.1.2.5
> 37c0616000-37c0816000 ---p 00016000 08:01 68626 /lib64/libz.so.1.2.5
> 37c0816000-37c0817000 rw-p 00016000 08:01 68626 /lib64/libz.so.1.2.5
> 37c4a00000-37c4a37000 r-xp 00000000 08:01 23091 /usr/lib64/libpcap.so.1.1.1
> 37c4a37000-37c4c37000 ---p 00037000 08:01 23091 /usr/lib64/libpcap.so.1.1.1
> 37c4c37000-37c4c39000 rw-p 00037000 08:01 23091 /usr/lib64/libpcap.so.1.1.1
> 37c4c39000-37c4c3a000 rw-p 00000000 00:00 0
> 37c9600000-37c9604000 r-xp 00000000 08:01 80817 /lib64/libcap-ng.so.0.0.0
> 37c9604000-37c9803000 ---p 00004000 08:01 80817 /lib64/libcap-ng.so.0.0.0
> 37c9803000-37c9804000 r--p 00003000 08:01 80817 /lib64/libcap-ng.so.0.0.0
> 37c9804000-37c9805000 rw-p 00004000 08:01 80817 /lib64/libcap-ng.so.0.0.0
> 37c9a00000-37c9a1a000 r-xp 00000000 08:01 70563
> /usr/lib64/libmagic.so.1.0.0
> 37c9a1a000-37c9c1a000 ---p 0001a000 08:01 70563
> /usr/lib64/libmagic.so.1.0.0
> 37c9c1a000-37c9c1b000 rw-p 0001a000 08:01 70563
> /usr/lib64/libmagic.so.1.0.0
> 37c9c1b000-37c9c1d000 rw-p 00000000 00:00 0
> 3dd2e00000-3dd2e17000 r-xp 00000000 08:01 8027 /lib64/libpthread-2.13.so
> 3dd2e17000-3dd3016000 ---p 00017000 08:01 8027 /lib64/libpthread-2.13.so
> 3dd3016000-3dd3017000 r--p 00016000 08:01 8027 /lib64/libpthread-2.13.so
> 3dd3017000-3dd3018000 rw-p 00017000 08:01 8027 /lib64/libpthread-2.13.so
> 3dd3018000-3dd301c000 rw-p 00000000 00:00 0
> 7f245c000000-7f245c021000 rw-p 00000000 00:00 0
> 7f245c021000-7f2460000000 ---p 00000000 00:00 0
> 7f2460000000-7f2460fdf000 rw-p 00000000 00:00 0
> 7f2460fdf000-7f2464000000 ---p 00000000 00:00 0
> 7f24677ff000-7f2467800000 ---p 00000000 00:00 0
> 7f2467800000-7f2468000000 rw-p 00000000 00:00 0
> 7f2468000000-7f2468fdf000 rw-p 00000000 00:00 0
> 7f2468fdf000-7f246c000000 ---p 00000000 00:00 0
> 7f246c000000-7f246cff2000 rw-p 00000000 00:00 0
> 7f246cff2000-7f2470000000 ---p 00000000 00:00 0
> 7f2470000000-7f2470021000 rw-p 00000000 00:00 0
> 7f2470021000-7f2474000000 ---p 00000000 00:00 0
> 7f2474a2b000-7f2474a2c000 ---p 00000000 00:00 0
> 7f2474a2c000-7f2477fb2000 rw-p 00000000 00:00 0 [stack:2422]
> 7f247852a000-7f247852b000 ---p 00000000 00:00 0
> 7f247852b000-7f2478d2b000 rw-p 00000000 00:00 0 [stack:2421]
> 7f2478d2b000-7f2478d2c000 ---p 00000000 00:00 0
> 7f2478d2c000-7f247952c000 rw-p 00000000 00:00 0 [stack:2419]
> 7f247952c000-7f247952d000 ---p 00000000 00:00 0
> 7f247952d000-7f2479d2d000 rw-p 00000000 00:00 0 [stack:2418]
> 7f2479d2d000-7f2479d2e000 ---p 00000000 00:00 0
> 7f2479d2e000-7f247a52e000 rw-p 00000000 00:00 0 [stack:2417]
> 7f247a52e000-7f247a52f000 ---p 00000000 00:00 0
> 7f247a52f000-7f247d268000 rw-p 00000000 00:00 0 [stack:2416]
> 7f247d36a000-7f247d36d000 rw-p 00000000 00:00 0
> 7f247d36d000-7f247d38c000 r-xp 00000000 08:01 15079578
> yaml-0.1.3/src/.libs/libyaml-0.so.2.0.1
> 7f247d38c000-7f247d58b000 ---p 0001f000 08:01 15079578
> yaml-0.1.3/src/.libs/libyaml-0.so.2.0.1
> 7f247d58b000-7f247d58c000 rw-p 0001e000 08:01 15079578
> yaml-0.1.3/src/.libs/libyaml-0.so.2.0.1
> 7f247d58c000-7f247d58d000 rw-p 00000000 00:00 0
> 7f247d58d000-7f247d5a3000 r-xp 00000000 08:01 92269 /lib64/libnet.so.1.6.0
> 7f247d5a3000-7f247d7a2000 ---p 00016000 08:01 92269 /lib64/libnet.so.1.6.0
> 7f247d7a2000-7f247d7a3000 rw-p 00015000 08:01 92269 /lib64/libnet.so.1.6.0
> 7f247d7a3000-7f247d7a7000 rw-p 00000000 00:00 0
> 7f247d7c2000-7f247d7c8000 rw-p 00000000 00:00 0
> 7f247d7c8000-7f247d7da000 r-xp 00000000 08:01 13544333
> suricata-1.3.1git3sep2012/libhtp/htp/.libs/libhtp-0.2.so.1.0.2
> 7f247d7da000-7f247d9da000 ---p 00012000 08:01 13544333
> suricata-1.3.1git3sep2012/libhtp/htp/.libs/libhtp-0.2.so.1.0.2
> 7f247d9da000-7f247d9db000 rw-p 00012000 08:01 13544333
> suricata-1.3.1git3sep2012/libhtp/htp/.libs/libhtp-0.2.so.1.0.2
> 7f247d9db000-7f247d9dc000 rw-p 00000000 00:00 0
> 7fffb1abd000-7fffb1b05000 rw-p 00000000 00:00 0 [stack]
> 7fffb1bff000-7fffb1c00000 r-xp 00000000 00:00 0 [vdso]
> ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
Can you show a gdb "bt full" on a suri compiled with "-O0 -ggdb"?
Thanks!
--
---------------------------------------------
Victor Julien
http://www.inliniac.net/
PGP: http://www.inliniac.net/victorjulien.asc
---------------------------------------------
More information about the Oisf-devel
mailing list