Re: [zeromq-dev] Assertion failed: ok (mailbox.cpp:84)

2014-03-21 Thread Turkey Breast
I had the same problem using sockets in multiple threads (same error). On Friday, March 21, 2014 8:48 PM, Mařík Miloslav wrote: Hi, Here is the test scenario and the patch.  How to test - compile zmq_server.cpp (you need boost and zmq) - run zmq_server - run several instances of client

Re: [zeromq-dev] Assertion failed: ok (mailbox.cpp:84)

2014-03-21 Thread Mařík Miloslav
Hi, Here is the test scenario and the patch. How to test - compile zmq_server.cpp (you need boost and zmq) - run zmq_server - run several instances of clients - wait a second or two, never more - you get "Assertion failed: ok (mailbox.cpp:84)" or "segfault" or "Resource not available" Please

Re: [zeromq-dev] Assertion failed: ok (mailbox.cpp:84)

2014-03-20 Thread Pieter Hintjens
If you have a patch for an issue on a stable version then (a) great! :-) and (b) we ask for an issue and a test case that shows the before/after situation. If you're not comfortable with the fix as-is, show us the code (attach it to the issue, for instance). We'd want to double check the issue is

[zeromq-dev] Assertion failed: ok (mailbox.cpp:84)

2014-03-20 Thread Mařík Miloslav
Hi, Two years ago, there was a thread with exactly the same name. I met the same problem yesterday with ZMQ 3.2.4. The test scenario was pretty simple a server is fed by n clients. Everything is ok when n is equal to one, but the server crashes within several seconds with assertion listed in th

Re: [zeromq-dev] Assertion failed: ok (mailbox.cpp:84)

2012-02-11 Thread Pieter Hintjens
On Sat, Feb 11, 2012 at 7:40 AM, Marcin Olak wrote: > Hi guys, > > In my system under heavy load and heavy socket creation/destruction an > assertion > in mailbox.cpp:84 (zeromq-2.1.11) aborts the program. Any clues why this might > hapenning? Sounds like a race condition on the pipe code. I bac

Re: [zeromq-dev] Assertion failed: ok (mailbox.cpp:84)

2012-02-11 Thread niXman
If an amount of sockets reduce to 500-1000, the error remains? 2012/2/11 Marcin Olak : > Hi, > >> If you on linux system, run your program with strace: strace >> executable -o logfile.log > > Last two requests processed by the worker thread that aborted the program: > > > > 10759 fcntl64(1847, F_

Re: [zeromq-dev] Assertion failed: ok (mailbox.cpp:84)

2012-02-10 Thread Marcin Olak
Hi, > If you on linux system, run your program with strace: strace > executable -o logfile.log Last two requests processed by the worker thread that aborted the program: 10759 fcntl64(1847, F_GETFL 10759 <... fcntl64 resumed> ) = 0x2 (flags O_RDWR) 10759 fcntl64(1847, F_SETFL, O_RDW

Re: [zeromq-dev] Assertion failed: ok (mailbox.cpp:84)

2012-02-10 Thread niXman
Hi, If you on linux system, run your program with strace: strace executable -o logfile.log niXman. 2012/2/11 Marcin Olak : > Hi guys, > > In my system under heavy load and heavy socket creation/destruction an > assertion > in mailbox.cpp:84 (zeromq-2.1.11) aborts the program. Any clues why this

[zeromq-dev] Assertion failed: ok (mailbox.cpp:84)

2012-02-10 Thread Marcin Olak
Hi guys, In my system under heavy load and heavy socket creation/destruction an assertion in mailbox.cpp:84 (zeromq-2.1.11) aborts the program. Any clues why this might hapenning? Setup I have is this: * 1400 threads, each owning a single REQ socket connected via inproc to queue device that i