AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AHK + Vista = BSOD

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
APerfect10



Joined: 03 Feb 2007
Posts: 2

PostPosted: Sat Feb 03, 2007 6:57 pm    Post subject: AHK + Vista = BSOD Reply with quote

Whenever I try to run any AHK (1.0.46.07) script in Vista Ultimate; windows crashes and I get the BSOD (blue screen of death).

Here is the mini dump analysis:

Code:
*******************************************************************************
*                                                                             *
*                        Bugcheck Analysis                                    *
*                                                                             *
*******************************************************************************

KERNEL_MODE_EXCEPTION_NOT_HANDLED_M (1000008e)
This is a very common bugcheck.  Usually the exception address pinpoints
the driver/function that caused the problem.  Always note this address
as well as the link date of the driver/image that contains this address.
Some common problems are exception code 0x80000003.  This means a hard
coded breakpoint or assertion was hit, but this system was booted
/NODEBUG.  This is not supposed to happen as developers should never have
hardcoded breakpoints in retail code, but ...
If this happens, make sure a debugger gets connected, and the
system is booted /DEBUG.  This will let us see why this breakpoint is
happening.
Arguments:
Arg1: c0000005, The exception code that was not handled
Arg2: 9ae4fd66, The address that the exception occurred at
Arg3: 9ae4fcf0, Trap Frame
Arg4: 00000000

Debugging Details:
------------------


EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx referenced memory at 0x%08lx. The memory could not be %s.

FAULTING_IP:
+ffffffff9ae4fd66
9ae4fd66 8800            mov     byte ptr [eax],al

TRAP_FRAME:  9ae4fcf0 -- (.trap ffffffff9ae4fcf0)
ErrCode = 00000002
eax=00000041 ebx=8dfa11ac ecx=8dfa11d4 edx=00000000 esi=0088f9d0 edi=0088f9d0
eip=9ae4fd66 esp=9ae4fd64 ebp=00000076 iopl=0         nv up ei ng nz na pe cy
cs=0008  ss=0010  ds=0023  es=0023  fs=0030  gs=0000             efl=00010287
9ae4fd66 8800            mov     byte ptr [eax],al          ds:0023:00000041=??
Resetting default scope

CUSTOMER_CRASH_COUNT:  6

DEFAULT_BUCKET_ID:  COMMON_SYSTEM_FAULT

BUGCHECK_STR:  0x8E

PROCESS_NAME:  AutoHotkey.exe

CURRENT_IRQL:  0

LAST_CONTROL_TRANSFER:  from 0088f9d0 to 9ae4fd66

STACK_TEXT: 
WARNING: Frame IP not in any known module. Following frames may be wrong.
9ae4fd60 0088f9d0 77ab0f34 badb0d00 0088f9c0 0x9ae4fd66
9ae4fd64 77ab0f34 badb0d00 0088f9c0 00000000 0x88f9d0
9ae4fd68 badb0d00 0088f9c0 00000000 00000000 0x77ab0f34
9ae4fd6c 0088f9c0 00000000 00000000 00000000 0xbadb0d00
9ae4fd70 00000000 00000000 00000000 00000000 0x88f9c0


STACK_COMMAND:  .trap 0xffffffff9ae4fcf0 ; kb

SYMBOL_NAME:  ANALYSIS_INCONCLUSIVE

FOLLOWUP_NAME:  MachineOwner

MODULE_NAME: Unknown_Module

IMAGE_NAME:  Unknown_Image

DEBUG_FLR_IMAGE_TIMESTAMP:  0

BUCKET_ID:  BAD_STACK

Followup: MachineOwner
---------


Any help would be greatly appreciate!

Best regards,

APerfect10
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Sat Feb 03, 2007 11:35 pm    Post subject: Reply with quote

I don't think AutoHotkey and other "normal" software is capable of directly producing a BSOD. So perhaps there is some kind of software or driver conflict on your system. Or maybe the OS isn't installed properly, or you have faulty hardware (such as bad memory). You might also check your system for viruses and malware.

On the other hand, maybe Vista generates BSOD's in lieu of the familiar crashdump screens. If so, it could be that your AutoHotkey.exe is corrupted or the scripts you're running have a problem in them (especially improper uses of DllCall).
Back to top
View user's profile Send private message Send e-mail
APerfect10



Joined: 03 Feb 2007
Posts: 2

PostPosted: Sun Feb 04, 2007 7:09 am    Post subject: Problem Solved! Reply with quote

Chris wrote:
I don't think AutoHotkey and other "normal" software is capable of directly producing a BSOD. So perhaps there is some kind of software or driver conflict on your system.


Well, Firefox 2.0 was causing the BSOD too. I upgraded to Firefox 3.0a2 which resolves the problem. There is some other incompatible software that also causes the BSOD so to say this problem isnt directly related to AHK considering the dump specifically states that the problem was caused by PROCESS_NAME: AutoHotKey.exe seems incorrect. Maybe there is a software conflict or driver conflict which has not been diagnosed yet; however, I will say that all of my drivers have been updated to their most recent versions which have been tested in Vista.

Quote:
Or maybe the OS isn't installed properly, or you have faulty hardware (such as bad memory). You might also check your system for viruses and malware.


The OS is installed properly. There were no installation errors. There are also no hardware failures except my audio card which is irrelevant. There are no viruses/malware. This is a new install directly out of the Windows Vista Ultimate box. I highly doubt MS is shipping viruses. Either way, I've done full system scans with Bitdefender and there is nothing.

Quote:
On the other hand, maybe Vista generates BSOD's in lieu of the familiar crashdump screens. If so, it could be that your AutoHotkey.exe is corrupted or the scripts you're running have a problem in them (especially improper uses of DllCall).


I think this is a possibility. AutoHotkey.exe should not be corrupted, I just installed the most recent version downloaded directly from your site. I will try a 2nd install but I'm skeptical. Also, none of the AHK scripts I've tested use direct DllCalls; I've coded all of the scripts I am using...

Not even a simple msgbox script will load. Once it executes in AHK I receive the BSOD with the above dump.

Best regards,

Derek Charles

PS. I hope you continue to work with me in determining this problem and I will also work with you to help determine if it is a direct result of AHK and how to fix it for a future release.

===============

UPDATE: Ok, I solved the problem. It was ProcessGuard which was causing the BSOD when using certain applications. I uninstalled PG and AHK works as expected. Thanks for your help and sorry for being rather straight forward. Your help definitely helped me resolve this issue!

Best regards,

APerfect10

PS. The post above is me, could you please remove my personal name and add APerfect10 instead. Thanks!
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Tue Feb 06, 2007 2:03 am    Post subject: Reply with quote

Thanks for the follow-up. Although I couldn't reassign your previous post to you, I've merged it into your post above in case you ever want to edit it.
Back to top
View user's profile Send private message Send e-mail
David Andersen



Joined: 15 Jul 2005
Posts: 85
Location: Denmark

PostPosted: Thu Mar 22, 2007 4:32 pm    Post subject: Reply with quote

Is anyone else having a similar problem. It seems like a worrying one. Sad
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Thu Mar 22, 2007 4:44 pm    Post subject: Reply with quote

The problem was solved. Here's a quote from the post above:
APerfect10 wrote:
I solved the problem. It was ProcessGuard which was causing the BSOD when using certain applications [like Firefox 2.0]. I uninstalled PG and AHK works as expected.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group