I think that was some breakage I was responsible for (I committed a fix 
about 30 minutes later, only apparently I never actually finished editing 
the commit message, so it never left my machine).

It should be fixed now.  Please let me know if it isn't.

Zeev

At 02:43 26-08-01, Rasmus Lerdorf wrote:
>It seems to have completely broken as of a CVS update of a few minutes
>ago.  Most of the time I get no output, but sometimes I get a very very
>long row of ZZZZZZ's or sometimes I get
>ZZZZZZZZZZZ?Ì?*ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ?Ì?*ZZZZZZZZZ
>
>Repeatedly loading a phpinfo() tends to toggle back and forth.  Single
>stepping through things looks normal.  zif_phpinfo() is getting called and
>everything looks fine.  So it is something lower level.  Output bufferring
>changes messing things up?
>
>relevant php.ini settings:
>
>output_buffering    = Off
>output_handler      =
>implicit_flush      = Off
>zlib.output_compression = Off
>
>Same thing happens on a simple echo "Hello World" script.
>An strace on that shows:
>
>{sin_family=AF_INET, sin_port=htons(42216), 
>sin_addr=inet_addr("127.0.0.1")}}, [16]) = 3
>rt_sigaction(SIGUSR1, {SIG_IGN}, {0x8074490, [], SA_INTERRUPT|0x4000000}, 
>8) = 0
>getsockname(3, {sin_family=AF_INET, sin_port=htons(80), 
>sin_addr=inet_addr("127.0.0.1")}}, [16]) = 0
>setsockopt(3, SOL_TCP, TCP_NODELAY, [1], 4) = 0
>alarm(300)                              = 0
>read(3, "GET /t.php HTTP/1.0\r\nConnection:"..., 4096) = 334
>rt_sigaction(SIGUSR1, {SIG_IGN}, {SIG_IGN}, 8) = 0
>time(NULL)                              = 998782781
>alarm(300)                              = 300
>alarm(0)                                = 300
>stat64("/home/rasmus/phpweb/t.php", {st_mode=S_IFREG|0664, st_size=30, 
>...}) = 0
>alarm(300)                              = 0
>umask(077)                              = 022
>umask(022)                              = 077
>setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={30, 0}}, NULL) = 0
>rt_sigaction(SIGPROF, {0x402102b0, [PROF], SA_RESTART|0x4000000}, 
>{0x402102b0, [PROF], SA_RESTART|0x4000000}, 8) = 0
>rt_sigprocmask(SIG_UNBLOCK, [PROF], NULL, 8) = 0
>getcwd("/usr/local/home/rasmus/phpweb", 4095) = 30
>chdir("/home/rasmus/phpweb")            = 0
>open("/home/rasmus/phpweb/t.php", O_RDONLY) = 4
>getcwd("/usr/local/home/rasmus/phpweb", 4095) = 30
>lstat64("/home", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
>readlink("/home", "/usr/local/home", 4095) = 15
>lstat64("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
>lstat64("/usr/local", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
>lstat64("/usr/local/home", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
>lstat64("/usr/local/home/rasmus", {st_mode=S_IFDIR|0777, st_size=12288, 
>...}) = 0
>lstat64("/usr/local/home/rasmus/phpweb", {st_mode=S_IFDIR|0755, 
>st_size=4096, ...}) = 0
>lstat64("/usr/local/home/rasmus/phpweb/t.php", {st_mode=S_IFREG|0664, 
>st_size=30, ...}) = 0
>ioctl(4, TCGETS, 0xbfffe110)            = -1 ENOTTY (Inappropriate ioctl 
>for device)
>fstat64(4, {st_mode=S_IFREG|0664, st_size=30, ...}) = 0
>mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
>= 0x40018000
>read(4, "<?php\n\techo \"Hello World\";\n?>\n", 8192) = 30
>read(4, "", 4096)                       = 0
>read(4, "", 8192)                       = 0
>ioctl(4, TCGETS, 0xbfffd0d0)            = -1 ENOTTY (Inappropriate ioctl 
>for device)
>close(4)                                = 0
>munmap(0x40018000, 4096)                = 0
>chdir("/usr/local/home/rasmus/phpweb")  = 0
>alarm(300)                              = 300
>alarm(0)                                = 300
>writev(3, [{"HTTP/1.1 200 OK\r\nDate: Sat, 25 A"..., 173}, 
>{"ZZZZZZZZZZZZZZZZZZZZZZZ\204\314\217*\0\0\0\0\0"..., 4096}], 2) = 4269
>rt_sigaction(SIGSEGV, {SIG_DFL}, {SIG_DFL}, 8) = 0
>setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
>umask(022)                              = 022
>alarm(0)                                = 0
>time(NULL)                              = 998782781
>write(17, "127.0.0.1 - - [25/Aug/2001:16:39"..., 74) = 74
>alarm(30)                               = 0
>shutdown(3, 1 /* send */)               = 0
>select(4, [3], NULL, NULL, {2, 0})      = 1 (in [3], left {2, 0})
>read(3, "", 512)                        = 0
>close(3)                                = 0
>alarm(0)                                = 30
>rt_sigaction(SIGUSR1, {0x8074490, [], SA_INTERRUPT|0x4000000}, {SIG_IGN}, 
>8) = 0
>alarm(0)
>
>Rolling back to my libphp4.so build on Aug.13 built with exactly the same
>./configure flags makes it work again.
>
>Those flags are
>
>#! /bin/sh
>#
># Created by configure
>
>'./configure' \
>'--with-mysql=/usr' \
>'--with-gd=/home/rasmus/gd-2.0.1' \
>'--with-freetype-dir=/usr' \
>'--enable-gd-native-ttf' \
>'--enable-gd-imgstrttf' \
>'--with-jpeg-dir=/usr' \
>'--with-png-dir=/usr' \
>'--with-xpm-dir=/usr/X11R6' \
>'--enable-exif' \
>'--with-pdflib=/usr/local' \
>'--enable-inline-optimization' \
>'--with-xml' \
>'--with-calendar' \
>'--enable-wddx' \
>'--enable-sockets' \
>'--with-db3' \
>'--with-snmp' \
>'--with-openssl' \
>'--enable-debug' \
>'--with-config-file-path=/etc' \
>'--with-swf=/usr/local' \
>'--with-expat=' \
>'--with-pgsql' \
>'--with-zlib' \
>'--with-ldap' \
>'--with-sablot=/usr' \
>'--with-expat-dir=/usr' \
>'--with-imlib' \
>'--with-apxs=/usr/sbin/apxs' \
>"$@"
>
>
>
>
>--
>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]

Reply via email to