Re: [PHP-DEV] Latest CVS Problem
ZS internet with the latest cvs... ZS ZS ? ZS $file=fopen(http://php.net/,r;); ZS fpassthru($file); ZS ? ZS Will produce Segmentation Fault (core dumped) There was a bug in URL fopen some days ago. Should be fixed in current CVS. I can't check it since I didn't update to current CVS yet, but generally the patch that looks like it should fix it was committed some days ago :) -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] Latest CVS Problem
S/he might have had the same problem as I did, with a slight messy build. It was that issue that I was chasing at the time :) Make a completely clean build, see if it helps. - Original Message - From: Stanislav Malyshev [EMAIL PROTECTED] To: Zeev Suraski [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, August 09, 2001 10:17 PM Subject: Re: [PHP-DEV] Latest CVS Problem ZS internet with the latest cvs... ZS ZS ? ZS $file=fopen(http://php.net/,r;); ZS fpassthru($file); ZS ? ZS Will produce Segmentation Fault (core dumped) There was a bug in URL fopen some days ago. Should be fixed in current CVS. I can't check it since I didn't update to current CVS yet, but generally the patch that looks like it should fix it was committed some days ago :) -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] Latest CVS Problem
On Wed, 8 Aug 2001, Andrew Lindeman formally [EMAIL PROTECTED] wrote: I can't use fopen (file) to get anything off the internet with the latest cvs... ? $file=fopen(http://php.net/,r;); fpassthru($file); ? Will produce Segmentation Fault (core dumped) No idea why, but it probably needs to be fixed. I was able to generate the attached backtrace... -Sterling Starting program: /usr/local/bin/php tst.php Program received signal SIGSEGV, Segmentation fault. 0x0808b6a3 in php_sock_fgets_internal (buf=0xbfffded0 , maxlen=127, sock=0x824dcac) at fsock.c:553 553 fsock.c: No such file or directory. in fsock.c (gdb) bt #0 0x0808b6a3 in php_sock_fgets_internal (buf=0xbfffded0 , maxlen=127, sock=0x824dcac) at fsock.c:553 #1 0x0807fa60 in php_fopen_url_wrap_http (path=0x824cddc http://php.net/;, mode=0x824ce54 r, options=4, issock=0xbfffdfd8, socketd=0xbfffdfdc, opened_path=0x0) at http_fopen_wrapper.c:191 #2 0x08075302 in php_fopen_url_wrapper (path=0x824cddc http://php.net/;, mode=0x824ce54 r, options=4, issock=0xbfffdfd8, socketd=0xbfffdfdc, opened_path=0x0) at fopen_wrappers.c:555 #3 0x0808445b in php_if_fopen (ht=2, return_value=0x824ce34, this_ptr=0x0, return_value_used=1) at file.c:668 #4 0x0810fb51 in execute (op_array=0x824cf54) at ./zend_execute.c:1565 #5 0x080b88dd in zend_execute_scripts (type=8, file_count=3) at zend.c:760 #6 0x08077844 in php_execute_script (primary_file=0xb490) at main.c:1238 #7 0x0807399c in main (argc=2, argv=0xb53c) at cgi_main.c:736 #8 0x400bc0de in __libc_start_main () from /lib/libc.so.6 (gdb) -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Latest CVS Problem
On Thu, 9 Aug 2001, Sterling Hughes wrote: On Wed, 8 Aug 2001, Andrew Lindeman formally [EMAIL PROTECTED] wrote: I can't use fopen (file) to get anything off the internet with the latest cvs... ? $file=fopen(http://php.net/,r;); fpassthru($file); ? Will produce Segmentation Fault (core dumped) No idea why, but it probably needs to be fixed. I was able to generate the attached backtrace... -Sterling Actually, scratch that -- it seems to be fixed with the latest CVS, I had an old binary lying around. -Sterling -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] Latest CVS Problem
I'm unable to reproduce this under Linux (non thread safe) or Windows (thread safe)... At 23:28 08-08-01, Andrew Lindeman formally [EMAIL PROTECTED] wrote: I can't use fopen (file) to get anything off the internet with the latest cvs... ? $file=fopen(http://php.net/,r;); fpassthru($file); ? Will produce Segmentation Fault (core dumped) No idea why, but it probably needs to be fixed. -- - Andy :) Black holes are where God divided by zero. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- Zeev Suraski [EMAIL PROTECTED] CTO co-founder, Zend Technologies Ltd. http://www.zend.com/ -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] Latest CVS Problem
Andy wrote: ? $stuff=fopen(http://yahoo.com,r;); ? produces this Segmentation Fault (core dumped) This should be fixed in CVS. I had the same problem under Win32, where the problem is now gone after Sascha's commit. -- Sebastian Bergmann Measure Traffic Usability http://sebastian-bergmann.de/http://phpOpenTracker.de/ -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]