From dev-return-97078-archive-asf-public=cust-asf.ponee.io@qpid.apache.org Thu Sep 12 03:33:03 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 52E9218063F for ; Thu, 12 Sep 2019 05:33:03 +0200 (CEST) Received: (qmail 91074 invoked by uid 500); 12 Sep 2019 03:33:02 -0000 Mailing-List: contact dev-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@qpid.apache.org Delivered-To: mailing list dev@qpid.apache.org Received: (qmail 91058 invoked by uid 99); 12 Sep 2019 03:33:02 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Sep 2019 03:33:02 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 7BAD3E3154 for ; Thu, 12 Sep 2019 03:33:01 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 3C777780A6A for ; Thu, 12 Sep 2019 03:33:00 +0000 (UTC) Date: Thu, 12 Sep 2019 03:33:00 +0000 (UTC) From: "ASF GitHub Bot (Jira)" To: dev@qpid.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DISPATCH-1417) Crash when connection_wake ctx points to freed memory MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DISPATCH-1417?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1= 6928166#comment-16928166 ]=20 ASF GitHub Bot commented on DISPATCH-1417: ------------------------------------------ codecov-io commented on issue #565: DISPATCH-1417 - First attempt at fixing= router crash by introducing a=E2=80=A6 URL: https://github.com/apache/qpid-dispatch/pull/565#issuecomment-53065002= 5 =20 =20 # [Codecov](https://codecov.io/gh/apache/qpid-dispatch/pull/565?src=3Dpr= &el=3Dh1) Report > Merging [#565](https://codecov.io/gh/apache/qpid-dispatch/pull/565?src= =3Dpr&el=3Ddesc) into [master](https://codecov.io/gh/apache/qpid-dispatch/c= ommit/d0e391ce53e036156197d0a7c3ebab33aac7b5e8?src=3Dpr&el=3Ddesc) will **d= ecrease** coverage by `0.01%`. > The diff coverage is `100%`. =20 [![Impacted file tree graph](https://codecov.io/gh/apache/qpid-dispatch/= pull/565/graphs/tree.svg?width=3D650&token=3Drk2Cgd27pP&height=3D150&src=3D= pr)](https://codecov.io/gh/apache/qpid-dispatch/pull/565?src=3Dpr&el=3Dtree= ) =20 ```diff @@ Coverage Diff @@ ## master #565 +/- ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D - Coverage 86.71% 86.7% -0.02% =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Files 88 88 =20 Lines 20067 20076 +9 =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + Hits 17402 17406 +4 =20 - Misses 2665 2670 +5 ``` =20 =20 | [Impacted Files](https://codecov.io/gh/apache/qpid-dispatch/pull/565?s= rc=3Dpr&el=3Dtree) | Coverage =CE=94 | | |---|---|---| | [src/router\_core/router\_core\_thread.c](https://codecov.io/gh/apache= /qpid-dispatch/pull/565/diff?src=3Dpr&el=3Dtree#diff-c3JjL3JvdXRlcl9jb3JlL3= JvdXRlcl9jb3JlX3RocmVhZC5j) | `100% <100%> (=C3=B8)` | :arrow_up: | | [src/server.c](https://codecov.io/gh/apache/qpid-dispatch/pull/565/dif= f?src=3Dpr&el=3Dtree#diff-c3JjL3NlcnZlci5j) | `86.46% <100%> (+0.1%)` | :ar= row_up: | | [src/router\_core/route\_tables.c](https://codecov.io/gh/apache/qpid-d= ispatch/pull/565/diff?src=3Dpr&el=3Dtree#diff-c3JjL3JvdXRlcl9jb3JlL3JvdXRlX= 3RhYmxlcy5j) | `75.68% <0%> (-0.5%)` | :arrow_down: | | [src/parse.c](https://codecov.io/gh/apache/qpid-dispatch/pull/565/diff= ?src=3Dpr&el=3Dtree#diff-c3JjL3BhcnNlLmM=3D) | `87.64% <0%> (-0.45%)` | :ar= row_down: | | [src/router\_core/core\_client\_api.c](https://codecov.io/gh/apache/qp= id-dispatch/pull/565/diff?src=3Dpr&el=3Dtree#diff-c3JjL3JvdXRlcl9jb3JlL2Nvc= mVfY2xpZW50X2FwaS5j) | `91.57% <0%> (-0.37%)` | :arrow_down: | | [src/router\_core/transfer.c](https://codecov.io/gh/apache/qpid-dispat= ch/pull/565/diff?src=3Dpr&el=3Dtree#diff-c3JjL3JvdXRlcl9jb3JlL3RyYW5zZmVyLm= M=3D) | `93.7% <0%> (-0.26%)` | :arrow_down: | | [src/container.c](https://codecov.io/gh/apache/qpid-dispatch/pull/565/= diff?src=3Dpr&el=3Dtree#diff-c3JjL2NvbnRhaW5lci5j) | `80.44% <0%> (-0.19%)`= | :arrow_down: | | [src/iterator.c](https://codecov.io/gh/apache/qpid-dispatch/pull/565/d= iff?src=3Dpr&el=3Dtree#diff-c3JjL2l0ZXJhdG9yLmM=3D) | `89.15% <0%> (-0.17%)= ` | :arrow_down: | | [src/router\_node.c](https://codecov.io/gh/apache/qpid-dispatch/pull/5= 65/diff?src=3Dpr&el=3Dtree#diff-c3JjL3JvdXRlcl9ub2RlLmM=3D) | `93.01% <0%> = (=C3=B8)` | :arrow_up: | | [src/message.c](https://codecov.io/gh/apache/qpid-dispatch/pull/565/di= ff?src=3Dpr&el=3Dtree#diff-c3JjL21lc3NhZ2UuYw=3D=3D) | `90.99% <0%> (+0.09%= )` | :arrow_up: | | ... and [2 more](https://codecov.io/gh/apache/qpid-dispatch/pull/565/d= iff?src=3Dpr&el=3Dtree-more) | | =20 ------ =20 [Continue to review full report at Codecov](https://codecov.io/gh/apache= /qpid-dispatch/pull/565?src=3Dpr&el=3Dcontinue). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/c= odecov-delta) > `=CE=94 =3D absolute (impact)`, `=C3=B8 =3D not affected`, = `? =3D missing data` > Powered by [Codecov](https://codecov.io/gh/apache/qpid-dispatch/pull/5= 65?src=3Dpr&el=3Dfooter). Last update [d0e391c...86c3915](https://codecov.i= o/gh/apache/qpid-dispatch/pull/565?src=3Dpr&el=3Dlastupdated). Read the [co= mment docs](https://docs.codecov.io/docs/pull-request-comments). =20 =20 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. =20 For queries about this service, please contact Infrastructure at: users@infra.apache.org > Crash when connection_wake ctx points to freed memory > ----------------------------------------------------- > > Key: DISPATCH-1417 > URL: https://issues.apache.org/jira/browse/DISPATCH-1417 > Project: Qpid Dispatch > Issue Type: Bug > Components: Router Node > Affects Versions: 1.8.0 > Reporter: Chuck Rolke > Assignee: Ganesh Murthy > Priority: Major > Fix For: 1.9.0 > > > Test clients are streaming unsettled multicast messages to and from an ed= ge router. Another client repeats the cycle "connect, receive one message f= rom the stream, disconnect". Soon the edge router core dumps with: > {{(gdb) bt > #0 get_pconnection (c=3D0x9999999999999999) at /home/chug/git/qpid-proton= /c/src/proactor/epoll.c:578 > #1 0x00007fc8c0582a1c in pn_connection_wake (c=3D0x9999999999999999) at /= home/chug/git/qpid-proton/c/src/proactor/epoll.c:1439 > #2 0x00007fc8c0668472 in connection_wake (ctx=3D0x1a43658) at /home/chug/= Downloads/qpid-dispatch-1.9.0/src/server.c:505 > #3 0x00007fc8c066b2af in qd_server_activate (ctx=3D0x1a43658) at /home/ch= ug/Downloads/qpid-dispatch-1.9.0/src/server.c:1304 > #4 0x00007fc8c064f3dd in qdr_activate_connections_CT (core=3D0x19c8ce0) a= t /home/chug/Downloads/qpid-dispatch-1.9.0/src/router_core/router_core_thre= ad.c:65 > #5 0x00007fc8c064fa1d in router_core_thread (arg=3D0x19c8ce0) at /home/ch= ug/Downloads/qpid-dispatch-1.9.0/src/router_core/router_core_thread.c:171 > #6 0x00007fc8c056258e in start_thread () from /usr/lib64/libpthread.so.0 > #7 0x00007fc8c0201713 in clone () from /usr/lib64/libc.so.6 > (gdb) info threads > Id Target Id Frame=20 > * 1 Thread 0x7fc8b1e44700 (LWP 21706) get_pconnection (c=3D0x999999999999= 9999) at /home/chug/git/qpid-proton/c/src/proactor/epoll.c:578 > 2 Thread 0x7fc8bf8ff240 (LWP 21696) 0x00007fc8c0201a47 in epoll_wait () = from /usr/lib64/libc.so.6 > 3 Thread 0x7fc8b0e42700 (LWP 21708) 0x00007fc8c0201a47 in epoll_wait () = from /usr/lib64/libc.so.6 > 4 Thread 0x7fc8abfff700 (LWP 21709) 0x00007fc8c0201a47 in epoll_wait () = from /usr/lib64/libc.so.6 > 5 Thread 0x7fc8b1643700 (LWP 21707) 0x00007fc8c01f6481 in poll () from /= usr/lib64/libc.so.6 > 6 Thread 0x7fc8ab7fe700 (LWP 21710) 0x00007fc8c0201a47 in epoll_wait () = from /usr/lib64/libc.so.6}} -- This message was sent by Atlassian Jira (v8.3.2#803003) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org For additional commands, e-mail: dev-help@qpid.apache.org