On Mon, Jun 08, 2015 at 05:56:14AM -0700, logty wrote:
> Hi all,
> I just had a quick question about proton-c returning null messages. I am
> calling pn_messenger_get on my message and on my messenger and getting back
> messages that are null. When I call:
> pn_bytes_t b = pn_data_get_bytes(pn_message_body(message));
> calls to b.start and b.size create segfaults. Any ideas as to why this might
> be happening? At the moment I am running a test with large messages (several
> megabytes) being sent to the server.
> Thanks for the help!

Are you *certain* you're getting messages back? What's the return value
on the call to pn_messenger_get?

Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc.
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.

Attachment: pgpq1f55F5Ztp.pgp
Description: PGP signature

Reply via email to