Export to GitHub

php-amqp - issue #12

Web server crash on deserialization


Posted on Sep 14, 2011 by Massive Monkey

What steps will reproduce the problem? 1. Serialize the AMQPConnection object: $_SESSION['amqp'] = new AMQPConnection(...); 2. On another page, deserialize it: $amqp = $_SESSION['amqp']; $amqp->connect(); 3. Watch the web server error log for segfault

What is the expected output? What do you see instead? It shouldn't crash the server. Even better would be if AMQPConnection objects could be serialized.

What version of the product are you using? On what operating system? Latest PECL version, Ubuntu 11.04 x64

Please provide any additional information below.

Status: New

Labels:
Type-Defect Priority-Medium