Guilds & 'Locks'

Old bugs stored here for reference.
Locked
User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Guilds & 'Locks'

Post by John Adams » Tue Mar 22, 2011 4:27 pm

Scat, now that I threw a ridiculous amount of logging into Guilds.cpp, I am seeing something odd. I cannot say I've seen this WITHOUT logging... but the behavior is pretty obvious in-game. First, the Log:

Code: Select all

2011-03-22 16:14:20 GUILD__MESSAGE Admin invited Admin to guild EQ2 Developers Guild
2011-03-22 16:14:23 GUILD__DEBUG SendGuildUpdate to client online... (Guild::SendGuildUpdate)
2011-03-22 16:14:45 WORLD__ERROR Read Timeout waiting for write lock 'Guild::members' 
The following functions had locks: 
	Guild::AddNewGuildMember (740)

2011-03-22 16:14:45 GUILD__DEBUG Found 6 Unique Account(s) in Guild
2011-03-22 16:14:45 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 0, value: 3
2011-03-22 16:14:45 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 1, value: 8
2011-03-22 16:14:45 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 2, value: 11
2011-03-22 16:14:45 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 3, value: 13
2011-03-22 16:14:45 GUILD__DEBUG Send guild info update packet...
2011-03-22 16:15:07 WORLD__ERROR Read Timeout waiting for write lock 'Guild::members' 
The following functions had locks: 
	Guild::AddNewGuildMember (740)

2011-03-22 16:15:07 GUILD__DEBUG Sent guild member to a client.
2011-03-22 16:15:07 GUILD__DEBUG Sent guild member.
2011-03-22 16:15:07 GUILD__DEBUG Sent guild MOTD.
'Emulator Developers and Game Masters Guild'
2011-03-22 16:15:07 GUILD__DEBUG Sent guild Event List (Guild::SendGuildEventList).
2011-03-22 16:15:07 GUILD__DEBUG Sent guild bank events list. (Guild::SendGuildBankEventList)
2011-03-22 16:15:07 GUILD__DEBUG Sent OLD guild Events.
2011-03-22 16:15:07 GUILD__DEBUG Sent OLD guild Events.
2011-03-22 16:15:07 GUILD__DEBUG Sent OLD guild Events.
2011-03-22 16:15:07 GUILD__DEBUG Sent OLD guild Events.
2011-03-22 16:15:07 GUILD__DEBUG Sent OLD guild Events.
2011-03-22 16:15:07 GUILD__DEBUG Sent OLD guild Events.
2011-03-22 16:15:07 GUILD__DEBUG Sent OLD guild Events.
2011-03-22 16:15:07 GUILD__DEBUG Sent OLD guild Events.
2011-03-22 16:15:07 GUILD__DEBUG Sent OLD guild Events.
2011-03-22 16:15:07 GUILD__DEBUG Sent OLD guild Events.
2011-03-22 16:15:07 GUILD__DEBUG Sent OLD guild Events.
2011-03-22 16:15:07 GUILD__DEBUG Sent OLD guild Events.
2011-03-22 16:15:07 GUILD__DEBUG Sent OLD guild Events.
2011-03-22 16:15:07 GUILD__DEBUG Sent OLD guild Events.
2011-03-22 16:15:07 GUILD__DEBUG Sent OLD guild Events.
2011-03-22 16:15:07 GUILD__DEBUG Sent OLD guild Events.
2011-03-22 16:15:07 GUILD__DEBUG Sent OLD guild Events.
2011-03-22 16:15:07 GUILD__DEBUG Sent OLD guild Events.
2011-03-22 16:15:07 GUILD__DEBUG Sent ALL guild Events (Guild::SendAllGuildEvents).
2011-03-22 16:15:07 GUILD__DEBUG Sent guild member list to a client.
2011-03-22 16:15:29 WORLD__ERROR Read Timeout waiting for write lock 'Guild::members' 
The following functions had locks: 
	Guild::AddNewGuildMember (740)

2011-03-22 16:15:29 GUILD__DEBUG Next Guild Event ID: 19
2011-03-22 16:15:29 GUILD__DEBUG Some Add New Guild Event thing happened, not sure what...
2011-03-22 16:15:51 WORLD__ERROR Read Timeout waiting for write lock 'Guild::members' 
The following functions had locks: 
	Guild::AddNewGuildMember (740)

