Skip to content

AIX - modsecurity-2.9.2 - apache coredump #1657

Closed
@flynn1973

Description

@flynn1973

httpd-2.4.29
apr: 1.5.2
apr-utils: 1.5.4
Compiler: IBM xlc

export OBJECT_MODE=64
export CC="cc_r"
export CFLAGS="-q64 -qmaxmem=-1 -qstaticinline -qcpluscmt -DNDEBUG -DSYSV -D_AIX -D_AIX64 -D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 -D_AIX61 -D_AIX71 -D_ALL_SOURCE -DFUNCPROTO=15 -O2 -I$TOOLSPATH/include -I/opt/freeware/include"
export CXX="xlC_r"
export CXXFLAGS=$CFLAGS
export LDFLAGS="-L/opt/freeware/lib64 -L/opt/freeware/lib -Wl,-blibpath:$APPATH/apr/lib:/usr/lib:/lib -Wl,-bmaxdata:0x80000000 -Wl,-b64 -Wl,-bexpall -Wl,-bnoipath -Wl,-lssl"

./configure --with-apxs=$APPATH/bin/apxs --with-lua=$TOOLSPATH --enable-lua-cache --enable-pcre-jit --enable-htaccess-config --enable-request-early

root@aixbuildhost: /tmp/apatest/bin # ./httpd
Illegal instruction (core dumped)

root@aixbuildhost: /tmp/apatest/bin # dbx httpd core
Type 'help' for help.
[using memory image in core]
reading symbolic information ...

Illegal instruction (illegal opcode) in . at 0x0 ($t1)
warning: Unable to access address 0x0 from core
(dbx) where
.() at 0x0
mod_security2.register_hooks() at 0x90000000470afa8
ap_register_hooks@AF123_81() at 0x100022884
ap_add_module() at 0x1000217b4
ap_add_loaded_module() at 0x100021474
mod_so.load_module() at 0x10006a104
IPRA.$invoke_cmd() at 0x10001b1c4
IPRA.$execute_now() at 0x10001ae04
IPRA.$ap_build_config_sub() at 0x10001aba4
ap_build_config() at 0x1000208b4
ap_process_resource_config() at 0x10001f044
ap_read_config() at 0x10001ffcc
main() at 0x1000008d0

apache works fine wihtout mod_security added.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions