You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "mpup371 (Jira)" <ji...@apache.org> on 2020/04/10 09:47:00 UTC

[jira] [Created] (PROTON-2191) broker crash on unexpected closed session

mpup371 created PROTON-2191:
-------------------------------

             Summary: broker crash on unexpected closed session
                 Key: PROTON-2191
                 URL: https://issues.apache.org/jira/browse/PROTON-2191
             Project: Qpid Proton
          Issue Type: Bug
          Components: examples, go-binding
    Affects Versions: proton-c-0.30.0
         Environment: 
[userdev@modaws]~/go/src/jf/AMQP/examples/broker% ldd broker
        linux-vdso.so.1 =>  (0x00007ffcdefd7000)
        libqpid-proton-core.so.10 => /usr/local/lib64/libqpid-proton-core.so.10 (0x00007f3d892e2000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f3d890c6000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f3d88cf8000)
        libssl.so.10 => /lib64/libssl.so.10 (0x00007f3d88a86000)
        libsasl2.so.3 => /lib64/libsasl2.so.3 (0x00007f3d88869000)
        libcrypto.so.10 => /lib64/libcrypto.so.10 (0x00007f3d88406000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f3d8951d000)
        libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007f3d881b9000)
        libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007f3d87ed0000)
        libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007f3d87ccc000)
        libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007f3d87a99000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f3d87895000)
        libz.so.1 => /lib64/libz.so.1 (0x00007f3d8767f000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f3d87466000)
        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f3d8722f000)
        libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007f3d8701f000)
        libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007f3d86e1b000)
        libfreebl3.so => /lib64/libfreebl3.so (0x00007f3d86c18000)
        libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f3d869f1000)
        libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f3d8678f000)
[userdev@modaws]~/go/src/jf/AMQP/examples/broker% uname -a
Linux modaws 3.10.0-1062.18.1.el7.x86_64 #1 SMP Tue Mar 17 23:49:17 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
            Reporter: mpup371
            Assignee: Alan Conway
         Attachments: broker.go, panic.txt, send.go

Hi,

when playing around with examples at  [https://github.com/apache/qpid-proton/blob/master/go/examples/README.md,] I  mistakenly added a sesssion.close() in  send.go before reading the ack outcomes.

Apparently when broker.go is in debug mode, it can crash. (error output attached)

added at line 90 in send.go:

s.Close(nil) // ***** mistake here *****/

I don't know if the problem is in the example itself, or deeper in the libs

Terminal 1:

[userdev@modaws]~/go/src/jf/AMQP/examples/broker% ./broker -debug

... panic ...

 

Terminal 2:

[userdev@modaws]~/go/src/jf/AMQP/examples/send% ./send -count 1000 amqp://localhost:5672/topic
2020/04/10 11:25:35 acknowledgement[960] unexpected status: unknown

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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