You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Rodrigo Werneck Silva <ro...@labhpardini.com.br> on 2002/02/27 17:10:59 UTC

segmentation faults

I'm running apache 1.3.22 and seing a lot of segmentation faults in the error_log file like those:
------
[Wed Feb 27 12:56:54 2002] [notice] child pid 23874 exit signal Segmentation fault (11)
[Wed Feb 27 12:56:54 2002] [notice] child pid 23857 exit signal Segmentation fault (11)
[Wed Feb 27 12:56:54 2002] [notice] child pid 23412 exit signal Segmentation fault (11)
------

I've tried to GDBug a lot of httpd processes and could catch the segmentation fault just twice so far.
In the first it was my mod_weblink the module which caused the segfault. In the second mod_php4 was aparently the bad guy.
For the latter, Backtrace follows:
------
#0  0x401cedf0 in chunk_free (ar_ptr=0x40277f00, p=0x81d6d08) at malloc.c:3131
#1  0x401ced59 in __libc_free (mem=0x81d6d40) at malloc.c:3054
#2  0x4043f984 in _efree (ptr=0x81d6d4c) at zend_alloc.c:246
#3  0x404568ed in _zval_dtor (zvalue=0x81dba7c) at zend_variables.c:44
#4  0x40451006 in destroy_op_array (op_array=0x81d6c8c) at zend_opcode.c:159
#5  0x40450eee in destroy_zend_function (function=0x81d6c8c)
    at zend_opcode.c:100
#6  0x4045c543 in zend_hash_destroy (ht=0x81ffb00) at zend_hash.c:541
#7  0x40450f57 in destroy_zend_class (ce=0x81ffae8) at zend_opcode.c:124
#8  0x4045c476 in zend_hash_del_key_or_index (ht=0x81a08b8, 
    arKey=0x81f40f8 "class_bd", nKeyLength=9, h=2450614610, flag=0)
    at zend_hash.c:512
#9  0x4045ca33 in zend_hash_reverse_apply (ht=0x81a08b8, 
    apply_func=0x4044ec98 <is_not_internal_class>) at zend_hash.c:743
#10 0x4044efed in shutdown_executor () at zend_execute_API.c:189
#11 0x404578e2 in zend_deactivate () at zend.c:600
#12 0x40464598 in php_request_shutdown (dummy=0x0) at main.c:735
#13 0x4046198c in apache_php_module_main (r=0x81b95ac, display_source_mode=0)
    at sapi_apache.c:96
#14 0x4046240e in send_php (r=0x81b95ac, display_source_mode=0, filename=0x0)
    at mod_php4.c:575
#15 0x40462462 in send_parsed_php (r=0x81b95ac) at mod_php4.c:590
#16 0x08054683 in ap_invoke_handler () at eval.c:41
#17 0x08068ddb in process_request_internal () at eval.c:41
---Type <return> to continue, or q <return> to quit---
#18 0x08068e3c in ap_process_request () at eval.c:41
#19 0x0806017d in child_main () at eval.c:41
#20 0x0806040f in make_child () at eval.c:41
#21 0x080604c0 in startup_children () at eval.c:41
#22 0x08060b3c in standalone_main () at eval.c:41
#23 0x080613b7 in main () at eval.c:41
#24 0x4016b177 in __libc_start_main (main=0x8060ffc <main>, argc=96, 
    ubp_av=0xbffff3ec, init=0x804eba4 <_init>, fini=0x80802c0 <_fini>, 
    rtld_fini=0x4000e184 <_dl_fini>, stack_end=0xbffff3dc)
    at ../sysdeps/generic/libc-start.c:129

------

Any hint?