[Pkg-php-pecl] Bug#789596: php5-redis 2.2.5-1 stable causes segfault in php5-fpm - fix available in 2.2.7

Damjan Georgievski gdamjan at gmail.com
Fri Jul 31 10:42:29 UTC 2015


Package: php5-redis
Version: 2.2.5-1
Followup-For: Bug #789596

I can confirm the segfault with 2.2.5 - I compiled 2.2.7 from source and the segfaults disappeared.

In my case I'm using uwsgi with uwsgi-plugin-php with a fairly big php app that does a lot of
redis activity. The segfaults were a lot more frequent when the redis cache was empty.

Here's one more report of the same segfault
https://www.drupal.org/node/2522966

!!! uWSGI process 31428 got Segmentation Fault !!!
*** backtrace of 31428 ***
/usr/local/bin/uwsgi(uwsgi_backtrace+0x30) [0x4635b0]
/usr/local/bin/uwsgi(uwsgi_segfault+0x21) [0x463951]
/lib/x86_64-linux-gnu/libc.so.6(+0x35180) [0x7fc48d28e180]
/usr/lib/libphp5.so(+0x398848) [0x7fc489db9848]
/usr/lib/php5/20131226/redis.so(zim_Redis_hMset+0x28b) [0x7fc481a3615b]
/usr/lib/libphp5.so(dtrace_execute_internal+0x2a) [0x7fc489dd24ea]
/usr/lib/libphp5.so(+0x470c80) [0x7fc489e91c80]
/usr/lib/libphp5.so(execute_ex+0x40) [0x7fc489e206b0]
/usr/lib/libphp5.so(dtrace_execute_ex+0x78) [0x7fc489dd2388]
/usr/lib/libphp5.so(+0x4711ae) [0x7fc489e921ae]
/usr/lib/libphp5.so(execute_ex+0x40) [0x7fc489e206b0]
/usr/lib/libphp5.so(dtrace_execute_ex+0x78) [0x7fc489dd2388]
/usr/lib/libphp5.so(zend_call_function+0xaea) [0x7fc489dd421a]
/usr/lib/libphp5.so(zif_call_user_func+0x6a) [0x7fc489cfdc5a]
/usr/lib/libphp5.so(dtrace_execute_internal+0x2a) [0x7fc489dd24ea]
/usr/lib/libphp5.so(+0x470c80) [0x7fc489e91c80]
/usr/lib/libphp5.so(execute_ex+0x40) [0x7fc489e206b0]
/usr/lib/libphp5.so(dtrace_execute_ex+0x78) [0x7fc489dd2388]
/usr/lib/libphp5.so(+0x4711ae) [0x7fc489e921ae]
/usr/lib/libphp5.so(execute_ex+0x40) [0x7fc489e206b0]
/usr/lib/libphp5.so(dtrace_execute_ex+0x78) [0x7fc489dd2388]
/usr/lib/libphp5.so(zend_call_function+0xaea) [0x7fc489dd421a]


-- System Information:
Debian Release: 8.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages php5-redis depends on:
ii  libc6                          2.19-18
ii  php5-common [phpapi-20131226]  5.6.9+dfsg-0+deb8u1



More information about the Pkg-php-pecl mailing list