Snort mailing list archives
Re: Segfault building Snort3 b245 with --enable-tcmalloc flag
From: Y M via Snort-devel <snort-devel () lists snort org>
Date: Tue, 12 Jun 2018 17:25:15 +0000
Interesting. Snort build 245 with tcmalloc over CetnOS 7 and FreeBSD 11 was successful. There have been recent changes in Ubuntu 18 that are making several apps too unhappy. I will do some testing on my side and report back if I come up with anything useful. YM ________________________________ From: Snort-devel <snort-devel-bounces () lists snort org> on behalf of Noah Dietrich <noah_dietrich () 86penny org> Sent: Tuesday, June 12, 2018 5:26 PM To: snort-devel () lists snort org Subject: [Snort-devel] Segfault building Snort3 b245 with --enable-tcmalloc flag Hello, when building Snort 3 245 with the --enable-tcmalloc flag, snort throws a segfault. Environment: git clone of the latest Snort3 (b245) on Ubuntu 18 x64 in a VMware virtual Machine. Commands: cd ~/snort_src git clone https://github.com/snort3/snort3.git cd ./snort3 ./configure_cmake.sh --prefix=/usr/local --enable-tcmalloc cd build make Error: ... Scanning dependencies of target all_built_sources [ 97%] Documents: building commands.txt with Segmentation fault (core dumped) doc/CMakeFiles/all_built_sources.dir/build.make:80: recipe for target 'doc/commands.txt' failed make[2]: *** [doc/commands.txt] Error 139 make[2]: *** Deleting file 'doc/commands.txt' CMakeFiles/Makefile2:6091: recipe for target 'doc/CMakeFiles/all_built_sources.dir/all' failed make[1]: *** [doc/CMakeFiles/all_built_sources.dir/all] Error 2 Makefile:151: recipe for target 'all' failed make: *** [all] Error 2 When you remove the --enable-tcmalloc flag, snort compiles and runs without error: ,,_ -*> Snort++ <*- o" )~ Version 3.0.0 (Build 245) from 2.9.11 '''' By Martin Roesch & The Snort Team http://snort.org/contact#team Copyright (C) 2014-2018 Cisco and/or its affiliates. All rights reserved. Copyright (C) 1998-2013 Sourcefire, Inc., et al. Using DAQ version 2.2.2 Using LuaJIT version 2.1.0-beta3 Using OpenSSL 1.1.0g 2 Nov 2017 Using libpcap version 1.8.1 Using PCRE version 8.39 2016-06-14 Using ZLIB version 1.2.11 Using FlatBuffers 1.9.0 Using Hyperscan version 4.7.0 2018-06-12 Using LZMA version 5.2.2 please let me know if you need any other information. thank you, Noah
_______________________________________________ Snort-devel mailing list Snort-devel () lists snort org https://lists.snort.org/mailman/listinfo/snort-devel Please visit http://blog.snort.org for the latest news about Snort!
Current thread:
- Segfault building Snort3 b245 with --enable-tcmalloc flag Noah Dietrich (Jun 12)
- Re: Segfault building Snort3 b245 with --enable-tcmalloc flag Y M via Snort-devel (Jun 12)
- Re: Segfault building Snort3 b245 with --enable-tcmalloc flag Y M via Snort-devel (Jun 12)
- Re: Segfault building Snort3 b245 with --enable-tcmalloc flag Noah Dietrich (Jun 12)
- Re: Segfault building Snort3 b245 with --enable-tcmalloc flag Michael Altizer via Snort-devel (Jun 13)
- Re: Segfault building Snort3 b245 with --enable-tcmalloc flag Noah Dietrich (Jun 15)
- Re: Segfault building Snort3 b245 with --enable-tcmalloc flag Michael Altizer via Snort-devel (Jun 18)
- Re: Segfault building Snort3 b245 with --enable-tcmalloc flag Y M via Snort-devel (Jun 12)
- Re: Segfault building Snort3 b245 with --enable-tcmalloc flag Y M via Snort-devel (Jun 12)
- Re: Segfault building Snort3 b245 with --enable-tcmalloc flag Y M via Snort-devel (Jun 13)