Re: [zeromq-dev] 0MQ-based proxy worker crashes with Assertion failed: pipe (bundled/zeromq/src/session_base.cpp:441)

2014-09-18 Thread Tomas Krajca
@lists.zeromq.org *Subject:* *Re: [zeromq-dev] 0MQ-based proxy worker crashes with Assertion failed: pipe (bundled/zeromq/src/session_base.cpp:441)* *Reply-To:* ZeroMQ development list zeromq-dev@lists.zeromq.org mailto:zeromq-dev@lists.zeromq.org On Tue, Sep 16, 2014 at 12:59 PM, Tomas Krajca

Re: [zeromq-dev] 0MQ-based proxy worker crashes with Assertion failed: pipe (bundled/zeromq/src/session_base.cpp:441)

2014-09-17 Thread Pieter Hintjens
On Tue, Sep 16, 2014 at 12:59 PM, Tomas Krajca t.l.kra...@gmail.com wrote: Is there any plan for releasing libzmq 4.0.5? Sure, it's waiting for someone to ask for it... we tend to release updates like this when people ask for them. -Pieter ___

Re: [zeromq-dev] 0MQ-based proxy worker crashes with Assertion failed: pipe (bundled/zeromq/src/session_base.cpp:441)

2014-09-16 Thread Tomas Krajca
So the proxy ran against libzmq master for about 15 hours just fine (over 100 requests), then I had to stop it. :( We are now working on a different theory. Apparently, using multiprocessing, threading and logging in python altogether might cause issues (deadlocks, etc.). I think the

Re: [zeromq-dev] 0MQ-based proxy worker crashes with Assertion failed: pipe (bundled/zeromq/src/session_base.cpp:441)

2014-09-15 Thread Tomas Krajca
Hi, I've got a few more observations that I made over the weekend. It crashes whether I set linger=1 or linger=-1. It crashes whether it runs with gevent threads or POSIX threads. It crashes whether the DEALER in the master process talks over ipc or tcp with the REP workers. I also tried to

Re: [zeromq-dev] 0MQ-based proxy worker crashes with Assertion failed: pipe (bundled/zeromq/src/session_base.cpp:441)

2014-09-12 Thread Tomas Krajca
Does anybody have any idea about the original proxy crash? The proxy did about 8 requests just fine today and then it crashed with the pipe assertion again, really weird. Thanks, Tomas On 10 Sep 2014, at 10:51 am, Tomas Krajca t.l.kra...@gmail.com wrote: Thanks Justin, zurl is

Re: [zeromq-dev] 0MQ-based proxy worker crashes with Assertion failed: pipe (bundled/zeromq/src/session_base.cpp:441)

2014-09-12 Thread Pieter Hintjens
Is there any way you can cut down your code to a minimal case that you can get to crash? That is usually the best way to get the problem resolved. On Fri, Sep 12, 2014 at 8:26 AM, Tomas Krajca t.l.kra...@gmail.com wrote: Does anybody have any idea about the original proxy crash? The proxy did

Re: [zeromq-dev] 0MQ-based proxy worker crashes with Assertion failed: pipe (bundled/zeromq/src/session_base.cpp:441)

2014-09-12 Thread Tomas Krajca
Thanks Peter, I don't have a minimal case yet, I am trying to narrow it down but I struggle a bit since I am not a C++ programmer and I don't know much about 0MQ internals. The main problem is that I don't get any python stacktrace or anything like that, the proxy worker crashes with the 0MQ

Re: [zeromq-dev] 0MQ-based proxy worker crashes with Assertion failed: pipe (bundled/zeromq/src/session_base.cpp:441)

2014-09-12 Thread Martin Hurton
Hi Tomas, can you please check with the master and report back? Thanks. On Sep 9, 2014 3:44 AM, Tomas Krajca t.l.kra...@gmail.com wrote: Hi, I've got a 0MQ-based proxy, clients talk 0MQ to the proxy, the proxy then talks HTTP to do either a GET on a specific url endpoint or a POST on a

Re: [zeromq-dev] 0MQ-based proxy worker crashes with Assertion failed: pipe (bundled/zeromq/src/session_base.cpp:441)

2014-09-12 Thread Tomas Krajca
Thanks, that's a good idea, I'll give that a go on Monday. Tomas On 13 Sep 2014, at 1:59 am, Martin Hurton hurt...@gmail.com wrote: Hi Tomas, can you please check with the master and report back? Thanks. On Sep 9, 2014 3:44 AM, Tomas Krajca t.l.kra...@gmail.com wrote: Hi, I've got a

Re: [zeromq-dev] 0MQ-based proxy worker crashes with Assertion failed: pipe (bundled/zeromq/src/session_base.cpp:441)

2014-09-09 Thread Tomas Krajca
Thanks Justin, zurl is definitely worth looking at. Regards, Tomas On 9 Sep 2014, at 12:35 pm, Justin Karneges jus...@affinix.com wrote: Hi Tomas, This does not answer your question at all, but you might be interested in the Zurl project. It is a 0MQ daemon that does HTTP requests. You

Re: [zeromq-dev] 0MQ-based proxy worker crashes with Assertion failed: pipe (bundled/zeromq/src/session_base.cpp:441)

2014-09-08 Thread Justin Karneges
Hi Tomas, This does not answer your question at all, but you might be interested in the Zurl project. It is a 0MQ daemon that does HTTP requests. You can speak to it with REQ/REP. https://github.com/fanout/zurl On 09/08/2014 06:44 PM, Tomas Krajca wrote: Hi, I've got a 0MQ-based proxy,