#46883 [Fbk->Opn]: ext/standard/tests/streams/bug46024.phpt hangs
| From: | long at ku dot edu | Date: | Wed, 17 Dec 2008 16:29:51 +0000 |
| Subject: | #46883 [Fbk->Opn]: ext/standard/tests/streams/bug46024.phpt hangs | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-132094@lists.php.net to get a copy of this message | ||
ID: 46883
User updated by: long at ku dot edu
Reported By: long at ku dot edu
-Status: Feedback
+Status: Open
Bug Type: Streams related
Operating System: Solaris 8
PHP Version: 5.2.8
New Comment:
gdb doesn't want to seem to work with it so I just used dbx to get a
backtrace:
(/apps/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx) where
[1] _read(0x5, 0x1796f20, 0x2000, 0x1641658, 0x215e4, 0x9acbc0), at
0xfed1ecc0
=>[2] php_stdiop_read(stream = 0x17939a8, buf = 0x1796f20 "", count =
8192U), line 337 in "plain_wrapper.c"
[3] php_stream_fill_read_buffer(stream = 0x17939a8, size = 1U), line
556 in "streams.c"
[4] _php_stream_read(stream = 0x17939a8, buf = 0x1794730
"ZZx]nDnD\x", size = 1U), line 600 in "streams.c"
[5] zif_fread(ht = 2, return_value = 0x17932f0, return_value_ptr =
(nil), this_ptr = (nil), return_value_used = 0), line 1873 in "file.c"
[6] zend_do_fcall_common_helper_SPEC(execute_data = 0xffbeec48), line
200 in "zend_vm_execute.h"
[7] ZEND_DO_FCALL_SPEC_CONST_HANDLER(execute_data = 0xffbeec48), line
1729 in "zend_vm_execute.h"
[8] execute(op_array = 0x17926a0), line 92 in "zend_vm_execute.h"
[9] zend_execute_scripts(type = 8, retval = (nil), file_count = 3,
...), line 1134 in "zend.c"
[10] php_execute_script(primary_file = 0xffbef368), line 2023 in
"main.c"
[11] main(argc = 74, argv = 0xffbef3fc), line 1133 in "php_cli.c"
(/apps/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx)
Previous Comments:
------------------------------------------------------------------------
[2008-12-16 17:55:38] jani@php.net
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.
------------------------------------------------------------------------
[2008-12-16 16:58:18] long at ku dot edu
Description:
------------
When running 'make test' it is repeatedly freezing on
ext/standard/tests/streams/bug46024.phpt. ps shows that no CPU time is
being used.
Reproduce code:
---------------
Using solaris 8 with cc: Sun WorkShop 6 update 2 C 5.3 2001/05/15
configure using:
#! /bin/sh
#
# Created by configure
CFLAGS='-O' \
CC='cc' \
'./configure' \
'--enable-discard-path' \
'--with-openssl=shared' \
'--with-zlib=shared' \
'--enable-bcmath' \
'--enable-calendar' \
'--enable-dba=shared' \
'--enable-dbase' \
'--enable-exif' \
'--enable-ftp' \
'--with-gd=shared' \
'--enable-gd-native-ttf' \
'--enable-gd-jis-conv' \
'--with-gettext=shared' \
'--with-kerberos' \
'--with-imap-ssl' \
'--with-ldap' \
'--enable-mbstring' \
'--with-mysql' \
'--with-oci8' \
'--enable-shmop' \
'--enable-sockets' \
'--with-sqlite' \
'--enable-sysvmsg' \
'--enable-sysvsem' \
'--enable-sysvshm' \
'--with-freetype-dir' \
'--with-jpeg-dir' \
'--with-mysqli' \
'--with-pdo-mysql' \
'--with-pdo-oci' \
'--enable-cgi' \
'--disable-libxml' \
'--disable-dom' \
'--disable-simplexml' \
'--disable-xmlreader' \
'--disable-xmlwriter' \
'--with-libexpat-dir' \
'--enable-zip' \
'--with-iconv=/usr/local' \
"$@"
then make and make test
Expected result:
----------------
I expect the make test to complete its run.
Actual result:
--------------
I get something like this:
...
PASS Bug MOPB-29 (wrong length calculation for S)
[ext/standard/tests/serialize/unserializeS.phpt]
PASS Bug #44818 (php://memory writeable when opened read only)
[ext/standard/tests/streams/bug44818.phpt]
TEST 5082/5818 [ext/standard/tests/streams/bug46024.phpt]
and it has been that way for over 12 hours now.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46883&edit=1