MicroCode studio crashes while typing in code.


Closed Thread
Results 1 to 20 of 20
  1. #1
    Join Date
    Feb 2013
    Posts
    1,078

    Default MicroCode studio crashes while typing in code.

    Hello.
    Bought new computer, downloaded trial version of latest PBP from website, but microcode studio keeps crashing randomly, just when I type in some code. It might work flawlessly for a hour, or crash within 2 minutes.
    I'm attaching the screenshot of the crash. Any ideas?
    Name:  screenshot.jpg
Views: 473
Size:  368.3 KB

  2. #2


    Did you find this post helpful? Yes | No

    Default Re: MicroCode studio crashes while typing in code.

    What operating system ? Try installing in c:\ and not a c:\Program directory.

  3. #3
    Join Date
    Feb 2013
    Posts
    1,078


    Did you find this post helpful? Yes | No

    Default Re: MicroCode studio crashes while typing in code.

    Windows 10 Pro 21H2 or whatever the last build is called.

  4. #4
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,516


    Did you find this post helpful? Yes | No

    Default Re: MicroCode studio crashes while typing in code.

    Several threads on this over the years, as far as I can remember no definitive cause or cure found. It used to crash a lot on my old W7 machine - to the point where it was barely usable, then I built I new machine (5-ish years ago) with W10 and I don't think I've had a crash since.

  5. #5
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,793


    Did you find this post helpful? Yes | No

    Default Re: MicroCode studio crashes while typing in code.

    One could say it might have to do with a driver, but I guess Henrik you transferred the same stuff on the new machine, right?

    And how possible can it be you have the same configuration with of your old W7 with CuriousOne new W10 machine?

    Tough one it is.

    Ioannis

  6. #6
    Join Date
    Feb 2013
    Posts
    1,078


    Did you find this post helpful? Yes | No

    Default Re: MicroCode studio crashes while typing in code.

    Well, I took some more time to investigate this issue - I even set-up high speed camera to record my screen, to capture the moment when this error happens. And here are the results.
    In most cases, this error happens when you just finish typing in the statement, and it should change it's color to blue. Or the crash occurs when you start typing after the statement become blue.
    On my old machine - i3-9100F/16GB/RX550 this was not happening. So, for testing purposes, I installed a new SSD on it, did clean install and tested again - no problems found.
    Configuration of new PC is as follows: i3-12100F/16GB/RX6500XT. So since that error was happening when text changes color, I thought that graphics card might be messing up, so I installed that RX6500XT into my old machine and there are no errors, so graphics card is excluded. The only major difference between my PCs are that the new one has new office and visual studio installed too. So maybe they install some dotnetfx or something like that, which messes up PBP.
    I've got another SSD, and will do clean install on the "new" pc, to ensure that everything is ok.

  7. #7
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,516


    Did you find this post helpful? Yes | No

    Default Re: MicroCode studio crashes while typing in code.

    First of all we need to be clear that it's not PBP that crashes - it's MicroCodeStudio, which is a separate executable. MicroCode studio is developed by a third party, which does not make it easier getting it fixed.

    On my old machine I had VisualStudio of some sort, on the new one I don't. Obviously there are literaly THOUSANDS of other things that are different but that is ONE clue.

    Video / graphics issue is another angle and one that Darrel brought up in one of the threads from many years ago. Again, no definitive cause or cure found.

  8. #8
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,793


    Did you find this post helpful? Yes | No

    Default Re: MicroCode studio crashes while typing in code.

    I guess safe mode does not produce crashes, right?

    Ioannis

  9. #9
    Join Date
    Aug 2011
    Posts
    408


    Did you find this post helpful? Yes | No

    Default Re: MicroCode studio crashes while typing in code.

    Have you tried setting a compatibility mode?

  10. #10
    Join Date
    Feb 2013
    Posts
    1,078


    Did you find this post helpful? Yes | No

    Default Re: MicroCode studio crashes while typing in code.

    Yes, no changes, but my computer started showing same behavior in other apps too, even fresh installed windows. I already changed video card - nothing, changed PSU - nothing. Today I changed RAM and let's see what happens.....

  11. #11
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,793


    Did you find this post helpful? Yes | No

    Default Re: MicroCode studio crashes while typing in code.

    Have you tried safe mode?

  12. #12
    Join Date
    Feb 2013
    Posts
    1,078


    1 out of 1 members found this post helpful. Did you find this post helpful? Yes | No

    Default Re: MicroCode studio crashes while typing in code.

    In safe mode everything works.
    Seems like this was RAM issue.
    Running microcode studio for 2 days with new RAM - zero errors displayed so far.

  13. #13
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,793


    Did you find this post helpful? Yes | No

    Default Re: MicroCode studio crashes while typing in code.

    Well, isn't windows on power up, checking RAM for integrity?

    If not, can you replace it with the defect one and run a RAM check utility?

    Ioannis

  14. #14
    Join Date
    Feb 2013
    Posts
    1,078


    Did you find this post helpful? Yes | No

    Default Re: MicroCode studio crashes while typing in code.

    On paper yes - everything should be checked.
    But in real life....
    As I've found out, this is more compatibility issue, rather than hardware fault.
    12th gen intel processors lower their operating speed at low load with different algorithm, so not all types of RAM modules can follow this (this is why it happened at low load) Most likely, when you type in text and studio has to change it to blue color, there's microscopic change in CPU speed, and RAM can't follow it.
    I had PNY branded ram, replaced it with ADATA and it works fine. These PNY modules also work fine with the different computer (AMD 3000G).

  15. #15
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,516


    2 out of 2 members found this post helpful. Did you find this post helpful? Yes | No

    Default Re: MicroCode studio crashes while typing in code.

    Again, this has been happening to several users over the years, there are multiple threads here and over on the Melabs forum.
    Threads I find with a 2 minute search are from 2014, 2015, 2016, 2017 and now 2022.

    I don't find it likely that multiple users across multiple operating systems and with hardware spanning a decade all should have marginal RAM or other hardware compatibility issue that causes only MicroCodeStudio to crash and not make the PC in general unstable and other applications to crash with the same frequency as MCS.

    BUT - I don't have a better idea so I'll give it a benefit of the doubt.
    Run it for a week or two to verify it no longer crashes. Then switch to the "incompatible" RAM sticks and see if you get the problem back.

  16. #16
    Join Date
    Feb 2013
    Posts
    1,078


    Did you find this post helpful? Yes | No

    Default Re: MicroCode studio crashes while typing in code.

    So I can confirm, after changing of RAM modules, there were zero crashes of microcode studio on my system.

  17. #17
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,793


    Did you find this post helpful? Yes | No

    Default Re: MicroCode studio crashes while typing in code.

    This is really strange. But on the other hand, a good program should not depend on the RAM or disk type...

    Ioannis

  18. #18
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,516


    Did you find this post helpful? Yes | No

    Default Re: MicroCode studio crashes while typing in code.

    Yes, strange indeed.
    Now, have you tried re-fitting the potentially faulty/bad/incompatible RAM-sticks to see if MCS starts to crash again?

  19. #19
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,793


    Did you find this post helpful? Yes | No

    Default Re: MicroCode studio crashes while typing in code.

    Not related, but do you receive email notifications when a reply is posted on threads? Unfortunately I do not...

    Ioannis

  20. #20
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,516


    Did you find this post helpful? Yes | No

    Default Re: MicroCode studio crashes while typing in code.

    No notifications for quite some time now.

Similar Threads

  1. Replies: 15
    Last Post: - 28th March 2014, 03:43
  2. microcode studio
    By cable tech in forum mel PIC BASIC
    Replies: 11
    Last Post: - 28th September 2011, 17:53
  3. Replies: 3
    Last Post: - 1st July 2008, 22:07
  4. Code Folding - Microcode Studio Wish
    By Rob in forum PBP Wish List
    Replies: 4
    Last Post: - 6th December 2007, 10:11
  5. MicroCode Studio Plus Code Explorer Question
    By enauman in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 7th September 2007, 11:31

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts