Hi Denis,
Following our PM, I managed to reproduce the bug
It's a bit twisted, it shouldn't happen often but it is always good to fix it, so I summarize here.
Here are the steps to reproduce the crash:
. Create a project (ex: CrashIDE.pbp)
. Add a file to the project (ex: CrashIDE.pb)
. Close Purebasic
. Delete the .pb file included in the project (CrashIDE.pb).
. Open the projet from explorer.
. On opening, the file (CrashIDE.pb) is not found, it offers to search for it.
. Answer yes and select the project (CrashIDE.pbp), by mistake instead of selecting a .pb file
. We get the error Invalid Memory Access.
To reproduce, without all these steps:
Open from explorer the project CrashIDE.pbp below and when it offers to search for the missing file, select the same project CrashIDE.pbp
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.purebasic.com/namespace" version="1.0" creator="PureBasic 6.00 Beta 10 (Windows - x64)">
<section name="config">
<options closefiles="1" openmode="0" name="CrashIDE"/>
</section>
<section name="data">
<explorer view="C:\ProgramData\PureBasic\Examples\" pattern="0"/>
<log show="1"/>
<lastopen date="2022-06-21 11:15" user="ChrisR" host="PC-CHRISR"/>
</section>
<section name="files">
<file name="CrashIDE.pb">
<config load="0" scan="1" panel="1" warn="1" lastopen="1" panelstate="+"/>
<fingerprint md5="d41d8cd98f00b204e9800998ecf8427e"/>
</file>
</section>
<section name="targets">
<target name="Default Target" enabled="1" default="1">
<inputfile value=""/>
<outputfile value=""/>
<options xpskin="1" debug="1" optimizer="0"/>
</target>
</section>
</project>