SWR FUSS MSVCP 5 Read_from_descriptor: Bad file descriptor

Posted by Cirus on Fri 08 Apr 2005 09:53 PM — 3 posts, 13,811 views.

#0
Mud compiles with no errors
I would use gdb but gdb doesn't exactly work with msvc
I used Nick's smaug src compiled with msvc to get swr compiled
the error happens whenever someone logs on it just sends that to the console and sits there




/* yes I know about all gnu tools , linux,unix,cxx and all those other things */
#1
This code does the same thing on a copy of the win32 swr from smaug.org

SMAUG 1.4a
Attempting to start SMAUG as a service ...
Unable to start service, assuming running console-mode application.
You can save time on the next invocation by specifying: SMAUG /run
Working directory now C:\Program Files\DevStudio\MyProjects\swr1fuss\src\area
Fri Apr 08 19:55:23 2005 :: Booting Database

/* cut out a bunch of stuff out of the log here */

Fri Apr 08 19:55:23 2005 :: Resetting areas
Fri Apr 08 19:55:23 2005 :: Initializing socket
Fri Apr 08 19:55:23 2005 :: Star Wars Reality ready on port 4000.
Fri Apr 08 19:55:48 2005 :: Sock.sinaddr: 127.0.0.1, port 1486.
Read_from_descriptor: Bad file descriptor
Amended on Tue 20 Nov 2007 04:21 AM by Nick Gammon
#2
allright well so that anyone else haveing this problem can fix it
it seems this problem was from running a batch script from within debug instead of the exe file
that fixes it in one case but not in another