I think I crashed the server again.
Moderators: Community Managers, Developers
I think I crashed the server again.
About 2:45 EST I was playing around with items. I added and equipped first the Replica Pantheon armor set, followed by the Thestran Scholar's armor set (6 items and 7 items respectively). I noticed an appearance bug where the equipped items would not display, though they were still in my inventory (which I /bugged). I also added 3 bags, each different (variations of vielthread bags) and a deathweave saddlebag. I was unsuccessful at equipping the bags in any except the first bag slot, however I was able to equip the saddlebags OK. I then ran around a bit before camping (which resets the appearance). After 20 seconds, I got the message that I had successfully prepared my camp. However, I was still logged in. I waited a minute or so, and then /quit. That got me back to the desktop as expected, but when I tried to return, New Telon was gone.
Re: I think I crashed the server again.
Ah so shall we await the call stack of doom.
Re: I think I crashed the server again.
Code: Select all
> WorldServer.exe!_CrtIsValidHeapPointer(const void * pUserData) Line 2036 C++
WorldServer.exe!_free_dbg_nolock(void * pUserData, int nBlockUse) Line 1322 C++
WorldServer.exe!_free_dbg(void * pUserData, int nBlockUse) Line 1265 C++
WorldServer.exe!free(void * pUserData) Line 49 C++
WorldServer.exe!_my_free() Unknown
WorldServer.exe!_vio_delete() Unknown
WorldServer.exe!_end_server() Unknown
WorldServer.exe!_cli_safe_read() Unknown
WorldServer.exe!_mysql_close@4() Unknown
WorldServer.exe!_mysql_real_query@12() Unknown
WorldServer.exe!Database::Query(const char * fmt, ...) Line 136 C++
WorldServer.exe!WorldDatabase::SaveCharacterTitles(std::shared_ptr<WorldCharacter> & character) Line 2082 C++
WorldServer.exe!WorldDatabase::SaveCharacter(std::shared_ptr<WorldCharacter> & character) Line 1946 C++
WorldServer.exe!Net::SaveAllCharacters() Line 1017 C++
WorldServer.exe!Net::Process() Line 134 C++
WorldServer.exe!main(int argc, char * * argv) Line 189 C++
WorldServer.exe!__tmainCRTStartup() Line 241 C
WorldServer.exe!mainCRTStartup() Line 164 C
Code: Select all
12:40:43.644 D Chunk In ChunkServer::PushItem2Client: Sent packet = Pristine Vielthread Bag
12:40:47.700 I Chunk Swapping unique_id:16 with unique_id 15
12:40:47.700 I Chunk Removing unique id 16 from character Shargash
12:40:47.715 I Chunk Added to invent id 16 item id 1013717 iconid 441 bagid -1 currentequipslot 12 currentbagslot 8
12:40:47.715 D Chunk In ChunkServer::PushItem2Client: Sent packet = Pristine Mature Vielthread Bag
12:40:49.915 I Chunk Removing unique id 15 from character Shargash
12:40:49.930 I Chunk Added to invent id 15 item id 1013721 iconid 441 bagid -1 currentequipslot -1 currentbagslot 8
12:40:49.930 D Chunk In ChunkServer::PushItem2Client: Sent packet = Pristine Prime Deathweave Vielthread Bag
12:40:52.021 I Chunk Swapping unique_id:17 with unique_id 16
12:40:52.021 I Chunk Removing unique id 17 from character Shargash
12:40:52.036 I Chunk Added to invent id 17 item id 1013704 iconid 441 bagid -1 currentequipslot 12 currentbagslot 7
12:40:52.036 D Chunk In ChunkServer::PushItem2Client: Sent packet = Pristine Vielthread Bag
12:40:53.596 I Chunk Removing unique id 16 from character Shargash
12:40:53.612 I Chunk Added to invent id 16 item id 1013717 iconid 441 bagid -1 currentequipslot -1 currentbagslot 7
12:40:53.612 D Chunk In ChunkServer::PushItem2Client: Sent packet = Pristine Mature Vielthread Bag
12:40:56.170 I Chunk Swapping unique_id:15 with unique_id 17
12:40:56.170 I Chunk Removing unique id 15 from character Shargash
12:40:56.186 I Chunk Added to invent id 15 item id 1013721 iconid 441 bagid -1 currentequipslot 12 currentbagslot 8
12:40:56.186 D Chunk In ChunkServer::PushItem2Client: Sent packet = Pristine Prime Deathweave Vielthread Bag
12:40:57.387 I Chunk Removing unique id 17 from character Shargash
12:40:57.418 I Chunk Added to invent id 17 item id 1013704 iconid 441 bagid -1 currentequipslot -1 currentbagslot 8
12:40:57.418 D Chunk In ChunkServer::PushItem2Client: Sent packet = Pristine Vielthread Bag
12:41:24.001 D Command Player 'Shargash' used command '.item:list' (38)
12:41:24.001 D Rules Rule: R_Items:MaxItemsReturned, Value: 200
12:41:25.437 I Command Player Shargash obtained info about item with keyword(s) (deathweave)
12:41:29.181 D Char Saved character 'Shargash' (477) data.
12:41:37.761 D Command Player 'Shargash' used command '.item:add' (39)
12:41:37.776 I Chunk Added to invent id 18 item id 1013744 iconid 20227 bagid -1 currentequipslot -1 currentbagslot 6
12:41:37.776 D Chunk In ChunkServer::PushItem2Client: Sent packet = Pristine Aged Deathweave Saddlebags
12:41:37.792 I Command Player Shargash gave item 'Pristine Aged Deathweave Saddlebags' (1013744) to Player Shargash.
12:41:41.895 I Chunk Removing unique id 18 from character Shargash
12:41:41.911 I Chunk Added to invent id 18 item id 1013744 iconid 20227 bagid -1 currentequipslot 46 currentbagslot 6
12:41:41.911 D Chunk In ChunkServer::PushItem2Client: Sent packet = Pristine Aged Deathweave Saddlebags
12:42:08.228 E Packet Server packet struct (type=2) (client) with opcode 0x00000114 (276) not found
12:42:08.228 E Chunk Unhandled opcode 0x00000114 (276) from 98.115.70.42
12:42:09.632 E Packet Server packet struct (type=2) (client) with opcode 0x00000114 (276) not found
12:42:09.632 E Chunk Unhandled opcode 0x00000114 (276) from 98.115.70.42
12:46:09.797 D General Player 'Shargash' (477) submitted a bug report.
12:46:10.936 D Chunk Camp started for character 'Shargash'
12:46:31.295 D Chunk Camping out character 'Shargash'
12:46:31.295 D Char Character Shargash Set to Offline
Re: I think I crashed the server again.
Even though the server items code is not up to date, and there are many fixes for inventory/items, this appears to be something different, as it comes from the logging off procedure during "SaveCharacterTitles".
Re: I think I crashed the server again.
Logged in, used broker, got message that my search returned more that 200 items, was told to narrow search but that didn't do anything. Logged off to desktop, tried to log back in and crashed as I hit play. Waited a few minutes and was able to get back in but upon returning got message "Failed to save your character. You should relog now." Was able to do that but then the Player Status and Character windows call me Solo, lvl 50 lesser giant dread night again. Relogging to desktop cleared that. Refining search before hitting search button gave the desired results and was able to do other searches after and make a purchase. Repeated this on two other toons afterward.
The "Failed to save..." message seems to be persistent as I got it gain on other toons after logging to character select. However I did not crash again.
The "Failed to save..." message seems to be persistent as I got it gain on other toons after logging to character select. However I did not crash again.
Re: I think I crashed the server again.
I had some more problems with Shargash today. I'm adding it to this thread, because I think it may be related. Here is what happens:
1. Equip deathweave vielthread bag
2. Unequip bag
3. Character is moved to loc -2 -2 -2 the instant I unequip the bag
After #3, anywhere I go (i.e. .rift Three Rivers Village) I get moved to -2 -2 -2.
At least the first time it happened, I camped to try it with a different character in a different chunk, and nothing weird happened. When I came back to Shargash (likely after the Tursh Village chunk had shut down), I was fine. Here is the screenshot from when I equipped/unequipped the bag again. When I get a chance, I"ll move somewhere else and try it with a different bag.
1. Equip deathweave vielthread bag
2. Unequip bag
3. Character is moved to loc -2 -2 -2 the instant I unequip the bag
After #3, anywhere I go (i.e. .rift Three Rivers Village) I get moved to -2 -2 -2.
At least the first time it happened, I camped to try it with a different character in a different chunk, and nothing weird happened. When I came back to Shargash (likely after the Tursh Village chunk had shut down), I was fine. Here is the screenshot from when I equipped/unequipped the bag again. When I get a chance, I"ll move somewhere else and try it with a different bag.
Re: I think I crashed the server again.
The veilthread bag may be equipping into a slot that has a visual attached. If the unreal engine is given a wonky visual attachment to a character, it will do weird things like teleport you around or change your character's appearance. That is definitely interesting and something to look into. I saw some really cool things before putting in some checks on what items could affect your visual and what items could not.
Re: I think I crashed the server again.
I just updated to eliminate that glitch, Shargash. I had updated the unequip() function to remove the item visual. When adding a visual, there is a check to make sure the item should actually have a visual. In the unequip(), it was setting the visual to 0 without doing the check. That is likely why you had the weird behavior. I'm not in charge of New Telon, so I don't know when you will see the fix, but it is in rev 880.
Re: I think I crashed the server again.
Does this address the crash at all? Seems like a pointer is being used after being freed, or referencing memory that was allocated. Xin, was it an assertion failure? If you still have the actual crash error message.
Or, zippy, if you can explain how this issue you e fixed would have cause this crash, we can write this off.
Or, zippy, if you can explain how this issue you e fixed would have cause this crash, we can write this off.
Re: I think I crashed the server again.
I don't believe the item problem I just fixed is in the same realm as the crash. Shargash's last post didn't indicate that he crashed because of it. If he did, it would be because of assigning a package index of 0 to an attachment index of 255, which is a NULL index. I would imagine that's a possible crasher, but that's not what's going on in the other posts in this thread. The update does a check now to make sure the attachment index is not 255 before removing the visual.
Also, I didn't add the unequip code that had a glitch until that revision yesterday afternoon, which was after all this other discussion.
Billham's post shouldn't have anything to do with items. I am getting the same "Failed to save character" message every so often testing on my own server. The item saves are not part of the character save system yet, as they are directly updating the database and not going off on the timer.
The crash log has SaveCharacterTitles as the culprit. I have been seeing weird title messages on my server log from time to time, usually that something is out of range.
Also, I didn't add the unequip code that had a glitch until that revision yesterday afternoon, which was after all this other discussion.
Billham's post shouldn't have anything to do with items. I am getting the same "Failed to save character" message every so often testing on my own server. The item saves are not part of the character save system yet, as they are directly updating the database and not going off on the timer.
The crash log has SaveCharacterTitles as the culprit. I have been seeing weird title messages on my server log from time to time, usually that something is out of range.