[jira] [Commented] (PROTON-556) SegFault during settle message
[ https://issues.apache.org/jira/browse/PROTON-556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13963895#comment-13963895 ] Piotr Kliczewski commented on PROTON-556: - Hi, I am running openjdk7 with latest proton-j. The communication is encrypted on python server by using https://pypi.python.org/pypi/M2Crypto. I start python server and connect to it java client which sends message every couple of seconds. Every time after a minute or two I get segfault. Thanks, Piotr SegFault during settle message -- Key: PROTON-556 URL: https://issues.apache.org/jira/browse/PROTON-556 Project: Qpid Proton Issue Type: Bug Components: python-binding Affects Versions: 0.6 Environment: Fedora 20 with python 2.7.5 and python-qpid-proton 0.6. Reporter: Piotr Kliczewski Assignee: Ken Giusti Priority: Blocker Attachments: vdsm.crash.info.tar.gz I am using following code [1] as server and java code as client. I have communication going for 1 or 2 minutes and during settlement of one of the messages I get segfault. I can recreate it every time. [1] http://gerrit.ovirt.org/#/c/26300/5/lib/yajsonrpc/amqp.py -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Created] (PROTON-559) typo prevents compilation of posix/io.c on OSX
Bozo Dragojevic created PROTON-559: -- Summary: typo prevents compilation of posix/io.c on OSX Key: PROTON-559 URL: https://issues.apache.org/jira/browse/PROTON-559 Project: Qpid Proton Issue Type: Bug Components: proton-c Affects Versions: 0.7 Reporter: Bozo Dragojevic diff --git a/proton-c/src/posix/io.c b/proton-c/src/posix/io.c index c6de09e..11379ff 100644 --- a/proton-c/src/posix/io.c +++ b/proton-c/src/posix/io.c @@ -229,7 +229,7 @@ static inline int pn_create_socket(int af) { } #elif defined(SO_NOSIGPIPE) ssize_t pn_send(pn_io_t *io, pn_socket_t socket, const void *buf, size_t size) { - ssize_t count = return send(socket, buf, len, 0); + ssize_t count = send(socket, buf, size, 0); io-wouldblock = count 0 (errno == EAGAIN || errno == EWOULDBLOCK); return count; } -- This message was sent by Atlassian JIRA (v6.2#6252)
Re: Proton 0.7 RC2
On 8. 04. 14 21:34, Rafael Schloming wrote: Hi Everyone, I've posted 0.7 RC2 in the usual places. Source can be found here: http://people.apache.org/~rhs/qpid-proton-0.7rc2/ Java binaries here: https://repository.apache.org/content/repositories/orgapacheqpid-1002/ Note that the install procedure has changed from prior versions and the README has had some significant updates, so any build/install testing and README proof reading are very welcome. Please follow up on this thread with any issues you encounter. --Rafael PROTON-559 typo prevents compilation of posix/io.c on OSX Bozzo
Can only access ~24 selectables before blowing up...
In working with passive mode and selectables, I've hit a strange reproducible problem. I have a simple add-on to Messenger that lets me have it push incoming messages to an EventMachine channel [1]. If I send messages to the echo example app (it's not echoing yet), it will consistently receive around 24 messages before dying. I've tried putting delays in between the sends. I've sent the messages in batches (tried 100, tried sending in units of 10 and 5). Each time it blows up around the 24th message. The underlying error the comes up is always the same: ---8[snip]--- *** I received: This is message 22 ??? read_array=[9, 7] write_array=[9, 7] +++ fd=9 : rarray=[] +++ fd=7 : rarray=[#IO:fd 9] +++ fd=9 : warray=[] +++ fd=7 : warray=[#IO:fd 9] ### capacity=16384 pending=0 ??? read_array=[9, 7, 12] write_array=[9, 7, 12] +++ fd=9 : rarray=[] +++ fd=7 : rarray=[#IO:fd 9] +++ fd=12 : rarray=[#IO:fd 9, #IO:fd 7] +++ fd=9 : warray=[] +++ fd=7 : warray=[#IO:fd 9] +++ fd=12 : warray=[#IO:fd 9, #IO:fd 7] ### capacity=16384 pending=0 ??? read_array=[9, 7, 12] write_array=[9, 7, 12] +++ fd=9 : rarray=[] +++ fd=7 : rarray=[#IO:fd 9] +++ fd=12 : rarray=[#IO:fd 9, #IO:fd 7] +++ fd=9 : warray=[] +++ fd=7 : warray=[#IO:fd 9] +++ fd=12 : warray=[#IO:fd 9, #IO:fd 7] recv: Bad file descriptor [0x7f88b80700c0]:ERROR[-2] AMQP header mismatch: '' (connection aborted) CONNECTION ERROR connection aborted (remote) !!! deleting fd=12 ??? read_array=[9, 7] write_array=[9, 7] +++ fd=9 : rarray=[] /home/mcpierce/Programming/eventful-qpid-proton/lib/eventful-qpid-proton/event_machine.rb:80:in `initialize': Bad file descriptor (Errno::EBADF) from /home/mcpierce/Programming/eventful-qpid-proton/lib/eventful-qpid-proton/event_machine.rb:80:in `new' from /home/mcpierce/Programming/eventful-qpid-proton/lib/eventful-qpid-proton/event_machine.rb:80:in `block (3 levels) in start_event_monitor' from /home/mcpierce/Programming/eventful-qpid-proton/lib/eventful-qpid-proton/event_machine.rb:78:in `each' from /home/mcpierce/Programming/eventful-qpid-proton/lib/eventful-qpid-proton/event_machine.rb:78:in `block (2 levels) in start_event_monitor' from /home/mcpierce/Programming/eventful-qpid-proton/lib/eventful-qpid-proton/event_machine.rb:39:in `loop' from /home/mcpierce/Programming/eventful-qpid-proton/lib/eventful-qpid-proton/event_machine.rb:39:in `block in start_event_monitor' ruby-mri: /home/mcpierce/Programming/Proton/proton-c/src/object/object.c:99: pn_free: Assertion `pn_refcount(object) == 1' failed. Aborted ---8[snip]--- At the point where the error occurs, Ruby is attempting to wrap the fileno returned by the Selectable in an IO object. In this case it is almost always the number 9 that's coming up. Anybody see anything related to this before? [1] https://github.com/mcpierce/eventful-qpid-proton -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor/ pgpBhKnix2SGL.pgp Description: PGP signature
Re: Proton 0.7 RC2
Thanks, that should be fixed on trunk now. I'll do another RC soon. Please continue to report any other issues you encounter here. --Rafael On Wed, Apr 9, 2014 at 3:33 PM, Bozo Dragojevic bo...@digiverse.si wrote: On 8. 04. 14 21:34, Rafael Schloming wrote: Hi Everyone, I've posted 0.7 RC2 in the usual places. Source can be found here: http://people.apache.org/~rhs/qpid-proton-0.7rc2/ Java binaries here: https://repository.apache.org/content/repositories/orgapacheqpid-1002/ Note that the install procedure has changed from prior versions and the README has had some significant updates, so any build/install testing and README proof reading are very welcome. Please follow up on this thread with any issues you encounter. --Rafael PROTON-559 typo prevents compilation of posix/io.c on OSX Bozzo