Project

General

Profile

Actions

Bug #1212

closed

core dump (after a while) when app-layer.protocols.http.enabled = yes

Added by Wim @work almost 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

After 5 to 15 minutes suricata coredumps when app-layer.protocols.http.enabled = yes

@Thread 20 (Thread 0x7f6fc048b700 (LWP 9749)):
#0  0x0000003cb44df353 in poll () from /lib64/libc.so.6
#1  0x00007f6fc519c373 in pfring_mod_poll () from /opt/PF_RING/lib/libpcap.so.1
#2  0x00007f6fc51a6aea in ixgbe_there_is_a_packet_to_read () from /opt/PF_RING/lib/libpcap.so.1
#3  0x00007f6fc51a6a86 in get_next_ixgbe_packet () from /opt/PF_RING/lib/libpcap.so.1
#4  0x00007f6fc519a94a in pfring_recv () from /opt/PF_RING/lib/libpcap.so.1
#5  0x00000000004fd5c8 in ReceivePfringLoop ()
#6  0x000000000051a6d6 in TmThreadsSlotPktAcqLoop ()
#7  0x0000003cb48079d1 in start_thread () from /lib64/libpthread.so.0
#8  0x0000003cb44e8b7d in clone () from /lib64/libc.so.6

Thread 19 (Thread 0x7f6fb7fff700 (LWP 9751)):
#0  0x0000003cb44df353 in poll () from /lib64/libc.so.6
#1  0x00007f6fc519c373 in pfring_mod_poll () from /opt/PF_RING/lib/libpcap.so.1
#2  0x00007f6fc51a6aea in ixgbe_there_is_a_packet_to_read () from /opt/PF_RING/lib/libpcap.so.1
#3  0x00007f6fc51a6a86 in get_next_ixgbe_packet () from /opt/PF_RING/lib/libpcap.so.1
#4  0x00007f6fc519a94a in pfring_recv () from /opt/PF_RING/lib/libpcap.so.1
#5  0x00000000004fd5c8 in ReceivePfringLoop ()
#6  0x000000000051a6d6 in TmThreadsSlotPktAcqLoop ()
#7  0x0000003cb48079d1 in start_thread () from /lib64/libpthread.so.0
#8  0x0000003cb44e8b7d in clone () from /lib64/libc.so.6

Thread 18 (Thread 0x7f6fabf3f700 (LWP 9753)):
#0  0x0000000000540508 in SCACSearch ()
#1  0x000000000045202b in SigMatchSignatures ()
#2  0x000000000045249d in Detect ()
#3  0x000000000051aa48 in TmThreadsSlotVarRun ()
#4  0x00000000004fd69f in ReceivePfringLoop ()
#5  0x000000000051a6d6 in TmThreadsSlotPktAcqLoop ()
#6  0x0000003cb48079d1 in start_thread () from /lib64/libpthread.so.0
#7  0x0000003cb44e8b7d in clone () from /lib64/libc.so.6

Thread 17 (Thread 0x7f6f61f9d700 (LWP 9767)):
#0  0x0000003cb480b98e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000000000435996 in SCPerfMgmtThread ()
#2  0x0000003cb48079d1 in start_thread () from /lib64/libpthread.so.0
#3  0x0000003cb44e8b7d in clone () from /lib64/libc.so.6

Thread 16 (Thread 0x7f6fb60be700 (LWP 9752)):
#0  0x0000000000540508 in SCACSearch ()
#1  0x000000000045202b in SigMatchSignatures ()
#2  0x000000000045249d in Detect ()
#3  0x000000000051aa48 in TmThreadsSlotVarRun ()
#4  0x00000000004fd69f in ReceivePfringLoop ()
#5  0x000000000051a6d6 in TmThreadsSlotPktAcqLoop ()
#6  0x0000003cb48079d1 in start_thread () from /lib64/libpthread.so.0
#7  0x0000003cb44e8b7d in clone () from /lib64/libc.so.6

Thread 15 (Thread 0x7f6f6279e700 (LWP 9766)):
#0  0x0000003cb480b98e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000000000435d36 in SCPerfWakeupThread ()
#2  0x0000003cb48079d1 in start_thread () from /lib64/libpthread.so.0
#3  0x0000003cb44e8b7d in clone () from /lib64/libc.so.6

Thread 14 (Thread 0x7f6fc4f29800 (LWP 9747)):
#0  0x0000003cb44acced in nanosleep () from /lib64/libc.so.6
#1  0x0000003cb44e1e64 in usleep () from /lib64/libc.so.6
#2  0x0000000000512fc7 in main ()

