CreateThread() throws duplicate TLB exception on MIPS (CE5)



Dear all,

I have a driver that spawns a thread when in active power state (D0-
D2) and kills it off when entering power down (D4).

After executing a system suspend and subsequent resume, the driver
excepts at the CreateThread() when reinstating this thread as it moves
back from D4 to D0. The thread function never actually executes
(verified by good old debug LEDs). If you simply instruct the driver
to switch states without system suspend/resume, you don't get the
problem.

This is an AMD/RMI Au1550 processor (MIPSII). The exception thrown is
0x18: MCheck; the MIPS and RMI manuals say of this exception:

"5.2.7 Machine Check Exception
A machine check exception occurs when the processor detects an
internal inconsistency.
The following conditions cause a machine check exception:
· Detection of multiple matching entries in the TLB in a TLB-based
MMU."

Any ideas?????

Regards,
Andrew.

Unfortunately, this behaviour is restricted to Release build so I have
limited debug information:

Exception 018 Thread=8fdcf800 Proc=2ff97ec2 'device.exe'
AKY=00000085 PC=88d2fa74(NK.EXE+0x0002fa74) RA=88d2fa0c(NK.EXE
+0x0002fa0c) BVA=cbf01908
Exception 018 Thread=8fdcf800 AKY=ffffffff PC=88d2fa74 BVA=cbf01908
SR=00000003 AT=00000000 V0=80122400 V1=20000004
A0=20000000 A1=00000001 A2=abf01904 A3=a1f24000
T0=abf01904 T1=cbf01908 T2=00234000 T3=00000001
T4=00000730 T5=0000073f T6=000001cc T7=00000013
S0=0673f000 S1=0673f000 S2=00002000 S3=00000001
S4=ffffdb10 S5=0007c900 S6=a0128000 S7=80122504
T8=0000004c T9=00000010 LO=00000008 HI=0000000f
GP=00000000 SP=ffffd78c S8=cbf01908 RA=88d2fa0c
Halting system

.



Relevant Pages

  • Exception executing simple statement
    ... Executing next statement results in Exception below: ... PreparedStatement ps1 = ... [SQLServer 2000 Driver for JDBC]Unhandled ...
    (comp.lang.java.databases)
  • RE: JDBC and handling of errors
    ... this is not a bug with jdbc driver. ... executing the procedure. ... driver in order to get to the result containing the exception. ...
    (microsoft.public.sqlserver.clients)
  • Re: windows error codes
    ... Driver Development Tools: Windows DDK ... This indicates that a kernel-mode program generated an exception which the error handler did not catch. ... For a complete list of exception codes, see the ntstatus.h file located in the inc directory of the Windows DDK. ... This article describes how to troubleshoot a "STOP 0x0000001E KMODE_EXCEPTION_NOT_HANDLED" error message. ...
    (microsoft.public.windowsxp.general)
  • Re: Structured Exception Handling (was: Try Finally...)
    ... >statements will be traversed outwards exactly once, executing each ... What really bite me is the re-raise of the exception ... and the continuation in statementList2. ... This means that during unwinding the code immediately returns, ...
    (comp.lang.pascal.delphi.misc)
  • RE: getting Kmode Exception Not Handled error
    ... The address at which the exception occurred 0xf7163ab0 ... Faulty device driver or system service. ... Disabling memory caching of the BIOS might also resolve the error. ...
    (microsoft.public.win2000.setup)

Quantcast