D
david_tèo
Guest
Hi all
I'm investigating about an exception cause an error in my project .I have a project built before that and i also has a map file for finding crashes. Based on that *.map file,I calculated the offset of line number where exception occur and determine function has it by following step :
1_ Exception address in MAP file: I found the address in MAP file is nearest with "0x4F4D34"
Line 9164: 0001:000e7970 _ReadDirectory 004e8970 f files.obj
It means that exception occurs in ReadDirectory() (function in a file name files.c)
2_So I can calculate Offset of the line cause exception in file files.cod is 0x4F4D34 - 0x4e8970 = "C3C4"
But when mapping that offset to find line of code has exception in ReadDirectory() in file files.cod ,it doesn’t has any line of code match with that offset or equivalent with it. Does anyone have an idea help me to find exactly line of code that cause problem please ?
Another problem is in files.cod has two locations process ReadDirectory() under assembly code have same ID 458 in two lines 2377 and 2420,I can’t understand why it’s have this . My ReadDirectory() is written by using recursive function . Does it cause any problem ?
Sorry for my bad English ,if have any question please quest me ,I will try my best to answer. Thanks.
Continue reading...
I'm investigating about an exception cause an error in my project .I have a project built before that and i also has a map file for finding crashes. Based on that *.map file,I calculated the offset of line number where exception occur and determine function has it by following step :
1_ Exception address in MAP file: I found the address in MAP file is nearest with "0x4F4D34"
Line 9164: 0001:000e7970 _ReadDirectory 004e8970 f files.obj
It means that exception occurs in ReadDirectory() (function in a file name files.c)
2_So I can calculate Offset of the line cause exception in file files.cod is 0x4F4D34 - 0x4e8970 = "C3C4"
But when mapping that offset to find line of code has exception in ReadDirectory() in file files.cod ,it doesn’t has any line of code match with that offset or equivalent with it. Does anyone have an idea help me to find exactly line of code that cause problem please ?
Another problem is in files.cod has two locations process ReadDirectory() under assembly code have same ID 458 in two lines 2377 and 2420,I can’t understand why it’s have this . My ReadDirectory() is written by using recursive function . Does it cause any problem ?
Sorry for my bad English ,if have any question please quest me ,I will try my best to answer. Thanks.
Continue reading...