-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segmentation fault (FreeBSD) #59
Comments
We going to understand the crash a little bit further. For that, a backtrace of the crash will be very useful. |
Hi @zimmerle and @victorhora Thanks your replied. I reported at thread of https://forums.freebsd.org/threads/modsecurity-v3-for-freebsd-doesnt-want-to-compile-build.65230/ in FreeBSD forum also because modsecurity-apache connector into FreeBSD ports collection. (gdb) core httpd.core Note: Assign gcc8 to build it in ports collection. I hope it can be help you. |
Thank you for the details. ModSecurity can be compiled with clang as well. As a matter of fact, we also use clang in our buildbots, as you can check here - |
Hi @zimmerle and @victorhora Because modsecurity 3 upgrade to 3.0.4, so tried again. All of debug symbol disappeared Thanks a lot. |
Today, I think about this issue and gdb output. So I tried to remove knob of "USE_GCC= yes" @ security/modsecurity3/Makefile and rebuild LLVM/clang 10 @ FreeBSD 12. In the time, minimize configuration. Thanks a lot. |
Hi All:
I trying use modsecurity3 with Apache 2.4 on FreeBSD 12.0 amd64.
I pulled latest commit for modsecurity-apache connector and build successful.
(Output: /usr/local/libexec/apache24/mod_security3.so)
And add below line into httpd.conf (Exist modsecurity2 removed).
LoadModule security3_module libexec/apache24/mod_security3.so
Start Apache but got error as below.
.# service apache24 restart
Performing sanity check on apache24 configuration:
Segmentation fault (core dumped)
FreeBSD default compiler: Clang/LLVM 6.0.1.
Build by "gcc8" got same issue.
Please let me know what is going wrong/debug hint.
Thanks a lot.
The text was updated successfully, but these errors were encountered: