Re: [PHP4BETA] Segmantation fault

From: Date: Sun, 05 Dec 1999 08:50:41 +0000
Subject: Re: [PHP4BETA] Segmantation fault
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-7435@lists.php.net to get a copy of this message
My steps: 1. I delete all files in old CVS. 2. I download latest CVS (05-12-1999, 8:00 (GDM)) 3. ./buildconf 4. ./configure --with-apxs=... --with-mysql --enable-track-vars 5. ./make 6. ./make install 7. run Apache. read http://localhost/page1.php - all ok goto http://localhost/page2.php - all ok return to http://localhost/page1.php - segmentation fault Program received signal SIGSEGV, Segmentation fault. 0x400bbc61 in chunk_alloc (ar_ptr=0x4014c580, nb=16) at malloc.c:2672 malloc.c:2672: No such file or directory. (gdb) bt #0 0x400bbc61 in chunk_alloc (ar_ptr=0x4014c580, nb=16) at malloc.c:2672 #1 0x400bbb8a in __libc_malloc (bytes=11) at malloc.c:2616 #2 0x400c0e29 in __strdup (s=0x811dba0 "config.inc") at strdup.c:43 #3 0x4016f233 in php3_fopen_with_path (filename=0x811dba0 "config.inc", mode=0x401fc983 "r", path=0x0, opened_path=0xbfffe1fc) at fopen-wrappers.c:372 #4 0x401706d4 in php3_fopen_url_wrapper (path=0x811dba0 "config.inc", mode=0x401fc983 "r", options=1, issock=0xbfffe0f0, socketd=0xbfffe0f4, opened_path=0xbfffe1fc) at fopen-wrappers.c:890 #5 0x4016eef3 in php3_fopen_wrapper (path=0x811dba0 "config.inc", mode=0x401fc983 "r", options=1, issock=0xbfffe0f0, socketd=0xbfffe0f4, opened_path=0xbfffe1fc) at fopen-wrappers.c:193 #6 0x4016b0f3 in php_fopen_wrapper_for_zend (filename=0x811dba0 "config.inc", opened_path=0xbfffe1fc) at main.c:576 #7 0x401ae67b in open_file_for_scanning (file_handle=0xbfffe1f4) at /usr/install/php4/./libzend/zend-scanner.l:249 #8 0x401ae83e in v_compile_files (mark_as_ref=1, file_count=1, files=0xbfffe1cc) at /usr/install/php4/./libzend/zend-scanner.l:351 #9 0x401ae768 in compile_files (mark_as_ref=1, file_count=1) at /usr/install/php4/./libzend/zend-scanner.l:325 #10 0x401aea10 in compile_filename (filename=0x8157348, unique=0) at /usr/install/php4/./libzend/zend-scanner.l:400 #11 0x4019e1b8 in execute (op_array=0x8113368) at zend_execute.c:1887 #12 0x4019e24e in execute (op_array=0x8112550) at zend_execute.c:1896 #13 0x4016c51b in php_execute_script (primary_file=0xbffffa84) at main.c:1226 #14 0x401b3194 in apache_php_module_main (r=0x80feb04, fd=19, display_source_mode=0) at sapi_apache.c:88 #15 0x401b38aa in send_php (r=0x80feb04, display_source_mode=0, filename=0x80ff63c "/usr/apache-php4/htdocs/search.phtml") at mod_php4.c:332 #16 0x401b3904 in send_parsed_php (r=0x80feb04) at mod_php4.c:344 #17 0x806a7f7 in ap_invoke_handler () #18 0x807f0fc in process_request_internal () #19 0x807f172 in ap_process_request () #20 0x8076300 in child_main () #21 0x80764b5 in make_child () #22 0x8076634 in startup_children () #23 0x8076c9d in standalone_main () #24 0x80774bc in main () #25 0x4007bcb3 in __libc_start_main (main=0x8077140 <main>, argc=2, argv=0xbffffd24, init=0x804ec10 <_init>, fini=0x80accbc <_fini>, rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffffd1c) at ../sysdeps/generic/libc-start.c:78 Regards, Vadim Tkachenko

« previous php.version4 (#7435) next »