php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #66086 Process finished with exit code 139 when trying apc_store()
Submitted: 2013-11-13 09:46 UTC Modified: 2014-12-30 10:42 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: alexander dot moldova at gmail dot com Assigned:
Status: No Feedback Package: APC (PECL)
PHP Version: 5.5.5 OS: OS X 10.9
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: alexander dot moldova at gmail dot com
New email:
PHP Version: OS:

 

 [2013-11-13 09:46 UTC] alexander dot moldova at gmail dot com
Description:
------------
- Using built in server:
     /usr/local/php5/bin/php -S localhost:8080 -t /Users/User/Desktop/Projects/OpenFW/web

- Process crashes with message:
     Process finished with exit code 139  

- APC module is loaded:
     AlexanderC-MacBook-Pro:~ User$ php -m | grep apc
     apc
     apcu

- Using prototype:
     bool apc_store ( string $key , mixed $var [, int $ttl = 0 ] )


- Code that reproduces the problem:
     <?php
     echo "trying to get apc working...", "\n";
     var_dump((bool) apc_store('some_id', 'data here', 0));
     exit('ok'); 

- gdb backtrace:
     Program received signal SIGSEGV, Segmentation fault.
     0x000000010138a758 in ?? ()


Test script:
---------------
<?php
     echo "trying to get apc working...", "\n";
     var_dump((bool) apc_store('some_id', 'data here', 0));
     exit('ok'); 

Expected result:
----------------
(bool) true || false

Actual result:
--------------
Process finished with exit code 139  

- gdb backtrace:
Program received signal SIGSEGV, Segmentation fault.
0x000000010138a758 in ?? ()

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-11-13 16:20 UTC] gopalv@php.net
-Status: Open +Status: Feedback
 [2013-11-13 16:20 UTC] gopalv@php.net
I don't think you can use APC and APCu together.

Use opcache+APCu or just APC.
 [2014-12-30 10:42 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Nov 28 15:03:14 2021 UTC