Public bug reported:
Binary package hint: rabbitmq-stomp
As shipped with Natty, the rabbitmq-stomp package seems to be broken.
Even the demo examples in /usr/share/doc/rabbitmq-stomp/examples/ cause
rabbitmq-stomp to crash.
Version: 2.3.1+hg20110303-0ubuntu5
To replicate:
1) aptitude install rabbitmq-stomp libnet-stomp-perl
2) cd /usr/share/doc/rabbitmq-stomp/examples/perl
3) tail -f /var/log/rabbitmq/*.log
4) ./rabbitmq_stomp_rpc_service.pl
Observe that the perl script died, but more importantly, the rabbitmq
logs report the following:
=CRASH REPORT==== 31-May-2011::15:43:54 ===
crasher:
initial call: rabbit_stomp_reader:init/1
pid: <0.4611.0>
registered_name: []
exception error: undefined function binary:split/2
in function rabbit_stomp_frame:parse_body/4
in call from rabbit_stomp_reader:process_received_bytes/2
in call from rabbit_stomp_reader:init/1
ancestors: [<0.4609.0>,rabbit_stomp_client_sup_sup,rabbit_stomp_sup,
<0.188.0>]
messages: []
links: [<0.4609.0>,#Port<0.2435>]
dictionary: []
trap_exit: false
status: running
heap_size: 377
stack_size: 24
reductions: 227
neighbours:
This crash occurs if you attempt to use the STOMP service in any other way too
- I'm just using the perl example above because it's easy to demonstrate as it
ships with the package.
** Affects: rabbitmq-stomp (Ubuntu)
Importance: Undecided
Status: New
** Tags: narwhal natty rabbitmq stomp
** Tags added: narwhal natty rabbitmq stomp
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/790486
Title:
rabbitmq stomp plugin crashes due to undefined function
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs