Windows error 0x00000190, 400

Detailed Error Information

THREAD_MODE_ALREADY_BACKGROUND[1]

MessageThe thread is already in background processing mode.
Declared inwinerror.h

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

WIN32K_CRITICAL_FAILURE_LIVEDUMP[2]

This is a Blue Screen of Death stop code. More information is available in the Knowledge Base article Bug Check 0x190: WIN32K_CRITICAL_FAILURE_LIVEDUMP.

HRESULT analysis[3]

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[3][1]
DescriptionThe default facility code.[3][1]
Error Code400 (0x0190)

Possible solutions

7

apktool error while decompiling .apk

smali
apktool

First, please make sure you have upgraded your apktool to the latest version, you can follow the instruction here to install it.

Then you need to upgrade your framework file. When I tried to decompile some apk file, it will show error like this

Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x01010462

It is caused by your framework file didn't support the latest android version, I solved the problem by:

  1. delete the origin framwork file, mine is located in

I: Loading resource table from file: /Users/csc/Library/apktool/framework/1.apk

  1. Get a proper framework apk

    Take my phone(nexus 5, android 5.1) for exmaple, you can find the framework apk in /system/framework/, and it called framework-res.apk. Using adb pull to copy it on your computer, rename it to 1.apk, copy it to your framework file directory.

  2. Try again and problem solved.

    here is the detailed origin tutorial.

answered on Stack Overflow Sep 7, 2015 by SHICONG CAO
2

Number made of 4 chars with hex

c++
char
int
hex

You may use:

int number = (a & 0xFF)
           | ((b & 0xFF) << 8) 
           | ((c & 0xFF) << 16)
           | ((d & 0xFF) << 24);

It would be simpler with unsigned values.

answered on Stack Overflow Jan 29, 2015 by Jarod42 • edited Jan 29, 2015 by Jarod42
1

Number made of 4 chars with hex

c++
char
int
hex

like this

int number = ((d & 0xff) << 24) | ((c &0xff) << 16) | ((b & 0xff) << 8) | (a & 0xff);

the << is the bit shift operator and the & 0xff is necessary to avoid negative values when promoting char to int in the expression (totally right by Jarod42)

answered on Stack Overflow Jan 29, 2015 by BeyelerStudios • edited Jan 29, 2015 by BeyelerStudios
1

C++ SDL2 Programm crashes on switch loop

c++
crash
switch-statement
sdl-2

Don't declare ev as a pointer. And declare SDL_Event e inside of the gameLoop method, and then pass it to another functions by value or by reference, it's always done like this in tutorials and books:

void InputMan::acceptInput(SDL_Event e,Graphics * g){...}

or

void InputMan::acceptInput(SDL_Event &e,Graphics * g){...}

and use it in your game loop like this:

void Starter::gameLoop()
{
    std::cout<<"Entering Gameloop"<<std::endl;

    while(!quit)
    {

    SDL_event e;
    SDL_PollEvent(&e);

    switch(e.type)
    {
     case SDL_QUIT:
       quit=true;
       std::cout<<"successfull end"<<std::endl;
       break;

     case SDL_KEYDOWN:
       input->acceptInput(e,graphics);
       std::cout<<"Paint"<<std::endl;
       break;

     /*another cases*/
    }
    }
}

But the problem may be in your graphics class instance. It may be not initialized properly. Always check them on NULL like troyane said, and try to debug all way down to the crash place, it may give you some answers. And I highly encourage you to use smart pointers provided by C++ 11 standard, like shared_ptr, instead of raw pointers.

answered on Stack Overflow Aug 3, 2014 by Russel Ledge • edited Aug 3, 2014 by Russel Ledge
1

C mxe linking fails: ld cannot find symbols

c++
mingw
cross-compiling
ld
mxe

It's looks like the dlfcn.h header doesn't have function prototypes wrapped in a extern "C" block so it doesn't get compiled correctly with C++.

Make sure the dlfcn-win32 library that you're using is up to date (the extern "C" wrapper was added to dlfcn.h in January).

answered on Stack Overflow Aug 16, 2014 by Michael Burr
1

XMS.NET fails when receiving JMS message with RFH2 header at ParseJmsFolder

c#
.net
jms
xms
rfh2

Is the sender application a JMS (or XMS) application or they hand crafting JMS headers? What version of XMS .NET are you using? Using RFHUtil,

I sent a message containing the JMS folder data your provided above and I see that XMS .NET V8.0 works fine. I also had to set the message type as jms_bytes. So I am wondering if the sender application is setting the message type correctly. Without the message type, application will get type casting error while receiving message.

answered on Stack Overflow Oct 30, 2015 by Shashi
0

Number made of 4 chars with hex

c++
char
int
hex

This works:

unsigned char ua = a;
unsigned char ub = b;
unsigned char uc = c;
unsigned char ud = d;

unsigned long x = ua + ub * 0x100ul + uc * 0x10000ul + ud * 0x1000000ul

It is like place-value arithmetic in decimal but you are using base 0x100 instead of base 10.

If you are doing this a lot you could wrap it up in an inline function or a macro.


Note - the other answers posted so far using bitwise operations on (char)0x90 are all wrong for systems where plain char is signed, as they are forgetting that (char)0x90 is a negative value there, so after the integral promotions are applied, there are a whole lot of 1 bits on the left.

answered on Stack Overflow Jan 29, 2015 by M.M
0

C++ SDL2 Programm crashes on switch loop

c++
crash
switch-statement
sdl-2

Be careful using pointers. Your function's arguments are SDL_Event * e, Graphics * g, so before accessing pointers check if it is not NULL. Since, every time you try to dereference NULL-pointer you got crash.

answered on Stack Overflow Aug 2, 2014 by troyane

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/bug-check-code-reference2
  3. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0