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

Ganesh Murthy resolved DISPATCH-586.
------------------------------------
    Resolution: Fixed

This issue looks very similar to the proton object lifecycle management issue 
addressed by DISPATCH-583 which has been fixed. 

Mark, can you please try with the latest dispatch master branch build?

> Dispatch crash on running c sender and receiver
> -----------------------------------------------
>
>                 Key: DISPATCH-586
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-586
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Container
>    Affects Versions: 0.7.0
>            Reporter: Ganesh Murthy
>            Assignee: Ganesh Murthy
>             Fix For: 0.8.0
>
>         Attachments: build.sh, receiver.c, sender.c
>
>
> Sender and receiver c classes are attached. 
> Start the router (dispatch-master and proton-master)
> Start the senders and receivers like this
> ./receiver -a 172.123.10.11:10000 -c 36000 -q -s test6_1 &
> ./sender -a 172.123.10.11:10000 -c 36000 -q -u -t test6_1
> The router crashes with the following backtrace
> {noformat}
> (gdb) bt
> #0  0x0000000000000070 in ?? ()
> #1  0x00007f31bba40de0 in pn_class_free (clazz=0x7f31a0058f80, 
> object=0x7f31a0025680) at 
> /usr/src/debug/qpid-proton-0.14.0/proton-c/src/object/object.c:117
> #2  0x00007f31bba40fcf in pn_free (object=<optimized out>) at 
> /usr/src/debug/qpid-proton-0.14.0/proton-c/src/object/object.c:263
> #3  0x00007f31bba4bcf2 in pni_free_children (children=0x7f31a0017180, 
> freed=0x7f31a0017040) at 
> /usr/src/debug/qpid-proton-0.14.0/proton-c/src/engine/engine.c:456
> #4  0x00007f31bba4c509 in pn_session_finalize (object=0x7f31a0038fa0) at 
> /usr/src/debug/qpid-proton-0.14.0/proton-c/src/engine/engine.c:926
> #5  0x00007f31bba40d98 in pn_class_decref (clazz=0x7f31bbc78500 <clazz.4954>, 
> object=0x7f31a0038fa0) at 
> /usr/src/debug/qpid-proton-0.14.0/proton-c/src/object/object.c:95
> #6  0x00007f31bba4f140 in pn_event_finalize (event=0x7f31a0016b40) at 
> /usr/src/debug/qpid-proton-0.14.0/proton-c/src/events/event.c:212
> #7  pn_event_finalize_cast (object=0x7f31a0016b40) at 
> /usr/src/debug/qpid-proton-0.14.0/proton-c/src/events/event.c:257
> #8  0x00007f31bba40d98 in pn_class_decref (clazz=0x7f31bbc78600 <clazz.3098>, 
> clazz@entry=0x7f31bbc77f00 <PN_OBJECT>, object=0x7f31a0016b40)
>     at /usr/src/debug/qpid-proton-0.14.0/proton-c/src/object/object.c:95
> #9  0x00007f31bba40faf in pn_decref (object=<optimized out>) at 
> /usr/src/debug/qpid-proton-0.14.0/proton-c/src/object/object.c:253
> #10 0x00007f31bba4f402 in pn_collector_pop 
> (collector=collector@entry=0x7f31a0019340) at 
> /usr/src/debug/qpid-proton-0.14.0/proton-c/src/events/event.c:189
> #11 0x00007f31bbcbc82e in process_connector (cxtr=<optimized out>, 
> qd_server=0x15f7bb0) at /usr/src/debug/qpid-dispatch-0.7.0/src/server.c:856
> #12 thread_run (arg=<optimized out>) at 
> /usr/src/debug/qpid-dispatch-0.7.0/src/server.c:1080
> #13 0x00007f31bb818dc5 in start_thread () from /lib64/libpthread.so.0
> #14 0x00007f31bad741cd in clone () from /lib64/libc.so.6
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to