Windows error 0x00000133, 307

Detailed Error Information

INVALID_LOCK_RANGE[1]

MessageA requested file lock operation cannot be processed due to an invalid byte range.
Declared inwinerror.h

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

DPC_WATCHDOG_VIOLATION[2]

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

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 Code307 (0x0133)

Possible solutions

6

Can I change the update descriptions in WSUS?

powershell
windows-server-2012-r2
wsus
windows-update

Update

By using the answer below I created a small tool that automagically adds the descriptions to my WSUS server. I decided to publish my tool on Github, so feel free to try and test it out.

https://github.com/Physikbuddha/wsus-online-descriptions/releases/latest

Sample screenshot

Original Answer

I tried to solve the problem with Get-Member, as suggested by mortenya in the comment section, but with no luck.
Finally, I ended up with directly editing the WSUS database to change the description.

Be careful! Use my solution only if you're absolutely sure what you're doing. Editing the database your server is depending on, is like performing an open heart surgery on your best friend.

My WSUS installation is using the Windows Internal Database to store the update information. Since this version does not allow remote queries, I had to use a local installation of the SQL Server Management Studio.
Connect to the database using the server name provided by the article linked above.

I was able to change the update description by running this query:

UPDATE tbPreComputedLocalizedProperty
SET Description = '"0x00000133" Stop error when there''s faulty hardware in Windows 8.1 or Windows Server 2012 R2'
FROM tbPreComputedLocalizedProperty p
JOIN tbUpdate u ON p.UpdateID = u.UpdateID
JOIN tbRevision r ON u.LocalUpdateID = r.LocalUpdateID
JOIN tbKBArticleForRevision kb ON r.RevisionID = kb.RevisionID
WHERE kb.KBArticleID LIKE '3013791' AND p.ShortLanguage = 'en'
GO

This is just a way to set the description by hand, so I'm going to do further experiments on how to get the descriptions directly from the KB website and to apply them on all new updates automatically. I'll add the information to this post.

answered on Server Fault Jul 10, 2015 by Physikbuddha • edited Dec 3, 2015 by Physikbuddha
3

android.view.Surface - OutOfResourcesException

android
exception
canvas
resources
surfaceview

After long hours of pulling my git commits I've finally found one that didn't had this problem. Since the app I'm working on displays sensitive data on the screen, I was trying to change the image displayed as the thumbnail in the "Recent Apps" section. In order to achieve this I was setting the secure flag to the window:

http://developer.android.com/reference/android/view/Window.html#setFlags(int, int) http://developer.android.com/reference/android/view/WindowManager.LayoutParams.html#FLAG_SECURE

Turns out that this was the problem that caused the exception and the black screen that was shown. After I've removed it, everything was working just fine. Hopefully this tip will help other devs facing the same problem.

answered on Stack Overflow Jul 9, 2012 by Levente Kürti
3

Android - view.Surface OutOfResourcesException

android
memory
memory-leaks
view
allocation

A great way to check to see where leaks are coming from is , if you are in Eclipse, Window->Open Perspecive -> DDMS then select the running process from the process selection and use the allocation tracker.Boot the app but DO NOT touch the app before you start the allocation tracker. Then do what you think will cause the problem and then check the allocations every time. This should show you exactly what code is causing a leak.

Also if you post you code we could take a look at it.

answered on Stack Overflow Jul 1, 2011 by ntkachov
2

Serious honeycomb hardware-acceleration memory issues

android
android-3.0-honeycomb
android-4.0
hardware-acceleration

Hardware layers are very costly in terms of memory. You should only enable them temporarily on views (for the duration of an animation for instance.) To get in the state you are describing your app must use more than 256+32 MB of video memory on a Xoom tablet. Also, if you are using WebView, be careful as it uses quite a bit of memory itself.

answered on Stack Overflow Aug 1, 2011 by Romain Guy
1

Android - view.Surface OutOfResourcesException

android
memory
memory-leaks
view
allocation

(Even though this was a year ago, I came here via Google)

Something tells me that you have too many views loaded at once and Android can't keep track of them all. * This sounded like not using the ListView correctly, which is something a lot of us are guilty of. Assuming that you have a custom array adapter:

public abstract View getView (int position, View convertView, ViewGroup parent)

When you overload this function, always check convertView.

