Bug #66936 [NEW]: Corruption of exit code
| From: | remi@php.net | Date: | Thu, 20 Mar 2014 09:05:21 +0000 |
| Subject: | Bug #66936 [NEW]: Corruption of exit code | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-184838@lists.php.net to get a copy of this message | ||
From: remi
Operating system: GNU/LInux
PHP version: Irrelevant
Package: *General Issues
Bug Type: Bug
Bug description:Corruption of exit code
Description:
------------
Version 5.6.0-dev 201403170630 snapshot.
Running pecl/redis test suite, exit code is 255 when 0 is expected.
Test script:
---------------
From the git clone of https://github.com/nicolasff/phpredis (pecl
archive doesn't include the test suite)
Sorry I can't find a small reproducer.
The trivial "php -r 'exit(0);'" works.
So I suspect some memory corruption. Don't know if in php or in this
extension.
php -n -dextension=modules/redis.so tests/TestRedis.php ; echo $?
Expected result:
----------------
Note: these tests might take up to a minute. Don't worry :-)
...............................................................S.....................................
Skipped test: /work/GIT/phpredis/tests/TestRedis.php:1869 (testWait)
All tests passed.
0
Actual result:
--------------
Note: these tests might take up to a minute. Don't worry :-)
...............................................................S.....................................
Skipped test: /work/GIT/phpredis/tests/TestRedis.php:1869 (testWait)
All tests passed.
255
--
Edit bug report at https://bugs.php.net/bug.php?id=66936&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=66936&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=66936&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=66936&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=66936&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=66936&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=66936&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=66936&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=66936&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=66936&r=support
Expected behavior: https://bugs.php.net/fix.php?id=66936&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=66936&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=66936&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=66936&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66936&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=66936&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=66936&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=66936&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=66936&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=66936&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=66936&r=mysqlcfg