php-stomp causes Segmentation fault
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php-stomp (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Description: Ubuntu 16.04.2 LTS
Release: 16.04
php-stomp:
Installed: 1.0.9-0ubuntu1
Candidate: 1.0.9-0ubuntu1
Version table:
*** 1.0.9-0ubuntu1 500
500 http://
100 /var/lib/
Steps to reproduce:
1) Download and install activemq from http://
2) apt-get install php-cli php-stomp
3) Create a simple PHP script:
#!/usr/bin/env php
<?php
$stomp = new Stomp('
echo "Hello, world.\n";
$stomp = null;
What I expect to happen:
The script should output the following:
Hello, world.
What actually happens:
The script generates this output instead:
Segmentation fault (core dumped)
Notes:
Uninstalling php-stomp and installing the Stomp extension from PECL via "pecl install stomp-2.0.0" (after installing php-pear and php-dev) allows it to work just fine, and the script outputs "Hello, world." as I expect it to. The Changelog notes for 2.0.0 (https:/