Windows error 0x00000097, 151

Detailed Error Information

INVALID_EVENT_COUNT[1]

MessageThe number of specified semaphore events for DosMuxSemWait is not correct.
Declared inwinerror.h

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

BOUND_IMAGE_UNSUPPORTED[2]

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

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 Code151 (0x0097)

Possible solutions

2

How to stop Java from truncating 32bit int to single byte over java.net.Socket ? Or maybe use something else?

java
sockets
tcp

You're calling DataOutput.write(int) on the DataOutputStream, which is documented as:

Writes to the output stream the eight low-order bits of the argument b. The 24 high-order bits of b are ignored.

I suspect you really want writeInt:

Writes an int to the underlying output stream as four bytes, high byte first. If no exception is thrown, the counter written is incremented by 4.

So:

out.writeInt(i);

Always check the Javadoc of the methods you're using, particularly when they don't behave the way you expect them to.

answered on Stack Overflow Oct 31, 2014 by Jon Skeet • edited Oct 31, 2014 by Jon Skeet
0

CentOS Development Server Crashing Frequently

centos
centos5
server-crashes

you're getting errors on:

hdc: LITE-ON DVDRW SOHW-832S, ATAPI CD/DVD-ROM drive

I'd be tempted to remove that, reboot and see what happens. You're not running this from a liveCD are you?

Either way..pull the power from that drive, reboot and see what happens. Also, perhaps have a look at smartctl to see if the hard drives have any SMART errors.

answered on Server Fault Oct 5, 2015 by dcr226

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