Hi Jamie,

This is a known bug :

http://issues.apache.org/jira/browse/MODPYTHON-96

What's weird is that this bug has existed for a long time now, but has
been discovered this month only - and reported twice since !

It is this is the subversion repository, and the fix will be released
in the next beta version.

Regards,
Nicolas

2005/12/19, Jamie Bliss <[EMAIL PROTECTED]>:
> I swear, this is the last one.
>
> An access violation occurs in Python24.dlll when this python code executes:
>  eval("reg.boundary")
> I don't know the internals of apache, so I can't say why or how.
>
> On 12/19/05, Jamie Bliss <[EMAIL PROTECTED]> wrote:
> > Introspection of mp_request and some other built-in classes usually
> > crashes Apache on my system (Win XP SP1).
> >
> > My Python version (as reported by sys.version) is '2.4.1 (#65, Jun 20
> > 2005, 17:01:55) [MSC v.1310 32 bit (Intel)]'. sys.api_version is 1012.
> > (All of those values are through mod_python/Apache, not Python
> > directly.)
> >
> > Apache is 2.0.55 (magic num 20020903:11). I built Apache myself using
> > MSVC++ 6. mod_python is the only module loaded.
> >
> > mod_python.version is '3.2.5b'. The version in the binary
> > (mod_python.so) is "3.2.5.62634".
> >
> > In order to reproduce the bug, insert this function in a publisher-enabled 
> > file.
> >
> > def request(req):
> >         retval = ''
> >         for i in dir(req):
> >                 if i[:2] == "__" and i[-2:] == "__": continue
> >                 retval += i+': '+repr(getattr(req, i))+"\n"
> >         return retval
> >
> > I don't expect this bug to appear much on a production system, but it
> > is fairly annoying to a n00b like myself.
> >
> > --
> >   Jamie
> > -------------------------------------------------------------------
> > http://endeavour.zapto.org/astro73/
> > Thank you to JosephM for inviting me to Gmail!
> > Have lots of invites. Gmail now has 2GB.
> >
>
>
> --
>   Jamie
> -------------------------------------------------------------------
> http://endeavour.zapto.org/astro73/
> Thank you to JosephM for inviting me to Gmail!
> Have lots of invites. Gmail now has 2GB.
>

Reply via email to