Thread 13 (Thread 0x7f6f6f23f700 (LWP 9763)):
#0  0x0000003cb44df353 in poll () from /lib64/libc.so.6
#1  0x00007f6fc519c373 in pfring_mod_poll () from /opt/PF_RING/lib/libpcap.so.1
#2  0x00007f6fc51a6aea in ixgbe_there_is_a_packet_to_read () from /opt/PF_RING/lib/libpcap.so.1
#3  0x00007f6fc51a6a86 in get_next_ixgbe_packet () from /opt/PF_RING/lib/libpcap.so.1
#4  0x00007f6fc519a94a in pfring_recv () from /opt/PF_RING/lib/libpcap.so.1
#5  0x00000000004fd5c8 in ReceivePfringLoop ()
#6  0x000000000051a6d6 in TmThreadsSlotPktAcqLoop ()
#7  0x0000003cb48079d1 in start_thread () from /lib64/libpthread.so.0
#8  0x0000003cb44e8b7d in clone () from /lib64/libc.so.6

Thread 12 (Thread 0x7f6f6d0fe700 (LWP 9764)):
#0  0x0000003cb44df353 in poll () from /lib64/libc.so.6
#1  0x00007f6fc519c373 in pfring_mod_poll () from /opt/PF_RING/lib/libpcap.so.1
#2  0x00007f6fc51a6aea in ixgbe_there_is_a_packet_to_read () from /opt/PF_RING/lib/libpcap.so.1
#3  0x00007f6fc51a6a86 in get_next_ixgbe_packet () from /opt/PF_RING/lib/libpcap.so.1
#4  0x00007f6fc519a94a in pfring_recv () from /opt/PF_RING/lib/libpcap.so.1
#5  0x00000000004fd5c8 in ReceivePfringLoop ()
#6  0x000000000051a6d6 in TmThreadsSlotPktAcqLoop ()
#7  0x0000003cb48079d1 in start_thread () from /lib64/libpthread.so.0
#8  0x0000003cb44e8b7d in clone () from /lib64/libc.so.6

