-
November 5th, 2003, 12:16 PM
#1
exception 10h
Hi,
Several users complain it crashed immediately on their machines
including windows 95, 95 OSR2, 98.
It says somthing like:
MyProg cause an exception 10H in module MyProg.exe at
0137: 0040e864
Registers:
....
Stack dump:
...
I tested the software on my company's windows 95, OSR2, 98, xp machines and it works
fine. I just can not reproduce those crashes, and they are too far away for me to be on site.
Anyone has a clue on how to debug this problem?
I appreciared your input.
I used c++ 6.0 for compile.
-
November 5th, 2003, 12:30 PM
#2
Use a map file to determine what code is at 0040e864? If your process is loading at 0x00400000, seems like it's in your EXE. So you should be able to track it down to the exact line of code using a map file, so long as the source you build the map file from is identical to the source that was used to build the program that is on site.
Thought for the day/week/month/year:
Windows System Error 4006:
Replication with a nonconfigured partner is not allowed.
-
November 5th, 2003, 12:33 PM
#3
Oh... 10h, from MSKB 150314 - "What Are Fatal Exception Errors":
16 (10h): Coprocessor Error Fault
This interrupt occurs when an unmasked floating-point exception has signaled a previous instruction. (Because the 80386 does not have access to the Floating Point unit, it checks the ERROR\ pin to test for this condition.) This is also triggered by a WAIT instruction if the Emulate Math Coprocessor bit at CR0 is set.
Thought for the day/week/month/year:
Windows System Error 4006:
Replication with a nonconfigured partner is not allowed.
-
November 5th, 2003, 12:44 PM
#4
I used "crashfinder" to detect the position in the code. And the position is not in my code !!!!
What do your quotes about the coprozessor mean ???
-
November 5th, 2003, 12:58 PM
#5
Originally posted by Ralf Schneider
I used "crashfinder" to detect the position in the code. And the position is not in my code !!!!
Where is the crash, then?
And what's with
MyProg cause an exception 10H in module MyProg.exe at
That points to MyProg.exe...
Other similar messages in the KB are:
PSS ID Number: 315215
Lrun32 caused an exception 10h in module SWFLASH.OCX
That points to the OCX which contained the code that caused the exception.
PSS ID Number: 273860
Winproj caused an exception 10H in module WINPROJ.EXE at address
PSS ID Number: 257630
PROJECT1 caused an exception 10H in module MSVBVM60.DLL at 015f:66024d53
PSS ID Number: 287719
Wmplayer caused an exception 10H in module Wmvcore.dll at 017f:739253c6
PSS ID Number: 264804
FRONTPG caused an exception 10H in module FPEDITAX.DLL at
In each case, the faulting module is identified by Windows... In your case, it would seem that MyProg.exe is causing the problem.
What do your quotes about the coprozessor mean ???
According to MSDN, that's what exception 10h is.
I'm guessing that your users get a blue screen with the information you posted?
Thought for the day/week/month/year:
Windows System Error 4006:
Replication with a nonconfigured partner is not allowed.
-
November 5th, 2003, 01:26 PM
#6
-
November 6th, 2003, 03:32 AM
#7
I guess, the problem will caused by a referenced but uninitialized float-variable.
I will send the new file to the user to test it.
-
November 6th, 2003, 07:06 AM
#8
Originally posted by Ralf Schneider
I guess, the problem will caused by a referenced but uninitialized float-variable.
I will send the new file to the user to test it.
Post back with the results...
Thought for the day/week/month/year:
Windows System Error 4006:
Replication with a nonconfigured partner is not allowed.
-
November 7th, 2003, 02:17 AM
#9
that's it !
There was an uninitialized float-variable used in a cast operation:
float f;
WORD w=(WORD)f;
I think, the exception will occur on these PCs in any situation an uninitialized float-variable is used !
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|