AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Coding MM:S Plugins & SM Extensions (https://forums.alliedmods.net/forumdisplay.php?f=75)
-   -   Strange error since last update. (https://forums.alliedmods.net/showthread.php?t=158108)

c0ldfyr3 05-30-2011 21:58

Strange error since last update.
 
1 Attachment(s)
Howdy,

Using MM 1.8.6 and nothing else but my plugin. It gets to the end of my plugins Load function and exits normally and then I'm greeted by this rather strange error below. Not even a location just a memory address! Any pointers as to where to start looking? Nothing else in my plugin is called after Load()...

http://forums.alliedmods.net/attachm...1&d=1306806826

Thanks for the help!

c0ld

Fyren 05-31-2011 01:40

Re: Strange error since last update.
 
I would start by loading the MM:S symbols. You could also poke around values on the stack to see if you can manually trace it backwards.

BAILOPAN 06-01-2011 21:06

Re: Strange error since last update.
 
You should recognize that address as an ASCII string: de_d

c0ldfyr3 06-02-2011 20:13

Re: Strange error since last update.
 
1 Attachment(s)
BAIL have I ever told you I hate it when you reply with a tidbit of information to nudge me in the right direction :P

It's actually d_ed... wtf could that be now is the question and in an array of strings each with the last character incremented?

Fork!

EDIT: Ze plot thickens!

http://forums.alliedmods.net/attachm...1&d=1307064093

BAILOPAN 06-04-2011 19:26

Re: Strange error since last update.
 
No, it's de_d, most likely a map name. Remember that Intel processors are little-endian, so the order of the bytes is reversed when read as integers. It sounds like some kind of memory corruption, double-free, use-after-free, or otherwise invalid pointer, maybe?

Double check, also, if you have any manual virtual hooks, that the calling convention matches and that the index is correct on any hook.

c0ldfyr3 06-07-2011 09:28

Re: Strange error since last update.
 
Thanks for the reply BAIL, you described everything I did already step by step. The thing is it was working fine before the update! I'm going over all of my offsets for the third time to make sure there's none out of order but I'm almost positive there couldn't be any of my hooks being fired at that point in time because it's so early >.< Wish me luck!


All times are GMT -4. The time now is 23:16.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.