Re: [mp1] Apache::AuthDBI segfaults under Fedora Core 1?

[prev] [thread] [next] [Date index for 2005/04/05]

From: John Callender
Subject: Re: [mp1] Apache::AuthDBI segfaults under Fedora Core 1?
Date: 08:40 on 05 Apr 2005
On Apr 4, 2005, at 7:56 PM, Stas Bekman wrote:

> 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'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.

That appears to have solved my problem. I needed to install DBI and 
DBD::mysql from source after removing the 5.8.0, 5.8.1, and 5.8.2 paths 
from the perl lib tree, because the FC1 distribution apparently came 
with those installed under 5.8.0. But having done that, Apache::AuthDBI 
is authenticating properly, with no segfaults.

Thank you very much for your help.

> Your perl is thread-enabled, do you by chance spawn perl threads 
> anywhere? Did you try building perl with -Uusethreads?

As far as I'm aware, we're not using threads anywhere on the server. I 
haven't tried building perl with -Uusethreads, no.

Thanks again.

John Callender
jbc@xxxx.xxx

Re: [mp1] Apache::AuthDBI segfaults under Fedora Core 1?
John Callender 08:40 on 05 Apr 2005

Generated at 14:43 on 11 Apr 2005 by mariachi v0.52