Alex Oboimov wrote:
Hello Stas,

After configuring with MP_DEBUG=1 I've encountered segfault during
configuration itself

so it definitely smells like some perl problem, since confuguration doesn't involve anything but pure perl.


After doing so:
....
(gdb) bt
#0  0x4032fa74 in Perl_pp_leavesub ()
   from /usr/lib/perl5/5.8.1/i386-linux-thread-multi/CORE/libperl.so
   #1  0x082ea5e0 in ?? ()
   #2  0x0918e994 in ?? ()

Still the same trace with misterious addresses.

As I dare guess the fault is not on the modperl side but on the
   perl's one. So I rather dwell on reinstallation of perl, but my
   early investigation show that it is uneasy task bearing in mind
   complex dependencies of mdk packages. One advice is to run two
   perls - one for system needs and another for apache-perl-modperl
   tier. Is this advisable?

You certainly could, but if it's a bug in perl, may be you better figure out what it is and have mandrake release a fixed version.


As proposed earlier you could figure out the exact trace, by starting httpd from within gdb, so when the former segfaults you get a good trace. In one console run:

% gdb /path/to/httpd
gdb> run -d /usr/local/src/mod_perl-1.99_14/t -f /usr/local/src/mod_perl-1.99_14/t/conf/httpd.conf -D APACHE2 -DPERL_USEITHREADS


(or you can even do the simple:

% t/TEST -d

and it'll do the same thing for you)

now in another console run:

% t/TEST -run -verbose api/rflush.t

sure, take your time. but please follow up to the list.

Sorry Stas, I press automatically the Respond button and realized it
was your private account afterwards... will never repeat this.

No worries, Alex.

--
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to