php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59628 coredumped when set apc.serializer = igbinary
Submitted: 2011-02-17 02:47 UTC Modified: 2011-02-23 07:36 UTC
From: paulgao at yeah dot net Assigned:
Status: Closed Package: APC (PECL)
PHP Version: Irrelevant OS: irrelevant
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: paulgao at yeah dot net
New email:
PHP Version: OS:

 

 [2011-02-17 02:47 UTC] paulgao at yeah dot net
Description:
------------
I want use apc.rfc1867 to process upload process bar.

coredumped when set apc.serializer = igbinary, but set apc.serializer = php, Test OK.

Reproduce code:
---------------
simple upload code.

Expected result:
----------------
upload OK.

Actual result:
--------------
core dumped:
(gdb) bt
#0  update_bytes_processed (cache=0x1bc6f7c0, entry=0x2ad05d4de008, data=0xeb54a8) at /root/php-5.3.5/ext/apc/apc_rfc1867.c:50
#1  0x000000000049396f in _apc_cache_user_update (cache=0x1bc6f7c0, strkey=0xeb5380 "upload_bbd5512fb1342f34d0c78bcd0cc17a06", keylen=40, updater=0x499e40 <update_bytes_processed>, data=0xeb54a8)
    at /root/php-5.3.5/ext/apc/apc_cache.c:829
#2  0x000000000048ff0d in _apc_update (strkey=0xeb5380 "upload_bbd5512fb1342f34d0c78bcd0cc17a06", strkey_len=39, updater=0x499e40 <update_bytes_processed>, data=0xeb54a8) at /root/php-5.3.5/ext/apc/php_apc.c:552
#3  0x0000000000499b28 in apc_rfc1867_progress (event=<value optimized out>, event_data=0x7fff9e1edde0, extra=<value optimized out>) at /root/php-5.3.5/ext/apc/apc_rfc1867.c:160
#4  0x00000000006b866a in rfc1867_post_handler (content_type_dup=<value optimized out>, arg=0x1c2e6958) at /root/php-5.3.5/main/rfc1867.c:1075
#5  0x00000000006b57a5 in sapi_handle_post (arg=0xeb54a8) at /root/php-5.3.5/main/SAPI.c:121
#6  0x00000000006bb5c8 in php_default_treat_data (arg=0, str=0x0, destArray=0xeb54a8) at /root/php-5.3.5/main/php_variables.c:334
#7  0x00000000005381cf in mbstr_treat_data (arg=0, str=0x0, destArray=0x0) at /root/php-5.3.5/ext/mbstring/mb_gpc.c:68
#8  0x00000000006bbaab in php_hash_environment () at /root/php-5.3.5/main/php_variables.c:684
#9  0x00000000006ad1d9 in php_request_startup () at /root/php-5.3.5/main/main.c:1440
#10 0x0000000000786b36 in main (argc=0, argv=0x1c3196b0) at /root/php-5.3.5/sapi/fpm/fpm/fpm_main.c:1810

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-02-23 07:36 UTC] gopalv@php.net
Nice catch!

Fixed in svn

http://news.php.net/php.pecl.cvs/15355
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 11:01:34 2024 UTC