httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <>
Subject Re: Debugging a module that works in homebrew's httpd24 but not OSX's preinstalled one
Date Mon, 11 Jan 2016 20:02:26 GMT
If the module is not using the exact same APR lib (ie, 1.4.x
instead of 1.5.x) then you could easily get this to happen.

> On Jan 11, 2016, at 2:38 PM, Andy Li <> wrote:
> Hi,
> I'm developing (updating) mod_neko <>, a
> module that let users to use the Neko VM <> to serve web
> requests.
> The module already works on Windows and Linux, but I have a problem on Mac.
> In fact, the module works on the apache httpd 2.4 installed with
> homebrew-apache <>, but not the
> OSX preinstalled httpd (which is also 2.4).
> When activating mod_neko on the OSX preinstalled httpd, I can see the log
> message from the ap_hook_post_config function, but it will seg fault and
> never print the log in ap_hook_child_init. The ap_hook_post_config function
> seem to successfully return, since my log statement is merely above its
> return statement.
> The outputs of apachectl -V/-l/-M of the homebrew httpd and the OSX httpd
> can be found at
> Do you have any idea why this happens? Can this be caused by the OSX httpd
> being compiled with an old apr library? Is there a way to know the exact
> point of when the process seg fault (a stack trace or something)?
> Best regards,
> Andy

View raw message