|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-10-25 14:20 UTC] angelo at at dot com
[2011-05-15 14:41 UTC] hradtke@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 04:00:01 2025 UTC |
Description: ------------ Somehow runTasks() conflicts with knowing it couldn't connect from a previous call to runTasks() Reproduce code: --------------- $a = new GearmanClient(); $a->addServer('192.168.0.131'); $a->addTask('test', 'data'); $a->runTasks(); PHP Warning: GearmanClient::runTasks(): gearman_connection_flush:could not connect in php shell code on line 1 // run runTasks again, $a->runTasks(); Expected result: ---------------- same PHP warning Actual result: -------------- Segmentation fault