php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59646 FAIL RRDCreator test
Submitted: 2011-03-04 14:52 UTC Modified: 2011-03-21 19:04 UTC
From: remicollet@php.net Assigned:
Status: Closed Package: rrd (PECL)
PHP Version: 5.3.5 OS: GNU/Linux (Fedora 14)
Private report: No CVE-ID: None
 [2011-03-04 14:52 UTC] remicollet@php.net
Description:
------------
The tests/rrd_003.phpt with
001+ Fatal error: Uncaught exception 'Exception' with message 'startTime cannot be empty string' in /dev/shm/php-pecl-rrd-0.10.0/rrd-0.10.0/tests/rrd_003.php:3
001- bool(true)
002+ Stack trace:
003+ #0 /dev/shm/php-pecl-rrd-0.10.0/rrd-0.10.0/tests/rrd_003.php(3): RRDCreator->__construct('/dev/shm/php-pe...', 'now -10d', 500)
004+ #1 {main}
005+   thrown in /dev/shm/php-pecl-rrd-0.10.0/rrd-0.10.0/tests/rrd_003.php on line 3


This seems an x86_64 only issue.

Looking at the code, I found a small mistake in a zend_parse_parameters call.

a "l" parameters must be a long.

The proposed patched solves the issue, build and run fine and test succeed.
https://github.com/remicollet/remirepo/blob/master/php-pecl-rrd/rrd-build.patch


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-03-21 19:04 UTC] koubel at seznam dot cz
This bug has been fixed in SVN.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 08:01:28 2024 UTC