public abstract View getView (int position, View convertView, ViewGroup parent)
{
   View view = convertView;
   if ( view == null )
   {
      // create/inflate the view here
      // ex: view = inflater.inflate(R.layout.bob, null);
      // configure the static parts here
   }
   // configure the dynamic parts here

   return view;
}

Android has a "recycle bin" mechanism for listview views, and will reuse views if all possible. In other words, instead of creating a bunch of different views, it'll grab an old view from the recycle bin.

In your case, you have 10 different kind of views. If they are very similar, you can make a superview and turn on or turn off parts of the view (example being subView.setVisibility(View.GONE)). Just watch out for massive if statement blocks. I haven't used these before, but you should investigate

public abstract int getItemViewType (int position)
public abstract int getViewTypeCount ()

This would be better because you don't have to deal with extra fluff, and it should be automatically managed by Android

  • Personally, I'm not 100% sure that this could be it, but I have the feeling that there's a 66% chance it's this
answered on Stack Overflow Aug 30, 2012 by Joe Plante • edited Aug 30, 2012 by Joe Plante
0

Diagnose Windows 8 Pro crashes generated by Kernel symbols

windows-8
crash
bsod

Thanks for your suggestions and ideas. In the end I made an experiment to see what device is the actual culprit. It was clear to me that some component or driver is causing these random but frequent issues.

I looked at my hardware configuration and three components seemed like plausible suspects: the SSD, my Creative X-Fi XtremeGamer Fatal1ty Pro sound card or the AverMedia Live Game video capture card.

First, I looked at the SDD and noticed that a firmware update was available. It said it fixed issues with the drive not being able to enter correctly more low powered states. The firmware promised to solve problems that were awfully similar to those experienced by me. Unfortunately, minutes after the firmware was updated, the crashes continued.

Then, I disabled the video capture card. No improvement.

Lastly, I disabled the sound card and used the on-board audio. 48 hours after doing this, no crashes. My system works perfectly.

