嘗試開始使用phpunit,無法正確安裝/設置。當我運行它時,命令行出現分段錯誤。PHPUnit獲取分段錯誤
Environment:
OSX 10.6.4
PHP 5.3.2 (cli) (built: Aug 7 2010 00:04:41)
About pear.phpunit.de/PHPUnit-3.4.9
我嘗試禁用Xdebug的php.ini中,仍然得到了錯誤 - 唯一的區別是它沒有在崩潰報告中出現。我有一個php的macports安裝,我刪除了。我也刪除了phpunit並重新安裝它。這裏是細節:
Process: php [13366]
Path: /usr/bin/php
Identifier: php
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: bash [12089]
Date/Time: 2010-10-04 09:40:08.035 -0400
OS Version: Mac OS X 10.6.4 (10F569)
Report Version: 6
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: 0x000000000000000d, 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 inclued.so 0x0000000100bf3e44 inclued_op_ZEND_ADD_INTERFACE + 308
1 php 0x000000010033c4bd ZEND_USER_OPCODE_SPEC_HANDLER + 29
2 php 0x000000010033984d execute + 585
3 xdebug.so 0x0000000100d05f11 xdebug_execute + 3079
4 php 0x0000000100347cd6 ZEND_INCLUDE_OR_EVAL_SPEC_CONST_HANDLER + 922
5 php 0x000000010033984d execute + 585
6 xdebug.so 0x0000000100d05f11 xdebug_execute + 3079
7 php 0x0000000100347cd6 ZEND_INCLUDE_OR_EVAL_SPEC_CONST_HANDLER + 922
8 php 0x000000010033984d execute + 585
9 xdebug.so 0x0000000100d05f11 xdebug_execute + 3079
10 php 0x0000000100347cd6 ZEND_INCLUDE_OR_EVAL_SPEC_CONST_HANDLER + 922
11 php 0x000000010033984d execute + 585
12 xdebug.so 0x0000000100d05f11 xdebug_execute + 3079
13 php 0x0000000100347cd6 ZEND_INCLUDE_OR_EVAL_SPEC_CONST_HANDLER + 922
14 php 0x000000010033984d execute + 585
15 xdebug.so 0x0000000100d05f11 xdebug_execute + 3079
16 php 0x0000000100318558 zend_execute_scripts + 376
17 php 0x00000001002caec5 php_execute_script + 732
18 php 0x0000000100394b9c main + 3646
19 php 0x0000000100001164 start + 52
任何幫助,非常感謝!
感謝
-Doug
我之前禁用了xdebug。唯一的區別是它沒有出現在轉儲 - 我仍然有seg故障。 – 2010-10-05 17:08:14