[OMPI users] libevent hangs on app finalize stage

2015-01-15 Thread Leonid
Hi all. I believe there is a bug in event_base_loop() function from file event.c (opal/mca/event/libevent2022/libevent/). Consider the case when application is going to be finalized and both event_base_loop() and event_base_loopbreak() are called in the same time in parallel threads. Then

Re: [OMPI users] libevent hangs on app finalize stage

2015-01-15 Thread Leonid
thus execute the loopbreak from within an event. You might try and see if that solves the problem. On Jan 14, 2015, at 11:54 PM, Leonid wrote: Hi all. I believe there is a bug in event_base_loop() function from file event.c (opal/mca/event/libevent2022/libevent/). Consider the case when appli

Re: [OMPI users] libevent hangs on app finalize stage

2015-01-16 Thread Leonid
not seeing a failure. Let me try on another system. Modifying libevent is not a viable solution :-( On Jan 15, 2015, at 10:26 AM, Leonid wrote: Hi Ralph. Of course that may indicate an issue with custom compiler, but given that it fails with gcc and inserted delay I still think it is a OMPI