[ 
https://issues.apache.org/jira/browse/DISPATCH-1417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chuck Rolke updated DISPATCH-1417:
----------------------------------
    Attachment: INTB.conf

> 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
>
>         Attachments: INTB.conf
>
>
> 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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to