qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <j...@apache.org>
Subject [jira] [Commented] (DISPATCH-1417) Crash when connection_wake ctx points to freed memory
Date Thu, 12 Sep 2019 21:28:00 GMT

    [ https://issues.apache.org/jira/browse/DISPATCH-1417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16928896#comment-16928896
] 

ASF GitHub Bot commented on DISPATCH-1417:
------------------------------------------

codecov-io commented on issue #565: DISPATCH-1417 - First attempt at fixing router crash by
introducing a…
URL: https://github.com/apache/qpid-dispatch/pull/565#issuecomment-530650025
 
 
   # [Codecov](https://codecov.io/gh/apache/qpid-dispatch/pull/565?src=pr&el=h1) Report
   > Merging [#565](https://codecov.io/gh/apache/qpid-dispatch/pull/565?src=pr&el=desc)
into [master](https://codecov.io/gh/apache/qpid-dispatch/commit/d0e391ce53e036156197d0a7c3ebab33aac7b5e8?src=pr&el=desc)
will **decrease** coverage by `0.02%`.
   > The diff coverage is `100%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/qpid-dispatch/pull/565/graphs/tree.svg?width=650&token=rk2Cgd27pP&height=150&src=pr)](https://codecov.io/gh/apache/qpid-dispatch/pull/565?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master     #565      +/-   ##
   ==========================================
   - Coverage   86.71%   86.69%   -0.03%     
   ==========================================
     Files          88       88              
     Lines       20067    20076       +9     
   ==========================================
   + Hits        17402    17404       +2     
   - Misses       2665     2672       +7
   ```
   
   
   | [Impacted Files](https://codecov.io/gh/apache/qpid-dispatch/pull/565?src=pr&el=tree)
| Coverage Δ | |
   |---|---|---|
   | [src/router\_core/router\_core\_thread.c](https://codecov.io/gh/apache/qpid-dispatch/pull/565/diff?src=pr&el=tree#diff-c3JjL3JvdXRlcl9jb3JlL3JvdXRlcl9jb3JlX3RocmVhZC5j)
| `100% <100%> (ø)` | :arrow_up: |
   | [src/server.c](https://codecov.io/gh/apache/qpid-dispatch/pull/565/diff?src=pr&el=tree#diff-c3JjL3NlcnZlci5j)
| `86.46% <100%> (+0.1%)` | :arrow_up: |
   | [src/router\_core/transfer.c](https://codecov.io/gh/apache/qpid-dispatch/pull/565/diff?src=pr&el=tree#diff-c3JjL3JvdXRlcl9jb3JlL3RyYW5zZmVyLmM=)
| `93.19% <0%> (-0.76%)` | :arrow_down: |
   | [src/router\_core/route\_tables.c](https://codecov.io/gh/apache/qpid-dispatch/pull/565/diff?src=pr&el=tree#diff-c3JjL3JvdXRlcl9jb3JlL3JvdXRlX3RhYmxlcy5j)
| `75.68% <0%> (-0.5%)` | :arrow_down: |
   | [src/router\_core/connections.c](https://codecov.io/gh/apache/qpid-dispatch/pull/565/diff?src=pr&el=tree#diff-c3JjL3JvdXRlcl9jb3JlL2Nvbm5lY3Rpb25zLmM=)
| `93.86% <0%> (-0.23%)` | :arrow_down: |
   | [src/parse.c](https://codecov.io/gh/apache/qpid-dispatch/pull/565/diff?src=pr&el=tree#diff-c3JjL3BhcnNlLmM=)
| `87.86% <0%> (-0.23%)` | :arrow_down: |
   | [src/iterator.c](https://codecov.io/gh/apache/qpid-dispatch/pull/565/diff?src=pr&el=tree#diff-c3JjL2l0ZXJhdG9yLmM=)
| `89.15% <0%> (-0.17%)` | :arrow_down: |
   | [src/router\_node.c](https://codecov.io/gh/apache/qpid-dispatch/pull/565/diff?src=pr&el=tree#diff-c3JjL3JvdXRlcl9ub2RlLmM=)
| `93.01% <0%> (ø)` | :arrow_up: |
   | [src/message.c](https://codecov.io/gh/apache/qpid-dispatch/pull/565/diff?src=pr&el=tree#diff-c3JjL21lc3NhZ2UuYw==)
| `90.99% <0%> (+0.09%)` | :arrow_up: |
   | [src/router\_core/delivery.c](https://codecov.io/gh/apache/qpid-dispatch/pull/565/diff?src=pr&el=tree#diff-c3JjL3JvdXRlcl9jb3JlL2RlbGl2ZXJ5LmM=)
| `88.46% <0%> (+0.19%)` | :arrow_up: |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/qpid-dispatch/pull/565?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/qpid-dispatch/pull/565?src=pr&el=footer).
Last update [d0e391c...f11767b](https://codecov.io/gh/apache/qpid-dispatch/pull/565?src=pr&el=lastupdated).
Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   
 
----------------------------------------------------------------
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.
 
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 edge router. Another
client repeats the cycle "connect, receive one message from the stream, disconnect". Soon
the edge router core dumps with:
> {{(gdb) bt
> #0 get_pconnection (c=0x9999999999999999) at /home/chug/git/qpid-proton/c/src/proactor/epoll.c:578
> #1 0x00007fc8c0582a1c in pn_connection_wake (c=0x9999999999999999) at /home/chug/git/qpid-proton/c/src/proactor/epoll.c:1439
> #2 0x00007fc8c0668472 in connection_wake (ctx=0x1a43658) at /home/chug/Downloads/qpid-dispatch-1.9.0/src/server.c:505
> #3 0x00007fc8c066b2af in qd_server_activate (ctx=0x1a43658) at /home/chug/Downloads/qpid-dispatch-1.9.0/src/server.c:1304
> #4 0x00007fc8c064f3dd in qdr_activate_connections_CT (core=0x19c8ce0) at /home/chug/Downloads/qpid-dispatch-1.9.0/src/router_core/router_core_thread.c:65
> #5 0x00007fc8c064fa1d in router_core_thread (arg=0x19c8ce0) at /home/chug/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 
> * 1 Thread 0x7fc8b1e44700 (LWP 21706) get_pconnection (c=0x9999999999999999) 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


Mime
View raw message