Re: [PHP4BETA] Segmantation fault

From: Date: Sat, 04 Dec 1999 22:18:03 +0000
Subject: Re: [PHP4BETA] Segmantation fault
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-7422@lists.php.net to get a copy of this message
Are you sure your build is ok? Try a clean build, there were some changes in header files. Zeev At 23:02 04/12/1999 , Vadim Tkachenko wrote:
Latest CVS. Apache 1.3.9 on RedHat 6.0 Starting program: /usr/apache-php4/bin/httpd -X 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=9) at malloc.c:2616 #2 0x400c0e29 in __strdup (s=0x8112590 "auth.inc") at strdup.c:43 #3 0x4016f233 in php3_fopen_with_path (filename=0x8112590 "auth.inc", mode=0x401fc983 "r", path=0x0,
    opened_path=0xbfffef0c) at fopen-wrappers.c:372
#4 0x401706d4 in php3_fopen_url_wrapper (path=0x8112590 "auth.inc", mode=0x401fc983 "r", options=1, issock=0xbfffee00,
    socketd=0xbfffee04, opened_path=0xbfffef0c) at fopen-wrappers.c:890
#5 0x4016eef3 in php3_fopen_wrapper (path=0x8112590 "auth.inc", mode=0x401fc983 "r", options=1, issock=0xbfffee00,
    socketd=0xbfffee04, opened_path=0xbfffef0c) at fopen-wrappers.c:193
#6 0x4016b0f3 in php_fopen_wrapper_for_zend (filename=0x8112590 "auth.inc", opened_path=0xbfffef0c) at main.c:576 #7 0x401ae67b in open_file_for_scanning (file_handle=0xbfffef04) at /usr/install/php4/./libzend/zend-scanner.l:249 #8 0x401ae83e in v_compile_files (mark_as_ref=1, file_count=1, files=0xbfffeedc)
    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=0x8154bd0, unique=0) at /usr/install/php4/./libzend/zend-scanner.l:400 #11 0x4019e1b8 in execute (op_array=0x8112900) at zend_execute.c:1887 #12 0x4016c51b in php_execute_script (primary_file=0xbffffa84) at main.c:1226 #13 0x401b3194 in apache_php_module_main (r=0x80fed24, fd=19, display_source_mode=0) at sapi_apache.c:88 #14 0x401b38aa in send_php (r=0x80fed24, display_source_mode=0, filename=0x80ff85c "/usr/apache-php4/htdocs/search.phtml")
    at mod_php4.c:332
#15 0x401b3904 in send_parsed_php (r=0x80fed24) at mod_php4.c:344 #16 0x806a7f7 in ap_invoke_handler () #17 0x807f0fc in process_request_internal () #18 0x807f172 in ap_process_request () #19 0x8076300 in child_main () #20 0x80764b5 in make_child () #21 0x8076634 in startup_children () #22 0x8076c9d in standalone_main () #23 0x80774bc in main () #24 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 Starting program: /usr/apache-php4/bin/httpd -X Program received signal SIGSEGV, Segmentation fault. 0x400bbc61 in chunk_alloc (ar_ptr=0x4014c580, nb=80) at malloc.c:2672 malloc.c:2672: No such file or directory. (gdb) bt #0 0x400bbc61 in chunk_alloc (ar_ptr=0x4014c580, nb=80) at malloc.c:2672 #1 0x400bbb8a in __libc_malloc (bytes=72) at malloc.c:2616 #2 0x401aa715 in zend_hash_add_or_update (ht=0x80edff8, arKey=0x8107de0 "buildurlquery", nKeyLength=14, pData=0x815bc18,
    nDataSize=72, pDest=0x0, flag=2) at zend_hash.c:189
#3 0x4017a9ae in do_bind_function_or_class (opline=0x8102c78, function_table=0x80edff8, class_table=0x80ee028,
    compile_time=1) at zend_compile.c:1008
#4 0x4017acc7 in do_early_binding () at zend_compile.c:1090 #5 0x40175399 in zendparse () at /usr/install/php4/./libzend/zend-parser.y:140 #6 0x401ae874 in v_compile_files (mark_as_ref=0, file_count=3, files=0xbffff9f0)
    at /usr/install/php4/./libzend/zend-scanner.l:355
#7 0x401ae768 in compile_files (mark_as_ref=0, file_count=3) at /usr/install/php4/./libzend/zend-scanner.l:325 #8 0x4016c4e9 in php_execute_script (primary_file=0xbffffa84) at main.c:1222 #9 0x401b3194 in apache_php_module_main (r=0x80feb04, fd=19, display_source_mode=0) at sapi_apache.c:88 #10 0x401b38aa in send_php (r=0x80feb04, display_source_mode=0,
    filename=0x80ff63c "/usr/apache-php4/htdocs/category.phtml") at
mod_php4.c:332 #11 0x401b3904 in send_parsed_php (r=0x80feb04) at mod_php4.c:344 #12 0x806a7f7 in ap_invoke_handler () #13 0x807f0fc in process_request_internal () #14 0x807f172 in ap_process_request () #15 0x8076300 in child_main () #16 0x80764b5 in make_child () #17 0x8076634 in startup_children () #18 0x8076c9d in standalone_main () #19 0x80774bc in main () #20 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 -- PHP 4.0 Beta Mailing List <http://www.php.net/version4/> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net For additional commands, e-mail: php4beta-help@lists.php.net To contact the list administrators, e-mail: php4beta-admin@lists.php.net
-- Zeev Suraski <zeev@zend.com> http://www.zend.com/

« previous php.version4 (#7422) next »