Linux doesn't reliably drop a core when using threaded applications.
(and when it does, it might not be the same thread that actually crashed!)


>-----Original Message-----
>From: Ben [mailto:[EMAIL PROTECTED]
>Sent: Saturday, May 25, 2002 7:52 PM
>To: Jason Gauthier; [email protected]
>Subject: Re: Debugging Help
>
>
>It is Linux RedHat.
>
>Why would troubleshooting the core files be useless? They've 
>helped in the
>past...
>
>Although, my core files dont seem to be generating properly so 
>now im having
>to run the mud with gdb.
>
>----- Original Message -----
>From: "Jason Gauthier" <[EMAIL PROTECTED]>
>To: "'Ben'" <[EMAIL PROTECTED]>; <[email protected]>
>Sent: Sunday, May 26, 2002 6:36 AM
>Subject: RE: Debugging Help
>
>
>> What operating system are you trying to do this with?
>> Linux?  If so, troubleshooting your core files, if you ever 
>get one, will
>be
>> pointless.
>>
>>
>>
>> >-----Original Message-----
>> >From: Ben [mailto:[EMAIL PROTECTED]
>> >Sent: Saturday, May 25, 2002 10:08 AM
>> >To: [email protected]
>> >Subject: Debugging Help
>> >
>> >
>> >I've used GDB on my mud, and these are the backtraces that are
>> >part of the
>> >code:
>> >
>> >
>> >#3  0x080b1a27 in new_descriptor (control=4) at comm.c:1373
>> >#4  0x080b0ff7 in game_loop_unix (control=4) at comm.c:1045
>> >#5  0x080b0a41 in main (argc=2, argv=0xbffffa74) at comm.c:513
>> >
>> >
>> >comm.c line 1373:
>> >pthread_create( &thread_lookup, &attr, 
>(void*)&lookup_address, (void*)
>> >dummyarg);
>> >
>> >comm.c line 1045:
>> >new_descriptor( control );
>> >
>> >comm.c line 513:
>> >game_loop_unix( control );
>> >
>> >
>> >
>> >Any ideas what is crashing it?
>> >The mud crashes every now and then when someone connects (but
>> >doesnt login)
>> >then disconnects, although sometimes even when someone
>> >connects (but doesnt
>> >login) it crashes.
>> >
>> >
>> >--
>> >ROM mailing list
>> >[email protected]
>> >http://www.rom.org/cgi-bin/mailman/listinfo/rom
>> >
>>
>> --
>> ROM mailing list
>> [email protected]
>> http://www.rom.org/cgi-bin/mailman/listinfo/rom
>>
>

Reply via email to