Hello,

here is a better backtrace of my problem.
the strange thing is it never crash at the first request after starting the process (from gdb) .. but at the second.


for informations, CASServerName is define as :

{ name => 'CASServerName',
    errmsg => 'Name of the CAS server',
    args_how => 'TAKE1',
    req_override => 'OR_AUTHCFG', }

---- quote ----
(gdb) bt
#0 0x0807d151 in perl_perl_create_cfg (sv=0x888fdcc, pclass=0x816fcc4,
parms=0xbffffa10, type=0x80ed6c9 "SERVER_CREATE") at perl_config.c:898
#1 0x080765e4 in perl_cmd_perl_TAKE123 (cmd=0xbffffa10, data=0x888fdb4,
one=0x888fdcc "ledrezen.univ-metz.fr", two=0x0, three=0x0)
at perl_config.c:941
#2 0x0807c99b in perl_cmd_perl_TAKE1 (cmd=0xbffffa10, data=0xbffffa10,
one=0xbffffa10 "[EMAIL PROTECTED]") at perl_config.c:859
#3 0x080b9fe9 in invoke_cmd (cmd=0x4001bc80, parms=0xbffffa10,
mconfig=0x888fdb4, args=0xbfffd9e3 "") at http_config.c:828
#4 0x080baa75 in ap_handle_command (parms=0xbffffa10, config=0x888fbac,
l=0xbfffd9c0 "CASServerName ledrezen.univ-metz.fr") at http_config.c:1030
#5 0x080bab03 in ap_srm_command_loop (parms=0xbffffa10, config=0x888fbac)
at http_config.c:1044
#6 0x080bb4b3 in ap_parse_htaccess (result=0xbffffa80, r=0x888ecec,
override=31, d=0x888facc "/root/src/mod_perl-1.29/t/docs/",
access_name=0x80f3e3d "") at http_config.c:1386
#7 0x080ce22f in directory_walk (r=0x888ecec) at http_request.c:582
#8 0x080cf58c in process_request_internal (r=0x888ecec) at http_request.c:1254
#9 0x080cf965 in ap_process_request (r=0x888ecec) at http_request.c:1348
#10 0x080c6312 in child_main (child_num_arg=0) at http_main.c:4633
#11 0x080c64c3 in make_child (s=0x8109b6c, slot=0, now=1084217908)
at http_main.c:4748
#12 0x080c664c in startup_children (number_to_start=5) at http_main.c:4830
#13 0x080c6d3c in standalone_main (argc=6, argv=0xbffffd14) at http_main.c:5149
#14 0x080c75ea in main (argc=6, argv=0xbffffd14) at http_main.c:5491
---- quote ----


Thanks
Anthony

Stas Bekman wrote:

Anthony Hinsinger wrote:

Thanks Stas, i use gdb to trace to problem, and i get this when
requesting a location with a .htaccess contening my own directives (no
problem if directives are in httpd.conf).

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 28586)]
0x0807d141 in perl_section_hash_init ()
(gdb) bt
#0  0x0807d141 in perl_section_hash_init ()
#1  0x080765d4 in perl_cmd_perl_TAKE123 ()
#2  0x0807c98b in perl_cmd_perl_TAKE1 ()


Anthony, that's better but you haven't completely followed the instructions at:
http://perl.apache.org/docs/1.0/guide/help.html#How_to_Report_Problems


<QUOTE>
If you get a core file dump (Segmentation fault), please send a backtrace if possible. Before you try to produce it, re-build mod_perl with:


panic% perl Makefile.PL PERL_DEBUG=1

which will:

    * add -g to EXTRA_CFLAGS
    * turn on PERL_TRACE
    * set PERL_DESTRUCT_LEVEL=2 (additional checks during Perl cleanup)
    * link against libperld if it exists
</QUOTE>

Please do that and then produce the backtrace again. The one you provided lacks the information about the arguments and file/line numbers. Thanks.





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