Thread 11 (Thread 0x7f6fbe34a700 (LWP 9750)):
#0  0x0000000000540508 in SCACSearch ()
#1  0x000000000045202b in SigMatchSignatures ()
#2  0x000000000045249d in Detect ()
#3  0x000000000051aa48 in TmThreadsSlotVarRun ()
#4  0x00000000004fd69f in ReceivePfringLoop ()
#5  0x000000000051a6d6 in TmThreadsSlotPktAcqLoop ()
#6  0x0000003cb48079d1 in start_thread () from /lib64/libpthread.so.0
#7  0x0000003cb44e8b7d in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7f6f62f9f700 (LWP 9765)):
#0  0x0000003cb480b98e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000000004bbc06 in FlowManagerThread ()
#2  0x0000003cb48079d1 in start_thread () from /lib64/libpthread.so.0
#3  0x0000003cb44e8b7d in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7f6f918de700 (LWP 9758)):
#0  0x0000003cb44df353 in poll () from /lib64/libc.so.6
#1  0x00007f6fc519c373 in pfring_mod_poll () from /opt/PF_RING/lib/libpcap.so.1
#2  0x00007f6fc51a6aea in ixgbe_there_is_a_packet_to_read () from /opt/PF_RING/lib/libpcap.so.1
#3  0x00007f6fc51a6a86 in get_next_ixgbe_packet () from /opt/PF_RING/lib/libpcap.so.1
#4  0x00007f6fc519a94a in pfring_recv () from /opt/PF_RING/lib/libpcap.so.1
#5  0x00000000004fd5c8 in ReceivePfringLoop ()
#6  0x000000000051a6d6 in TmThreadsSlotPktAcqLoop ()
#7  0x0000003cb48079d1 in start_thread () from /lib64/libpthread.so.0
#8  0x0000003cb44e8b7d in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f6f7b4df700 (LWP 9761)):
#0  0x0000003cb44df353 in poll () from /lib64/libc.so.6
#1  0x00007f6fc519c373 in pfring_mod_poll () from /opt/PF_RING/lib/libpcap.so.1
#2  0x00007f6fc51a6aea in ixgbe_there_is_a_packet_to_read () from /opt/PF_RING/lib/libpcap.so.1
#3  0x00007f6fc51a6a86 in get_next_ixgbe_packet () from /opt/PF_RING/lib/libpcap.so.1
#4  0x00007f6fc519a94a in pfring_recv () from /opt/PF_RING/lib/libpcap.so.1
#5  0x00000000004fd5c8 in ReceivePfringLoop ()
#6  0x000000000051a6d6 in TmThreadsSlotPktAcqLoop ()
#7  0x0000003cb48079d1 in start_thread () from /lib64/libpthread.so.0
#8  0x0000003cb44e8b7d in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f6f7939e700 (LWP 9762)):
#0  0x0000003cb44df353 in poll () from /lib64/libc.so.6
#1  0x00007f6fc519c373 in pfring_mod_poll () from /opt/PF_RING/lib/libpcap.so.1
#2  0x00007f6fc51a6aea in ixgbe_there_is_a_packet_to_read () from /opt/PF_RING/lib/libpcap.so.1
#3  0x00007f6fc51a6a86 in get_next_ixgbe_packet () from /opt/PF_RING/lib/libpcap.so.1
#4  0x00007f6fc519a94a in pfring_recv () from /opt/PF_RING/lib/libpcap.so.1
#5  0x00000000004fd5c8 in ReceivePfringLoop ()
#6  0x000000000051a6d6 in TmThreadsSlotPktAcqLoop ()
#7  0x0000003cb48079d1 in start_thread () from /lib64/libpthread.so.0
#8  0x0000003cb44e8b7d in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f6f8777f700 (LWP 9759)):
#0  0x0000003cb44df353 in poll () from /lib64/libc.so.6
#1  0x00007f6fc519c373 in pfring_mod_poll () from /opt/PF_RING/lib/libpcap.so.1
#2  0x00007f6fc51a6aea in ixgbe_there_is_a_packet_to_read () from /opt/PF_RING/lib/libpcap.so.1
#3  0x00007f6fc51a6a86 in get_next_ixgbe_packet () from /opt/PF_RING/lib/libpcap.so.1
#4  0x00007f6fc519a94a in pfring_recv () from /opt/PF_RING/lib/libpcap.so.1
#5  0x00000000004fd5c8 in ReceivePfringLoop ()
#6  0x000000000051a6d6 in TmThreadsSlotPktAcqLoop ()
#7  0x0000003cb48079d1 in start_thread () from /lib64/libpthread.so.0
#8  0x0000003cb44e8b7d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f6f93a1f700 (LWP 9757)):
#0  0x0000003cb44df353 in poll () from /lib64/libc.so.6
#1  0x00007f6fc519c373 in pfring_mod_poll () from /opt/PF_RING/lib/libpcap.so.1
#2  0x00007f6fc51a6aea in ixgbe_there_is_a_packet_to_read () from /opt/PF_RING/lib/libpcap.so.1
#3  0x00007f6fc51a6a86 in get_next_ixgbe_packet () from /opt/PF_RING/lib/libpcap.so.1
#4  0x00007f6fc519a94a in pfring_recv () from /opt/PF_RING/lib/libpcap.so.1
#5  0x00000000004fd5c8 in ReceivePfringLoop ()
#6  0x000000000051a6d6 in TmThreadsSlotPktAcqLoop ()
#7  0x0000003cb48079d1 in start_thread () from /lib64/libpthread.so.0
#8  0x0000003cb44e8b7d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f6f9db7e700 (LWP 9756)):
#0  0x0000003cb44df353 in poll () from /lib64/libc.so.6
#1  0x00007f6fc519c373 in pfring_mod_poll () from /opt/PF_RING/lib/libpcap.so.1
#2  0x00007f6fc51a6aea in ixgbe_there_is_a_packet_to_read () from /opt/PF_RING/lib/libpcap.so.1
#3  0x00007f6fc51a6a86 in get_next_ixgbe_packet () from /opt/PF_RING/lib/libpcap.so.1
#4  0x00007f6fc519a94a in pfring_recv () from /opt/PF_RING/lib/libpcap.so.1
#5  0x00000000004fd5c8 in ReceivePfringLoop ()
#6  0x000000000051a6d6 in TmThreadsSlotPktAcqLoop ()
#7  0x0000003cb48079d1 in start_thread () from /lib64/libpthread.so.0
#8  0x0000003cb44e8b7d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f6f8563e700 (LWP 9760)):
#0  0x0000003cb4489abb in memcpy () from /lib64/libc.so.6
#1  0x00007f6fc51a6a38 in get_next_ixgbe_packet () from /opt/PF_RING/lib/libpcap.so.1
#2  0x00007f6fc519a94a in pfring_recv () from /opt/PF_RING/lib/libpcap.so.1
#3  0x00000000004fd5c8 in ReceivePfringLoop ()
#4  0x000000000051a6d6 in TmThreadsSlotPktAcqLoop ()
#5  0x0000003cb48079d1 in start_thread () from /lib64/libpthread.so.0
#6  0x0000003cb44e8b7d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f6f9fcbf700 (LWP 9755)):
#0  0x0000003cb44df353 in poll () from /lib64/libc.so.6
#1  0x00007f6fc519c373 in pfring_mod_poll () from /opt/PF_RING/lib/libpcap.so.1
#2  0x00007f6fc51a6aea in ixgbe_there_is_a_packet_to_read () from /opt/PF_RING/lib/libpcap.so.1
#3  0x00007f6fc51a6a86 in get_next_ixgbe_packet () from /opt/PF_RING/lib/libpcap.so.1
#4  0x00007f6fc519a94a in pfring_recv () from /opt/PF_RING/lib/libpcap.so.1
#5  0x00000000004fd5c8 in ReceivePfringLoop ()
#6  0x000000000051a6d6 in TmThreadsSlotPktAcqLoop ()
#7  0x0000003cb48079d1 in start_thread () from /lib64/libpthread.so.0
#8  0x0000003cb44e8b7d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f6fa9e1e700 (LWP 9754)):
#0  0x0000003cb4432925 in raise () from /lib64/libc.so.6
#1  0x0000003cb4434105 in abort () from /lib64/libc.so.6
#2  0x0000003cb442ba4e in __assert_fail_base () from /lib64/libc.so.6
#3  0x0000003cb442bb10 in __assert_fail () from /lib64/libc.so.6
#4  0x0000000000420e0a in HTPHandleResponseData ()
#5  0x0000000000425a2a in AppLayerParserParse ()
#6  0x000000000040eec9 in AppLayerHandleTCPData ()
#7  0x000000000050bdd6 in StreamTcpReassembleAppLayer ()
#8  0x000000000050c4c0 in StreamTcpReassembleHandleSegmentUpdateACK ()
#9  0x000000000050cb2a in StreamTcpReassembleHandleSegment ()
#10 0x00000000005027fc in StreamTcpPacketStateEstablished ()
#11 0x000000000050630f in StreamTcpPacket ()
#12 0x000000000050755c in StreamTcp ()
#13 0x000000000051aa48 in TmThreadsSlotVarRun ()
#14 0x00000000004fd69f in ReceivePfringLoop ()
#15 0x000000000051a6d6 in TmThreadsSlotPktAcqLoop ()
#16 0x0000003cb48079d1 in start_thread () from /lib64/libpthread.so.0
#17 0x0000003cb44e8b7d in clone () from /lib64/libc.so.6

