https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61303

--- Comment #9 from Ian Lance Taylor <ian at airs dot com> ---
>From looking at the code it seems that mmap may be returning MAP_FAILED.  That
could lead to this crash.  I don't know why mmap would fail, though.  It's a
shame that the program works when run under truss.

If you feel like experimenting, look at the call to runtime_SysAlloc near the
start of runtime_netpoll in libgo/runtime/netpoll_select.c.  Add something like
    if(prfds == nil)
        runtime_throw("runtime_SysAlloc returned nil");
and see if you see that error instead of the crash.

Reply via email to