> Please follow this:
> www.php.net/bugs-generating-backtrace.php

Ok, hows this:

[root@delllive /root]# gdb /usr/sbin/httpd 
GNU gdb 19991004
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-redhat-linux"...(no debugging symbols
found)...
(gdb) run -X
Starting program: /usr/sbin/httpd -X

Program received signal SIGSEGV, Segmentation fault.
0x402f5c36 in php_fopen_url_wrap_http (path=0x819eafc "", mode=0x0,
options=135600764, issock=0x8183404, socketd=0xbffff820, 
    opened_path=0x4035b198) at http_fopen_wrapper.c:143
143                     strcat(scratch, resource->pass);
(gdb) bt
#0  0x402f5c36 in php_fopen_url_wrap_http (path=0x819eafc "", mode=0x0,
options=135600764, issock=0x8183404, socketd=0xbffff820, 
    opened_path=0x4035b198) at http_fopen_wrapper.c:143
#1  0x4035b198 in yy_state_buf () at ripemd.c:401
#2  0x402962e8 in php_if_fd_clear (ht=135916284, return_value=0x0,
this_ptr=0xbffff824, return_value_used=-1073743840)
    at sockets.c:340
#3  0x402f302e in php_if_levenshtein (ht=135916284, return_value=0x0,
this_ptr=0x4035b198, return_value_used=0)
    at levenshtein.c:112
#4  0x402f3130 in php_if_levenshtein (ht=135916284, return_value=0x0,
this_ptr=0x4035b198, return_value_used=23)
    at levenshtein.c:113
#5  0x402f2b7f in reference_levdist (s1=0x1 <Address 0x1 out of bounds>,
l1=0, s2=0x4035b198 "xæ\026", l2=33552612, 
    cost_ins=-1073743644, cost_rep=1076157160, cost_del=1) at
levenshtein.c:52
#6  0x402f2c8c in reference_levdist (s1=0x1 <Address 0x1 out of bounds>,
l1=1077260696, s2=0x40370220 "45\023\b$\001\022\b", 
    l2=135478660, cost_ins=-1073743636, cost_rep=1076159160,
cost_del=135392092) at levenshtein.c:65
#7  0x4024dae8 in php_if_apache_lookup_uri (ht=135476532,
return_value=0x0, this_ptr=0x4035b198, return_value_used=23)
    at php_apache.c:377
#8  0x4024e747 in php_error_cb (type=135476532, error_filename=0x0,
error_lineno=135477900, format=0x8112214 "ß\2303@hç$@\027", 
    args=0xbffff94c) at main.c:391
#9  0x4024e785 in php_error_cb (type=135476532, error_filename=0x0,
error_lineno=135476532, format=0x813355c "D\001\022\bé\003", 
    args=0x1f4) at main.c:403
#10 0x805345e in ap_invoke_handler () at ripemd.c:401
#11 0x80618fb in ap_some_auth_required () at ripemd.c:401
#12 0x8061bd6 in ap_internal_redirect () at ripemd.c:401
#13 0x401c6db5 in ?? () at ripemd.c:401 from
/etc/httpd/modules/mod_dir.so
#14 0x805345e in ap_invoke_handler () at ripemd.c:401
#15 0x80618fb in ap_some_auth_required () at ripemd.c:401
#16 0x8061958 in ap_process_request () at ripemd.c:401
#17 0x805b940 in ap_child_terminate () at ripemd.c:401
#18 0x805baa7 in ap_child_terminate () at ripemd.c:401
#19 0x805bba8 in ap_child_terminate () at ripemd.c:401
#20 0x805c058 in ap_child_terminate () at ripemd.c:401
#21 0x805c65f in main () at ripemd.c:401
#22 0x400bc9cb in __libc_start_main (main=0x805c3e0 <main>, argc=2,
argv=0xbffffb24, init=0x804f014 <_init>, 
    fini=0x807b99c <_fini>, rtld_fini=0x4000ae60 <_dl_fini>,
stack_end=0xbffffb1c) at ../sysdeps/generic/libc-start.c:92
(gdb) 

-- 
Richard Heyes

--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to