Skip to content

WaitForSingleObject/ResetEvent/SetEvent failed with invalid handle value #27

@tpn

Description

@tpn

I've only seen this once and can't reproduce. It's not obvious what would cause the handle value to be invalid.

c:\src\perfecthash-keys>timemem PerfectHashBulkCreate.exe C:\src\perfecthash-keys\random e:\ph\random5.jenkins Chm01 Jenkins And 14 --AttemptsBeforeTableResize=1000000000 --MaxNumberOfTableResizes=0 --TryLargePagesForKeysData --TryLargePagesForTableData --TryLargePagesForValuesArray --IgnorePreviousTableSize --FindBestGraph --BestCoverageAttempts=100000 --BestCoverageType=LowestNumberOfEmptyCacheLines --MainWorkThreadpoolPriority=Low
................C:\src\perfecthash\src\PerfectHash\Chm01FileWork.c: 545: WaitForSingleObject failed with error: 6 (0x6).  The handle is invalid.
C:\src\perfecthash\src\PerfectHash\Chm01.c: 1207: CreatePerfectHashTableImplChm01_ErrorDuringSaveMakefileLibMkFile failed with error: 3758359076 (0xe0040224).  System call failed.
C:\src\perfecthash\src\PerfectHash\Chm01.c: 1358: ResetEvent failed with error: 6 (0x6).  The handle is invalid.
C:\src\perfecthash\src\PerfectHash\PerfectHashContextBulkCreate.c: 670: PerfectHashTableCreate failed with error: 3758359076 (0xe0040224).  System call failed.
C:\src\perfecthash\src\PerfectHash\Chm01.c: 471: ResetEvent failed with error: 6 (0x6).  The handle is invalid.
C:\src\perfecthash\src\PerfectHash\Chm01.c: 1358: ResetEvent failed with error: 6 (0x6).  The handle is invalid.
C:\src\perfecthash\src\PerfectHash\PerfectHashContextBulkCreate.c: 670: PerfectHashTableCreate failed with error: 3758359076 (0xe0040224).  System call failed.
C:\src\perfecthash\src\PerfectHash\Chm01.c: 471: ResetEvent failed with error: 6 (0x6).  The handle is invalid.
C:\src\perfecthash\src\PerfectHash\Chm01.c: 1358: ResetEvent failed with error: 6 (0x6).  The handle is invalid.
C:\src\perfecthash\src\PerfectHash\PerfectHashContextBulkCreate.c: 670: PerfectHashTableCreate failed with error: 3758359076 (0xe0040224).  System call failed.
C:\src\perfecthash\src\PerfectHash\Chm01.c: 471: ResetEvent failed with error: 6 (0x6).  The handle is invalid.
C:\src\perfecthash\src\PerfectHash\Chm01.c: 1358: ResetEvent failed with error: 6 (0x6).  The handle is invalid.
C:\src\perfecthash\src\PerfectHash\PerfectHashContextBulkCreate.c: 670: PerfectHashTableCreate failed with error: 3758359076 (0xe0040224).  System call failed.
C:\src\perfecthash\src\PerfectHash\Chm01.c: 471: ResetEvent failed with error: 6 (0x6).  The handle is invalid.
C:\src\perfecthash\src\PerfectHash\Chm01.c: 1358: ResetEvent failed with error: 6 (0x6).  The handle is invalid.
C:\src\perfecthash\src\PerfectHash\PerfectHashContextBulkCreate.c: 670: PerfectHashTableCreate failed with error: 3758359076 (0xe0040224).  System call failed.
C:\src\perfecthash\src\PerfectHash\Chm01.c: 471: ResetEvent failed with error: 6 (0x6).  The handle is invalid.
C:\src\perfecthash\src\PerfectHash\Chm01.c: 1358: ResetEvent failed with error: 6 (0x6).  The handle is invalid.
C:\src\perfecthash\src\PerfectHash\PerfectHashContextBulkCreate.c: 670: PerfectHashTableCreate failed with error: 3758359076 (0xe0040224).  System call failed.
C:\src\perfecthash\src\PerfectHash\Chm01.c: 471: ResetEvent failed with error: 6 (0x6).  The handle is invalid.
C:\src\perfecthash\src\PerfectHash\Chm01.c: 1358: ResetEvent failed with error: 6 (0x6).  The handle is invalid.
C:\src\perfecthash\src\PerfectHash\PerfectHashContextBulkCreate.c: 670: PerfectHashTableCreate failed with error: 3758359076 (0xe0040224).  System call failed.
C:\src\perfecthash\src\PerfectHash\Chm01.c: 471: ResetEvent failed with error: 6 (0x6).  The handle is invalid.
C:\src\perfecthash\src\PerfectHash\Chm01.c: 1358: ResetEvent failed with error: 6 (0x6).  The handle is invalid.
C:\src\perfecthash\src\PerfectHash\PerfectHashContextBulkCreate.c: 670: PerfectHashTableCreate failed with error: 3758359076 (0xe0040224).  System call failed.
C:\src\perfecthash\src\PerfectHash\Chm01.c: 471: ResetEvent failed with error: 6 (0x6).  The handle is invalid.
C:\src\perfecthash\src\PerfectHash\Chm01.c: 1358: ResetEvent failed with error: 6 (0x6).  The handle is invalid.
C:\src\perfecthash\src\PerfectHash\PerfectHashContextBulkCreate.c: 670: PerfectHashTableCreate failed with error: 3758359076 (0xe0040224).  System call failed.

C:\src\perfecthash\src\PerfectHash\PerfectHashContext.c: 723: CloseHandle failed with error: 6 (0x6).  The handle is invalid.
Exit code      : 0
Elapsed time   : 11183.66
Kernel time    : 21.44 (0.2%)
User time      : 156504.58 (1399.4%)
page fault #   : 491280
Working set    : 342972 KB
Paged pool     : 250 KB
Non-paged pool : 39 KB
Page file size : 715148 KB

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions