ID:               46228
 Updated by:       [EMAIL PROTECTED]
 Reported By:      daniel at morante dot net
-Status:           Open
+Status:           Feedback
 Bug Type:         Reproducible crash
 Operating System: FreeBSD 6.2-RELEASE-p11
 PHP Version:      5.2.6
 New Comment:

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.

I can't reproduce on FreeBSD 6.3


Previous Comments:
------------------------------------------------------------------------

[2008-10-04 17:15:38] daniel at morante dot net

Description:
------------
gethostbyname() on CLI will cause "Segmentation fault: 11 (core
dumped)' when pspell extension is enabled.

Reproduce code:
---------------
1) "test.php" Contains

<?php echo gethostbyname('www.google.com'); ?>

2) run "/usr/local/bin/php test.php"

Expected result:
----------------
74.125.45.103

Actual result:
--------------
74.125.45.103Segmentation fault: 11 (core dumped)



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=46228&edit=1

Reply via email to