Alright, ill try that when I have time - is there an easy way to remove it or do i have to comment everything out?
----- Original Message ----- From: "Jason Gauthier" <[EMAIL PROTECTED]> To: "'Ben'" <[EMAIL PROTECTED]>; "Jason Gauthier" <[EMAIL PROTECTED]>; <[email protected]> Sent: Tuesday, June 04, 2002 8:13 PM Subject: RE: Connect/Disconnect Problems > The point is: > > Linux and threads do not play nicely together when the program crashes. > If you want an accurate core remove threaded DNS. Then troubleshoot the > core. > > > >-----Original Message----- > >From: Ben [mailto:[EMAIL PROTECTED] > >Sent: Tuesday, June 04, 2002 8:09 AM > >To: [EMAIL PROTECTED]; [email protected] > >Subject: RE: Connect/Disconnect Problems > > > > > >Yes I am using threaded DNS - http://www.daimi.au > >dk/~jobo/dystopia/snippets/thread_dns_howto.txt - that one > > > >I can easily reproduce the crash. I do not think that it is > >threaded DNS > >that is causing the problem, as I know lots of other muds that > >use Threaded > >DNS - none have this problem. > > > > > > > >-------Original Message------- > > > >From: Jason Gauthier > >Date: Tuesday, June 04, 2002 07:43:45 PM > >To: 'Ben'; [email protected] > >Subject: RE: Connect/Disconnect Problems > > > >Are you running some kind of threaded DNS code? > > > >Do you have a test mud? If not make one... then connect to it 5 times. > >Can you reproduce the problem? Reproducability is the key to > >fixability. > > > >If you are not running threaded code, and the mud crashes then the core > >that's dumped should be accurate. (check the time stamp) > > > >Anyway, whenever you can isolate the problem, do so. > >Bring up another mud to test with, (run via GDB if you like) > >and connect to > >it until it crashes. Examine core. > > > >If you're running threaded stuff, take it out. Rinse, Wash, Repeat. > > > > > >>-----Original Message----- > >>From: Ben [mailto:[EMAIL PROTECTED] > >>Sent: Tuesday, June 04, 2002 5:18 AM > >>To: [email protected] > >>Subject: Connect/Disconnect Problems > >> > >> > >>I'm experiencing some problems on my mud where someone > >>connects to the mud, > >>but does not login, then immediately disconnects. This causes > >>the mud to > >>crash. The thing that puzzles me is that it only happens one > >>in five times. > >> > >>Using GDB on the mud did not provide any useful data - > >nothing that had > >>anything to do with the connection code; only ingame commands > >>(i know these > >>commands wont cause it, as there were no players on the mud, > >>when i crashed > >>it). > >> > >>Any ideas? I've searched and searched through the new_descriptor, > >>close_socket and close_socket2 functions, but I could not find > >>anything in > >>there that would cause the mud to crash (I compared it with a > >>stock version > >>of the code). > >> > >> > >>Thanks, > >>Skorpian of Immortal Conflict > >> > >>-- > >>ROM mailing list > >>[email protected] > >>http://www.rom.org/cgi-bin/mailman/listinfo/rom > >> > > >

