Project

General

Profile

Actions

Bug #2116

closed

Crash on ARM64 with CUDA enabled during HTTP traffic

Added by Robert Plestenjak almost 7 years ago. Updated over 6 years ago.

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

Description

Compiled version 3.2.1 on Tegra X1 with Cuda 7.0. Suricata starts fine and run util some HTTP traffic occurs, then it silently crashes.

Kernel log

[2062032.622972] device eth0 entered promiscuous mode
[2062032.623149] r8152 2-1:1.0 eth0: Promiscuous mode enabled
[2062033.862046] W#03[11802]: unhandled level 2 translation fault (11) at 0x00000000, esr 0x92000006
[2062033.862057] pgd = ffffffc0a89e5000
[2062033.867291] [00000000] *pgd=0000000101182003, *pmd=0000000000000000
[2062033.874967] 
[2062033.874975] CPU: 2 PID: 11802 Comm: W#03 Not tainted 3.10.96-tegra #1
[2062033.874986] task: ffffffc0490f8680 ti: ffffffc0c1fd4000 task.ti: ffffffc0c1fd4000
[2062033.874995] PC is at 0x5ad2a4
[2062033.875000] LR is at 0x5ad264
[2062033.875006] pc : [<00000000005ad2a4>] lr : [<00000000005ad264>] pstate: 20000000
[2062033.875010] sp : 0000007f68827b90
[2062033.875014] x29: 0000007f68827bc0 x28: 00000000022bdac0 
[2062033.875022] x27: 0000000000000000 x26: 0000000000000018 
[2062033.875030] x25: 0000000000000084 x24: 0000000000a78000 
[2062033.875038] x23: 0000007f3c08a598 x22: 0000007f68827b90 
[2062033.875045] x21: 0000007f42435598 x20: 0000000000000000 
[2062033.875053] x19: 0000007f42435568 x18: 0000007f68826f80 
[2062033.875060] x17: 0000007f7e0f8940 x16: 0000000000644f90 
[2062033.875067] x15: 0000007f7e1c05a0 x14: 756f72676b636162 
[2062033.875074] x13: 202020200a0a3b25 x12: 303031203a687464 
[2062033.875082] x11: 6977202020200a3b x10: 78703939203a7468 
[2062033.875089] x9 : 0000000000000004 x8 : 0000007f68827bb2 
[2062033.875096] x7 : 0000000000000020 x6 : 00000000ffffffbb 
[2062033.875103] x5 : 0000000000000001 x4 : 0000007f424355cc 
[2062033.875110] x3 : 000000000be94be0 x2 : 0000000000000002 
[2062033.875116] x1 : 000000000bea0420 x0 : 0000000000000004 
[2062033.875123] 
[2062033.875133] Library at 0x5ad2a4: 0x400000 /opt/suricata/bin/suricata
[2062033.882807] Library at 0x5ad264: 0x400000 /opt/suricata/bin/suricata
[2062033.890409] vdso base = 0x7f7f0db000
[2062034.155919] device eth0 left promiscuous mode

Build info

suricata --build-info

This is Suricata version 3.2.1 RELEASE
Features: NFQ PCAP_SET_BUFF LIBPCAP_VERSION_MAJOR=1 CUDA AF_PACKET HAVE_PACKET_FANOUT LIBCAP_NG LIBNET1.1 HAVE_HTP_URI_NORMALIZE_HOOK PCRE_JIT HAVE_LIBJANSSON PROFILING TLS 
SIMD support: none
Atomic intrisics: 1 2 4 8 byte(s)
64-bits, Little-endian architecture
GCC version 4.8.4, C version 199901
compiled with -fstack-protector
compiled with _FORTIFY_SOURCE=2
L1 cache line size (CLS)=64
thread local storage method: __thread
compiled with LibHTP v0.5.23, linked against LibHTP v0.5.23

Suricata Configuration:
  AF_PACKET support:                       yes
  PF_RING support:                         no
  NFQueue support:                         yes
  NFLOG support:                           no
  IPFW support:                            no
  Netmap support:                          no
  DAG enabled:                             no
  Napatech enabled:                        no

  Unix socket enabled:                     yes
  Detection enabled:                       yes

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

  Suricatasc install:                      yes

  Profiling enabled:                       yes
  Profiling locks enabled:                 no

Development settings:
  Coccinelle / spatch:                     no
  Unit tests enabled:                      no
  Debug output enabled:                    no
  Debug validation enabled:                no

Generic build parameters:
  Installation prefix:                     /opt/suricata
  Configuration directory:                 /opt/suricata/etc/suricata/
  Log directory:                           /opt/suricata/var/log/suricata/

  --prefix                                 /opt/suricata
  --sysconfdir                             /opt/suricata/etc
  --localstatedir                          /opt/suricata/var

  Host:                                    aarch64-unknown-linux-gnu
  Compiler:                                gcc (exec name) / gcc (real)
  GCC Protect enabled:                     yes
  GCC march native enabled:                no
  GCC Profile enabled:                     no
  Position Independent Executable enabled: no
  CFLAGS                                   -g -O2
  PCAP_CFLAGS                               -I/usr/include
  SECCFLAGS                                -fstack-protector -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security
Actions #1

Updated by Victor Julien almost 7 years ago

  • Assignee set to Anonymous
  • Priority changed from High to Normal
  • Target version set to TBD

CUDA support is currently broken and unsupported.

Actions #2

Updated by Victor Julien over 6 years ago

  • Status changed from New to Closed
  • Assignee deleted (Anonymous)
  • Target version deleted (TBD)
Actions

Also available in: Atom PDF