Debian PHP5.3.3-7 上的分段错误
我刚刚开始在 php.ini 中遇到分段错误。事情从昨天晚上开始。我没有更改任何代码,但它必须处理的数据量增加了,因此可能是内存问题。
命令:php console.php 检索所有
!!RetrieveCommand loaded.
@@time = 1306408225
[[ opkotingent
?? fetching data
?? data fetch succesfull
Segmentation fault
GDB 输出:
Program received signal SIGSEGV, Segmentation fault.
ZEND_FE_FETCH_SPEC_VAR_HANDLER (execute_data=0x7ffff094bc48) at /build/buildd-php5_5.3.3-7+squeeze1-amd64-ihNnkV/php5-5.3.3/Zend/zend.h:381
381 /build/buildd-php5_5.3.3-7+squeeze1-amd64-ihNnkV/php5-5.3.3/Zend/zend.h: No such file or directory.
in /build/buildd-php5_5.3.3-7+squeeze1-amd64-ihNnkV/php5-5.3.3/Zend/zend.h
I just started getting segmentation faults in php. It started yesterdag evening. I didnt change any of my code but the amount of data it has to handle is increased in size so it could be a memory problem.
Command :php console.php retrieve all
!!RetrieveCommand loaded.
@@time = 1306408225
[[ opkotingent
?? fetching data
?? data fetch succesfull
Segmentation fault
GDB Output :
Program received signal SIGSEGV, Segmentation fault.
ZEND_FE_FETCH_SPEC_VAR_HANDLER (execute_data=0x7ffff094bc48) at /build/buildd-php5_5.3.3-7+squeeze1-amd64-ihNnkV/php5-5.3.3/Zend/zend.h:381
381 /build/buildd-php5_5.3.3-7+squeeze1-amd64-ihNnkV/php5-5.3.3/Zend/zend.h: No such file or directory.
in /build/buildd-php5_5.3.3-7+squeeze1-amd64-ihNnkV/php5-5.3.3/Zend/zend.h
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这可能是内存不足的结果。如果您确定没有内存不足,那么您可能遇到了错误。如果没有源代码,进一步调试将非常困难。
This can be the result of running out of memory. If you're sure it's not running out of memory then you may have hit a bug. It will be exceedingly difficult to further debug without source code.