Bug #1153
closed
Unit test AppLayerProtoDetectTest15 failed
Added by Evgeny Kovalchuk over 10 years ago.
Updated almost 9 years ago.
Description
FreeBSD 8.4 + GCC4.7
Reproduce:
git clone git://phalanx.openinfosecfoundation.org/oisf.git
cd oisf
git clone https://github.com/ironbee/libhtp.git
./autogen.sh
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-ipfw --enable-unittests
make install
/usr/bin/suricata -u -U AppLayerProtoDetectTest15
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
(gdb)
- 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.
- Assignee set to OISF Dev
- Target version set to TBD
Is this still an issue on FreeBSD with 3.0?
- 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