tomasz86 Posted July 4, 2011 Share Posted July 4, 2011 (edited) I've been experiencing strange system crashes when processing batch scripts. They happen only when a lot of data is processed at once and the screen in cmd.exe is moving very fast. Suddenly system crashes and reboots. There is no BSOD and event manager only says that "system was not shut down properly".Does anyone know what can be the reason of this?It happens randomly so it's difficult to reproduce. Edited December 27, 2011 by tomasz86 Link to comment Share on other sites More sharing options...
bphlpt Posted July 4, 2011 Share Posted July 4, 2011 I know this doesn't really help, but it sounds like some kind of overflow, either a stack or something so it just wanders off. It can't give you a BSOD because windows is no longer in charge monitoring things.Cheers and Regards Link to comment Share on other sites More sharing options...
dencorso Posted July 4, 2011 Share Posted July 4, 2011 Can it be related to this issue, perhaps? Link to comment Share on other sites More sharing options...
tomasz86 Posted July 4, 2011 Author Share Posted July 4, 2011 Can it be related to this issue, perhaps? Unfortunately this patch is for XP only :/ Link to comment Share on other sites More sharing options...
dencorso Posted July 4, 2011 Share Posted July 4, 2011 I know But the issue is in the NT-family OSes from the start, and has only been fixed, unofficially BTW, in XP and perhaps officially in the later OSes, if at all. It may be the source of your problem. Then again, I may be wrong. Link to comment Share on other sites More sharing options...
tomasz86 Posted July 4, 2011 Author Share Posted July 4, 2011 I don't know if it helps but also sometimes (once a day?) cmd.exe freezes and the only way to close it is to reset the computer. You can't even reboot normally as the system doesn't shut down because of the freezed cmd.exe. Link to comment Share on other sites More sharing options...
bpalone Posted July 4, 2011 Share Posted July 4, 2011 Do you happen to have another machine you could try to reproduce the issue on?I had a motherboard fail on me, that only acted up on Win 2K, for a spell. But, it finally did it in my other OS a few weeks later. I tried most everything else, before I finally had to allow that it was the motherboard. I still have the motherboard and could use it in an absolute pinch.Just a thought to try and reproduce the issue on another machine. Good luck tracking the issue down. Link to comment Share on other sites More sharing options...
dencorso Posted July 4, 2011 Share Posted July 4, 2011 Maybe Process Hacker can shine a light on what's happening on your system... Link to comment Share on other sites More sharing options...
tomasz86 Posted July 5, 2011 Author Share Posted July 5, 2011 (edited) Process Hacker doesn't work under Win2k but I guess Process Explorer should be enough? I'll keep it running and see if there are some strange things when the problems occur.I forgot to say that sometimes (not always) when I get this cmd.exe freeze and reboot the machine, devices connected to USB are not detected. I need either to reconnect them or restart the system one more time to get them to work again. I guess it may have something to do with the mainboard but hope it does not Edited July 5, 2011 by tomasz86 Link to comment Share on other sites More sharing options...
tomasz86 Posted July 13, 2011 Author Share Posted July 13, 2011 I've just experienced a freeze twice when processing something in CMD console... I had Process Explorer running in background all the time and I was able to check it when the freeze happened but there was nothing special in it Could you recommend any other more advanced tools to see what the problem is? :/ When such a freeze happens the only way to get over is is to do a hard reset. Link to comment Share on other sites More sharing options...
tomasz86 Posted July 31, 2011 Author Share Posted July 31, 2011 (edited) I got another reboot when running yanklines.vbs script. After the reboot I ran the script again and the screen froze for a while but this time it didn't cause a reboot. After 5-10 seconds it continued its task.I also observed that sometimes after such a reboot the USB devices (including mouse) connected to the computer are not detected until I replug them.I wonder whether it may be hardware (mainboard?) oriented problem rather than the OS. What do you think? Edited July 31, 2011 by tomasz86 Link to comment Share on other sites More sharing options...
bpalone Posted July 31, 2011 Share Posted July 31, 2011 My problem had been if I left the machine and had a meal and came back, the mouse was froze. It would accept keyboard input, but the mouse was dead. (The mouse was USB) I figured that BIT ROT had finally gotten to me, since that install had came from 9x update and had gone through a few motherboard upgrades as well. I knew I had been pushing my luck. So, I did a complete re-install hoping that would fix it. But, it didn't, so thought I might have some memory going bad in the LOW addresses. Ran the memory test x86 or whatever it is that comes on most Linux CDs and found nothing. I even tried moving memory to see if that would do it. The problem persisted, but only in 2K, not in my Linux install. Finally, about a week to ten days later it did it to me in Linux. At that point, I accepted that it was a hardware issue.So... I'm assuming that you have tried a fresh install, and have eliminated the memory as a possible cause. If so, then I would start to lean towards hardware. Do you have a USB device you could use to stress the USB circuits on the mother board? I am just thinking out loud, hoping that something I mutter might light the light of inspiration to solve the issue.Good luck at getting it diagnosed. Link to comment Share on other sites More sharing options...
tomasz86 Posted August 1, 2011 Author Share Posted August 1, 2011 I'm starting to think that it's a hardware related problem because I have observed that when such a reboot happens and the mouse stops working, the optical light is also off BEFORE the OS starts to boot. Normally it turns on just after the computer starts and BIOS detects the devices.I also remember that a few times there was an error saying that there is no keyboard. The keyboard was connected to USB-port by a PS2-USB adapter. I switched to PS/2 and haven't seen this error anymore since then. It also was displayed by BIOS before starting Windows.I guess I need to check the memory first but I guess there might be something wrong with the mainboard itself. Link to comment Share on other sites More sharing options...
tomasz86 Posted August 3, 2011 Author Share Posted August 3, 2011 (edited) I haven't mentioned it before but the cmd.exe problem doesn't happen if @echo off is on. It happens only if many lines are moving very fast (visibly on the screen).The crash goes like this1. cmd.exe suddenly stops & artifacts show on the screen2. monitor turns off (but music is still playing)3. automatic reboot after 2-3 secondsCould it be memory related? Edited August 3, 2011 by tomasz86 Link to comment Share on other sites More sharing options...
allen2 Posted August 3, 2011 Share Posted August 3, 2011 Might be memory or video card issue. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now