Re: segmentation fault when using custom config module

2000-12-29 Thread Doug MacEachern
On Wed, 29 Nov 2000, Dave Rolsky wrote: I created a module that contains custom configs with the following code: i cannot reproduce this with or without the patch just posted. i did have to change this line for it to run: $AH = HTML::Mason::ApacheHandler( interp = $interp ); to:

segmentation fault when using custom config module

2000-11-29 Thread Dave Rolsky
Relevant info: Apache: 1.3.12 mod_perl: 1.24 Perl: 5.00503 gcc 2.95.1 on Linus 2.2.18pre19 I created a module that contains custom configs with the following code: package HTML::Mason::Dispatcher; use ExtUtils::MakeMaker; use Apache::ExtUtils; use Apache::src; my @directives = ( { name =

Re: segmentation fault when using custom config module

2000-11-29 Thread Matt Sergeant
On Wed, 29 Nov 2000, Dave Rolsky wrote: my $cfg = Apache::ModuleConfig-get($r); Try: my $cfg = Apache::ModuleConfig-get($r, __PACKAGE__); -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org ** **

Re: segmentation fault when using custom config module

2000-11-29 Thread Dave Rolsky
On Wed, 29 Nov 2000, Matt Sergeant wrote: On Wed, 29 Nov 2000, Dave Rolsky wrote: my $cfg = Apache::ModuleConfig-get($r); Try: my $cfg = Apache::ModuleConfig-get($r, __PACKAGE__); I should have said that its segfaulting before it ever gets into the handler sub. I changed handler