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 ➜ Running the server ➜ SmaugFUSS - clean/fresh install issues when running the MUD.

SmaugFUSS - clean/fresh install issues when running the MUD.

You need to log onto the forum to reply or create new threads.

  Refresh page


Posted by Dexio   (4 posts)  Bio
Date Sun 17 Nov 2024 12:58 AM (UTC)
Message
Hello, I am a buffoon trying to make sense of this..

Clean install of SmaugFUSS - I have redownloaded and setup twice.

I can get startup to work, if I log into the MUD, it appears to drop all player connections every 30-60seconds. Then crashing within a couple minutes. Regardless, the only thing I have changed aside from the IP:PORT is the makefile cc = gcc /changed to/ gcc34

Is there something manageable to a moderately informed modder (I don't know C.. but I've messed with muds over the past 20 years, and web design) to resolve whatever these issues are that are present with a clean install?

Thanks for any information at all, I appreciate it. The top code is in every log file, the bottom code is in some log files, but retain directly below this top code in the actual log.


Sun Nov 17 00:24:29 2024 :: Loading Housing System, Home Accessories Data, and Home Auctioning System
Sun Nov 17 00:24:29 2024 :: Loading login messages
Sun Nov 17 00:24:29 2024 :: Initializing socket
Sun Nov 17 00:24:29 2024 ::  IMC: Loading IMC2 command table...
Sun Nov 17 00:24:29 2024 ::  IMC: Loading IMC2 network data...
Sun Nov 17 00:24:29 2024 ::  IMC: Loading IMC2 help file...
Sun Nov 17 00:24:29 2024 ::  IMC: Loading IMC2 color table...
Sun Nov 17 00:24:29 2024 ::  IMC: Loading IMC2 who template...
Sun Nov 17 00:24:29 2024 :: [*****] BUG:  IMC: imcfread_word: EOF encountered on read.
Sun Nov 17 00:24:29 2024 ::  IMC: IMC2 network data loaded. Autoconnect not set. IMC2 will need to be connected manually.
Sun Nov 17 00:24:29 2024 :: (Name Not Set) ready on port 1111.



=================================================================
==1893377==ERROR: AddressSanitizer: global-buffer-overflow on address 0x000000e6d020 at pc 0x00000095728f bp 0x7ffda9bff680 sp 0x7ffda9bff670
READ of size 4 at 0x000000e6d020 thread T0
    #0 0x95728e in CalculateCellToCellChanges() /home/dexio/sfuss/src/weather.c:770
    #1 0x95e541 in UpdateWeather() /home/dexio/sfuss/src/weather.c:1222
    #2 0x94468e in update_handler() /home/dexio/sfuss/src/update.c:2073
    #3 0x649b5c in game_loop() /home/dexio/sfuss/src/comm.c:882
    #4 0x64773a in main /home/dexio/sfuss/src/comm.c:532
    #5 0x7f3de62187e4 in __libc_start_main (/lib64/libc.so.6+0x3a7e4)
    #6 0x42d4cd in _start (/home/dexio/sfuss/src/smaug+0x42d4cd)

0x000000e6d020 is located 24 bytes to the right of global variable 'weatherMap' defined in 'weather.c:90:20' (0xe6cea0) of size 360
0x000000e6d020 is located 32 bytes to the left of global variable 'weatherDelta' defined in 'weather.c:103:20' (0xe6d040) of size 360
SUMMARY: AddressSanitizer: global-buffer-overflow /home/dexio/sfuss/src/weather.c:770 in CalculateCellToCellChanges()
Shadow bytes around the buggy address:
  0x0000801c59b0: 04 f9 f9 f9 f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9
  0x0000801c59c0: 04 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9
  0x0000801c59d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0000801c59e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0000801c59f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
=>0x0000801c5a00: 00 f9 f9 f9[f9]f9 f9 f9 00 00 00 00 00 00 00 00
  0x0000801c5a10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0000801c5a20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0000801c5a30: 00 00 00 00 00 f9 f9 f9 f9 f9 f9 f9 04 f9 f9 f9
  0x0000801c5a40: f9 f9 f9 f9 00 00 00 00 00 00 00 00 00 00 00 00
  0x0000801c5a50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07 
  Heap left redzone:       fa
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
  Left alloca redzone:     ca
  Right alloca redzone:    cb
==1893377==ABORTING
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #1 on Sun 17 Nov 2024 04:28 AM (UTC)
Message
Exactly which SmaugFUSS did you install? Give a link to the download please.

- Nick Gammon

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

Posted by Dexio   (4 posts)  Bio
Date Reply #2 on Sun 17 Nov 2024 06:38 AM (UTC)
Message
Hi legend.. thanks for any of your time.


This page:
https://smaugmuds.afkmods.com/files/smaugfuss-194-501/

This download button:
https://i.imgur.com/SknV4lv.png

Download button link:
https://smaugmuds.afkmods.com/files/download/501/
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #3 on Mon 18 Nov 2024 08:30 PM (UTC)
Message
Are you running some sort of debugger? The error message mentions AddressSanitizer.

- Nick Gammon

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

Posted by Dexio   (4 posts)  Bio
Date Reply #4 on Mon 18 Nov 2024 08:34 PM (UTC)
Message
Hey, I have no clue.. I have someone hosting me, so the answer eludes me. I'll ask them and go from there. Thanks for taking the time Nick.
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #5 on Tue 19 Nov 2024 04:28 AM (UTC)
Message
Since it appears to be related to weather you could try disabling weather in the configuration (if possible).

- Nick Gammon

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

Posted by Dexio   (4 posts)  Bio
Date Reply #6 on Mon 25 Nov 2024 08:06 AM (UTC)

Amended on Mon 25 Nov 2024 11:28 AM (UTC) by Dexio

Message
Thanks again, I will look at that.. I'm just familiarizing myself with rom 2.4b6 again, but I know smaugfuss is superior. Once I get a hang of rom I'll get going. Appreciate it legend!

**Edit:
In case anyone ever comes across this and needs this.
In the MakeFile - W_FLAGS
I removed:
-fsanitize=address


Thanks for suggestion about debugger (host using a debugger)!!
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #7 on Mon 25 Nov 2024 07:11 PM (UTC)
Message
http://www.gammon.com.au/gdb

- Nick Gammon

www.gammon.com.au, www.mushclient.com
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.


954 views.

You need to log onto the forum to reply or create new threads.

  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.