Kim van der Riet created PROTON-1824: ----------------------------------------
Summary: [Python binding] Use of proton.Array causes SIGSEGV in encoder Key: PROTON-1824 URL: https://issues.apache.org/jira/browse/PROTON-1824 Project: Qpid Proton Issue Type: Bug Components: proton-c, python-binding Reporter: Kim van der Riet Attachments: simple_send.py Using proton.Array as a message body in Python 2.7 causes a segmentation fault in Proton. A reproducer which is based on the Python examples simple_send.py is attached. The trace (lastĀ sevenĀ frames only) is as follows: {noformat} (gdb) bt #0 0x00007f54f71b27de in pn_encoder_writef32 (encoder=0x55f61e8602f0, value=512110782) at /home/kvdr/RedHat/qpid-proton/c/src/core/encoder.c:183 #1 0x00007f54f71b3369 in pni_encoder_exit (ctx=0x55f61e8602f0, data=0x55f61e85fd70, node=0x55f61e863a98) at /home/kvdr/RedHat/qpid-proton/c/src/core/encoder.c:381 #2 0x00007f54f71af26f in pni_data_traverse (data=0x55f61e85fd70, enter=0x7f54f71b2b8f <pni_encoder_enter>, exit=0x7f54f71b31bd <pni_encoder_exit>, ctx=0x55f61e8602f0) at /home/kvdr/RedHat/qpid-proton/c/src/core/codec.c:1264 #3 0x00007f54f71b3417 in pn_encoder_encode (encoder=0x55f61e8602f0, src=0x55f61e85fd70, dst=0x55f61e8630a0 "", size=16) at /home/kvdr/RedHat/qpid-proton/c/src/core/encoder.c:401 #4 0x00007f54f71af925 in pn_data_encode (data=0x55f61e85fd70, bytes=0x55f61e8630a0 "", size=16) at /home/kvdr/RedHat/qpid-proton/c/src/core/codec.c:1441 #5 0x00007f54f71c693d in pn_message_encode (msg=0x55f61e84ec40, bytes=0x55f61e8630a0 "", size=0x7fff60a71d10) at /home/kvdr/RedHat/qpid-proton/c/src/core/message.c:764 #6 0x00007f54f742071c in _wrap_pn_message_encode (self=0x0, args=0x7f54f2a2a440) at /home/kvdr/RedHat/qpid-proton/build/python/cprotonPYTHON_wrap.c:4098 {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org