VGOEmulator.net

A Development Project for the Vanguard:Saga of Heroes MMO

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • Portal
  • Project Manager
  • Bug Tracker
  • Server List
  • Wiki
  • Donate
  • Login
  • Register
  • Board index Bugs Server Bugs Server Bugs (Closed)
  • Search

Crash just standing around

Closed Server Bugs

Moderators: Community Managers, Developers

Locked
  • Print view
Advanced search
6 posts • Page 1 of 1
User avatar
John Adams
Retired
Posts: 4582
Joined: Wed Aug 28, 2013 9:40 am
Location: Phoenix, AZ.
Contact:
Contact John Adams
Website
Crash just standing around
  • Quote

Post by John Adams » Sat Aug 08, 2015 8:39 pm

We had 7 players online, testing some group/raid stuff, when I noticed at sometimes I would chat and it would not show up for 20-30s. And one time, it repeated the same thing I said about 5 times even though I only said it once. There were no visible signs of any mutex/lock issues during the chat delays, and it wasn't just chatting... it was group invites and /raidinvite (I'm positive I'll find another SleepMS() in there somewhere).

There was a lot of combat happening, but it was scrolling along fine. Then, we got this:

Code: Select all

20:28:45.996 E Mutex    Timeout trying to acquire mutex ChunkServerList::remove_chunk_s's write lock lock after 10000 milliseconds
Seemingly out of nowhere, and before I could even paste it into chat for Faux to see, the world ended. But because I was click happy, I missed the stack - but it was right above this:

Code: Select all

    //Remove old chunk servers    if (!remove_chunk_servers.empty()){        m_remove_chunk_servers.WriteLock();        m_chunk_servers.WriteLock();        for (auto& itr2 : remove_chunk_servers)            chunk_servers.erase(itr2->GetChunkID());        m_chunk_servers.WriteUnlock();        remove_chunk_servers.clear();        m_remove_chunk_servers.WriteUnlock();    }    if (window_title_update->Check())        UpdateWindowTitleSecond(Size()); 
Code was paused on if(window_title, but clearly the crash was the line above in the WriteUnlock. These are very rare, and I cannot seem to easily reproduce them. Pretty old bug, hopefully I can convince someone to review this code to see if it can be improved.
Top

User avatar
John Adams
Retired
Posts: 4582
Joined: Wed Aug 28, 2013 9:40 am
Location: Phoenix, AZ.
Contact:
Contact John Adams
Website
Re: Crash just standing around
  • Quote

Post by John Adams » Mon Aug 10, 2015 7:49 am

This has now happened two more times. I'll need someone to look into it asap.

Seems to only happen when I walk away from the console for the night. Sorry to those who had no access to NT since 6pm last night.
Top

zippyzee
Developer
Developer
Posts: 1240
Joined: Wed Jul 23, 2014 2:11 pm
Re: Crash just standing around
  • Quote

Post by zippyzee » Mon Aug 10, 2015 9:13 am

Do you believe it is actually caused by the chunkserver removal code or something that happened around that time? I have no real clue as to what is going on that would be a problem in that section.

Can we add in some debug messages inside that code block to let us know what is hanging, if that is the case?
Top

User avatar
John Adams
Retired
Posts: 4582
Joined: Wed Aug 28, 2013 9:40 am
Location: Phoenix, AZ.
Contact:
Contact John Adams
Website
Re: Crash just standing around
  • Quote

Post by John Adams » Mon Aug 10, 2015 11:27 am

If I were to take a wild guess (and usually it's completely wrong hah) but maybe someone is locking a process in chunkserver but not unlocking it, so when it shuts down it just crashes after a timeout. We certainly can add logging, I just don't have time right now.
Top

zippyzee
Developer
Developer
Posts: 1240
Joined: Wed Jul 23, 2014 2:11 pm
Re: Crash just standing around
  • Quote

Post by zippyzee » Mon Aug 10, 2015 12:00 pm

Don't worry; when I get back to messing with things I'll look into it. If someone beats me to it, then great!
Top

User avatar
Blackstorm
Retired
Posts: 354
Joined: Thu Sep 04, 2014 11:11 am
Location: Paris, FRANCE
Contact:
Contact Blackstorm
Website
Re: Crash just standing around
  • Quote

Post by Blackstorm » Mon Aug 10, 2015 4:43 pm

ChunkInfoList::GetLoadedChunkIDs()
-> m_InfoList.ReadUnlock();
Top


Locked
  • Print view

6 posts • Page 1 of 1

Return to “Server Bugs (Closed)”

Jump to
  • Information
  • ↳   Announcements
  • ↳   Dev Chats
  • ↳   Events
  • Community
  • ↳   General Discussions
  • ↳   VGO Team Help Requests
  • ↳   Introductions
  • ↳   Game Features
  • ↳   Wish List
  • ↳   Off-Topic
  • Support
  • ↳   How-To's
  • ↳   General Support
  • ↳   Windows
  • ↳   Linux
  • Bugs
  • ↳   Server Bugs
  • ↳   Server Bugs (Closed)
  • ↳   Content Bugs
  • ↳   Content Bugs (Closed)
  • ↳   Database Bugs
  • ↳   Tools Bugs
  • Board index
  • All times are UTC-07:00
  • Delete cookies
  • Contact us
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD