Page 1 of 2

PrimalScript 2020 crashes

Posted: Thu Feb 20, 2020 12:19 pm
by gmichaud
Product: PrimalScript (64 Bit)
Build: v7.6.137
OS: Windows 10 Pro (64 Bit)
Build: v10.0.18363

I've seen primalscript 'white out' (freeze) many times, but it usually comes back within about 20 seconds. This time it froze for several seconds and the window just disappeared with no error. I've attached the 3 Application log events.

I used to think it was related to the backup settings, but i have been running with all that turned off. No .bak files, no restore points.

Another person in my group also sees crashes, but he says he's always scrolling the screen when it happens.
PScript2020-Crash.zip
(13.4 KiB) Downloaded 63 times

Re: PrimalScript 2020 crashes

Posted: Thu Feb 20, 2020 1:26 pm
by Alexander Riedel
Thanks for reporting this. The exception code is heap corruption. Coupled with your description of delays and freezing that would point to a parser problem.
Can you provide the file that was open at the time?

Re: PrimalScript 2020 crashes

Posted: Thu Feb 20, 2020 2:03 pm
by gmichaud
I just caught it frozen on a VM. It's using a full CPU. Frozen for about an hour. gonna have to kill it...
Screenshot - 2_20_2020 , 3_25_38 PM.png
Screenshot - 2_20_2020 , 3_25_38 PM.png (59.18 KiB) Viewed 2308 times

Re: PrimalScript 2020 crashes

Posted: Thu Feb 20, 2020 2:09 pm
by Alexander Riedel
Yeah, its not like we don’t believe you, but we need a little more information.
What type of file was active? How many in total? What where you doing at the time? As I stated before it is likely something specific about a file. So if you could provide more information, that would be great.

Re: PrimalScript 2020 crashes

Posted: Thu Feb 20, 2020 2:11 pm
by gmichaud
Attached is the script.
SpaceOnDisk.zip
(138.44 KiB) Downloaded 68 times

Re: PrimalScript 2020 crashes

Posted: Thu Feb 20, 2020 2:17 pm
by gmichaud
I should note that the script in the ZIP is not the EXACT script that was open during the crash. For one thing, i lost edits when it crashed, so the 'active' script was essentially lost. The zip file has almost the identical script from a VM where i do most of my development. It is the VM that froze for an hour. I had to kill the process. No event log events. THAT is the script in the ZIP. No changes were lost in that crash, so what's in the ZIP is for the most part what was open in the editor. Different name, couple changes in a Sub to remove server info.

Re: PrimalScript 2020 crashes

Posted: Thu Feb 20, 2020 2:20 pm
by Alexander Riedel
Ok, thanks, I will check it out and see what I can find.

Re: PrimalScript 2020 crashes

Posted: Thu Feb 20, 2020 2:23 pm
by Alexander Riedel
Oh a VBScript file. I didn’t get to look at one of those in quite some time.

Re: PrimalScript 2020 crashes

Posted: Thu Feb 20, 2020 2:27 pm
by gmichaud
i can dig up an old batch file if you want to reminisce. We have a group that still uses them :-)

Parser...like parsing for variables?? I've seen it occasionally get confused when highlighting variables and constants. we use a LOT of variables and constants!

Re: PrimalScript 2020 crashes

Posted: Thu Feb 20, 2020 2:49 pm
by Alexander Riedel
Haha, yeah, I also have some old Macro Assembler files on a floppy somewhere :D
And yes, parsing for code navigation and variables for Intellisense. I’ll know more when I put it through the ringer. Tomorrow. It’s past midnight here for me.