On Wed, 22 May 2002, Doug MacEachern wrote:

> On Thu, 23 May 2002, Jie Gao wrote:
>
> > Program received signal SIGSEGV, Segmentation fault.
> > [Switching to Thread 1024 (LWP 15349)]
> > 0x4031575d in modperl_mgv_lookup (symbol=0x0) at modperl_mgv.c:134
> > 134         if (!symbol->hash) {
> > (gdb) bt
> > #0  0x4031575d in modperl_mgv_lookup (symbol=0x0) at modperl_mgv.c:134
> > #1  0x403103ed in modperl_callback (handler=0x83dcd68, p=0x83d3438, r=0x83d3470, 
>s=0x80d1540, args=0x8131110)
> >     at modperl_callback.c:19
>
> this is with modperl-2.0 from cvs?  if you have a simple test case to
> reproduce, that would help.  looks related to method handlers based on
> your stacktrace.

I have found the following:

In httpd.conf:

<Directory /export/softwares> # Document root.
Options All
AllowOverride All
Order allow,deny
allow from all
</Directory>

"Segmentation fault" happens when accessing /export/softwares/data, a
subdirectory which does not have an .htaccess file itself, but a
subdirectory of which has an .htaccess file containing:

IndexOptions FancyIndexing NameWidth=* ScanHTMLTitles IconsAreLinks
PerlAuthenHandler XXX::AuthCookieHandler->authen
PerlAuthzHandler XXX::AuthCookieHandler->authz
AuthType XXX
AuthName XXX
PerlSetVar AuthenLoginPageLocation 'https://xxx.xxx.xxx.xx/login.cgi'
PerlSetVar VirtualServerName xxx.xxx.xxx.xxx.
PerlSetVar AuthCookieDebug 0
PerlSetVar TimeOut 10
require group /export/softserv/acl/nero
ErrorDocument 403 /server_response/software_403.html

Changing "AllowOverride All" to "AllowOverride None" does not incur
a "Segmentation fault".

The .htaccess file might have a problem, but having a problem accessing
the parent directory makes it very hard to debug.

Regards,



Jie

Reply via email to