This is Suricata version 2.0.1 RELEASE
Features: PCAP_SET_BUFF LIBPCAP_VERSION_MAJOR=1 PF_RING AF_PACKET HAVE_PACKET_FANOUT LIBCAP_NG LIBNET1.1 HAVE_HTP_URI_NORMALIZE_HOOK HAVE_NSS HAVE_LIBJANSSON
SIMD support: SSE_4_2 SSE_4_1 SSE_3
Atomic intrisics: 1 2 4 8 16 byte(s)
64-bits, Little-endian architecture
GCC version 4.4.7 20120313 (Red Hat 4.4.7-4), C version 199901
L1 cache line size (CLS)=64
compiled with LibHTP v0.5.11, linked against LibHTP v0.5.11
Suricata Configuration:
  AF_PACKET support:                       yes
  PF_RING support:                         yes
  NFQueue support:                         no
  IPFW support:                            no
  DAG enabled:                             no
  Napatech enabled:                        no
  Unix socket enabled:                     yes
  Detection enabled:                       yes

  libnss support:                          yes
  libnspr support:                         yes
  libjansson support:                      yes
  Prelude support:                         no
  PCRE jit:                                no
  libluajit:                               no
  libgeoip:                                yes
  Non-bundled htp:                         no
  Old barnyard2 support:                   no
  CUDA enabled:                            no

  Suricatasc install:                      yes

  Unit tests enabled:                      no
  Debug output enabled:                    no
  Debug validation enabled:                no
  Profiling enabled:                       no
  Profiling locks enabled:                 no
  Coccinelle / spatch:                     no

Generic build parameters:
  Installation prefix (--prefix):          /usr
  Configuration directory (--sysconfdir):  /etc/suricata/
  Log directory (--localstatedir) :        /var/log/suricata/
  Host:                                    x86_64-redhat-linux-gnu
  GCC binary:                              gcc -std=gnu99
  GCC Protect enabled:                     no
  GCC march native enabled:                yes
  GCC Profile enabled:                     no@

Actions #1

Updated by Victor Julien almost 10 years ago

  • Status changed from New to Assigned
  • Assignee set to Victor Julien
  • Target version set to 2.0.2

This looks like the same issue as #1189

Actions #2

Updated by Victor Julien almost 10 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF