php.net |  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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: zarincheg at gmail dot com
New email:
PHP Version: OS:

 

 [2013-05-31 13:04 UTC] zarincheg at gmail dot com
Description:
------------
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/universal.cc:253 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 
problem.

Test script:
---------------
https://gist.github.com/zarincheg/09874e5f55c49190ad85


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-05-31 14:38 UTC] hradtke@php.net
-Status: Open +Status: Feedback
 [2013-05-31 14:38 UTC] hradtke@php.net
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-2024 The PHP Group
All rights reserved.
Last updated: Tue Dec 10 10:01:27 2024 UTC