Hello, welcome to our forum.

It looks like you have registered but you have not yet posted and messages. Our requirements are that you must post at least two messages, to allow the moderators to review your registration, before you will be allowed access to the full range of forum areas.

Please make a couple of posts, until then you may see a notice that says you are banned from certain forum areas.


Thank you.

Remove Text Formatting
Loading...

+ Reply to Thread
Results 1 to 27 of 27

Thread: MCS is Crashing

  1. #1
    Join Date
    Sep 2004
    Posts
    92

    Default MCS is Crashing

    I have had the MCS shutdown several times (gray-out) with a error screen. I believe this may have something to do with the file saving path. If I manually save my work every so often I have not experienced any problems. If I don't manually save the file and an auto save works is where I believe things go awry. I usually save to the factory default area under "My PBP3 Programs". Most of the time I will save the new rewrite to a flash drive under "Save As" and use this to copy over the old file on the same computer and over the same file on another computer. I am using all the latest upgrades and have had this happen several times after having 3 pages of code written on Toshiba running W7 and a newer Dell running W10. I'm sorry I didn't copy the error code. ( It said an exception error has happened with an address and MCS must shut down). I hope this helps someone to fix this issue. It is very annoying. Now I manually save after every page rewrite. Cheers.

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,071

    Default Re: MCS is Crashing

    Don't worry about the error message, it's been posted before but the developler doesn't seem to care all that much since he's never seen it happen and "we" can't provide a way to reproduce it at will. It's all a big mess and nothing seems to get done.

    I've never thought it might have something to do with the save path or auto save or anyting like that. Lately I've been leaning towards the serial terminal beeing tha culprit but I don't know. Did you happen to have the serial terminal running when it crashed for you?

    /Henrik.

  3. #3
    Join Date
    Sep 2004
    Posts
    92

    Default Re: MCS is Crashing

    No serial port was in use during programming writing. I would usually code a page and run test compile, and if good, add more lines. Sometimes I didn't use the thumb drive or any other connections to the laptop and it would still drop out. Hope this helps. So for the time being, no fix available and I'll manually backup.

  4. #4

    Default Re: MCS is Crashing

    cross-thread posting, I have two Dell laptops (one I5, one I7) with W7x64 running. BOTH experience this problem. Sure would be nice to have a fix. Usually seems to happen while typing rem comments in - anyone else see this trend, or is it just me?

  5. #5
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,071

    Default Re: MCS is Crashing

    Can't say I can relate to that. Have been coding on/off for short periods, 20 minutes here, 2 hours there during the last week, writing a lot of comments, and haven't had a single crash. Same file(s) as I've been working on Before, on the same machine etc etc but not a single crash now while it can crash 5 times in 10 minutes on a moody day.

    /Henrik.

  6. #6

    Default Re: MCS is Crashing

    Yeah I've seen that frustrating lack of consistency. Next time it crashes, see if you can make a mental note of WHAT you were typing. EVERY crash I have had occurs during typing, despite the fact that I can easily leave the program up and running for a day or two between sittings.

  7. #7

    Default Re: MCS is Crashing

    I never had any problems with crashing, until recently. I followed Henrik's posts in the past, regarding this issue, but had nothing to add.

    Last month it crashed on my work bench laptop. After rebooting the pc it seemed ok and no more crashes. It's a gateway 486 running the last version of XP. This pc is never connected to the net and been stable, running PBP2.6 and 3 for at least 5 years.

    A few days ago, I plugged my usb flash drive into the laptop and opened a pbp file in MCS. I compiled the file without problem. Then I saved the file to my MSCX folder. I started to modify a line, and got the error message. After rebooting it would not allow me to modify that file without crashing.

    Now days later, I can open the file from the MSCX folder without any crashing.

    For me it seems to be a path problem as Forwardbias stated above. Both times that I had problems it was while using a flash drive.

    One thing my case indicates is that it has nothing to do with which version of Windows you are running. Same problem on XP, 7 and 10

  8. #8

    Default Re: MCS is Crashing

    NO crashes so far since I changed the default settings for comments to NON italics. All my crashes were during typing documentation remarks, and I figure it was processing them on the fly and changing the font with every keystroke... since I changed it to only change the COLOR (but not the font characteristic to italics), I have NOT experienced a crash.

    I would appreciate if others could try this and continue to test concurrently with me.

  9. #9

    Default Re: MCS is Crashing

    Ok, I switched to non-italics on both MCS and MCSX.

    Thanks

  10. #10
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,211

    Default Re: MCS is Crashing

    Mark, sorry I missed this thread back in March.

    I would have been curious to know what would have happened if you editted that bad line in NOTEPAD, and then compiled that from MCS.

    Notepad removes all formatting.

    Robert
    Not as dumb as yesterday, but stupider than tomorrow!

  11. #11
    Join Date
    Aug 2011
    Posts
    93

    Default Re: MCS is Crashing

    I would have been curious to know what would have happened if you editted that bad line in NOTEPAD, and then compiled that from MCS
    Not much. Any formatting like fonts, colors, or italics is strictly in the IDE display. The source files are already plain-text.

  12. #12

    Default Re: MCS is Crashing

    Hi Robert, it's actually Picster that beleives the crashing is from using italics in the IDE. I was trying to change a DEFINE OSC statement and every time I hit a key it would crash. This happened only to the file from my flash drive. I could edit files on my hard drive? I switched to non italics, just in case this actually is the cause.

    I think a real test would be to leave italics checked. When a crash occurs switch to non-italics and see if it stops.

    If you read through both threads on this subject. You will find there is no pattern or consistancy, so difficult to trouble shoot.

  13. #13
    Join Date
    Feb 2013
    Location
    Quebec, Canada
    Posts
    55

    Default Re: MCS is Crashing

    Do you copy some text from the datasheet PDF and then paste to MCS? Not sure but I used to had crashes when doing it...

  14. #14

    Default Re: MCS is Crashing

    Quote Originally Posted by MichelJasmin View Post
    Do you copy some text from the datasheet PDF and then paste to MCS? Not sure but I used to had crashes when doing it...
    Maybe the windows clipboard is including the font formatting and it's also messing up the in-line font processing?

  15. #15
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,211

    Default Re: MCS is Crashing

    I just did a test on Windows 10 64bit home edition. I always used italics and colours for comments with Win XP 32bit, Win7 64bit and now Win10 64bit (default MCSP settings), never a problem.

    Copied in text from PDFs, made them comments, compiled no problem.
    Copied in fuse settings and made them code, compiled no problem.


    I checked my MCSP shortcut, I do not run it as administrator or any other compatibility setting.

    There must be more involved, we're still missing something.

    Robert
    MCSP v5.0.0.5
    PBPX v3.0.8.4
    Last edited by Demon; - 8th May 2017 at 15:09.
    Not as dumb as yesterday, but stupider than tomorrow!

  16. #16
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,211

    Default Re: MCS is Crashing

    i have only one idea, did you install MCSP and PBP as administrator?

    I might have, don't remember. It might be possible for the install to be incomplete if the installation package did not have necessary admin rights. I do know several software have varying levels of problems with Win10.

    I just cannot install properly PaintShop Pro XI using Win10 64bit. Looks like I'll be forced to bite that bullet and get and upgrade even though I am very content with that old version.

    Robert
    Not as dumb as yesterday, but stupider than tomorrow!

  17. #17

    Default Re: MCS is Crashing

    Quote Originally Posted by Demon View Post
    I just did a test on Windows 10 64bit home edition. I always used italics and colours for comments with Win XP 32bit, Win7 64bit and now Win10 64bit (default MCSP settings), never a problem.

    Copied in text from PDFs, made them comments, compiled no problem.
    Copied in fuse settings and made them code, compiled no problem.


    I checked my MCSP shortcut, I do not run it as administrator or any other compatibility setting.

    There must be more involved, we're still missing something.

    Robert
    MCSP v5.0.0.5
    PBPX v3.0.8.4
    Compiling has never caused problems for me, NEVER had any when sitting idle, and ***always always always WHILE TYPING!!!*** This strongly suggests to me that there's some issue with processing the keystrokes, and the text on the screen is obviously continuously "reassessed" to display it in the configured font/color. That's my "working theory". As I recall, there was a suggestion about video drivers as well, a while back - Nvidia being questioned as potentially part of the issue, but I couldn't test it on a non-Nvidia machine (although I tried running with my alternate "slow" graphics card on the dual-graphics equipped machine and it still crashed).

  18. #18

    Default Re: MCS is Crashing

    Quote Originally Posted by mark_s View Post
    Hi Robert, it's actually Picster that beleives the crashing is from using italics in the IDE. I was trying to change a DEFINE OSC statement and every time I hit a key it would crash. This happened only to the file from my flash drive. I could edit files on my hard drive? I switched to non italics, just in case this actually is the cause.

    I think a real test would be to leave italics checked. When a crash occurs switch to non-italics and see if it stops.

    If you read through both threads on this subject. You will find there is no pattern or consistancy, so difficult to trouble shoot.
    Note that a DEFINE statement is also likely in a specified "different" font/color, causing it to be processed "on the fly" as you're typing... same problrem, different manifestation. Were you using italics for Defines?

  19. #19
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,211

    Default Re: MCS is Crashing

    I've always used default MCSP settings.

    My laptop used is a HP Pavillion i5 Intel/nVidia.

    I'll try later typing a long-winded comment and see how that goes.

    Robert
    Not as dumb as yesterday, but stupider than tomorrow!

  20. #20
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,211

    Default Re: MCS is Crashing

    Nope, long-winded comments, a DEFINE OSC 10 thrown in, more comments, no problem.

    Robert
    Not as dumb as yesterday, but stupider than tomorrow!

  21. #21

    Default Re: MCS is Crashing

    Quote Originally Posted by Demon View Post
    Nope, long-winded comments, a DEFINE OSC 10 thrown in, more comments, no problem.

    Robert

    Perhaps I'm not approaching this with the same attack...

    If this was a "sure thing" that ALWAYS happened, it would be pretty easy to resolve. However, my experience is it's very hit and miss - hence I don't believe a crash can be "forced", there are other undetermined variables involved, but... again... because it ALWAYS when I'm typing, I believe that says something. It can sit idle for DAYS and nothing happens. I'm wondering if others who are experiencing this can avoid crashes by trying this change, thereby contributing to the validation of the theory - not try to FORCE another crash when it's unpredictable and not a "sure thing".

  22. #22
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,211

    Default Re: MCS is Crashing

    Well then, I guess I'll just keep an eye open and report back f anything happens. But MCSP has never bombed on me in over a year on this laptop.

    I honestly cannot see how graphic drivers have anything to do with data entry, especially in software that emulates Notepad (no special characters).

    But then again, my specialty was mainframe programming. I only program PCs when I sleep at the Holiday Inn.

    Robert
    Not as dumb as yesterday, but stupider than tomorrow!

  23. #23

    Default Re: MCS is Crashing

    Just crashed, not using italics. So much for that theory. HOWEVER, it still crashed while I was typing in a comment field, which has always been the case for me.

  24. #24
    Join Date
    Apr 2011
    Location
    Portland, Oregon
    Posts
    189

    Default Re: MCS is Crashing

    I find it highly unlikely that it has anything at all to do with PBP (other than the obvious interruption to it). If so, I would think every user (having the exact same files loaded) would have the exact same issue - and, one would suppose, it would not be difficult to duplicate for the same reasons. I think that it must be some interaction with another process or service - perhaps a background application using the com port, USB access or internet connection- there are dozens of running programs active from the moment the power is turned on.

    Has anyone disabled the files that start at power up? It is one of my pet peeves is manufacturers who seem to believe they own all of my computer's resources because I use one of their applications. I have found HP, Nvidia, and Adobe to be nearly criminal in their dis-care, but they are far from the only culprits. Starting with a minimal set-up and adding one line or application at a time may help to isolate what resource is causing the issue?

  25. #25

    Default Re: MCS is Crashing

    crashed again this morning, while typing a comment (same as always). mcs crash notification.jpg

    Faulting application name: CodeStudioPlus.exe, version: 5.0.0.5, time stamp: 0x2a425e19
    Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
    Exception code: 0x00000000
    Fault offset: 0x00000000
    Faulting process id: 0x1fb0
    Faulting application start time: 0x01d2d7bae18ebaac
    Faulting application path: C:\Program Files (x86)\Mecanique\MCSPX\CodeStudioPlus.exe
    Faulting module path: unknown
    Report Id: 1f0308d8-43b0-11e7-a3d0-ac72892a9ffd

    and 23 seconds later,

    Faulting application name: CodeStudioPlus.exe, version: 5.0.0.5, time stamp: 0x2a425e19
    Faulting module name: ntdll.dll, version: 6.1.7601.23796, time stamp: 0x59028db3
    Exception code: 0xc0000025
    Fault offset: 0x000904b0
    Faulting process id: 0x1fb0
    Faulting application start time: 0x01d2d7bae18ebaac
    Faulting application path: C:\Program Files (x86)\Mecanique\MCSPX\CodeStudioPlus.exe
    Faulting module path: C:\Windows\SysWOW64\ntdll.dll
    Report Id: 2d149eb5-43b0-11e7-a3d0-ac72892a9ffd

    Any further suggestions?

    This is the ONLY program that halts and displays an error, ALWAYS when typing in comments.

  26. #26

    Default Re: MCS is Crashing

    Just a quick scan through the error list and this sticks out "Faulting module name: ntdll.dll." A quick Google of "ntdll.dll" and found this, along with a lot of other hits.

    https://www.lifewire.com/how-to-fix-...errors-2624474

    Maybe a solution?
    Last edited by mark_s; Today at 00:19.

  27. #27
    Join Date
    Oct 2009
    Posts
    518

    Default Re: MCS is Crashing

    NTDLL.DLL is a windows system file containing library data for the core windows kernel. This would suggest that the issue is more likely a conflict between it and other system files rather than MSC itself crashing. Typical suspects are driver files, with prim suspects being graphics drivers. ATI and NVidia both have been know to have drivers that can cause this issue (as I stated in you other thread).

    Often ensuring that your system is as up to day as possible is recommend, however I have found that on the odd occasion using an older driver, such as the one supplied with the graphics card has resolved a similar issue. Other possible causes can be a corrupt registry, but only a totally clean re-install on a freshly low level formatted drive will resolve that, but is often the last resort.

    If you have access to another machine, try installing MCS etc and see if the issue is easily replicated. Unless the two machines use identical components I doubt that the problem will occur

Similar Threads

  1. MicroCodeStudioPlus keeps crashing.
    By c_moore in forum PBP3
    Replies: 22
    Last Post: - 20th May 2017, 16:49
  2. Crashing 16F628 Code
    By hhaplant in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 24th March 2012, 09:40
  3. Crashing LCD
    By George in forum Off Topic
    Replies: 13
    Last Post: - 16th January 2012, 21:05
  4. pic program crashing
    By comwarrior in forum General
    Replies: 5
    Last Post: - 8th July 2009, 16:33
  5. Crashing program
    By Charles Linquis in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 6th April 2006, 02:57

Members who have read this thread : 28

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