xdebug调试php,apache2报signal segmentation fault 错误

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
aleiphoenix
帖子: 3
注册时间: 2010-06-02 12:16
送出感谢: 0
接收感谢: 0

xdebug调试php,apache2报signal segmentation fault 错误

#1

帖子 aleiphoenix » 2010-11-22 21:01

系统环境是: ubuntu 10.10 x64
服务器组件和模块:

代码: 全选

Server version: Apache/2.2.16 (Ubuntu)
Server built:   Sep  8 2010 12:53:28
Loaded Modules:
 core_module (static)
 log_config_module (static)
 logio_module (static)
 mpm_prefork_module (static)
 http_module (static)
 so_module (static)
 alias_module (shared)
 auth_basic_module (shared)
 authn_file_module (shared)
 authz_default_module (shared)
 authz_groupfile_module (shared)
 authz_host_module (shared)
 authz_user_module (shared)
 autoindex_module (shared)
 cgi_module (shared)
 deflate_module (shared)
 dir_module (shared)
 env_module (shared)
 mime_module (shared)
 negotiation_module (shared)
 php5_module (shared)
 reqtimeout_module (shared)
 rewrite_module (shared)
 setenvif_module (shared)
 status_module (shared)
PHP版本:

代码: 全选

PHP 5.3.3-1ubuntu9.1 with Suhosin-Patch (cli) (built: Oct 15 2010 14:00:18) 
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
    with Xdebug v2.1.0, Copyright (c) 2002-2010, by Derick Rethans
PHP模块:

代码: 全选

[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dba
dom
ereg
exif
fileinfo
filter
ftp
gettext
hash
iconv
json
libxml
mbstring
memcache
mhash
mysql
mysqli
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
readline
Reflection
session
shmop
SimpleXML
soap
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xdebug
xml
xmlreader
xmlwriter
zip
zlib

[Zend Modules]
Xdebug
apache2的error.log内容:

代码: 全选

[Fri Nov 19 14:26:02 2010] [notice] child pid 4510 exit signal Segmentation fault (11)
症状:
在eclipse里用xdebug调试php,运行开始后断电停下,随便哪种继续(run、step in、step over、step out)都直接报错,如error.log内容,浏览器里弹出php文件下载。
不不用debug直接运行网站是正常的,求教是什么原因?

补充:
搜索一些老外的结果,都是说xdebug设置问题,有些还说是引号全角问题的,这里都检查过没问题;重装apache2、php5、php5-cli、xdebug等也没用。尝试自己编译apache2和xdebug也没用……

请教一下还有什么解决办法不?谢谢。
aleiphoenix
帖子: 3
注册时间: 2010-06-02 12:16
送出感谢: 0
接收感谢: 0

Re: xdebug调试php,apache2报signal segmentation fault 错误

#2

帖子 aleiphoenix » 2010-11-24 16:03

回来告知一下,问题已经解决。

在Eclipse下Expressions监视列表里某些东西造成这个问题。把Expression里都删除就好了……
回复

回到 “服务器基础应用”