Unfortunately, Creative are being nasty again and not giving a crap about their clients. Even though my sound card is literally awesome, they decided to discontinue their driver support for it. They have a crappy driver available and it is not going to be updated anytime soon. My only solution is to buy another card. They pulled the same stunt when Windows 7 was launched. :(

I hope this discussion will help others with similar issues. If you have a Creative sound card that was not bought in the last year, year and a half, their poor driver support might cause similar frustration.

answered on Super User May 31, 2013 by Corporate Geek
0

Android - view.Surface OutOfResourcesException

android
memory
memory-leaks
view
allocation

Try extending your Activities so you can see if they are being garbage collected (finalize() being called). Similarly, try extending your Views to help identify if they are being garbage collected.

If you are putting Views and Activities into Collections for caching, trying using collection objects that use WeakReference, such as WeakHashMap. Are you using inner classes in your Views or Activities? If so, these classes holds a reference to the Activity or View and prevent them from being garbage collected. A good example is an AsyncTask that is an inner class. This task runs in its own thread, and can continue to hold on to Views even when you have closed the activity,

Also, look at static variables, are they holding on to objects?

answered on Stack Overflow Jul 3, 2011 by John Cheng
0

Android - view.Surface OutOfResourcesException

android
memory
memory-leaks
view
allocation

This is problem from Surface Flinger, Which will maintain and compose Surfaces of Application into display device.

try this : reduce your layout pixel format in xml file .

answered on Stack Overflow May 4, 2012 by Chandu
0

Android - view.Surface OutOfResourcesException

android
memory
memory-leaks
view
allocation

If I may leave a note here:

I had this same logs while I was testing on my Prestigo PMP5080B. My app would also random block.

I have noticed that when I disconnect the USB cable (it is enough to swtich off the connection from the tablet by clicking in settings) the app works OK. I have also noticed that while I am connected to my app using Eclipse and through USB that the SD card can not be mounted but do not know if this problem is connected somehow to my app since I do not store on SD.

hth

answered on Stack Overflow Sep 7, 2013 by Čikić Nenad
0

Android - view.Surface OutOfResourcesException

android
memory
memory-leaks
view
allocation

I had the same problem and finally solved it. The solution:

Start your app from Eclipse and play a little with it while constantly observing the LogCat-Console in Eclipse. When starting a new Activity or something like that you should see:

Tag:"WindowManagerImpl", Text:"addView, new view, mViews[1]:....".

The important thing here is the mViews[x]-part. x tells you how many views are active. Now when you start an activity but the mViews-Counter tells you that it has 5-10 new views, then you can be sure that you accidentally create too many views. That way you can find the weak point in your code.

This happened in my game app: everytime I lost the game 5 or more new GameOverActivities were started, because the code, which started a new GameOverActivity was in a loop. So after a few minutes of playing there were 20 unused GameOverViews eating up my resources. (So be careful when starting activities in loops.)

answered on Stack Overflow Dec 3, 2013 by itmuckel • edited Dec 3, 2013 by Robert
0

Android - view.Surface OutOfResourcesException

android
memory
memory-leaks
view
allocation

In my case, the error showed up because i was using Window class to change my status bar color which is supported only in android build versions that are newer than 21. add the following to your code and it might work

if(Build.VERSION.SDK_INT >= 21) {

//... your code with Window class here

}
answered on Stack Overflow Jun 29, 2016 by Teo Mihaila
0

android.view.Surface - OutOfResourcesException

android
exception
canvas
resources
surfaceview

You need to call release() if you are not using your android.view.Surface anymore.

http://developer.android.com/intl/es/reference/android/view/Surface.html#release()

answered on Stack Overflow Jul 6, 2012 by poitroae
0

android.view.Surface - OutOfResourcesException

android
exception
canvas
resources
surfaceview

I have similar problem, but related to HW surface.

I have ProgressDialog and SignIn component. All Communication between this components done through Handler class.

In my case the only thing that saves from crash is turning off hw acceleration for specific Activity.

answered on Stack Overflow Nov 6, 2013 by Sergey Dryganets
0

Windows 10 reboots without blue screen or crash dump

windows-10
memory
bsod
crash

It could mean there is also a problem with a windows system file. Easy way to check its not a windows system file is to run command prompt. and type SFC /SCANNOW

the other thing you could try doing, is creating a custom view in the event viewer and attach any event collectors you think might hold the information you are looking for and wait for it to happen again, then check your custom event view. You can add an event logger to just about anything that your OS has installed to hardware plugged in. And to just give you and idead what you can do with event viewer of how powerful it is, you can even make custom tasks run based off when certain events happen, given the event is loggable.

As some have said, it is possible it is a bad driver, the common one of these drivers to cause your computer to reboot is a bad graphics driver. However, any bad driver can cause your computer to restart. Also, if the inside of your computer is dirty, it can cause it to shutdown because something shorts out or some other component gets too hot and thus not working right because of it.

So to help you resolve this, the best thing to do in this type of situation is to start at the basics by first physically cleaning your computer and then cleaning the up junk inside the OS. From removing old programs, emptying the recycle bin, defrag the computer install windows updates if there is any and the last, go research to see if there is updated drivers for hardware you have in your computer. Such as graphics driver, network card drivers, audio drivers, etc. If there was problems with your hardware like the memory or harddrive the OS would have detected it and logged it somewhere before the system crashes or in your case just reboots. As you can see without further information, it can be a number of things, but if you do some of these maintenance tasks you will at least be able to eliminate more things off your list as to what is possibly causing it.

answered on Super User Aug 10, 2016 by Frostalf
0

Strange stack trace in Windows Phone 8

windows-phone-8
crash-dumps

In your case finding the Solution would be needed lots of surfing through sites and Search for the Description of Error codes and find solution for it or You can simply Analyze crash reports. you’ll receive a certification report that contains additional files that you can use to identify what happened. Depending on the type of error that occurred, you’ll receive either A crash dump file or An ErrorInfo file. To examine these files, Dev centre recommend that you use either Microsoft Visual Studio or the Windows Debugger Tools. Have Look over here Analyzing crash reports and Improving apps with Quality reports. Hope this help you out.

answered on Stack Overflow Jun 24, 2014 by A B
-1

Diagnose Windows 8 Pro crashes generated by Kernel symbols

windows-8
crash
bsod

the Windows file win32k.sys is corrupted on your HDD. Run sfc /scannow or DISM /Online /Cleanup-Image /RestoreHealth to repair the damaged files.

Now look if you get new crashes.

answered on Super User May 26, 2013 by magicandre1981

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