I've been trying to shake a bug out of the server code, and I thought I would be able to do so by running the server with AddressSanitizer turned on.
AddressSanitizer however has the unfortunate effect of hard-exiting the program it's applied to instead of allowing it to crash to debugger. I had foreseen this and found the proper configuration to allow it to crash to debugger instead of exiting, and had even tried it locally to see that it really worked as intended before running it on the real server. Or so I thought. The server did crash in AddressSanitizer (I'm still debugging the issue that it crashed on), but apparently it managed to hard-exit anyway for some reason. Since it exited, I unfortunately lost the server process, so I cannot save the latest game state back.
This means that to preserve the integrity of the world, I will need to roll back to the last backed up state. Fortunately, at least, I made such a backup before starting the server, and it crashed only twenty minutes in, so that should be the extent of the rollback. I'm sorry about that, and I hope you can tolerate this relatively small of a rollback. I will examine my continued debugging options.
-
loftar
- Posts: 9096
- Joined: Fri Apr 03, 2009 7:05 am
- Location: Your character database
Debugging woes: Small rollback
"Object-oriented design is the roman numerals of computing." -- Rob Pike
-
Kamekono
- Posts: 227
- Joined: Sat Jan 07, 2012 5:36 pm
Re: Debugging woes: Small rollback
You will be forgiven. Most people are in a good mood cause of the new world about to roll in!
-
loftar
- Posts: 9096
- Joined: Fri Apr 03, 2009 7:05 am
- Location: Your character database
Re: Debugging woes: Small rollback
I sure am hoping to fix this bug before then!Kamekono wrote:You will be forgiven. Most people are in a good mood cause of the new world about to roll in!
"Object-oriented design is the roman numerals of computing." -- Rob Pike
-
dafels
- Posts: 3071
- Joined: Sun Nov 14, 2010 7:49 pm
- Yahoo Messenger: davis
-
Brojnos
- Posts: 30
- Joined: Sun Jul 27, 2025 10:23 pm
Re: Debugging woes: Small rollback
Dont worry Loftar we love you keep up the good work on this beautiful game, its my favorite right now
-
_Scipio
- Posts: 304
- Joined: Sat Aug 29, 2015 3:22 am
- Location: Interrogating your villagers.
Re: Debugging woes: Small rollback
It's ok. We can just sunset W16 and have 16.1 be W17.
mizdirector89 wrote: No, their version of 'interrogating' was just saying 'speak up, you better talk' over and over while they killed our characters.
Warriors of Annihilation ; The Crimson Tide ; Remnants of the Few; The Hunt Goes On-
loftar
- Posts: 9096
- Joined: Fri Apr 03, 2009 7:05 am
- Location: Your character database
Re: Debugging woes: Small rollback
Well, I caught one bug, but I'm pretty sure it wasn't the one I was looking for, so debugging continues until morale improves. At least it crashed properly avoiding rollbacks this time.
Wouldn't really help anyway, would it now?_Scipio wrote:It's ok. We can just sunset W16 and have 16.1 be W17.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
-
Kamekono
- Posts: 227
- Joined: Sat Jan 07, 2012 5:36 pm
Re: Debugging woes: Small rollback
Aaah, such a classic.loftar wrote:Well, I caught one bug, but I'm pretty sure it wasn't the one I was looking for
- insert Bryan Cranston replace the bulb GIF -
If I may ask, will you guys consider some of the suggestions for experiments in W16.1?
There were some interesting ones (I think in the first 20 pages?) before the thread got completely hijacked
-
loftar
- Posts: 9096
- Joined: Fri Apr 03, 2009 7:05 am
- Location: Your character database
Re: Debugging woes: Small rollback
Welp, caught another bug that wasn't what I was looking for. Nice, but I'm looking forward to the right one. ^^
As soon as I can muster the strength to take the thread by the horns. Wasn't quite expecting the amount of traffic that it got. :PKamekono wrote:If I may ask, will you guys consider some of the suggestions for experiments in W16.1?
There were some interesting ones (I think in the first 20 pages?) before the thread got completely hijacked :roll:
"Object-oriented design is the roman numerals of computing." -- Rob Pike
-
Zentetsuken
- Posts: 2128
- Joined: Sun Jun 20, 2010 4:07 pm
- Location: Flavor Town
Re: Debugging woes: Small rollback
Want to start with just one?loftar wrote:As soon as I can muster the strength to take the thread by the horns.

