Bug #1153


Unit test AppLayerProtoDetectTest15 failed

Added by Evgeny Kovalchuk over 9 years ago. Updated over 7 years ago.

Target version:
Affected Versions:


FreeBSD 8.4 + GCC4.7

git clone git://
cd oisf
git clone
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-ipfw --enable-unittests
make install
/usr/bin/suricata -u -U AppLayerProtoDetectTest15

Actions #1

Updated by Evgeny Kovalchuk over 9 years ago

root@gw:~/tmp/oisf # /usr/bin/suricata u -U AppLayerProtoDetectTest15
[100587] 27/3/2014 -
10:34:31 - (app-layer-htp.c:2218) <Info> (HTPConfigSetDefaultsPhase2) -- 'default' server has 'request-body-minimal-inspect-size' set to 33882 and 'request-body-inspect-window' set to 4053 after randomization.
[100587] 27/3/2014 -- 10:34:31 - (app-layer-htp.c:2233) <Info> (HTPConfigSetDefaultsPhase2) -- 'default' server has 'response-body-minimal-inspect-size' set to 33695 and 'response-body-inspect-window' set to 4218 after randomization.
[100587] 27/3/2014 -- 10:34:31 - (app-layer-dns-udp.c:324) <Info> (DNSUDPConfigure) -- DNS request flood protection level: 500
[100587] 27/3/2014 -- 10:34:31 - (app-layer-dns-udp.c:336) <Info> (DNSUDPConfigure) -- DNS per flow memcap (state-memcap): 524288
[100587] 27/3/2014 -- 10:34:31 - (app-layer-dns-udp.c:348) <Info> (DNSUDPConfigure) -- DNS global memcap: 16777216
[100587] 27/3/2014 -- 10:34:31 - (tmqh-flow.c:76) <Info> (TmqhFlowRegister) -- AutoFP mode using default "Active Packets" flow load balancer
Test AppLayerProtoDetectTest15 : Segmentation fault (core dumped)

root@gw:~/tmp/oisf # gdb core suricata.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...core: No such file or directory.

Core was generated by `suricata'.
Program terminated with signal 11, Segmentation fault.
#0 0x000000000042a329 in ?? ()
(gdb) file /usr/bin/suricata
Reading symbols from /usr/bin/suricata...done.
(gdb) bt
#0 0x000000000042a329 in AppLayerProtoDetectTest15 () at app-layer-detect-proto.c:2765
#1 0x000000000072f058 in UtRunTests (regex_arg=0x7fffffffed90 "AppLayerProtoDetectTest15") at util-unittest.c:202
#2 0x00000000006584b1 in RunUnittests (list_unittests=0, regex_arg=0x7fffffffed90 "AppLayerProtoDetectTest15")
at runmode-unittests.c:268
#3 0x00000000006996d1 in main (argc=4, argv=0x7fffffffeaf0) at suricata.c:2083

Actions #2

Updated by Victor Julien over 9 years ago

  • Priority changed from Normal to Low
  • Target version deleted (2.0.1rc1)

This seems to be a optimization related issue with only the test itself.

Actions #3

Updated by Andreas Herz over 7 years ago

  • Assignee set to OISF Dev
  • Target version set to TBD

Is this still an issue on FreeBSD with 3.0?

Actions #4

Updated by Victor Julien over 7 years ago

  • Status changed from New to Closed
  • Assignee deleted (OISF Dev)
  • Target version deleted (TBD)

Haven't seen it in the buildbot anymore.


Also available in: Atom PDF