Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ Compiling the server ➜ Time is crashing mud... :P

Time is crashing mud... :P

It is now over 60 days since the last post. This thread is closed.     Refresh page


Pages: 1  2 

Posted by Creeper386   USA  (62 posts)  Bio
Date Reply #15 on Fri 16 Nov 2001 04:09 AM (UTC)
Message
Which version of Cygwin are you using? and would different versions affect it?

Also I am on a WinME computer if that would make any difference.

Creep
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #16 on Fri 16 Nov 2001 09:17 AM (UTC)
Message
I'm not sure how to find that out. :)

I have gcc-2.95.2-6 if that helps.

It was the latest on 12th March 2001.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Creeper386   USA  (62 posts)  Bio
Date Reply #17 on Sat 17 Nov 2001 06:06 AM (UTC)
Message
I don't know. Due to internet speed I am not able to download a newer Cygwin. After an hour barely a sliver of it is done.

I have someone else helping out as well so if I get it figured out from him I'll post the results. If not I'll post how far we got.
Top

Posted by Creeper386   USA  (62 posts)  Bio
Date Reply #18 on Sun 28 Apr 2002 04:05 PM (UTC)
Message
Okay. Well I finnally got source back and a compile. Still using Cygwin B20 though. And I'm still having the time problem. I've tried something new this time and I've change the following code in comm.c to what is there. Just commented out the one that was being used and uncommented the commented out part.


 /*
     * Init time.
     */
    gettimeofday( &now_time, NULL );
    current_time = (time_t) now_time.tv_sec;
    gettimeofday( &boot_time, NULL);  /* okay, so it's kludgy, sue me :) */
/*    boot_time = time(0); */        /*  <-- I think this is what you wanted */
    strcpy( str_boot_time, ctime( &current_time ) );



But I still get the following which seems similar to what I got before.



COMMAND PROMPT
[main] C:\SMAUG\DIST\AREA\SMAUG.EXE 1420 (0) handle_exceptions: Exception: STATU
S_ACCESS_VIOLATION

DGB
[main] SMAUG 1420 (0) handle_exceptions: Dumping stack trace to SMAUG.EXE.core

Program received signal SIGSEGV, Segmentation fault.

BT
0x6105587c in _size_of_stack_reserve__ ()Program received signal SIGSEGV, Segmentation fault.
0x6105587c in _size_of_stack_reserve__ ()

(gdb) step
Single stepping until exit from function _size_of_stack_reserve__,
which has no line number information.
Can't send signals to the child.

Program received signal SIGSEGV, Segmentation fault.
0x6105587c in _size_of_stack_reserve__ ()



Any help would be appreciated
Top

Posted by Creeper386   USA  (62 posts)  Bio
Date Reply #19 on Sun 28 Apr 2002 04:25 PM (UTC)
Message
Oh.. I also commented out the code that seems to be crashing the mud in do_time which is:

/*"It is %d o'clock %s, Day of %s, %d%s the Month of %s.\n\r" */

and

/*(time_info.hour % 12 == 0) ? 12 : time_info.hour % 12,
time_info.hour >= 12 ? "pm" : "am",
day_name[day % 7],
day, suf,
month_name[time_info.month],*/

And with the rest of the code in do_time I get the following after using the time command:

The mud started up at: Sun Jan 25 00:23:22 1970
The system time (E.S.T.): Sun Jan 25 00:24:18 1970
Next Reboot is set for: Sun Jan 25 22:00:00 1970

Don't know if that well help any.

Thanks,
Creep
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


64,083 views.

This is page 2, subject is 2 pages long:  [Previous page]  1  2 

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.