Windows error 0x00000257, 599

Detailed Error Information

STACK_OVERFLOW_READ[1]

MessageThe request must be handled by the stack overflow code.
Declared inwinerror.h

This appears to be a raw Win32 error. More information may be available in error 0x80070257.

HRESULT analysis[2]

This is probably not the correct interpretation of this error. The Win32 error above is more likely to indicate the actual problem.
FlagsSeveritySuccess

This code indicates success, rather than an error. This may not be the correct interpretation of this code, or possibly the program is handling errors incorrectly.

Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode0 (0x000)
NameFACILITY_NULL[2][1]
DescriptionThe default facility code.[2][1]
Error Code599 (0x0257)

Possible solutions

4

Is PEVerify warning about duplicate methods wrong here?

c#
.net
il
peverify

Both methods share the same method signature and that is simply not allowed.

For the CLR, a method signature consists of the method name, generic arity, formal parameter arity, formal parameter types and kinds, and return type.

Definition of a method signature

Serge Lidin states in .Net IL Assembler, chapter 10 under Method Table Validity Rules:

No duplicate records—attributed to the same TypeDef and having the same name and signature—should exist unless the accessibility flag is privatescope.

of course you can find this rule in the ECMA-335 specifications, in partition II.22.1:

Unique Rows: No table shall contain duplicate rows, where “duplicate” is defined in terms of its key column, or combination of columns.

answered on Stack Overflow Feb 2, 2016 by thehennyy • edited May 23, 2017 by Community

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0