Project

General

Profile

Bug #1584 ยป core.txt

Peter Manev, 10/25/2015 04:37 AM

 
root@LTS-64-1:~/Work/Tests # gdb /usr/bin/suricata /root/Work/Tests/core
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/suricata...Reading symbols from /usr/lib/debug/.build-id/18/3b1dc4f4de184fab7b6ac8bb53b3b99094c658.debug...done.
done.

warning: core file may not match specified executable file.
[New LWP 4442]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `suricata -c /etc/suricata/suricata.yaml -S tmp/test1.rules -v --af-packet'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 malloc_consolidate (av=av@entry=0x7f1567dca760 <main_arena>) at malloc.c:4151
4151 malloc.c: No such file or directory.
(gdb) thread apply all bt

Thread 1 (Thread 0x7f156a107940 (LWP 4442)):
#0 malloc_consolidate (av=av@entry=0x7f1567dca760 <main_arena>) at malloc.c:4151
#1 0x00007f1567a8b56d in _int_free (av=0x7f1567dca760 <main_arena>, p=<optimized out>, have_lock=0) at malloc.c:4057
#2 0x0000000000513745 in SRepDestroy (de_ctx=de_ctx@entry=0x40ea2a0) at reputation.c:688
#3 0x000000000047d824 in DetectEngineCtxFree (de_ctx=0x40ea2a0) at detect-engine.c:920
#4 0x000000000047e5d8 in DetectEnginePruneFreeList () at detect-engine.c:1763
#5 0x0000000000415163 in main (argc=<optimized out>, argv=<optimized out>) at suricata.c:2472
(gdb)



    (1-1/1)