php5-memcache segfaults with object (un)serialization
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php-memcache (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I can reproduce https:/
Package: php5-memcache
Priority: optional
Section: universe/web
Installed-Size: 151
Maintainer: Ubuntu Developers <email address hidden>
Original-
Architecture: amd64
Source: php-memcache
Version: 3.0.6-1
Depends: libc6 (>= 2.7), phpapi-20090626
Suggests: memcached
Filename: pool/universe/
Size: 47062
MD5sum: 7d3bf387e029e1d
SHA1: d0f30749170e789
SHA256: de3fad7fe68a68e
Description-en: memcache extension module for PHP5
Memcached is a caching daemon designed especially for dynamic web applications
to decrease database load by storing objects in memory.
.
This extension allows you to work with memcached through handy OO and
procedural interfaces in your php5 applications.
Homepage: http://
Description-md5: 58db38616cd7be3
Bugs: https:/
Origin: Ubuntu
The test case at bugs.php.net is reproduced below:
<?php
echo "Test: PHP-".phpversio
$obj = new StdClass;
$obj->obj = $obj;
$memcache = new Memcache;
$memcache-
$memcache->set('x', $obj, false, 300);
$x = $memcache-
$x = $memcache-
$x = $memcache-
$x = $memcache-
$x = $memcache-
$x = $memcache-
$x = $memcache-
$x = $memcache-
$x = $memcache-
chris@home:~$ php memcache.php
Test: PHP-5.3.
Segmentation fault (core dumped)
tags: | added: precise |
affects: | php5 (Ubuntu) → php-memcache (Ubuntu) |