[ https://issues.apache.org/jira/browse/PROTON-608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14030641#comment-14030641 ]
Gordon Sim commented on PROTON-608: ----------------------------------- > 2014-06-11 17:12:11 [Protocol] trace [qpid.127.0.0.1:5672-127.0.0.1:42526]: > <- AMQP > 2014-06-11 17:12:11 [Protocol] trace [qpid.127.0.0.1:5672-127.0.0.1:42526]: > 65535 <- @attach(18) [name="amq.topic_1", handle=0, role=false, > snd-settle-mode=2, rcv-settle-mode=0, target=@target(41) > [address="amq.topic"], incomplete-unsettled=false, initial-delivery-count=0] > Segmentation fault (core dumped) > Core was generated by `./src/qpidd --auth no --load-module ./src/amqp.so > --log-enable info+ --log-enab'. > Program terminated with signal 11, Segmentation fault. > #0 0x00007f4a9be383b4 in pn_find_link () from > /home/gordon/qpid-releases/proton/0.7/installation/lib64/libqpid-proton.so.2 > Missing separate debuginfos, use: debuginfo-install > boost-program-options-1.48.0-14.fc17.x86_64 > cyrus-sasl-lib-2.1.23-31.fc17.x86_64 glibc-2.15-59.fc17.x86_64 > keyutils-libs-1.5.5-2.fc17.x86_64 krb5-libs-1.10.2-12.fc17.x86_64 > libcom_err-1.42.3-3.fc17.x86_64 libselinux-2.1.10-3.fc17.x86_64 > libuuid-2.21.2-4.fc17.x86_64 nspr-4.9.6-1.fc17.x86_64 > nss-3.14.3-2.fc17.x86_64 nss-softokn-freebl-3.14.3-1.fc17.x86_64 > nss-util-3.14.3-1.fc17.x86_64 openssl-1.0.0k-1.fc17.x86_64 > zlib-1.2.5-7.fc17.x86_64 > (gdb) bt > #0 0x00007f4a9be383b4 in pn_find_link () from > /home/gordon/qpid-releases/proton/0.7/installation/lib64/libqpid-proton.so.2 > #1 0x00007f4a9be385ce in pn_do_attach () from > /home/gordon/qpid-releases/proton/0.7/installation/lib64/libqpid-proton.so.2 > #2 0x00007f4a9be32c34 in pn_dispatch_frame () from > /home/gordon/qpid-releases/proton/0.7/installation/lib64/libqpid-proton.so.2 > #3 0x00007f4a9be32dc7 in pn_dispatcher_input () from > /home/gordon/qpid-releases/proton/0.7/installation/lib64/libqpid-proton.so.2 > #4 0x00007f4a9be3a5ee in pn_input_read_amqp () from > /home/gordon/qpid-releases/proton/0.7/installation/lib64/libqpid-proton.so.2 > #5 0x00007f4a9be39b65 in transport_consume () from > /home/gordon/qpid-releases/proton/0.7/installation/lib64/libqpid-proton.so.2 > #6 0x00007f4a9be3aaf2 in pn_transport_process () from > /home/gordon/qpid-releases/proton/0.7/installation/lib64/libqpid-proton.so.2 > #7 0x00007f4a9be3ac48 in pn_transport_input () from > /home/gordon/qpid-releases/proton/0.7/installation/lib64/libqpid-proton.so.2 > #8 0x00007f4a9c103516 in qpid::broker::amqp::Connection::decode(char const*, > unsigned long) () from > seg fault if attach is sent before open and begin > ------------------------------------------------- > > Key: PROTON-608 > URL: https://issues.apache.org/jira/browse/PROTON-608 > Project: Qpid Proton > Issue Type: Bug > Components: proton-c > Affects Versions: 0.7 > Reporter: Gordon Sim > Fix For: 0.8 > > > While working with the proton-j engine, I inadvertently opened a link before > opening the corresponding session and connection. This resulted in the attach > being sent without the open or begin. Though clearly user error, it did show > up an issue with the proton-c engine, where this sequence causes a segfault. -- This message was sent by Atlassian JIRA (v6.2#6252)