My Apache 1.3.12 server with PHP 4.0.4 and MySQL 3.23.27, occationally spits out a Segmentation fault in the error_log. I'm not entirely sure which page is being loaded at the time, and I'm not sure of what exactly is being done, so I thought I'd try to do some tracing with gdb, which I have never ever used before this date. Can someone read out any information from this output I've struggled hard to gather? :-) To me, it seems to be a problem with memory allocation or something similar, but I'm not sure why since the scripts on the actual server is not doing anything special really. I'm running a RedHat 7.0 installation on a 1 ghz Intel box with 512 mb of ram. Total memory usage is not high. Other servers I have with a much higher load and also running PHP have never had this problem. So what does this stuff mean now: Attempt #1: ========= (gdb) set args -X -f /home/httpd/conf/httpd.conf (gdb) r Starting program: /home/httpd/bin/httpd -X -f /home/httpd/conf/httpd.conf Program received signal SIGSEGV, Segmentation fault. 0x80ef78d in _efree (ptr=0x829a7e0) at zend_alloc.c:212 212 REMOVE_POINTER_FROM_LIST(p); Attempt #2: ========= (gdb) set args -X -f /home/httpd/conf/httpd.conf (gdb) r Starting program: /home/httpd/bin/httpd -X -f /home/httpd/conf/httpd.conf Program received signal SIGSEGV, Segmentation fault. 0x401ae964 in chunk_alloc (ar_ptr=0x40251ce0, nb=16) at malloc.c:2770 2770 malloc.c: No such file or directory. (gdb) BT #0 0x401ae964 in chunk_alloc (ar_ptr=0x40251ce0, nb=16) at malloc.c:2770 #1 0x401ae7e6 in __libc_malloc (bytes=8) at malloc.c:2703 #2 0x80eeb88 in virtual_file_ex (state=0xbfff9158, path=0x82dcef4 "header.html", verify_path=0) at tsrm_virtual_cwd.c:307 #3 0x8089842 in expand_filepath (filepath=0x82dcef4 "header.html", real_path=0x0) at fopen-wrappers.c:977 #4 0x8088370 in php_fopen_and_set_opened_path (path=0x82dcef4 "header.html", mode=0x81b5183 "rb", opened_path=0xbfffb398) at fopen-wrappers.c:248 #5 0x808881a in php_fopen_with_path (filename=0x82dcef4 "header.html", mode=0x81b5183 "rb", path=0x0, opened_path=0xbfffb398) at fopen-wrappers.c:399 #6 0x8089647 in php_fopen_url_wrapper (path=0x82dcef4 "header.html", mode=0x81b5183 "rb", options=1, issock=0xbfffb2a4, socketd=0xbfffb2a8, opened_path=0xbfffb398) at fopen-wrappers.c:899 #7 0x80851ca in php_fopen_wrapper_for_zend (filename=0x82dcef4 "header.html", opened_path=0xbfffb398) at main.c:493 #8 0x81013c6 in open_file_for_scanning (file_handle=0xbfffb390) at zend-scanner.c:2830 #9 0x81014de in compile_file (file_handle=0xbfffb390, type=2) at zend-scanner.c:2928 #10 0x810164a in compile_filename (type=2, filename=0x8335ff4) at zend-scanner.c:2982 #11 0x8121dc0 in execute (op_array=0x830a51c) at ./zend_execute.c:2014 #12 0x80fae0d in zend_execute_scripts (type=8, file_count=3) at zend.c:717 #13 0x8085f5f in php_execute_script (primary_file=0xbffff790) at main.c:1200 #14 0x8104da0 in apache_php_module_main (r=0x82a90bc, display_source_mode=0) at sapi_apache.c:89 #15 0x8083a70 in send_php () #16 0x8083aa5 in send_parsed_php () #17 0x812a1e9 in ap_invoke_handler () #18 0x813e39f in process_request_internal () #19 0x813e400 in ap_process_request () #20 0x813581d in child_main () #21 0x81359c8 in make_child () #22 0x8135b38 in startup_children () #23 0x8136176 in standalone_main () #24 0x81369b7 in main () #25 0x4014fb65 in __libc_start_main (main=0x8136610 <main>, argc=4, ubp_av=0xbffffb14, init=0x806afec <_init>, fini=0x81af0ec <_fini>, rtld_fini=0x4000df24 <_dl_fini>, stack_end=0xbffffb0c) at ../sysdeps/generic/libc-start.c:111 --- Johan Björk -- PHP General 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]