crash in apache
crash in apache
От:
Markus Bertheau <twanger@bluetwanger.de>
Дата:
I got a sig 11 in an apache child process: (gdb) bt #0 0x403e53f5 in _efree () from /etc/httpd/modules/libphp4.so #1 0x408efcb0 in _notice_handler () from /usr/lib/php4/pgsql.so #2 0x40905cfe in getNotice () from /usr/lib/libpq.so.2 #3 0x4090555b in parseInput () from /usr/lib/libpq.so.2 #4 0x40905aaa in PQgetResult () from /usr/lib/libpq.so.2 #5 0x40905bdc in PQexec () from /usr/lib/libpq.so.2 #6 0x408f1514 in php_if_pg_exec () from /usr/lib/php4/pgsql.so #7 0x403f75cf in execute () from /etc/httpd/modules/libphp4.so #8 0x403f77d9 in execute () from /etc/httpd/modules/libphp4.so #9 0x403f77d9 in execute () from /etc/httpd/modules/libphp4.so #10 0x403fe637 in execute () from /etc/httpd/modules/libphp4.so #11 0x403fe637 in execute () from /etc/httpd/modules/libphp4.so #12 0x403fe637 in execute () from /etc/httpd/modules/libphp4.so #13 0x403fe637 in execute () from /etc/httpd/modules/libphp4.so #14 0x4040a67c in zend_execute_scripts () from /etc/httpd/modules/libphp4.so #15 0x4041cd14 in php_execute_script () from /etc/httpd/modules/libphp4.so #16 0x404192d1 in apache_php_module_main () from /etc/httpd/modules/libphp4.so #17 0x40419d2d in send_php () from /etc/httpd/modules/libphp4.so #18 0x40419d63 in send_parsed_php () from /etc/httpd/modules/libphp4.so #19 0x08054a3d in ap_invoke_handler () #20 0x0806725c in process_request_internal () #21 0x080672d3 in ap_process_request () #22 0x0805f727 in child_main () #23 0x0805f969 in make_child () #24 0x0805fcbb in perform_idle_server_maintenance () #25 0x0806025c in standalone_main () #26 0x08060953 in main () #27 0x4016e657 in __libc_start_main (main=0x80604d0, argc=39, ubp_av=0xbfffe234, init=0x804f3d8 <_init>, fini=0x8075080 <_fini>, rtld_fini=0x4000dcd4 <_dl_fini>, stack_end=0xbfffe22c) at ../sysdeps/generic/libc-start.c:129 (gdb) Is that pgsqls fault, phps or apaches? -- Markus Bertheau. Berlin, Berlin. Germany.
Re: crash in apache
От:
Markus Bertheau <twanger@bluetwanger.de>
Дата:
On Sun, 2002-09-08 at 21:19, Markus Bertheau wrote: > I got a sig 11 in an apache child process: This time with debug symbols: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1024 (LWP 6943)] 0x403e5425 in _efree (ptr=0x83d7154) at ../../Zend/zend_alloc.c:226 226 REMOVE_POINTER_FROM_LIST(p); (gdb) bt #0 0x403e5425 in _efree (ptr=0x83d7154) at ../../Zend/zend_alloc.c:226 #1 0x408efda9 in _free_result (rsrc=0x81e29f4) at /usr/src/redhat/BUILD/php-4.0.6/ext/pgsql/pgsql.c:202 #2 0x4040f5c1 in list_entry_destructor (ptr=0x81e29f4) at ../../Zend/zend_list.c:179 #3 0x4040e203 in zend_hash_del_key_or_index (ht=0x404fbd68, arKey=0x0, nKeyLength=0, h=29, flag=1) at ../../Zend/zend_hash.c:531 #4 0x4040f363 in zend_list_delete (id=29) at ../../Zend/zend_list.c:57 #5 0x404092bb in _zval_dtor (zvalue=0x8252244) at ../../Zend/zend_variables.c:80 #6 0x40401880 in _zval_ptr_dtor (zval_ptr=0x83ac9f0) at ../../Zend/zend_execute_API.c:261 #7 0x4040e2d8 in zend_hash_destroy (ht=0x83ac7a4) at ../../Zend/zend_hash.c:560 #8 0x4040928c in _zval_dtor (zvalue=0x8288784) at ../../Zend/zend_variables.c:75 #9 0x40401880 in _zval_ptr_dtor (zval_ptr=0x83ac5a0) at ../../Zend/zend_execute_API.c:261 #10 0x4040e2d8 in zend_hash_destroy (ht=0x404fbc4c) at ../../Zend/zend_hash.c:560 #11 0x4040165f in shutdown_executor () at ../../Zend/zend_execute_API.c:165 #12 0x4040a08f in zend_deactivate () at ../../Zend/zend.c:540 #13 0x4041bd4d in php_request_shutdown (dummy=0x0) at /usr/src/redhat/BUILD/php-4.0.6/main/main.c:660 #14 0x40419831 in php_apache_request_shutdown (dummy=0x0) at /usr/src/redhat/BUILD/php-4.0.6/sapi/apache/mod_php4.c:292 #15 0x08051e79 in run_cleanups () #16 0x0805094b in ap_clear_pool () #17 0x080509b1 in ap_destroy_pool () #18 0x0805091c in ap_clear_pool () #19 0x0805f1bd in child_main () #20 0x0805f969 in make_child () #21 0x0805fcbb in perform_idle_server_maintenance () #22 0x0806025c in standalone_main () #23 0x08060953 in main () #24 0x4016e657 in __libc_start_main (main=0x80604d0, argc=39, ubp_av=0xbffff234, init=0x804f3d8 <_init>, fini=0x8075080 <_fini>, rtld_fini=0x4000dcd4 <_dl_fini>, stack_end=0xbffff22c) at ../sysdeps/generic/libc-start.c:129 (gdb) -- Markus Bertheau. Berlin, Berlin. Germany.