Gearman crashes using memcached plugin on reply start

Bug #1056638 reported by Kiselev Stanislav
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gearman
Fix Committed
Medium
Brian Aker

Bug Description

./gearmand -p 4733 --libmemcached-servers=188.93.61.11:30021 -q libmemcached --verbose=DEBUG

...............
  INFO 2012-08-26 06:44:11.985009 [ main ] libmemcached replay start
  DEBUG 2012-08-26 06:44:11.985076 [ 3 ] Entering thread event loop -> libgearman-server/gearmand_thread.cc:295
  DEBUG 2012-08-26 06:44:11.985112 [ 4 ] Entering thread event loop -> libgearman-server/gearmand_thread.cc:295
Segmentation fault

--- libgearman-server/plugins/queue/libmemcached/queue.cc_orig 2012-09-26 10:48:01.000000000 +0400
+++ libgearman-server/plugins/queue/libmemcached/queue.cc 2012-09-26 10:49:34.000000000 +0400
@@ -84,7 +84,7 @@

   memcached_st* clone()
   {
- if (clone_)
+ if (NULL == clone_)
     {
       clone_= memcached_clone(NULL, memc_);
     }

Related branches

Brian Aker (brianaker)
Changed in gearmand:
assignee: nobody → Brian Aker (brianaker)
importance: Undecided → Medium
status: New → In Progress
milestone: none → 0.41
Brian Aker (brianaker)
Changed in gearmand:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.