Torsten Foertsch wrote:
Hi,

MP_FUNC is NULL unless MP_TRACE is set (modperl_common_log.h).

MP_CHECK_WBUCKET_INIT is defined as (modperl_util.h):

#define MP_CHECK_WBUCKET_INIT(func) \
    if (!rcfg->wbucket) { \
        Perl_croak(aTHX_ "%s: " func " can't be called "  \
                   "before the response phase", MP_FUNC); \
    }

It doesn't check for MP_TRACE and hence passes a NULL pointer to
Perl_croak(%s).
Makes sense to me. I compile with MP_TRACE=1 all the time and even have flags 'A'. How have I not hit this yet ?

P.S.
I didn't actually look at the modperl_common_log.h



--
------------------------------------------------------------------------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to