Windows error 0x40010006, 1073807366

Detailed Error Information

HRESULT analysis[1]

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)true
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode1 (0x001)
NameFACILITY_RPC[1][2]
DescriptionThe source of the error code is an RPC subsystem.[1][2]
Error Code6 (0x0006)

Questions

6votes
1answer

C++ RTTI in a Windows 64-bit VectoredExceptionHandler, MS Visual Studio 2015

I'm working on small Windows Exception handling engine trying to gather maximum information from the system, including C++ exceptions RTTI. In a 32-bit VectoredExceptionHandler compiled by MSVS 2015, I successfully can obtain std::type_info pointer to RTTI of the type being thrown. It can easily be found in ((_ThrowInfo*) ExceptionPointers->ExceptionRecord->ExceptionInformation[2])->pCatchableTypeArray->arrayOfCatchableTypes[0] (see [...] read more
c++
visual-studio
exception-handling
x86-64
rtti
3votes
2answers

How to get a useful backtrace in Cygwin?

Although I have compiled my C program with -g -O0, the backtrace I get from gdb is useless: (gdb) bt #0 0x6113759d in wordfree () from /cygdrive/c/cygwin/bin/cygwin1.dll #1 0x75141375 in OutputDebugStringA () from /cygdrive/c/Windows/system32/KERNELBASE.dll #2 0x40010006 in ?? () #3 0x00000000 in ?? () Is there any way to get [...] read more
c
debugging
gdb
cygwin
backtrace
1vote
1answer

Golang CGO Exception 0x40010006

Im trying to run a function from a dll using cgo. The library is in c++ so I created a C header here are the functions defined and a .cpp file where is the implementation. lib.h: #ifdef __cplusplus extern "C" { #endif void* LoadEngine(char*); #ifdef __cplusplus } #endif lib.cpp: #include [...] read more
c++
go
cgo
seh
1vote
1answer

How to treat 0x40010006 exception in vectored exception handler?

I register my own vectored exception handler, to catch and trace various exceptions in my application. Sometimes I get an exception having 0x40010006 code, which is thrown by OutputDebugString function. Certainly, I'd like just to ignore it. What would be the appropriate return value in this case: EXCEPTION_CONTINUE_EXECUTION or EXCEPTION_CONTINUE_SEARCH? read more
windows
exception-handling
-1votes
1answer

Binary search Tree Seg faults when doing a tree walk after removing its root

I've been stepping through my functions using pieces of paper to see what happens when I try to remove the very first Node and then print it. Lets assume these are the elements already in the tree (depth, key, data). WARNING/// WALL OF TEXT AHEAD! 1, 09/17, Paul 0, 10/24, [...] read more
c++
algorithm
binary-search-tree
destructor
delete-operator

Comments

Leave a comment

(plain text only)

Sources

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

User contributions licensed under CC BY-SA 3.0