Debugging woes: Small rollback

Announcements about major changes in Haven & Hearth.
User avatar
loftar
Posts: 9096
Joined: Fri Apr 03, 2009 7:05 am
Location: Your character database

Debugging woes: Small rollback

Post by loftar »

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.
"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

Post by Kamekono »

You will be forgiven. Most people are in a good mood cause of the new world about to roll in!
User avatar
loftar
Posts: 9096
Joined: Fri Apr 03, 2009 7:05 am
Location: Your character database

Re: Debugging woes: Small rollback

Post by loftar »

Kamekono wrote:You will be forgiven. Most people are in a good mood cause of the new world about to roll in!
I sure am hoping to fix this bug before then!
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
dafels
Posts: 3071
Joined: Sun Nov 14, 2010 7:49 pm
Yahoo Messenger: davis

Re: Debugging woes: Small rollback

Post by dafels »

GL
User avatar
Brojnos
Posts: 30
Joined: Sun Jul 27, 2025 10:23 pm

Re: Debugging woes: Small rollback

Post by Brojnos »

Dont worry Loftar we love you keep up the good work on this beautiful game, its my favorite right now
User avatar
_Scipio
Posts: 304
Joined: Sat Aug 29, 2015 3:22 am
Location: Interrogating your villagers.

Re: Debugging woes: Small rollback

Post by _Scipio »

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.
ImageWarriors of Annihilation ; The Crimson Tide ; Remnants of the Few; The Hunt Goes On
User avatar
loftar
Posts: 9096
Joined: Fri Apr 03, 2009 7:05 am
Location: Your character database

Re: Debugging woes: Small rollback

Post by loftar »

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.
_Scipio wrote:It's ok. We can just sunset W16 and have 16.1 be W17.
Wouldn't really help anyway, would it now?
"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

Post by Kamekono »

loftar wrote:Well, I caught one bug, but I'm pretty sure it wasn't the one I was looking for
Aaah, such a classic.

- insert Bryan Cranston replace the bulb GIF - :lol: :lol: :lol:

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:
User avatar
loftar
Posts: 9096
Joined: Fri Apr 03, 2009 7:05 am
Location: Your character database

Re: Debugging woes: Small rollback

Post by loftar »

Welp, caught another bug that wasn't what I was looking for. Nice, but I'm looking forward to the right one. ^^
Kamekono 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:
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. :P
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
Zentetsuken
Posts: 2128
Joined: Sun Jun 20, 2010 4:07 pm
Location: Flavor Town

Re: Debugging woes: Small rollback

Post by Zentetsuken »

loftar wrote:As soon as I can muster the strength to take the thread by the horns.
Want to start with just one? ;)
      Image
      Image
JOIN THE OFFICIAL H&H DISCORD TODAY

♰ PROUD FORUM MODERATOR 02.01.2024 - 05.10.2024 ♰

Return to “Announcements”