* Have existing 64-bit debug build of httpd/apr/etc. with VS 2012
* Checked out httpd24threading branch of mod_perl
* Have ActiveState 64-bit build of Perl 5.16.3 in PATH

>From a VS 2012 64-bit command prompt:

> set MP_USE_MY_EXTUTILS_EMBED=1
(ActiveState ppm doesn't show the exact version requested as available.)

> perl Makefile.PL MP_AP_PREFIX=%HOME%\PREFIXES\241
(and let it download apxs.bat et al)
> nmake
> nmake install
> nmake test

==> crash at httpd startup

If I believe the Visual Studio debugger, it fails with a very basic linkage
issue -- mod_authz_core.so!add_authz_provider has non-NULL cmd_parms; it
calls perl_parse_require_line(), which the debugger believes has a NULL
cmd_parms.  And indeed it crashes at a place in
modperl_interp_pool_select() where a NULL pointer would be used, after
making a bad decision based on the NULL cmd_parms.

Any guess on what to change first?

-- 
Born in Roswell... married an alien...
http://emptyhammock.com/

Reply via email to