random crash with pylibmc
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libmemcached |
Triaged
|
High
|
Brian Aker |
Bug Description
My pylons applications that use pylibmc crash randomly (possibly but unlikely at times of unusually high load). This is a backtrace from one of the crashes (the core file is available if required).
#0 0xf57fe416 in __kernel_vsyscall ()
#1 0xb75fd651 in raise () from /lib/tls/
#2 0xb7600a82 in abort () from /lib/tls/
#3 0xb763449d in ?? () from /lib/tls/
#4 0xb763e591 in ?? () from /lib/tls/
#5 0xb763fde8 in ?? () from /lib/tls/
#6 0xb7642ecd in free () from /lib/tls/
#7 0xb1b2068d in _libmemcached_free (ptr=0x996eea8, mem=0xb0a0f590, context=0x0) at libmemcached/
#8 0xb1b289ea in libmemcached_free (self=0x0) at libmemcached/
#9 memcached_
#10 0xb1b21e1f in set_last_
#11 0xb1b27715 in memcached_
#12 0xb1b2696b in memcached_io_read (ptr=0x996f298, buffer=0xa43edb8, length=14772, nread=0xb23327bc)
at libmemcached/
#13 0xb1b26b0a in memcached_safe_read (ptr=0x996f298, dta=0xa43edb8, size=48904) at libmemcached/
#14 0xb1b27d91 in binary_
result=
#15 0xb1b27e89 in memcached_
result=0x4820) at libmemcached/
#16 0xb1b23382 in memcached_
#17 0xb1b23528 in memcached_fetch (ptr=0x0, key=0x0, key_length=0x0, value_length=
error=
#18 0xb1b2498e in memcached_
key=0xa3aa3f4 "coe_org:
at libmemcached/
#19 0xb1b24c20 in memcached_get (ptr=0x996eea8, key=0xa3aa3f4 "coe_org:
value_
#20 0xb1b36580 in PylibMC_Client_get (self=0x991dc8c, arg=0xa3aa3e0) at _pylibmcmodule.
#21 0x080d3e28 in call_function (f=0xa7545ac, throwflag=0) at Python/ceval.c:4000
#22 PyEval_EvalFrameEx (f=0xa7545ac, throwflag=0) at Python/ceval.c:2665
#23 0x080d63bd in PyEval_EvalCodeEx (co=0x98da968, globals=0x990c13c, locals=0x0, args=0x99a8774, argcount=4,
kws=0x99a8784, kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:3252
#24 0x080d4029 in call_function (f=0x99a862c, throwflag=0) at Python/ceval.c:4108
#25 PyEval_EvalFrameEx (f=0x99a862c, throwflag=0) at Python/ceval.c:2665
#26 0x080d63bd in PyEval_EvalCodeEx (co=0x99173c8, globals=0x991213c, locals=0x0, args=0x9cf1118, argcount=1,
kws=0xa20eb00, kwcount=2, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:3252
#27 0x0813445a in function_call (func=0x9918b8c, arg=0x9cf110c, kw=0x9e1f2d4) at Objects/
#28 0x0805d9c1 in PyObject_Call (func=0x9918b8c, arg=0x9cf110c, kw=0x9e1f2d4) at Objects/
#29 0x080d138d in ext_do_call (f=0x98f6e14, throwflag=0) at Python/ceval.c:4325
etc.
libmemcached 0.46, ubuntu 10.04 32-bit, python 2.7.1 (r271:86832) from activestate, pylibmc 1.1.1.