Re: [mp1] Apache::AuthDBI segfaults under Fedora Core 1?
[prev]
[thread]
[next]
[Date index for 2005/04/05]
John Callender wrote:
> In moving some web sites from a server running Red Hat Linux release 7.3
> (Valhalla) to one running Fedora Core release 1 (Yarrow), I'm finding
> that attempts to authenticate under mod_perl using Apache::AuthDBI,
> which were working normally on the RH 7.3 server, are producing
> segfaults on the FC1 server. I've searched the Web and the list archives
> to try to find other reports of a similar problem, but have come up
> empty so far. I'd appreciate any suggestions on what I might try to get
> Apache::AuthDBI working under FC1. Thanks.
>
> Software versions on the FC1 server:
>
> kernel: Linux 2.4.22-1.2199.nptlsmp
> Perl: 5.8.3
> DBI: 1.37
> Apache: 1.3.33
> mod_perl: 1.29
> Apache::AuthDBI: 0.93
>
> httpd.conf contains the following:
>
> PerlModule Apache::AuthDBI
[...]
> #0 0x00624082 in _int_free () from /lib/tls/libc.so.6
> #1 0x0062301b in free () from /lib/tls/libc.so.6
> #2 0x004f37a5 in Perl_safesysfree (where=0x95bc640) at util.c:140
> #3 0x0051ab6c in Perl_sv_clear (my_perl=0x92516a8, sv=0x95bc278) at
> sv.c:5210
> #4 0x0051b0fb in Perl_sv_free (my_perl=0x92516a8, sv=0x95bc278) at
> sv.c:5355
> #5 0x004fa032 in Perl_mg_free (my_perl=0x92516a8, sv=0x95bb7c8) at
> mg.c:388
> #6 0x0051ad32 in Perl_sv_clear (my_perl=0x92516a8, sv=0x95bb7c8) at
> sv.c:5144
> #7 0x0051b0fb in Perl_sv_free (my_perl=0x92516a8, sv=0x95bb7c8) at
> sv.c:5355
> #8 0x0051a923 in Perl_sv_clear (my_perl=0x92516a8, sv=0x95bc260) at
> sv.c:5207
> #9 0x0051b0fb in Perl_sv_free (my_perl=0x92516a8, sv=0x95bc260) at
> sv.c:5355
> #10 0x004fa032 in Perl_mg_free (my_perl=0x92516a8, sv=0x95bb4a4) at
> mg.c:388
> #11 0x0051ad32 in Perl_sv_clear (my_perl=0x92516a8, sv=0x95bb4a4) at
> sv.c:5144
> #12 0x0051b0fb in Perl_sv_free (my_perl=0x92516a8, sv=0x95bb4a4) at
> sv.c:5355
> #13 0x00520202 in Perl_sv_unref_flags (my_perl=0x92516a8, sv=0x944a330,
> flags=1) at sv.c:7937
> #14 0x00518ea3 in Perl_sv_force_normal_flags (my_perl=0x92516a8,
> sv=0x944a330,
> flags=1) at sv.c:4271
> #15 0x0053a0ac in Perl_leave_scope (my_perl=0x92516a8, base=16) at
> scope.c:912
> #16 0x005381bc in Perl_pop_scope (my_perl=0x95bc638) at scope.c:138
> #17 0x00540ea7 in Perl_pp_return (my_perl=0x92516a8) at pp_ctl.c:1882
> #18 0x004f2ead in Perl_runops_debug (my_perl=0x92516a8) at dump.c:1438
> #19 0x004a29b9 in S_call_body (my_perl=0x92516a8, myop=0xbfefc1e0,
> is_eval=0)
> at perl.c:2222
> #20 0x004a2685 in Perl_call_sv (my_perl=0x92516a8, sv=0x0, flags=4)
> at perl.c:2140
> #21 0x0817416e in perl_call_handler (sv=0x9509944, r=0x9567f7c, args=0x0)
[...]
> usethreads=define use5005threads=undef useithreads=define
[...]
> /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.3
> /usr/lib/perl5/site_perl/5.8.2
> /usr/lib/perl5/site_perl/5.8.1
> /usr/lib/perl5/site_perl/5.8.0
> /usr/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
I'd suggest to cleanup your perl's lib tree first, nuking all paths with
5.8.2, 5.8.1 and 5.8.0 in it. May be you get some binary incompatible
module loaded which causes the crush.
Your perl is thread-enabled, do you by chance spawn perl threads anywhere?
Did you try building perl with -Uusethreads?
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
 |
Re: [mp1] Apache::AuthDBI segfaults under Fedora Core 1?
Stas Bekman 02:56 on 05 Apr 2005
|