perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: [mp1] Segfautl with constant handlers and perl 5.6.x
Date Mon, 09 Jun 2003 04:44:15 GMT
Philippe M. Chiasson wrote:
> On Mon, 2003-06-09 at 12:14, Stas Bekman wrote:
> 
>>Philippe M. Chiasson wrote:
>>[...]
>>
>>>>>Ideas? Anybody can reproduce this simple test case ? Somehow, I suspect
it has to do with the fact
>>>>>that Apache::OK isn't a plain sub but a constant, but ???
>>>>
>>>>I have tried these two:
>>>>
>>>>  <Location /foo>
>>>>      SetHandler perl-script
>>>>      PerlFixupHandler Apache::DECLINED
>>>>      PerlHandler +Foo
>>>>  </Location>
>>>>
>>>><Location /segv>
>>>> PerlModule Apache::Constants
>>>> SetHandler perl-script
>>>> PerlHandler Apache::OK
>>>></Location>
>>>>
>>>>Both "work" (no segfault). Want me to try with another perl?
>>>
>>>
>>>Now, that is wierd. I've copy-pasted your 2 example and they both segv
>>>the same way, and my perl is just like yours... I am starting to think
>>>that there must be something strange about me, not you all ;-S
>>
>>Have you tried taking a shower? ;)
> 
> 
> Well, you know what? I just did that, came back all clean, and figured
> out I would take the time to _really_ track this bugger down.
> 
> Cleaned up all my src, cvs co'ed all afresh and started with the
> simplest build script and configuration.
> 
> Guess what? It's gone. I am running all my smokes right now, and nothing
> breaks anymore? 

Cool!

> There was somethign funny about my setup, but it's gone now and I can't
> figure out what it might have been...
> 
> "The truth is out there!"

More like :

perl -le 'print "I will take a shower more than once a week" while (1)'

;)
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message