|  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: Assigned:
Status: Closed Package: rrd (PECL)
PHP Version: 5.3.5 OS: GNU/Linux (Fedora 14)
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
New email:
PHP Version: OS:


 [2011-03-04 14:52 UTC]
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.


Add a Patch

Pull Requests

Add a Pull Request


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

In case this was a 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-2021 The PHP Group
All rights reserved.
Last updated: Tue Oct 19 22:03:37 2021 UTC