hotboot crashes my mud

Posted by Antram on Wed 17 Mar 2010 04:10 PM — 4 posts, 22,297 views.

#0
Hello:

I know that I'm always asking you a lot of things, but I'm new in coding and all about muds. I'm trying to fix a problem with hotboot wich crashes my mud when I execute the command, and the log in Cygwin when it happends it's:

Wed Mar 17 16:13:09 2010 :: Initiating hotboot recovery.
Write_to_descriptor: Socket operation on non-socket
Wed Mar 17 16:13:09 2010 :: Hotboot recovery complete.

Please, if someone can help me... Here in Spain there isn't anywhere when I can ask. Everybody creates their own muds, or learn to code, but nobody wants to explain the newbies.

Thanks a lot again.
Australia Forum Administrator #1
The best I can do is suggest you fire it up under gdb:

http://www.gammon.com.au/gdb

Then put a breakpoint on the line in write_to_descriptor where it reports an error. Run it, hotboot, see what happens.
Netherlands #2
A very late reply, but here it goes... Are you very sure Cygwin can do hotboots?

Hotboots are by definition an Unix thing, since child processes can inherit access to parent sockets in that OS. Under Windows, no such transfer of socket ownership is possible to my knowledge, and that is also the reason why in my experience hotboot commands tend to be declared in #IFNDEF WINDOWS ... #ENDIF blocks.
Australia Forum Administrator #3
Template:post=5532
Please see the forum thread: http://gammon.com.au/forum/?id=5532.


In 2005 Samson (who maintains SmaugFuss) said hotboot doesn't work under Cygwin. Maybe things have changed, maybe not.