Windows error 0x0000012C, 300

Detailed Error Information


MessageThe oplock request is denied.
Declared inwinerror.h

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


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

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.

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
Reserved (X)false
FacilityCode0 (0x000)
DescriptionThe default facility code.[3][1]
Error Code300 (0x012c)

Possible solutions


Stack Buffer Overflow how to overwrite local variable with value containing null character


Sounds like a buffer overflow challenge.

Your right in most cases you cannot write a null byte, such as if the buffer overflow is caused by one of the unsafe string functions like strcpy(). In this case you are moving bytes with a for loop, so if you can influence the length value (this value is probably on the stack...) then it maybe possible to copy null bytes.

Another possibility is looking at the data type. If it is signed, then very large values would be interpreted as a negative number. Brush up on "arithmetic overflows", although in this attack you are overwriting a numeric value.

answered on Stack Overflow Jan 29, 2012 by rook

Error in C++ program called from Java using JNI. Getting SEGV_ACCERR


Well, I basically gave up on this. Instead of using JNI I decided to run the executable created by compiling native C++ code through Java using a similar method to this:

Run C++ executable from Java in Linux

I'm planning to just pass in arguments into the main method of the C++ code that will determine which function to call and any result returned by a function will just be saved into a temporary file that the java program can read and then delete. Hacky, but simpler and it should work. The C++ integration is just a small component of the system I was forced to use anyway.

answered on Stack Overflow Jul 10, 2014 by user1410668 • edited May 23, 2017 by Community

Disassembling CGWindowContextCreate()?


CGContextRef CGWindowContextCreate(int, int, void*);

answered on Stack Overflow Jul 6, 2011 by MacGeek

Redis occasional hangs


I found the solution it was not related to signalR itself but the client signalR Scaleout is using.

I came out that if you youse the default Microsoft.AspNet.SignalR.Redis package that it includes private refences to an old StackExchange.Redis client.

this client had issue in releasing client connection handles. Now when restarting the IIS or the redis server all this handles are freed up and everything runs again.

One solution was to build an own signalR Scaleout stream implementation

the other (which was easier for us) was to just disable the signalR scaleout stream.

All other components which are accessing redis are using ServiceStack.Redis which works fine.

Now about one month later we didn't have any more issues with the redis server.

answered on Stack Overflow Mar 31, 2016 by Boas Enkler

WinDbg with dump files when you have a classic ASP app which uses a lot of .Net via interop


You need to find the roots that holds these strings in memory. I have a few examples in my article: but generally what you might need to do is to use !gcroot command - it should traverse object graph to one of the roots that holds this object.

answered on Stack Overflow Jun 19, 2014 by Alex Netkachov

WinDbg with dump files when you have a classic ASP app which uses a lot of .Net via interop


There are two different heap types: native heaps (heaps of the heap manager) and managed heaps (heaps created by the .NET runtime). What you see as the output of !dumpheap is only the managed part. Since your COM objects are also using native memory, this is not included in the output.

To see the native part of the memory, try !address -summary. .NET memory will show up as <unknown> and native memory will be listed as Heap in the usage summary.

Still, !dumpheap can be helpful, e.g. to see the number of RCW objects created by your application. RCWs are not very large, therefore they might not be listed near the end of the output. Try !dumpheap -stat -type Interop to find them (if you`re using the default interop assembly).

If you know how large your COM objects are on native side, you can just multiply the number of object by the memory usage. In my typical environment, I'm using different COM objects with 5 MB to 100 MB in size, so even a few ones can cause OutOfMemoryException.

Knowing the exact size of a COM object is good for the use of GC.AddMemoryPressure which you can then use.

answered on Stack Overflow Jun 19, 2014 by Thomas Weller

Dell desktop falls asleep in a couple minutes, ignores power/screen saver settings


The contents of your event log entry shows:

The system is entering sleep.

Sleep Reason: System Idle

This would seem to indicate that you do have a power plan in place telling the system to sleep after a period of idle time. In your case, probably around 3 minutes or 180 seconds.

Start by running powercfg -q from a command prompt. What you will see are all the settings for the active power plan for the logged on user. The first line of the output will tell you what that plan is named, followed by all of the individual settings. You're probably interested in the Sleep After value, which is listed in seconds hexadecimal - 3 minutes would be B4. Double check any other time related entries to see if any others might correspond with the approximately 3 minute sleep cycle that was missed.

If not found above, you can use powercfg -q to list available power plans on the computer. You can copy and paste each power scheme GUID in to the powercfg -q <guid> command to see the settings for any other power schemes on the system.

Here is an example of querying the Power Saver scheme:

C:\WINDOWS\system32>powercfg -l

Existing Power Schemes (* Active)
Power Scheme GUID: 381b4222-f694-41f0-9685-ff5bb260df2e  (Balanced) *
Power Scheme GUID: 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c  (High performance)
Power Scheme GUID: a1841308-3541-4fab-bc81-f71556f20b4a  (Power saver)

C:\WINDOWS\system32>powercfg -q a1841308-3541-4fab-bc81-f71556f20b4a
Power Scheme GUID: a1841308-3541-4fab-bc81-f71556f20b4a  (Power saver)
  Subgroup GUID: 0012ee47-9041-4b5d-9b77-535fba8b1442  (Hard disk)
    GUID Alias: SUB_DISK
    Power Setting GUID: 6738e2c4-e8a5-4a42-b16a-e040e769756e  (Turn off hard disk after)

It's possible you have missed something, or have mistaken what the active power plan is. But, the event log entry is pretty clear that it is an idle timeout value putting the system to sleep and not some other piece of software or driver, etc.

The Dell Power Manager and Dell Command | Power Manager are only installed and used on laptops. You indicated you have a desktop, so there isn't any bundled power management software and it is unlikely any other power management software would be on a desktop computer.

answered on Super User Nov 24, 2017 by Appleoddity


Leave a comment

(plain text only)


  1. winerror.h from Windows SDK 10.0.14393.0

User contributions licensed under CC BY-SA 3.0