Return-Path: X-Original-To: apmail-qpid-users-archive@www.apache.org Delivered-To: apmail-qpid-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 509CE18EE9 for ; Wed, 22 Jul 2015 18:34:09 +0000 (UTC) Received: (qmail 40836 invoked by uid 500); 22 Jul 2015 18:34:02 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 40802 invoked by uid 500); 22 Jul 2015 18:34:02 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 40790 invoked by uid 99); 22 Jul 2015 18:34:02 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jul 2015 18:34:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 3260C1A765C for ; Wed, 22 Jul 2015 18:34:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.892 X-Spam-Level: * X-Spam-Status: No, score=1.892 tagged_above=-999 required=6.31 tests=[HTML_EMBEDS=0.001, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H2=-1.108, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 0mJqSUivWzfq for ; Wed, 22 Jul 2015 18:33:57 +0000 (UTC) Received: from st11p02im-asmtp002.me.com (st11p02im-asmtp002.me.com [17.172.220.114]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 8652E20A93 for ; Wed, 22 Jul 2015 18:33:56 +0000 (UTC) Received: from [10.0.0.14] (bcdd906a.skybroadband.com [188.221.144.106]) by st11p02im-asmtp002.me.com (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Mar 31 2015)) with ESMTPSA id <0NRW011P3JKD1430@st11p02im-asmtp002.me.com> for users@qpid.apache.org; Wed, 22 Jul 2015 18:33:52 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151,1.0.33,0.0.0000 definitions=2015-07-22_06:2015-07-22,2015-07-22,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=1 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1412110000 definitions=main-1507220264 From: Philip Preston Content-type: multipart/alternative; boundary="Apple-Mail=_2A1B85AC-FF4F-44CF-8D72-1C5A39E72CEB" Message-id: <2B3858B5-F3A1-42B3-B742-E087D073577D@mac.com> MIME-version: 1.0 (Mac OS X Mail 8.2 \(2102\)) Subject: Re: Proton issue with large Messages to Java QPID Broker Date: Wed, 22 Jul 2015 19:33:49 +0100 References: To: users@qpid.apache.org In-reply-to: X-Mailer: Apple Mail (2.2102) --Apple-Mail=_2A1B85AC-FF4F-44CF-8D72-1C5A39E72CEB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hey=20 Yeah - as I said it was all pretty vanilla - so thought it was unusual. I=E2=80=99ll get the logs and open issue. I=E2=80=99ll kick the tires on later releases. Thanks Phil > On 22 Jul 2015, at 13:22, Rob Godfrey wrote: >=20 > Hi Phil, >=20 > this seems odd - I know people have been sending and receiving to/from = the Java Broker successfully using Proton. Can you turn on debug = logging in the Java Broker (edit your log4j.xml config file and move all = the thresholds down to DEBUG for instance)? If you can create a JIRA = for this issue (https://issues.apache.org/jira/browse/QPID = ) and attach any DEBUG log = as attachments that would be really helpful. >=20 > Out of interest - have you tried with newer versions of Proton? >=20 > -- Rob >=20 > On 22 July 2015 at 00:44, Philip Preston > wrote: > Hey=20 >=20 > I was testing the broker implementation that is currently being worked = on in OpenMAMA and came across an issue, which I have been able to = recreate with proton send / recv example apps. =20 >=20 > The issue is seen with sending large payloads to Java QPID Broker = using the proton send application as follows: >=20 > ./send -a topic://127.0.0.1/MAMA/PHIL <> >=20 > And the receive as per below: >=20 > ./recv topic://127.0.0.1/MAMA/PHIL <> >=20 > I am running the Java QPID Broker v0.32 running with java v1.8.0_45 - = vanilla setup (although I have ran this java broker on Centos 7 along = with the clients to be sure not a mac thing). The message makes it to = the recv client and throws an assertion: >=20 > Assertion failed: (msg && bytes && size), function pn_message_decode, = file = /Users/ppreston/Developer/Libraries/Source/qpid-proton/proton-c/src/messag= e/message.c, line 656. > Abort trap: 6 >=20 > I am running proton v0.8 (debug build). Running in lldb I can see = whats failing: >=20 > frame #0: 0x000000010002cef4 = libqpid-proton.2.dylib`pn_message_decode(msg=3D0x0000000100204c00, = bytes=3D0x000000010101d800, size=3D0) + 36 at message.c:656 > 653=20 > 654 int pn_message_decode(pn_message_t *msg, const char *bytes, = size_t size) > 655 { > -> 656 assert(msg && bytes && size); > 657=20 > 658 pn_message_clear(msg); > 659=20 > (lldb) p msg > (pn_message_t *) $0 =3D 0x0000000100204c00 > (lldb) p bytes > (const char *) $1 =3D 0x000000010101d800 "" > (lldb) p size > (size_t) $2 =3D 0 > (lldb) >=20 > When I inspect the messages in Wireshark I can see it flags malformed = packet. Following is from the send client to the broker. >=20 >=20 >=20 > Running the same clients to a C++ Qpid Broker v0.32, however, there = are no issues and the data is received in the recv client fine. The = qpidd is running vanilla with =E2=80=94topic-pattern parameter. >=20 > Have checked the following combinations with large payloads (ruling = out different MTU on loopback vs active interfaces) >=20 > send (mac) =E2=80=94> Java Broker (loopback mac) =E2=80=94>= recv (mac) : Fail > send (mac) =E2=80=94> Java Broker (vnic linux) =E2=80=94>= recv (mac) : Fail > send (linux) =E2=80=94> Java Broker (loopback linux) =E2=80=94>= recv (linux) : Fail > send (mac) =E2=80=94> C++ Broker (vnic linux) =E2=80=94>= recv (mac) : Pass > send (linux) =E2=80=94> C++ Broker (loopback linux) =E2=80=94>= recv (linux) : Pass >=20 > Wanted to check whether anyone else has experienced this? Something = configuration based? I am not that familiar with QPID brokers so not = ruling out something I haven=E2=80=99t setup in Java that=E2=80=99s not = needed in C++. >=20 > Any help or guidance would be greatly appreciated before I go down a = rabbit hole. =20 >=20 > Thanks >=20 > Phil >=20 >=20 >=20 >=20 --Apple-Mail=_2A1B85AC-FF4F-44CF-8D72-1C5A39E72CEB--