RE: [PHP-GENERAL] php4 segfaulting
| From: | Kari Asikainen | Date: | Tue, 06 Jun 2000 07:09:00 +0000 |
| Subject: | RE: [PHP-GENERAL] php4 segfaulting | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-1118@lists.php.net to get a copy of this message | ||
> Could you generate a gdb backtrace?
>
> Run httpd -X under gdb
I compiled PHP again without the --disable-debug for this test.
Here's the output from gdb:
(gdb) set args -X -f /etc/httpd/conf/httpsd.conf.debug
(gdb) run
Starting program: /usr/sbin/httpsd -X -f /etc/httpd/conf/httpsd.conf.debug
Launching... /usr/bin/gcache
pid=22567
Launching... /usr/bin/gcache
pid=22569
Program received signal SIGSEGV, Segmentation fault.
0x0 in ?? ()
(gdb) bt
#0 0x0 in ?? ()
#1 0x4020726b in php_if_uksort (ht=-1073793260, return_value=0xbfff3718,
this_ptr=0x4030cd08, return_value_used=1075873652) at array.c:668
#2 0x401cfbfd in zend_if_func_get_args (ht=138482036,
return_value=0x40207234,
this_ptr=0x0, return_value_used=-1073793208) at
zend_builtin_functions.c:197
#3 0x402087f6 in php_if_range (ht=1, return_value=0x8418ccc, this_ptr=0x0,
return_value_used=1) at array.c:1269
#4 0x401bfbfe in execute (op_array=0x832931c) at ./zend_execute.c:1820
#5 0x401a9217 in cfgparse ()
at /home/zeev/php4/php-4.0.0//configuration-parser.y:530
#6 0x401d79a0 in php_if_apache_note (ht=136041180, return_value=0x12,
this_ptr=0x0, return_value_used=136041180) at php_apache.c:151
#7 0x401d82c4 in php_if_apache_lookup_uri (ht=136041180, return_value=0x0,
this_ptr=0x81bdde4, return_value_used=1075675876) at php_apache.c:373
#8 0x401d8300 in php_if_apache_lookup_uri (ht=136041180, return_value=0x1,
this_ptr=0x1f4, return_value_used=23) at php_apache.c:376
#9 0x80878a3 in ap_invoke_handler ()
#10 0x809af19 in process_request_internal ()
#11 0x809af7c in ap_process_request ()
#12 0x80927fc in child_main ()
#13 0x809298c in make_child ()
#14 0x8092ae9 in startup_children ()
#15 0x8093116 in standalone_main ()
#16 0x80938a3 in main ()
#17 0x4007e9cb in __libc_start_main (main=0x809355c <main>, argc=4,
argv=0xbffffcf4, init=0x8067440 <_init>, fini=0x812497c <_fini>,
rtld_fini=0x4000ae60 <_dl_fini>, stack_end=0xbffffcec)
at ../sysdeps/generic/libc-start.c:92
(gdb)
-Kari