Open GoogleCodeExporter opened 8 years ago
It looks like the segfault happens at this line:
518: FOREACH_KEYVAL(pos, opts, key, opt) {
The publish was called with:
amqp_basic_publish( $conn, $channel_id, $exchange, $routing_key, $body, false,
false )
Which means opts is NULL. Adding an empty array for opts fixes the segfault,
but the
code should be able to detect that an array was not passed, and either raise a
warning or use default options.
Original comment by madco...@gmail.com
on 24 Nov 2009 at 11:33
Ended up fixing this as well as issue #5, with the attached patch against r15
Original comment by madco...@gmail.com
on 5 Feb 2010 at 2:21
Attachments:
Original issue reported on code.google.com by
madco...@gmail.com
on 24 Nov 2009 at 5:03