-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Description
Using redis cluster (with php5.6.17 and latest develop branch) segfaults on apache :
[Wed Jan 27 18:39:16.037657 2016] [core:notice] [pid 94463] AH00051: child pid 98052 exit signal Segmentation fault (11), possible coredump in /tmp
❯ gdb /usr/local/sbin/httpd /extra/httpd.core [6:39:39 PM]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...
Core was generated by `httpd'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libpcre.so.1...done.
Loaded symbols for /usr/local/lib/libpcre.so.1
Reading symbols from /usr/local/lib/libaprutil-1.so.0...done.
[...]
#0 0x0000000805a0fe42 in zend_mm_check_ptr (heap=0x802848c00, ptr=0x80e81b048, silent=0,
__zend_filename=0x80eca3d6c "/usr/ports/databases/php56-redis/work/phpredis-2.2.7/redis_commands.c", __zend_lineno=1286,
__zend_orig_filename=0x0, __zend_orig_lineno=0) at zend_alloc.c:1392
1392 if (p->info._prev != ZEND_MM_GUARD_BLOCK &&
[New Thread 802806400 (LWP 100226/httpd)]
(gdb) bt full
#0 0x0000000805a0fe42 in zend_mm_check_ptr (heap=0x802848c00, ptr=0x80e81b048, silent=0,
__zend_filename=0x80eca3d6c "/usr/ports/databases/php56-redis/work/phpredis-2.2.7/redis_commands.c", __zend_lineno=1286,
__zend_orig_filename=0x0, __zend_orig_lineno=0) at zend_alloc.c:1392
p = (zend_mm_block *) 0x80e81aff8
no_cache_notice = 0
had_problems = 1
valid_beginning = 1
#1 0x0000000805a0fe03 in zend_mm_check_ptr (heap=0x802848c00, ptr=0x80e81b048, silent=1,
__zend_filename=0x80eca3d6c "/usr/ports/databases/php56-redis/work/phpredis-2.2.7/redis_commands.c", __zend_lineno=1286,
__zend_orig_filename=0x0, __zend_orig_lineno=0) at zend_alloc.c:1389
p = (zend_mm_block *) 0x80e81aff8
no_cache_notice = 0
had_problems = 0
valid_beginning = 1
#2 0x0000000805a0e1c7 in _zend_mm_free_int (heap=0x802848c00, p=0x80e81b048,
__zend_filename=0x80eca3d6c "/usr/ports/databases/php56-redis/work/phpredis-2.2.7/redis_commands.c", __zend_lineno=1286,
__zend_orig_filename=0x0, __zend_orig_lineno=0) at zend_alloc.c:2068
mm_block = (zend_mm_block *) 0x7fffffffbea0
next_block = (zend_mm_block *) 0x7300000001
size = 1
[...]
Let me know if you need more info / full trace and so on.
thanks ,