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
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: remicollet@php.net
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Sun Jan 05 02:01:28 2025 UTC