[Mono-dev] NancyFX self hosting (HttpListener) locking up on linux

"Andrés G. Aragoneses" knocte at gmail.com
Tue Aug 6 19:35:24 UTC 2013


I guess it means that it is a race condition which is not reproducible 
inside the debugger (as the debugger slows things down).


On 06/08/13 21:18, Nikita Tsukanov wrote:
> Running with mono from master haven't helped.
>
> And I'm not sure what the hell is going on, but I cann't reproduce the
> issue when running under... Monodevelop's debugger. It runs perfectly
> under it, but when I try to run the same binary from console (even with
> --debug option) it locks up or segfaults. Does anyone know what does it
> mean?
>
>
> 2013/8/6 Nikita Tsukanov <keks9n at gmail.com <mailto:keks9n at gmail.com>>
>
>     Great. It locked up with my more complex logic.
>     Funny fact: NancyFx increases request processing time from 2ms to
>     70ms with the same echo response.
>     Another funny fact: with MONO_DISABLE_AIO I've got segfault.
>
>     Now I'll try to use build patched mono. Not sure that it's the same
>     issue, because in my case it never tries to read and write
>     simultaneously  on the same socket.
>
>
>     2013/8/6 Greg Young <gregoryyoung1 at gmail.com
>     <mailto:gregoryyoung1 at gmail.com>>
>
>         There are many cases the patch we provided does not affect eg no
>         overlap in io between send/receive
>
>
>         On Tuesday, August 6, 2013, Nikita Tsukanov wrote:
>
>             Interesting... I've written a simple server using only
>             Socket.BeginRecieve and Socket.BeginSend. It just reads 100
>             bytes and then sends hardcoded HTTP response. Now jmeter is
>             working for 5 minutes and it still responds with "Lorem
>             ipsum ..." perfectly. I'll try to "port" my SCGI server
>             logic from NetworkStream to Socket and see what will happen.
>
>
>             2013/8/6 "Andrés G. Aragoneses" <knocte at gmail.com>
>
>                 On 06/08/13 18:42, Nikita Tsukanov wrote:
>
>                     Ubuntu 13.04, Mono JIT compiler version 3.2.0
>                     (tarball Tue Jul 30
>                     21:08:00 UTC 2013)
>
>
>                 Mono 3.2.0 does *not* have Yuri's patch.
>
>
>
>                 _________________________________________________
>                 Mono-devel-list mailing list
>                 Mono-devel-list at lists.ximian.__com
>                 http://lists.ximian.com/__mailman/listinfo/mono-devel-__list
>                 <http://lists.ximian.com/mailman/listinfo/mono-devel-list>
>
>
>
>
>         --
>         Le doute n'est pas une condition agréable, mais la certitude est
>         absurde.
>
>
>
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>




More information about the Mono-devel-list mailing list