Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redis Version 2.2.1 code:
The text was updated successfully, but these errors were encountered:
It seems fixed in 2.2.4: cdd437e
Sorry, something went wrong.
I think that this is fixed. Can you please try 2.2.4?
No branches or pull requests
Redis Version 2.2.1
pconnect('192.168.56.21',6666); $redis->setOption(Redis::OPT_SERIALIZER, Redis::SERIALIZER_IGBINARY); $redis->incr('xxxx'); for($i=0;$i<1000;$i++) { echo $i."\n"; $key = 'xxxx'; // $v=$redis->mGet(array($key)); //this does work $v=$redis->get($key); //this leads to segmenut } # backtrace Program received signal SIGSEGV, Segmentation fault. zend_mm_remove_from_free_list (heap=0xfa92d0, mm_block=0x1274a88) at /root/soft/php/php-5.3.15/Zend/zend_alloc.c:845 845 if (UNEXPECTED(prev->next_free_block != mm_block) || UNEXPECTED(next->prev_free_block != mm_block)) { (gdb) bt #0 zend_mm_remove_from_free_list (heap=0xfa92d0, mm_block=0x1274a88) at /root/soft/php/php-5.3.15/Zend/zend_alloc.c:845 #1 0x0000000000723fe1 in _zend_mm_free_int (heap=0xfa92d0, p=0x1271968) at /root/soft/php/php-5.3.15/Zend/zend_alloc.c:2029 #2 0x00007ffff1415de9 in igbinary_unserialize_data_deinit (buf=0x1271d70 "11", buf_len=2, z=0x7fffffffaba8) ``` at /root/soft/php/nicolasff-phpredis-f3dff08/igbinary/igbinary.c:1165 ``` #3 igbinary_unserialize (buf=0x1271d70 "11", buf_len=2, z=0x7fffffffaba8) ``` at /root/soft/php/nicolasff-phpredis-f3dff08/igbinary/igbinary.c:290 ``` #4 0x00007ffff14080dc in redis_unserialize (redis_sock=, val=0x1271d70 "11", val_len=, ``` return_value=0x7fffffffaba8) at /root/soft/php/nicolasff-phpredis-f3dff08/library.c:1353 ``` #5 0x00007ffff140ba98 in redis_string_response (ht=, return_value=0x1270c50, return_value_ptr=, ``` this_ptr=, return_value_used=, redis_sock=0x1271ff0, z_tab=0x0, ctx=0x0) at /root/soft/php/nicolasff-phpredis-f3dff08/library.c:780 ``` #6 0x00007ffff13feab7 in zim_Redis_get (ht=1, return_value=0x1270c50, return_value_ptr=0x0, this_ptr=0x126ef30, return_value_used=1) ``` at /root/soft/php/nicolasff-phpredis-f3dff08/redis.c:1078 ``` #7 0x000000000078bd00 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fffef726050) ``` at /root/soft/php/php-5.3.15/Zend/zend_vm_execute.h:320 ``` #8 0x0000000000764408 in execute (op_array=0x126f6e8) at /root/soft/php/php-5.3.15/Zend/zend_vm_execute.h:107 #9 0x000000000073f42a in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /root/soft/php/php-5.3.15/Zend/zend.c:1236 #10 0x00000000006ee34e in php_execute_script (primary_file=0x7fffffffe250) at /root/soft/php/php-5.3.15/main/main.c:2308 #11 0x00000000007c8284 in main (argc=2, argv=0x7fffffffe4c8) at /root/soft/php/php-5.3.15/sapi/cli/php_cli.c:1189code:
The text was updated successfully, but these errors were encountered: