30 Replies Latest reply on Jul 26, 2011 1:43 AM by Eudorawhite

    Bluescreens in ampcore.sys on Win7-64 RC

    bright
      Getting regular bluescreens in ampcore.sys on Win7-64 RC

      Hi,

      I installed the most recent CodeAnalyst on Windows 7 64 RC.  Lately I'm getting regular bluescreens in ampcore.sys, but only when the machine has been idling for some time (eg. when running overnight).  When I get back it's usually bluescreened:

      "The bugcheck was: 0x0000001e (0xffffffffc0000096, 0xfffff8800b4ef838, 0x0000000000000000, 0x0000000000000000)."

      Is anybody else seeing this?

      It happens even if I haven't used CodeAnalyst at all during the session.  It might be a bug related to automatic standby/hibernation (although they don't actually seem to work for me on Win7, but manual ones do without this problem)... or maybe it's just a leak that breaks over time?

        • Bluescreens in ampcore.sys on Win7-64 RC

          Have you tried to uninstall CodeAnalyst and re-install?  See if that helps.  Let us know if that works, or if it is still buggy.

           

          thanks,

          Stroia

            • Bluescreens in ampcore.sys on Win7-64 RC
              bright

              Hey Stroia

               

              Originally posted by: stroia Have you tried to uninstall CodeAnalyst and re-install?  See if that helps.  Let us know if that works, or if it is still buggy.


              Wasn't sure why this would work, but after the reinstall it survived last night, so I hope I'm wrong .  I'll report back if it fails again.

                • Bluescreens in ampcore.sys on Win7-64 RC
                  vukicevic

                  I'm also seeing this, and uninstalling/reinstalling didn't help -- I have crash minidumps that I can send along, if someone from AMD is interested in analyzing them.  Win7 RTM x86-64, CodeAnalyst 2.94.718.0439.file:///C:/Users/vladimir/Downloads/CodeAnalyst_Public_2.94.718.0439.exe

                    • Bluescreens in ampcore.sys on Win7-64 RC
                      pdrongowski

                      Hi --

                      Thanks for reporting this issue. I have asked our internal QA team to reproduce the problem. I'm sorry that you have encountered this problem.

                      Which processor were you using?

                      Thanks -- pj

                       

                        • Bluescreens in ampcore.sys on Win7-64 RC
                          vukicevic

                          Intel Core i7-950 here (so using timer-only profiling)

                            • Bluescreens in ampcore.sys on Win7-64 RC
                              Jules

                              Any luck in reproducing/fixing this issue?  It occurs on both of my Windows 7 testbed machines, one on 7100 and an Intel 9400, the other on RTM on an Intel 9300, both using the latest CodeAnalyst.  I use CodeAnalyst quite a bit and find it difficult to live without on my Win7 boxes. 

                                • Bluescreens in ampcore.sys on Win7-64 RC
                                  squall1986

                                  Hi, I am running Windows 7 64-bit Professional edition (acquired legally through MSDNAA) on my Acer Aspire 8930G with an Intel Mobile Core 2 Duo P8600 CPU. I had forgotten that I even installed AMD CodeAnalyst as I had just used it for one of my classes and reinstalled it when I installed 7.

                                  I was getting this same issue where it would just randomly restart after it had been idle for some time (it wouldn't always give me a bluescreen). This last time I had it sitting by my desktop that I was at and I caught a glimpse of a blue screen that mentioned ampcore.sys. Thank you Google for leading me here!

                                  I am not using CodeAnalyst right now, so I am just going to uninstall it and see if that does anything for my problem. It would be nice to hear if there is a fix for it, though, as this was a handy tool to use.

                                    • Bluescreens in ampcore.sys on Win7-64 RC
                                      skulthur

                                      Hi, I'm also experiencing bluescreen that seems to come from ampcore.sys. Here is a snip from the crashdump:

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

                                      PEB is paged out (Peb.Ldr = 000007ff`fffdf018). Type ".hh dbgerr001" for details
                                      PEB is paged out (Peb.Ldr = 000007ff`fffdf018). Type ".hh dbgerr001" for details

                                      EXCEPTION_CODE: (NTSTATUS) 0xc0000096 - {EXCEPTION} Privileged instruction.

                                      FAULTING_IP:
                                      AMPCORE!AmdPcoreAddRecord+f38
                                      fffff880`076e8838 0f32 rdmsr

                                      EXCEPTION_PARAMETER1: 0000000000000000

                                      EXCEPTION_PARAMETER2: 0000000000000000

                                      DEFAULT_BUCKET_ID: VISTA_DRIVER_FAULT

                                      BUGCHECK_STR: 0x1E

                                      PROCESS_NAME: services.exe

                                      CURRENT_IRQL: 0

                                      LAST_CONTROL_TRANSFER: from fffff80002abea17 to fffff80002a7ef00

                                      STACK_TEXT:
                                      fffff880`07db7718 fffff800`02abea17 : 00000000`0000001e ffffffff`c0000096 fffff880`076e8838 00000000`00000000 : nt!KeBugCheckEx
                                      fffff880`07db7720 fffff800`02a7e542 : fffff880`07db7ef8 fffff880`02fde550 fffff880`07db7fa0 00000000`00000000 : nt! ?? ::FNODOBFM::`string'+0x460da
                                      fffff880`07db7dc0 fffff800`02a7ce4a : fffff880`07db8068 00000001`00000001 fffff8a0`00cdfa50 fffff8a0`00220010 : nt!KiExceptionDispatch+0xc2
                                      fffff880`07db7fa0 fffff880`076e8838 : fffff880`076e425b 00000000`c0010000 fffff880`07db81c0 00000000`00000000 : nt!KiGeneralProtectionFault+0x10a
                                      fffff880`07db8138 fffff880`076e425b : 00000000`c0010000 fffff880`07db81c0 00000000`00000000 fffff800`02a98fa0 : AMPCORE!AmdPcoreAddRecord+0xf38
                                      fffff880`07db8140 fffff880`076e7f6b : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : AMPCORE!AmdPcoreClearAllEvents+0x16b
                                      fffff880`07db8190 fffff880`076e9030 : fffff880`07db83c8 f88002fd`00000020 00209b00`00000000 00000000`00000000 : AMPCORE!AmdPcoreAddRecord+0x66b
                                      fffff880`07db8340 fffff880`07db83c8 : f88002fd`00000020 00209b00`00000000 00000000`00000000 00000000`00000000 : AMPCORE!AmdPcoreAddRecord+0x1730
                                      fffff880`07db8348 f88002fd`00000020 : 00209b00`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : 0xfffff880`07db83c8
                                      fffff880`07db8350 00209b00`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 fffff880`07db83c8 : 0xf88002fd`00000020
                                      fffff880`07db8358 00000000`00000000 : 00000000`00000000 00000000`00000000 fffff880`07db83c8 00000000`00000000 : 0x209b00`00000000


                                      STACK_COMMAND: kb

                                      FOLLOWUP_IP:
                                      AMPCORE!AmdPcoreAddRecord+f38
                                      fffff880`076e8838 0f32 rdmsr

                                      SYMBOL_STACK_INDEX: 4

                                      SYMBOL_NAME: AMPCORE!AmdPcoreAddRecord+f38

                                      FOLLOWUP_NAME: MachineOwner

                                      MODULE_NAME: AMPCORE

                                      IMAGE_NAME: AMPCORE.sys

                                      DEBUG_FLR_IMAGE_TIMESTAMP: 49f88bdc

                                      FAILURE_BUCKET_ID: X64_0x1E_AMPCORE!AmdPcoreAddRecord+f38

                                      BUCKET_ID: X64_0x1E_AMPCORE!AmdPcoreAddRecord+f38

                                       

                                      Also interesting information I also seems to be running this on an Intel computer like the others people that seems to get this bluescreen. Don't know if this is related. I can probably give you the full crash dump but I might need to check with my employer before.

                                      Installed CodeAnalyse version is 2.94.718.0. Also I was not running CodeAnalyse when this occured but your CALoadServices services was running. What is it used for exactly? Do you really need to put this on automatic start?

                                       

                                      Thanks

                                       

                        • Bluescreens in ampcore.sys on Win7-64 RC
                          fechols

                          I am seeing random blue-screens on Windows 7 x64 as well.

                          Here is the stack trace from the memory dump:

                          AMPCORE!AmdPcoreAddRecord+0xf38
                          AMPCORE!AmdPcoreClearAllEvents+0x16b
                          AMPCORE!AmdPcoreAddRecord+0x66b
                          AMPCORE!AmdPcoreAddRecord+0x1730
                          0xfffff880`081f4698
                          0xf880034a`00000020
                          0x209b00`00000000
                          0xfffff880`00965000
                          0xfffff800`00010000
                          0xfffff880`081f4658
                          0xfffff880`081f4698
                          0x743
                          0x801
                          0x7ff
                          0x40e
                          0xfffffa80`0c331d90
                          0x40e

                          This crash is occuring with CodeAnalyst 2.94.754.449

                          The machine is an HP Z800 workstation with dual Xeon W5580 CPUs.

                            • Bluescreens in ampcore.sys on Win7-64 RC
                              pwebster

                              I have the same problem. Disabling the CALoadService keeps it from blue screening while the machine idles, but forgetting to start it again before using Visual Studio can make it crash.

                              Windows 7 Professional x64
                              Intel Core i7 920
                              CodeAnalyst 2.94.754.449 

                                • Bluescreens in ampcore.sys on Win7-64 RC
                                  MattBro

                                  Same here.  Windows 7 x64 ampcore.sys causes a bug fix error and a system crash whenever I wake up my computer from hibernation or from a sleep.I'm going to try to uniinstall it. 

                                   

                                  By the way,  CodeAnalyst fails to provide any profiling detail on code that is linked against Nvidia's cuda libraries.  Will it work with C code that uses OpenCL,  say with an ATI card?  I'd love to use some ATI hardware to accelerate some of my math operations.

                                    • Bluescreens in ampcore.sys on Win7-64 RC
                                      pwebster

                                      Well that was fun. Windows did its automatic update and restarted the computer for me. I didn't happen to be in the room, and had some Visual Studio projects open. Apparently Windows now restores your previous applications after a Windows Update restart, so when it booted, my projects all opened. Since I don't have CALoadService set to automatic, this created a BSOD restart loop until I booted into Safe Mode and set the service to automatic.

                                        • Bluescreens in ampcore.sys on Win7-64 RC
                                          ProcessDude

                                          I have experienced two BSODs in the last week after installing

                                          CodeAnalyst 2.97.803.0531

                                           

                                          System Spec:

                                          Windows 7 64bit (patched to date)

                                          Intel i7 930 (disabled HT, SS)

                                          6GB RAM

                                          Visual Studio 2010

                                            • Bluescreens in ampcore.sys on Win7-64 RC
                                              TeV

                                              I've been experiencing the same on several machines running Windows 7 Pro 64-bit and CodeAnalyst 2.97.803.0531 w/ Visual Studio 2008 Pro. Each machine has a Xeon W3530 with HT enabled (SS disabled).

                                              The interesting thing is the BSODs would occur about every 20 minutes, and only when no users are logged in.

                                              Stopping and setting the CALoadService to 'manual' didn't work, so a complete uninstall was performed. I cannot reinstall CA for the time being (as far as that being a possible solution goes).

                                              *Edit: I will post the crashdump details once I get a chance (but definitely saw ampcore.sys pop up).

                                                • Bluescreens in ampcore.sys on Win7-64 RC

                                                  CodeAnalyst 2.97 has a known issue with hibernation.  It's possible that's causing the bluescreen.  Does it still crash if you turn off the power saving?

                                                  That has been fixed in our upcoming version.

                                                  Thanks.

                                                    • Bluescreens in ampcore.sys on Win7-64 RC
                                                      TeV

                                                      Frank,

                                                      The machines I'm using have been using a modified version of the 'high performance' profile (sleep and hibernate are disabled). The crashes would commence as soon as all active users logged off, but the machines at no point entered sleep/hibernate states.

                                                      Thanks,

                                                      TeV

                                                        • Bluescreens in ampcore.sys on Win7-64 RC
                                                          bruce@cran.org.uk

                                                          I've also just started seeing this crash; I'm using CodeAnalyst 2.97.803.531 installed a few days ago.  As with the other reports, the stack trace is:

                                                          KeBugCheckEx

                                                          FsRtlInitializeBaseMcbEx

                                                          KeSynchronizeExecution

                                                          AmdPcoreAddRecord

                                                          AmdPcoreClearAllEvents

                                                          AmdPcoreAddRecord

                                                          AmdPcoreAddRecord

                                                           

                                                          The system is a Dell XPS M1530 with a core 2 duo CPU.

                                                            • Bluescreens in ampcore.sys on Win7-64 RC
                                                              lantonov

                                                              I was getting the same problems on both my Windows 7 Utlimate 64-bit machines, until I uninstalled CodeAnalyst. The crash happens right when the computer is supposed to go to sleep due to inactivity (it does not happen if I choose Sleep manually).

                                                              It is ridiculous that such a serious problem is still not fixed after a year!

                                                                • Bluescreens in ampcore.sys on Win7-64 RC
                                                                  ProcessDude

                                                                   

                                                                  Originally posted by: lantonov...It is ridiculous that such a serious problem is still not fixed after a year!


                                                                  Agreed.  Is there anyway to prod AMD to take some action?

                                                                  I am not even sure relevant people know this discussion thread and issue exist.  I would love to use CodeAnalyst more but an unstable PC is unacceptable.

                                                                    • Bluescreens in ampcore.sys on Win7-64 RC
                                                                      TeV

                                                                       

                                                                      Originally posted by: ProcessDude
                                                                      Originally posted by: lantonov...It is ridiculous that such a serious problem is still not fixed after a year!


                                                                       

                                                                      Agreed.  Is there anyway to prod AMD to take some action?

                                                                       

                                                                      I am not even sure relevant people know this discussion thread and issue exist.  I would love to use CodeAnalyst more but an unstable PC is unacceptable.

                                                                       

                                                                       

                                                                      I absolutely detest it when people whine! Among other products, I see this a lot in the VirtualBox forums. Give it a rest people

                                                                      @lantonov: It's a free product, developed by AMD as a service to the whole community. It's not uncommon for such issues to remain in a product for a couple of releases. Stay patient and try to contribute any helpful diagnostic info you have. That's the best way to assist the team in resolving the problem and helping elevate the priority of this bug (fix). If this level of support is unacceptable to you, go buy a COTS profiling tool.

                                                                      @ProcessDude: Considering this thead is at the top of the CA forum and a developer posted to it, I'm sure relevant people have seen it.

                                                                      Perhaps it is difficult to track down, a solution is in progress, or the team cannot justify allocating time for it right now (as opposed to focusing on adding to the CA feature set).

                                                                      @The AMD CA team: Thanks for a great product! Looking forward to a fix, when it's done

                                                                       

                                                                      P.S. I was able to reinstall CA on one of our machines. We're not experiencing the bluescreens as before. I have left one machine with CA installed and then uninstalled if that may help provide some info.

                                                • Bluescreens in ampcore.sys on Win7-64 RC
                                                  Eudorawhite

                                                  Clean Out The Registry - If you see the error appearing randomly on your computer, then it's likely going to be a problem caused by the "registry". This is a big database that Windows uses to store vital information & settings for your computer, and is where the likes of your desktop wallpaper, Internet bookmarks and even your stored passwords are kept. The registry is used continuously by your computer to help it run as smoothly as possible, but this is also one of the biggest causes of problems - as the registry continually has a series of damaged settings inside, which cause Windows applications to become unable to read the settings they need to run. If you're seeing random blue screens, the issue is likely caused by the registry having a lot of corrupt files inside... meaning that you should look to clean out this part of your computer. You can do this with a "registry cleaner" - a software tool that should stop the random blue screens on Windows 7.