libgearman client: tasks is not freed in GEARMAN_COULD_NOT_CONNECT state
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gearman |
Fix Released
|
High
|
Brian Aker |
Bug Description
in libgearman/
The _client_run_task() function does not free the task if the client could not connect to gearman.
Bug discovered here: http://
In the second call to gearman_
Backtrace:
(gdb) bt
#0 gearman_
#1 0x00002aaaaeb2560a in _client_run_task (client=0x11c4620, task=0x11ed240) at libgearman/
#2 0x00002aaaaeb25a0c in _client_run_tasks (client=0x11c4620) at libgearman/
#3 gearman_
#4 0x00002aaaae912984 in zif_gearman_
at /home/hradtke/
#5 0x0000000000906a60 in execute_internal (execute_
#6 0x00002aaaae4a1f4a in xdebug_
#7 0x0000000000907e34 in zend_do_
#8 0x0000000000908d92 in ZEND_DO_
#9 0x0000000000906e2a in execute (op_array=
#10 0x00002aaaae4a1bc5 in xdebug_execute (op_array=
#11 0x00000000008d3dd0 in zend_execute_
#12 0x0000000000853202 in php_execute_script (primary_
#13 0x00000000009ca0bd in main (argc=2, argv=0x7fffffff
Changed in gearmand: | |
assignee: | nobody → Brian Aker (brianaker) |
status: | New → In Progress |
importance: | Undecided → High |
Changed in gearmand: | |
status: | In Progress → Fix Committed |
Changed in gearmand: | |
status: | Fix Committed → Fix Released |
Hi!
On May 15, 2011, at 11:40 AM, Herman J. Radtke III wrote:
> The _client_run_task() function does not free the task if the client could not connect to gearman.
I have this fixed in the build tree, I will be merging everything up again fairly soon.
Thanks,
-Brian