Actions
Bug #703
closedMac OS X 10.6.8 unittest problem
Affected Versions:
Effort:
Difficulty:
Label:
Description
Test IPOnlyTestSig05 : 8/1/2013 -- 13:58:36 - <Info> - IP reputation disabled 8/1/2013 -- 13:58:36 - <Info> - Sid 1 matched 1 times, as expected 8/1/2013 -- 13:58:36 - <Info> - Sid 2 matched 1 times, as expected 8/1/2013 -- 13:58:36 - <Info> - Sid 3 matched 1 times, as expected 8/1/2013 -- 13:58:36 - <Info> - Sid 4 matched 1 times, as expected 8/1/2013 -- 13:58:36 - <Info> - Sid 5 matched 1 times, as expected 8/1/2013 -- 13:58:36 - <Info> - Sid 6 matched 1 times, as expected 8/1/2013 -- 13:58:36 - <Info> - Sid 7 matched 1 times, as expected suricata(20955) malloc: *** error for object 0x101f0d110: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug Abort trap
Updated by Victor Julien almost 12 years ago
Test IPOnlyTestSig05 : 8/1/2013 -- 14:08:03 - <Info> - IP reputation disabled 8/1/2013 -- 14:08:03 - <Info> - Sid 1 matched 1 times, as expected 8/1/2013 -- 14:08:03 - <Info> - Sid 2 matched 1 times, as expected 8/1/2013 -- 14:08:03 - <Info> - Sid 3 matched 1 times, as expected 8/1/2013 -- 14:08:03 - <Info> - Sid 4 matched 1 times, as expected 8/1/2013 -- 14:08:03 - <Info> - Sid 5 matched 1 times, as expected 8/1/2013 -- 14:08:03 - <Info> - Sid 6 matched 1 times, as expected 8/1/2013 -- 14:08:03 - <Info> - Sid 7 matched 1 times, as expected suricata(31062) malloc: *** error for object 0x101f0d110: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug Program received signal SIGABRT, Aborted. 0x00007fff828910b6 in __kill () (gdb) bt #0 0x00007fff828910b6 in __kill () #1 0x00007fff829319f6 in abort () #2 0x00007fff82849195 in free () #3 0x00000001002031e0 in SigGroupHeadFree (sgh=0x101f0cec0) at detect-engine-siggroup.c:181 #4 0x00000001001fafaa in DetectPortFree (dp=0x101f0ce90) at detect-engine-port.c:91 #5 0x00000001001fb0fd in DetectPortCleanupList (head=0x101f0ce90) at detect-engine-port.c:177 #6 0x00000001001fafe2 in DetectPortFree (dp=0x101f0caf0) at detect-engine-port.c:96 #7 0x00000001001fb0fd in DetectPortCleanupList (head=0x101f0caf0) at detect-engine-port.c:177 #8 0x00000001001579d3 in DetectAddressFree (ag=0x101f0c750) at detect-engine-address.c:120 #9 0x0000000100157e63 in DetectAddressCleanupList (head=0x101f0c750) at detect-engine-address.c:259 #10 0x000000010015bf84 in DetectAddressHeadCleanup (gh=0x101f020f0) at detect-engine-address.c:1372 #11 0x000000010015bfd4 in DetectAddressHeadFree (gh=0x101f020f0) at detect-engine-address.c:1392 #12 0x0000000100157999 in DetectAddressFree (ag=0x101f03100) at detect-engine-address.c:112 #13 0x0000000100157e63 in DetectAddressCleanupList (head=0x101f03100) at detect-engine-address.c:259 #14 0x000000010015bf84 in DetectAddressHeadCleanup (gh=0x101f04250) at detect-engine-address.c:1372 #15 0x000000010015bfd4 in DetectAddressHeadFree (gh=0x101f04250) at detect-engine-address.c:1392 #16 0x0000000100104862 in SigAddressCleanupStage1 (de_ctx=0x101012600) at detect.c:3934 #17 0x0000000100106a36 in SigGroupCleanup (de_ctx=0x101012600) at detect.c:4582 #18 0x00000001004a3e5e in UTHGenericTest (pkt=0x7fff5fbfd970, numpkts=1, sigs=0x7fff5fbfd8c0, sids=0x7fff5fbfd940, results=0x7fff5fbfd920, numsigs=7) at util-unittest-helper.c:529 #19 0x00000001001ebe5d in IPOnlyTestSig05 () at detect-engine-iponly.c:1811 #20 0x00000001004a02ee in UtRunTests (regex_arg=0x100525648 ".*") at util-unittest.c:202 #21 0x00000001003b9376 in main (argc=4, argv=0x7fff5fbff0c0) at suricata.c:1698
Updated by Victor Julien almost 12 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
Fixed by:
commit 0c84a7a2a96dd80edc68a3801e8c6b51714ea6c6 Author: Victor Julien <victor@inliniac.net> Date: Tue Jan 8 15:20:21 2013 +0100 Use _mm_free for memory allocated by _mm_alloc. Bug 703. Minor compiler warning fixes.
Actions