From: Kero van Gelder Date: 2003-08-03T00:20:10+09:00 Subject: Re: 1.8.0-previewX rb_sys_fail() on socket instead of an Exception. > Are you saying that the ruby interpreter is dying at this point? Do you get > a core dump? (In which case gdb can be used to interpret it) yup. #3 0x080b7d40 in rb_bug (fmt=0x80d35d8 "rb_sys_fail() - errno == 0") at error.c:193 193 abort(); I should probably read a good book about gdb, to find out how it got there (shame on me, CS Master's, lots of Linux experience :) > Do you get the message "rb_sys_fail() - errno == 0" printed? yup. > I tried your code under FreeBSD-4.8; from server.rb I get a zillion 'nils' > printed (from the infinite gets/prints loop), followed by an EPIPE when the > other server thread tries to write to the closed socket: is that what you > get with the working platforms? yup. My real code deals properly with gets returning nil, but I took it out in the example. Bye, Kero.