Apache child Segfault
| From: | Chris Weiss | Date: | Wed, 21 Jun 2000 14:03:26 +0000 |
| Subject: | Apache child Segfault | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-21903@lists.php.net to get a copy of this message | ||
It appears that every time PHP4.0.1 (updated from CVS and complied 30 min ago)
serves a page that make an IMAP mailbox call I get this in my apache error_log:
[notice] child pid 5243 exit signal Segmentation fault (11)
This doesn't happen on any pages that are PHP only or on pages that make MySql
calls. For full config info see http://mail.free-source.com/horde/test.php.
here is the full debug and bt:
[root@penguin /usr]# gdb httpd
GNU gdb 4.18
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
(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x40365b66 in div_function (result=0x81bb660, op1=0x4043d34c, op2=0x81f948c) at
zend_operators.c:650
650 result->value.dval = op1->value.dval / op2->value.dval;
(gdb) bt
#0 0x40365b66 in div_function (result=0x81bb660, op1=0x4043d34c, op2=0x81f948c)
at zend_operators.c:650
#1 0x4043d34c in yy_state_buf () from /usr/lib/apache/libphp4.so
#2 0x4036f9a4 in zend_if_get_class_methods (ht=136254636,
return_value=0x4043d34c, this_ptr=0x80d8ea0,
return_value_used=-1073743432) at zend_builtin_functions.c:570
#3 0x4036b928 in zend_load_extension (path=0x81f948c
"\030\024\037\b\024\037\b\005\001") at zend_extensions.c:63
#4 0x40365b7b in div_function (result=0x80d8ea0, op1=0x4043d34c, op2=0x81ba0e4)
at zend_operators.c:653
#5 0x4036f9a4 in zend_if_get_class_methods (ht=136033588,
return_value=0x4043d34c, this_ptr=0x81bba00,
return_value_used=-1073743368) at zend_builtin_functions.c:570
#6 0x4036b8ff in zend_load_extension (path=0x81ba0e4 "4¾\e\b\025") at
zend_extensions.c:60
#7 0x40365b7b in div_function (result=0x81bba00, op1=0x4043d34c, op2=0x81bba34)
at zend_operators.c:653
#8 0x4036f9a4 in zend_if_get_class_methods (ht=135803708,
return_value=0x4043d34c, this_ptr=0x81bba34,
return_value_used=136271788) at zend_builtin_functions.c:570
#9 0x4036730f in concat_function (result=0x81f0eac, op1=0x4043d34c,
op2=0xbffffa58) at zend_operators.c:968
#10 0x4036725a in add_string_to_string (result=0x81f0eac, op1=0x4043d34c,
op2=0x81f1418) at zend_operators.c:939
#11 0x4036f9a4 in zend_if_get_class_methods (ht=136254512,
return_value=0x81bb8f4, this_ptr=0x80d9674,
return_value_used=1078186828) at zend_builtin_functions.c:570
#12 0x403672b9 in concat_function (result=0x81f1418, op1=0x4043d34c,
op2=0x81f13e8) at zend_operators.c:959
#13 0x4036fb0d in zend_if_class_exists (ht=135124696, return_value=0x81f13e8,
this_ptr=0x4043d34c, return_value_used=1078262984)
at zend_builtin_functions.c:602
#14 0x4036fc62 in zend_if_function_exists (ht=135124696,
return_value=0x403656bc, this_ptr=0x80dd6a8, return_value_used=1077302952)
at zend_builtin_functions.c:626
#15 0x403659f1 in div_function (result=0x4043d34c, op1=0xbffffae8,
op2=0x4037aed1) at zend_operators.c:622
#16 0x4036c5fa in zend_hash_index_update_or_next_insert (ht=0x4043d34c,
h=3221224184, pData=0x40378dec, nDataSize=0,
pDest=0x810cf90, flag=-1073742824) at zend_hash.c:423
#17 0x4037aed1 in cfg_init_buffer (b=0x0, file=0x810cf90) at
configuration-scanner.c:1524
#18 0x40378dec in cfg_get_double (varname=0x0, result=0x80b26b0) at
/usr/src/cvs/php4/main/configuration-parser.y:104
#19 0x805356b in ap_bytes_in_free_blocks () from /usr/lib/liblber.so.1
#20 0x805e91e in ap_update_child_status () from /usr/lib/liblber.so.1
Cannot access memory at address 0x3950cb14.
Chris