|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64954 GearmanClient::runTasks() doesn't work when completeCallback setted
Submitted: 2013-05-31 13:04 UTC Modified: 2013-10-15 11:54 UTC
From: zarincheg at gmail dot com Assigned:
Status: No Feedback Package: gearman (PECL)
PHP Version: 5.4.15 OS: Kubuntu Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: zarincheg at gmail dot com
New email:
PHP Version: OS:


 [2013-05-31 13:04 UTC] zarincheg at gmail dot com
I got strange case with using callbacks. For example I try to test code below.

When it's runs, I gets up an error like this: 
Warning: GearmanClient::runTasks(): gearman_wait(GEARMAN_NO_ACTIVE_FDS) no active 
file descriptors -> libgearman/ in 
/home/zarin/tests/callbackTest.php on line 26

But, If I will uncomment method ChildClient::complete(), code will works good. 
Firstly I figure that is PHP problem, but I tried any test-cases with inheritance 
and callbacks. And that tests worked good. I'am have not ideas about solving this 

Test script:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2013-05-31 14:38 UTC]
-Status: Open +Status: Feedback
 [2013-05-31 14:38 UTC]
What version of pecl/gearman and what version of libgearman?
 [2013-05-31 19:11 UTC] zarincheg at gmail dot com
libgearman version: 1.1.2
gearman pecl version: 1.1.0
 [2013-10-15 11:54 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Sep 21 13:03:37 2021 UTC