Project

General

Profile

Actions

Bug #1852

closed

Latest CentOS - unitttest Test IPOnlyTestSig15 aborts with gitmaster

Added by Peter Manev almost 8 years ago. Updated over 7 years ago.

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

Description

CentoOS 7 latest
Suricata gitmaster - rev ec60208

Test IPOnlyTestSig12                                              : [32691] 25/7/2016 -- 22:32:37 - (util-unittest-helper.c:577) <Info> (UTHCheckPacketMatchResults) -- Sid 1 matched 0 times, as expected
[32691] 25/7/2016 -- 22:32:37 - (util-unittest-helper.c:577) <Info> (UTHCheckPacketMatchResults) -- Sid 2 matched 0 times, as expected
[32691] 25/7/2016 -- 22:32:37 - (util-unittest-helper.c:577) <Info> (UTHCheckPacketMatchResults) -- Sid 3 matched 0 times, as expected
[32691] 25/7/2016 -- 22:32:37 - (util-unittest-helper.c:577) <Info> (UTHCheckPacketMatchResults) -- Sid 4 matched 0 times, as expected
[32691] 25/7/2016 -- 22:32:37 - (util-unittest-helper.c:577) <Info> (UTHCheckPacketMatchResults) -- Sid 5 matched 0 times, as expected
[32691] 25/7/2016 -- 22:32:37 - (util-unittest-helper.c:577) <Info> (UTHCheckPacketMatchResults) -- Sid 6 matched 0 times, as expected
[32691] 25/7/2016 -- 22:32:37 - (util-unittest-helper.c:577) <Info> (UTHCheckPacketMatchResults) -- Sid 7 matched 0 times, as expected
[32691] 25/7/2016 -- 22:32:37 - (util-unittest-helper.c:577) <Info> (UTHCheckPacketMatchResults) -- Sid 1 matched 0 times, as expected
[32691] 25/7/2016 -- 22:32:37 - (util-unittest-helper.c:577) <Info> (UTHCheckPacketMatchResults) -- Sid 2 matched 0 times, as expected
[32691] 25/7/2016 -- 22:32:37 - (util-unittest-helper.c:577) <Info> (UTHCheckPacketMatchResults) -- Sid 3 matched 0 times, as expected
[32691] 25/7/2016 -- 22:32:37 - (util-unittest-helper.c:577) <Info> (UTHCheckPacketMatchResults) -- Sid 4 matched 0 times, as expected
[32691] 25/7/2016 -- 22:32:37 - (util-unittest-helper.c:577) <Info> (UTHCheckPacketMatchResults) -- Sid 5 matched 0 times, as expected
[32691] 25/7/2016 -- 22:32:37 - (util-unittest-helper.c:577) <Info> (UTHCheckPacketMatchResults) -- Sid 6 matched 0 times, as expected
[32691] 25/7/2016 -- 22:32:37 - (util-unittest-helper.c:577) <Info> (UTHCheckPacketMatchResults) -- Sid 7 matched 0 times, as expected
pass
Test IPOnlyTestSig13                                              : pass
Test IPOnlyTestSig14                                              : pass
Test IPOnlyTestSig15                                              : lt-suricata: util-file.c:595: FileDisableStoring: Assertion `!(1)' failed.
make[2]: *** [check-am] Aborted (core dumped)
make[2]: Leaving directory `/opt/QA/sources/suricata/src'
make[1]: *** [check] Error 2
make[1]: Leaving directory `/opt/QA/sources/suricata/src'
make: *** [check-recursive] Error 1
Actions #1

Updated by Jason Ish almost 8 years ago

Configuration options as provided by Peter:

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--with-libnss-libraries=/usr/lib --with-libnss-includes=/usr/include/nss/ \
--with-libnspr-libraries=/usr/lib --with-libnspr-includes=/usr/include/nspr \
--enable-geoip --enable-nfqueue --disable-gccmarch-native \
--enable-gccprotect  --enable-lua --enable-pie  --enable-debug-validation \
--enable-debug --enable-unittests

Note: Fails on Ubuntu 14.04 and 16.04 as well. Looks like it was introduced with this commit commit:408948815f4cc4a6b7a9fbcbc7bc9bbe073a30f3 where flow handling was moved to the FlowWorker module.

Actions #2

Updated by Peter Manev over 7 years ago

Actually that configure line seems it fails on every system i tested (Debian/Ubuntu/SUSE/Fedora/Centos).
Removing

--enable-debug-validation

makes the issue go away.

Actions #3

Updated by Andreas Herz over 7 years ago

  • Target version set to TBD
Actions #4

Updated by Victor Julien over 7 years ago

  • Subject changed from Latest CentOS - unitttest Test IPOnlyTestSig15 segfaults with gitmaster to Latest CentOS - unitttest Test IPOnlyTestSig15 aborts with gitmaster

Not a segfault but an assertion failure.

Actions #5

Updated by Victor Julien over 7 years ago

  • Status changed from New to Closed
  • Assignee deleted (Jason Ish)
  • Target version deleted (TBD)

Anyway unittests and --enable-debug-validation are known not to work together.

Actions

Also available in: Atom PDF