2011-03-22 16:15:51 GUILD__DEBUG Sent NEW guild Events. (Guild::SendNewGuildEvent)
2011-03-22 16:15:51 GUILD__DEBUG Sent NEW guild Events. (Guild::SendNewGuildEvent)
2011-03-22 16:16:13 WORLD__ERROR Read Timeout waiting for write lock 'Guild::members' 
The following functions had locks: 
	Guild::AddNewGuildMember (740)

2011-03-22 16:16:13 GUILD__DEBUG Sent message to entire guild.
2011-03-22 16:16:13 GUILD__DEBUG Admin invited Admin to join guild: EQ2 Developers Guild
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 0, value: 3
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 1, value: 8
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 2, value: 11
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 3, value: 13
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 0, value: 0
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 1, value: 0
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 2, value: 0
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 3, value: 0
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 0, value: 0
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 1, value: 0
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 2, value: 0
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 3, value: 0
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 0, value: 0
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 1, value: 0
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 2, value: 0
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 3, value: 0
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 0, value: 3
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 1, value: 6
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 2, value: 7
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 3, value: 11
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 0, value: 3
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 1, value: 6
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 2, value: 7
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 3, value: 10
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 0, value: 0
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 1, value: 0
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 2, value: 0
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 3, value: 0
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 0, value: 12
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 1, value: 14
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 2, value: 13
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 3, value: 11
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 0, value: 0
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 1, value: 0
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 2, value: 0
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 3, value: 0
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 0, value: 0
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 1, value: 0
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 2, value: 0
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 3, value: 0
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 0, value: 0
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 1, value: 0
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 2, value: 0
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 3, value: 0
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 0, value: 0
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 1, value: 0
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 2, value: 0
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 3, value: 0
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 0, value: 0
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 1, value: 0
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 2, value: 0
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 3, value: 0
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 0, value: 0
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 1, value: 0
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 2, value: 0
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiting descriptive tag index: 3, value: 0
2011-03-22 16:16:13 WORLD__MESSAGE OP_GuildEventDetailsMsg Received 0253
2011-03-22 16:16:13 GUILD__DEBUG Sent guild recruiting details to a client.
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiter 'Scatman' (2)
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiter 'John' (1)
2011-03-22 16:16:13 GUILD__DEBUG Sent guild recruiting images to a client.
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiter 'Scatman' (2)
2011-03-22 16:16:13 GUILD__DEBUG Get Guild Recruiter 'John' (1)
2011-03-22 16:16:13 GUILD__DEBUG Sent guild recruiting details to a client.
2011-03-22 16:16:13 GUILD__DEBUG Sent guild recruiting images to a client.
2011-03-22 16:16:13 GUILD__DEBUG Sent guild recruiting details to a client.
2011-03-22 16:16:13 GUILD__DEBUG Sent guild recruiting images to a client.
2011-03-22 16:16:13 GUILD__DEBUG Sent guild recruiting details to a client.
2011-03-22 16:16:13 GUILD__DEBUG Sent guild recruiting images to a client.
2011-03-22 16:16:13 GUILD__DEBUG Sent guild recruiting details to a client.
Steps:
I logged into world, not in a guild. New character.
I did a /guilds add 1 Admin (to add myself to guild 1)
That's when all shit hit the fan. I noticed the client UI still showed I was not in a guild (U brought up the guild search tool). Then I saw my first splash of RED.
guild_error1.jpg
These Locks kept repeating, and in-between each one (when it released), I saw a little more of the Guild UI data draw in, and messaging appear in chat - ie., so and so has joined the guild, guildMOTD, etc.

It was truly interesting :)

Any idears? I'm going to commit the new logging code, so you have what I have. Hopefully this wasn't caused by logwrite ;)


Also, I was trying to reproduce this by removing myself from the guild (Members, highlight me, Remove) and it said I was removed, even made an event... but I can still see the U guild screen heh. Waiting to see if it's locked again...
You do not have the required permissions to view the files attached to this post.

Locked

Who is online

Users browsing this forum: No registered users and 0 guests