id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,blockedby,phpversion,appname,pending,exts,sapi,probability,blocking
93,Segfault when using variable cache increment/decrement functions,edgaribsen,moo,"XCache 1.2.0 segfaults when using variable increment/decrement functions:

Part of gdb output:

{{{
#!php
<?php
xcache_inc(""XXX""); //first invocation does not segfault...
xcache_inc(""XXX""); //but the second one does
?>

Program received signal SIGSEGV, Segmentation fault.
0xb7ebee9b in zif_xcache_get_special_value () from /usr/lib/php5/xcache.so
}}}

same with xcache_dec():

{{{
#!php
<?php
xcache_dec( ""abc"" );
xcache_dec( ""abc"" );
?>

Program received signal SIGSEGV, Segmentation fault.
0xb7f51e9b in zif_xcache_get_special_value () from /usr/lib/php5/xcache.so
}}}

Also, all of the variable API functions segfault when the variable cache is not enabled... maybe it is a good idea to have a more graceful error handler? :)

By the way, I have the varcache size set at 1M with 1K chunks.",defect,closed,major,,cacher,1.2-dev,worksforme,segfault variable cache,,,5.2.0,,,,FastCGI,,
