|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-04-25 10:10 UTC] remi@php.net
[2013-04-25 10:10 UTC] remi@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: remi
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 06 05:00:02 2025 UTC |
Description: ------------ CentOS 6.4 with php-pecl-apcu.x86_64 from remi repo. It crashes consistently on apc_store() if apc.enable_cli=0. Test script: --------------- var_dump(apc_store("foo", "bar")); Expected result: ---------------- It should result in true. Actual result: -------------- It segfaults. andrer@vg-dev-01:~/VGF (/trunk)$ gdb --args php -r 'apc_store("foo", "bar");' GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6) Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/php...(no debugging symbols found)...done. Missing separate debuginfos, use: debuginfo-install php-cli-5.4.14- 1.el6.remi.x86_64 (gdb) run Starting program: /usr/bin/php -r apc_store\(\"foo\",\ \"bar\"\)\; [Thread debugging using libthread_db enabled] [New Thread 0x7fffdef53700 (LWP 18656)] [Thread 0x7fffdef53700 (LWP 18656) exited] Program received signal SIGSEGV, Segmentation fault. 0x00007fffedb2b691 in apc_cache_serializer () from /usr/lib64/php/modules/apcu.so (gdb) thread apply all backtrace Thread 1 (Thread 0x7ffff7fe17e0 (LWP 18637)): #0 0x00007fffedb2b691 in apc_cache_serializer () from /usr/lib64/php/modules/apcu.so #1 0x00007fffedb2ab44 in ?? () from /usr/lib64/php/modules/apcu.so #2 0x000000000065bfcc in ?? () #3 0x00000000006497d8 in execute () #4 0x00000000005d2d1e in zend_eval_stringl () #5 0x00000000005d2df9 in zend_eval_stringl_ex () #6 0x000000000068ad44 in ?? () #7 0x000000000068b768 in ?? () #8 0x00007ffff4f0ccdd in __libc_start_main () from /lib64/libc.so.6 #9 0x0000000000423f89 in _start ()