Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Periodic freezes in my system

10 Oct 2009   #71

Windows 7 Ultimate 64bit SP1

Lool thanks unfortunately thanks to my rotten cable tv provider i cannot fully enjoy tv captures, but that's offtopic here so nevermind :) But at least the dropped frames issue is solved for now.

My System SpecsSystem Spec
10 Oct 2009   #72

windows 7 x64 Home Premium

This has been a great thread! Great detective work!

Just to add my 2... you are not alone in your Kaspersky issues. I was getting 3, 4, 5 BSODs per day back in June, and dumping Kaspersky solved about half of them. The new av/as from MS (Microsoft Security Essentials) works good with Win 7... give it a try. You won't even notice its there... the best thing you can say about an av/as utility.
My System SpecsSystem Spec
11 Oct 2009   #73

Windows 7 Ultimate 64bit SP1

ok thanks i will try it later.
My System SpecsSystem Spec

13 Oct 2009   #74

Windows 7 Ultimate 64bit SP1

Jeez both the "none (buffered)" and "full" methods are VERY good indeed... last nigh i did a NINE hour capture (yes you all read correctly!!) with ZERO dropped frames! And i also tested while doing several things on the pc and EVEN opening and closing the dvd tray which ALWAYS used to trigger dropped frames, but now none got dropped and no, there wasn't any problem in the capture file at all! Yeah i am sure happy with this now it's even better than in windows xp, finally.
My System SpecsSystem Spec
14 Feb 2010   #75

Win7 & XP

Quote   Quote: Originally Posted by H2SO4 View Post
Good news: the nature of the "midnight" freeze is easy to see in the logs.
Bad news: Insufficient info (in Xperf) to tell which driver is responsible

Suggestion: do the "midnight" capture once more please, but this time crash the box on purpose afterwards so that a BSOD minidump is generated (once you've saved your data). Here's how...

1) Add the "CrashOnCtrlScroll" registry value as per this MSDN article: Forcing a System Crash from the Keyboard
2) Reboot at least once. Test that your machine then bugchecks (BSODs) whenever you press ctrl+ScrLk+ScrLk, and that it produces a minidump in \Windows\Minidump. (The minidump is the important part.)
3) For the next "midnight run", use: xperf -on PROC_THREAD+LOADER+INTERRUPT+DPC+PROFILE+DISPATCHER+DRIVERS+CSWITCH -stackwalk profile
4) A few minutes after you finish and save the Xperf logging, use ctrl+ScrLk+ScrLk to crash the machine and produce a minidump.

It's *vital* that the Xperf log and minidump be from the same boot. In other words, the crash has to occur after you run Xperf, but before you reboot. The combination of Xperf log and minidump may reveal more.

Longer version: you can see in the attached graph, which is a composite of several overlaid quantities, that everything else seems to cease during that phallic-looking "DPC" spike (in red). Think of a DPC as a very primitive and high-priority task that temporarily suspends everything else on the system. They normally occur somewhere between 200 and 500 times per second on your machine, but during the 1sec interval around that spike there are in excess of 98 thousand DPCs. Their combined effect is the temporary lockup that you experience - the system is so busy servicing DPCs that all other activity is basically suspended.

The table I attached shows the address of the function responsible as 0x8e4536c0. That's outside of the kernel range, and very probably a driver. The problem is that I can't tell which driver because of a randomisation feature that moves those addresses around on each boot (partially for security reasons). That's why the combination of Xperf log plus minidump may reveal which driver is involved - the minidump can be used to correlate the address to a particular driver name.

I have no idea whether this will lead to a practical solution, but hell, it's fun (at least for me ), and it may even pinpoint the hardware/driver combo that's doing weird stuff at midnight.
Very interesting investigation!
However, sorting the DPC CPU usage summary table (from the Xperf trace) by modules rather than by functions would have shown directly that kl1.sys was the culprit without having to create a minidump and load it in windbg to find this same module from the function's address..
My System SpecsSystem Spec
20 Dec 2010   #76

Windows 7 Professional 64bit

Excuse me from reviving this old thread, but I've been having the same "midnight freeze" issue for a year now, since I have Vista Business 64 bit (currently at SP2). I've decided to Google it once more after getting a freeze while playing at 00:00 today and found your discussion.

I have KAV11 (, not KIS. I see it has been found Kaspersky, more specifically kl1.sys, is the culprit, nice work! Why is it doing this all the time at midnight though? Is there somewhere in Kaspersky's options we could perhaps change to stop this from happening? Some automatic, predetermined task we could disable?

My System SpecsSystem Spec
20 Dec 2010   #77

Windows 7 Ultimate 64bit SP1

Well unfortunately i don't know how to help you because quite honestly i STILL have the same problem even now in windows 7 32bits and having a quad core amd 955 be cpu and KIS 2010, and i learned to "live with that freeze" mostly because i don't do anymore cpu based tv capturing and it's all using a hardware encoder tv capture card so i haven't worried about this problem anymore, and i am glad about that because i haven't found a way to fix this at all.

By the way the only reason i don't use KIS 2011 at all is because many times i get 100% cpu (in fact 25% of it since i have now a quad core) usage and i don't have that problem in kis 2010, but the freezes at midnight still happen unfortunately.
My System SpecsSystem Spec

 Periodic freezes in my system

Thread Tools

Similar help and support threads
Thread Forum
Periodic BSODs
It is a clients Machine Alienware A10 (Area-51), 6GB RAM, Win 7 Professional, RAID 0+1. 2 Drives have been replaced. Machine rebuild from scratch. Was working fine until I gave it back to user and trhen the BSODs strarted occurring after they started installing games and such. No viruses or...
BSOD Help and Support
Periodic BSODs + Freezes, No Minidump (although configured)
Hi Guys, I'm at my wits end here. One of our home PCs has been BSODing and freezing for a while now with no minidumps, and i've run out of ideas. I've updated drivers and checked firmware versions, there's no malware, and the components are all just a couple of years old. Since there hasn't been...
BSOD Help and Support
Periodic hang ups
Sorry for the terrible title, but there isn't much more to say. This is my first time posting here, as I'm usually able to resolve my own computer issues, but this has me at a loss, so I'm turning to you guys to point me in the right direction. About 2 or 3 days ago, I began to experience...
BSOD Help and Support
Periodic System Stuttering (Help narrowing causes down)
Hello All, Periodically, with no rhyme or reason my system "stutters", but that I mean it'll 'hang' for a second or two at a time, but there'll be no noticeable spike in CPU usage or in memory that I can see. I've run all the normal diagnostic tests, upgraded all my firmware, and did a fresh...
Periodic BSOD's
My system has Bluescreened 9 times in the past two monts. Attached is a zip of the last two and most common .dmp files. Can someone interpret these files and advise of a solution please?
BSOD Help and Support

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 00:53.
Twitter Facebook Google+