Possible Invalid Pointer Bug...
This thread is the result of this crash: http://wiki.eqemulator.org/i?M=Pastebin&Paste=ftJoFBpe
Plain and simple..I believe the cause is related to an early access of a Client property before it has been initialized. The failure (most likely an 'Access Violation' error): Code:
if(this->aa) { This array ('aa') has not been assigned when this code tries to access the pointer. This only appears to occur when an AE spell goes off in the vicinty of a client that has not 'FinishedLoading' (i.e., someone who has made contact with the zone server..but, not yet in-game.) There may be some other occurrences where this happens..but, I did attempt a fix for this and am awaiting feedback. If this does indeed fix the issue, we will probably need to address all of the entity list AE functions. This entire check is the fix..I had to change the method checked in this commit due to a misunderstanding of the connection vs. client load state naming conventions... (client load state = 'conn_state'; connection state = 'client_state' - go figure...) https://github.com/EQEmu/Server/comm...4004a0ecd31801 |
How much of a ballache would it be to rename those variables to something that won't catch someone out at a later date?
|
Maybe KLS can rename those when he reworks the mob classes :P
|
Ok..I did receive some feedback on this fix today...
It looks like it may have helped..though, I imagine there are some other places that similar changes need to be made. Please keep this post in mind when tracing pointer-related crashes. |
All times are GMT -4. The time now is 05:11 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.