ID: 38961 User updated by: nikolas dot hagelstein at gmail dot com Reported By: nikolas dot hagelstein at gmail dot com -Status: Feedback +Status: Open Bug Type: Reproducible crash Operating System: Netbsd 3.0.1 AMD64 PHP Version: 5.1.6 New Comment:
sorry folks you have been right it seems as if the pkgsrc process somehow stripes debug informations :|. Anyway here is what i got using a native build process and the native sources (without the latest cvs patch provided by iliaa) Program received signal SIGSEGV, Segmentation fault. 0x00000000004a00ff in metaphone (word=0x8127c0 "ö", word_len=2, max_phonemes=0, phoned_word=0x7f7fffffcc70, traditional=1) at /usr/local/src/php-5.1.6/ext/standard/metaphone.c:195 195 for (; !isalpha(Curr_Letter); w_idx++) { (gdb) bt #0 0x00000000004a00ff in metaphone (word=0x8127c0 "ö", word_len=2, max_phonemes=0, phoned_word=0x7f7fffffcc70, traditional=1) at /usr/local/src/php-5.1.6/ext/standard/metaphone.c:195 #1 0x000000000049ff40 in zif_metaphone (ht=1, return_value=0x812840, return_value_ptr=0x0, this_ptr=0x0, return_value_used=1) at /usr/local/src/php-5.1.6/ext/standard/metaphone.c:46 #2 0x0000000000561366 in zend_do_fcall_common_helper_SPEC ( execute_data=0x7f7fffffce20) at zend_vm_execute.h:200 #3 0x000000000056493d in ZEND_DO_FCALL_SPEC_CONST_HANDLER ( execute_data=0x7f7fffffce20) at zend_vm_execute.h:1640 #4 0x0000000000560e6a in execute (op_array=0x783c40) at zend_vm_execute.h:92 #5 0x000000000053ddf6 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /usr/local/src/php-5.1.6/Zend/zend.c:1109 #6 0x00000000004eed77 in php_execute_script (primary_file=0x7f7fffffe7c0) at /usr/local/src/php-5.1.6/main/main.c:1737 #7 0x00000000005b1cd7 in main (argc=2, argv=0x7f7fffffe8c0) at /usr/local/src/php-5.1.6/sapi/cgi/cgi_main.c:1612 Previous Comments: ------------------------------------------------------------------------ [2006-09-26 17:28:04] [EMAIL PROTECTED] Please do the following: #1 fetch http://snaps.php.net/php5.2-200609261630.tar.bz2 #2 extract it #3 cd into the directory #4 ./configure --disable-all --enable-debug #5 make #6 sapi/cli/php your_test_file.php ------------------------------------------------------------------------ [2006-09-26 17:07:51] nikolas dot hagelstein at gmail dot com it is php -v returns (DEBUG) which indicates that it has been build with enable-debug: PHP 5.1.6 (cli) (built: Sep 26 2006 18:33:22) (DEBUG) ------------------------------------------------------------------------ [2006-09-26 17:06:29] [EMAIL PROTECTED] ..or your PHP binary is stripped. Just get the sources, compile them with ./configure --enable-debug --disable-all and use the sapi/cli/php binary. ------------------------------------------------------------------------ [2006-09-26 17:02:49] [EMAIL PROTECTED] Well, your PHP is built without --enable-debug, that's the fact. ------------------------------------------------------------------------ [2006-09-26 17:00:46] nikolas dot hagelstein at gmail dot com yes ...it is: Starting program: /usr/pkg/bin/php /var/www/www.chaosbutze.de/htdocs/test.php (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)... Program received signal SIGSEGV, Segmentation fault. 0x000000000051bb0f in zif_metaphone () (gdb) bt #0 0x000000000051bb0f in zif_metaphone () #1 0x000000000051b9e2 in zif_metaphone () #2 0x00000000005bfa95 in execute () #3 0x00000000005bf21c in execute () #4 0x00000000005a2ef6 in zend_execute_scripts () #5 0x0000000000562c09 in php_execute_script () #6 0x00000000006133e9 in main () #7 0x0000000000440aa8 in ___start () i even tried -e but without any success... ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/38961 -- Edit this bug report at http://bugs.php.net/?id=38961&edit=1