Re: Apache segmentation fault when loading libphp7.so

Kai Fürstenberg <[email protected]> Tue, 11 Aug 2020 14:54:35 +0200
Newsgroups gmane.comp.php.install
Message-ID <[email protected]>
Hello Keith,

no, it's not mod_alias, because debug log sais the module is loaded.
Without mod_alias it looks like below.

When I comment out phplib7.so, the server starts and is online.

I don't know if it helps: httpd sends a return code 139.
PHP in the CLI works.


[Tue Aug 11 14:49:21.635494 2020] [so:debug] [pid 25863:tid 3082425792]
mod_so.c(266): AH01575: loaded module authn_file_module from
/usr/local/httpd-test/modules/mod_authn_file.so
[Tue Aug 11 14:49:21.635606 2020] [so:debug] [pid 25863:tid 3082425792]
mod_so.c(266): AH01575: loaded module authn_core_module from
/usr/local/httpd-test/modules/mod_authn_core.so
[Tue Aug 11 14:49:21.635688 2020] [so:debug] [pid 25863:tid 3082425792]
mod_so.c(266): AH01575: loaded module authz_host_module from
/usr/local/httpd-test/modules/mod_authz_host.so
[Tue Aug 11 14:49:21.635796 2020] [so:debug] [pid 25863:tid 3082425792]
mod_so.c(266): AH01575: loaded module authz_groupfile_module from
/usr/local/httpd-test/modules/mod_authz_groupfile.so
[Tue Aug 11 14:49:21.635874 2020] [so:debug] [pid 25863:tid 3082425792]
mod_so.c(266): AH01575: loaded module authz_user_module from
/usr/local/httpd-test/modules/mod_authz_user.so
[Tue Aug 11 14:49:21.666338 2020] [so:debug] [pid 25863:tid 3082425792]
mod_so.c(266): AH01575: loaded module authz_core_module from
/usr/local/httpd-test/modules/mod_authz_core.so
[Tue Aug 11 14:49:21.666433 2020] [so:debug] [pid 25863:tid 3082425792]
mod_so.c(266): AH01575: loaded module access_compat_module from
/usr/local/httpd-test/modules/mod_access_compat.so
[Tue Aug 11 14:49:21.666522 2020] [so:debug] [pid 25863:tid 3082425792]
mod_so.c(266): AH01575: loaded module auth_basic_module from
/usr/local/httpd-test/modules/mod_auth_basic.so
[Tue Aug 11 14:49:21.666617 2020] [so:debug] [pid 25863:tid 3082425792]
mod_so.c(266): AH01575: loaded module reqtimeout_module from
/usr/local/httpd-test/modules/mod_reqtimeout.so
[Tue Aug 11 14:49:21.666713 2020] [so:debug] [pid 25863:tid 3082425792]
mod_so.c(266): AH01575: loaded module filter_module from
/usr/local/httpd-test/modules/mod_filter.so
[Tue Aug 11 14:49:21.666805 2020] [so:debug] [pid 25863:tid 3082425792]
mod_so.c(266): AH01575: loaded module mime_module from
/usr/local/httpd-test/modules/mod_mime.so
[Tue Aug 11 14:49:21.666907 2020] [so:debug] [pid 25863:tid 3082425792]
mod_so.c(266): AH01575: loaded module log_config_module from
/usr/local/httpd-test/modules/mod_log_config.so
[Tue Aug 11 14:49:21.666999 2020] [so:debug] [pid 25863:tid 3082425792]
mod_so.c(266): AH01575: loaded module env_module from
/usr/local/httpd-test/modules/mod_env.so
[Tue Aug 11 14:49:21.667102 2020] [so:debug] [pid 25863:tid 3082425792]
mod_so.c(266): AH01575: loaded module headers_module from
/usr/local/httpd-test/modules/mod_headers.so
[Tue Aug 11 14:49:21.667195 2020] [so:debug] [pid 25863:tid 3082425792]
mod_so.c(266): AH01575: loaded module setenvif_module from
/usr/local/httpd-test/modules/mod_setenvif.so
[Tue Aug 11 14:49:21.667298 2020] [so:debug] [pid 25863:tid 3082425792]
mod_so.c(266): AH01575: loaded module version_module from
/usr/local/httpd-test/modules/mod_version.so
[Tue Aug 11 14:49:21.667395 2020] [so:debug] [pid 25863:tid 3082425792]
mod_so.c(266): AH01575: loaded module unixd_module from
/usr/local/httpd-test/modules/mod_unixd.so
[Tue Aug 11 14:49:21.667484 2020] [so:debug] [pid 25863:tid 3082425792]
mod_so.c(266): AH01575: loaded module status_module from
/usr/local/httpd-test/modules/mod_status.so
[Tue Aug 11 14:49:21.667588 2020] [so:debug] [pid 25863:tid 3082425792]
mod_so.c(266): AH01575: loaded module autoindex_module from
/usr/local/httpd-test/modules/mod_autoindex.so
[Tue Aug 11 14:49:21.667680 2020] [so:debug] [pid 25863:tid 3082425792]
mod_so.c(266): AH01575: loaded module dir_module from
/usr/local/httpd-test/modules/mod_dir.so
Speicherzugriffsfehler

Kai


Am 11.08.2020 um 14:05 schrieb Keith Roberts:
> Hi Kai,
>=20
> Is it seg faulting when the mod_alias mod is loaded?
>=20
> Can you try to run apache and PHP module without the mod_alias module t=
o=20
> see if it happens then?
>=20
> Kind Regards,
>=20
> Keith Roberts
>=20
> On 11/08/2020 11:21, Kai F=C3=BCrstenberg wrote:
>> /usr/local/httpd-test/modules/mod_dir.so
>> [Tue Aug 11 12:04:48.058215 2020] [so:debug] [pid 24664:tid 3083007424=
]
>> mod_so.c(266): AH01575: loaded module alias_module from
>> /usr/local/httpd-test/modules/mod_alias.so
>> Speicherzugriffsfehler
>>
>> "Speicherzugrifftsfehler" =3D "Segmentation fault"