php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46796 make test hangs
Submitted: 2008-12-08 13:48 UTC Modified: 2008-12-28 01:00 UTC
Votes:1
Avg. Score:2.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: isjackawesome at gmail dot com Assigned:
Status: No Feedback Package: Streams related
PHP Version: 5.2.8 OS: Linux/Ubuntu 8.04
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: isjackawesome at gmail dot com
New email:
PHP Version: OS:

 

 [2008-12-08 13:48 UTC] isjackawesome at gmail dot com
Description:
------------
Compiled with:
./configure ?with-apxs2=/usr/local/server/apache2/bin/apxs ?with-
mysqli=/usr/local/server/mysql/bin/mysql_config ?enable-debug=no --
with-mcrypt=/usr/local/server/libmcrypt ?enable-ftp ?with-gd ?with-
jpeg-dir=/usr/local ?with-png-dir=/usr/local ?with-zlib-
dir=/usr/local --enable-shared --enable-static

make - works no errors
make test, stalls on stream_get_meta_data_socket_variation1 
(3912/4619)




Reproduce code:
---------------
TEST 3912/4619 [ext/standard/tests/streams/stream_get_meta_data_socket_variationOut of memory: Killed process 4398 (php).
/bin/sh: line 18:  4398 Killed                  TEST_PHP_EXECUTABLE=/root/downloads/php-5.2.6/sapi/cli/php TEST_PHP_SRCDIR=/root/downloads/php-5.2.6 CC="gcc" /root/downloads/php-5.2.6/sapi/cli/php -d 'open_basedir=' -d 'output_buffering=0' -d 'memory_limit=-1' /root/downloads/php-5.2.6/run-tests.php -c /root/downloads/php-5.2.6/tmp-php.ini -U -d extension_dir=/root/downloads/php-5.2.6/modules/ ` if test "x" != "x"; then for i in ""; do . $i; /root/downloads/php-5.2.6/build/shtool echo -n -- " -d extension=$dlname"; done; fi`
make: [test] Error 137 (ignored)




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-12-08 14:03 UTC] jani@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/


 [2008-12-12 01:47 UTC] isjackawesome at gmail dot com
Ive installed the latest snapshot and i still receive the error.

however at the end it says:
 4616/5387 instead of the original 3912/4619

I can make install and use php fine - the make test fails.
 [2008-12-16 18:34 UTC] jani@php.net
Exactly how much memory do you have in that machine? Are you able to reproduce this on any other machines?
 [2008-12-16 23:18 UTC] isjackawesome at gmail dot com
256MB RAM
20GB storage ( of which about 0.15% is taken up ;) )

I dont have another linux box to test this on - this is on a 
production server I'm setting up.

thanks,
Jack
 [2008-12-17 12:08 UTC] jani@php.net
Are you kidding? 256M of RAM?! For _production_ server?!

 [2008-12-17 12:21 UTC] isjackawesome at gmail dot com
Hi,

Nop - 256MB ram.  Im only running a small site and with the very 
little work its doing, I dont see any point in paying for more ( and 
at the moment I dont think that this is an issue).

Thanks
 [2008-12-20 17:17 UTC] jani@php.net
ext/standard/tests/streams/stream_get_meta_data_socket_variation1.php
t
 [2008-12-20 17:19 UTC] 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.

When the test hangs, attach gdb to the php that's running the test 
and get the backtrace.
 [2008-12-28 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 10:01:29 2024 UTC