Re: Apache::DProf seg faulting

2002-04-19 Thread Perrin Harkins
Paul Lindner wrote: >>But while I have your attention, why are you using Apache::DB at all? The >>Apache::DProf docs just have: >> >> PerlModule Apache::DProf > > > Legacy knowledge :) > > I think it may have been required in the past, or perhaps I had some > problems with my INC paths long-l

Re: Apache::DProf seg faulting

2002-04-18 Thread Paul Lindner
On Thu, Apr 18, 2002 at 02:18:04AM -0400, Sam Tregar wrote: > On Wed, 17 Apr 2002, Paul Lindner wrote: > > > Geoffrey and I tested our environments today and the recipe given in > > the book seems to work just fine: > > > > PerlModule Apache::DB > > PerlModule Apache::DProf > > With those li

Re: Apache::DProf seg faulting

2002-04-18 Thread Geoffrey Young
>>Geoffrey and I tested our environments today and the recipe given in >>the book seems to work just fine: >> >> PerlModule Apache::DB >> PerlModule Apache::DProf >> > > With those lines I get a seg-fault on the first hit to the server. > Reversing the lines I can get a few hits before seg-fau

Re: Apache::DProf seg faulting

2002-04-18 Thread Ged Haywood
: Apache::DProf seg faulting On Tue, 16 Apr 2002, Sam Tregar wrote: > It looks like the poison pill is loading Apache::DB before Apache::DProf. > Odd, eh? Sorry, I haven't been following the thread so please feel free to ignore me. I had some problems with Devel:DProf and dprofpp usi

Re: Apache::DProf seg faulting

2002-04-17 Thread Sam Tregar
On Wed, 17 Apr 2002, Paul Lindner wrote: > I think that this may be a problem with the use of sections. > > I believe your original post had something like this: > > > use Apache::DProf > use Apache::DB > Apache::DB->init(); > Nope. That was Perrin Harkins, but I tried it too! > Geoff

Re: Apache::DProf seg faulting

2002-04-17 Thread Paul Lindner
On Tue, Apr 16, 2002 at 06:05:11PM -0400, Sam Tregar wrote: > On Tue, 16 Apr 2002, Sam Tregar wrote: > > > On 16 Apr 2002, Garth Winter Webb wrote: > > > > > Sam, try getting rid of the 'PerlModule Apache::DB' line. I've used > > > Apache::DProf w/o any problems by including only the one Per

Re: Apache::DProf seg faulting

2002-04-16 Thread Sam Tregar
On Tue, 16 Apr 2002, Perrin Harkins wrote: > Strange, that works for me. I do it like this: > > use Apache::DProf; > use Apache::DB; > Apache::DB->init; > That works, but this doesn't: use Apache::DB; use Apache::DProf; Apache::DB->init; It looks li

Re: Apache::DProf seg faulting

2002-04-16 Thread Perrin Harkins
Sam Tregar wrote: > On Tue, 16 Apr 2002, Sam Tregar wrote: > > >>On 16 Apr 2002, Garth Winter Webb wrote: >> >> >>>Sam, try getting rid of the 'PerlModule Apache::DB' line. I've used >>>Apache::DProf w/o any problems by including only the one PerlModule >>>line. Since they both want to use per

Re: Apache::DProf seg faulting

2002-04-16 Thread Sam Tregar
On Tue, 16 Apr 2002, Sam Tregar wrote: > On 16 Apr 2002, Garth Winter Webb wrote: > > > Sam, try getting rid of the 'PerlModule Apache::DB' line. I've used > > Apache::DProf w/o any problems by including only the one PerlModule > > line. Since they both want to use perl debugging hooks, I'm gue

Re: Apache::DProf seg faulting

2002-04-16 Thread Sam Tregar
On 16 Apr 2002, Garth Winter Webb wrote: > Sam, try getting rid of the 'PerlModule Apache::DB' line. I've used > Apache::DProf w/o any problems by including only the one PerlModule > line. Since they both want to use perl debugging hooks, I'm guessing > that Apache::DProf is getting crashed up

Apache::DProf seg faulting

2002-04-16 Thread Sam Tregar
Hello all. I'm trying to use Apache::DProf but all I get is seg faults. I put these lines in my httpd.conf: PerlModule Apache::DB PerlModule Apache::DProf Then I start the server, and it looks ok: [Tue Apr 16 17:22:12 2002] [notice] Apache/1.3.20 (Unix) mod_perl/1.25 mod_ssl/2.8.4 Open