Jump to content
bazzer747

ParnassusCoreEditor.dll AccessViolation

Recommended Posts

Hi

I installed the Bookmarks in 10.4 Sydney last night, and this morning when I ran 10.3 (as I haven't ported anything over yet) I'm suddenly getting access violations on ParnassusCoreEditor.dll when Delphi starts, during the session, and when I close. Can't help feeling these events are linked :-).

 

I'll remove Bookmarks from 10.4 and see if the problem disappears with it.

 

Anyone else having this problem?

Share this post


Link to post

I feared this could happen. It's the same as 10.2 -> 10.3. GetIt does not seem to care about parallel installations and overwrites the "old" Parnassus files.

Share this post


Link to post
Posted (edited)

I have the same issue. 😞

Moving into D10.4 so I deleted BM from D10.3.3.

Still rather have it in both until all project are updated...

Edited by Ian Branch

Share this post


Link to post

I removed it from 10.4, but same issue, so yes it's the 10.4 version (1.6) of the dll which has overwritten the one used by 10.3 (1.0 version). I've removed Bookmarks from 10.3 as well now and will leave them alone until someone in Embacadero does some proper testing before unleashing these damaging elements!

Very annoying.

  • Like 1

Share this post


Link to post

It's called consistency and is considered to be a good thing...most of the time.

  • Haha 8

Share this post


Link to post
18 minutes ago, Sherlock said:

It's called consistency and is considered to be a good thing...most of the time.

In ISO 9001 consistency is everything. You must have rules and follow them. It doesn't matter whether the result is correct or not, it must reproducible every single time. (OK, I'll stop now, I just have suffered too much pain due to this idiocy.)

Share this post


Link to post

10.4 has an update to Bookmarks and Navigator.

 

It creates

C:\Program Files (x86)\Common Files\ParnassusShared

and places
ParnassusBookmarks_XSydney.dll
ParnassusCoreEditor_XSydney.dll
ParnassusNavigator_XSydney.dll

 

So, to cure the 10.3 ailments, copy from C:\Users\<username>\Documents\Embarcadero\Studio\20.0\CatalogRepository\

to the first mentioned common catalog

Bookmarks-1.0\ParnassusBookmarks.dll to ParnassusBookmarks_XRio.dll
ParnassusCoreEditor-1.0\ParnassusCoreEditor.dll to ParnassusCoreEditor_XRio.dll
Navigator-1.0\ParnassusNavigator.dll to ParnassusNavigator_XRio.dll

  • Thanks 5

Share this post


Link to post

Now that is a swift and elegant recovery from the blunder earlier. Respect @Embarcadero.

Share this post


Link to post

So I took out Bookmarks from 10.4 AND 10.3 (as it was screwed), does this means I can use GetiT to install Bookmarks in 10.3 AND 10.4 and they won't clobber each other?

 

The 10.4 install overwrote that dll so I don't have a 10.3 version; does GetiT install the correct versions I suppose I'm asking, or do I have to do some manipulating?

Share this post


Link to post

10.4 does not overwrite the 10.3 versions in C:\Users\<username>\Documents\Embarcadero\Studio\20.0\CatalogRepository\

So, First install for 10.3, then install for 10.4 - and apply the fix above.

 

  • Thanks 1

Share this post


Link to post

Well that doesn't work! Installed on 10.3, restarted as it wanted after the install - now I get Access Violations in module ParnassusCoreEditor.dll, which I OK, and then get another AV in bds.exe. And Projects don't load correctly.

 

I've uninstalled again, and still get AVs in that dll - so the uninstall clearly doesn't uninstall properly. What a mess.

Share this post


Link to post

Check registry HKEY_CURRENT_USER\Software\Parnassus OU\Core

Is the value of Path set to C:\Program Files (x86)\Common Files\ParnassusShared ? - if not, make it so.

Copy the 20.0 DLLs there as per earlier posts.

Share this post


Link to post

Yes, I have that value. Copied the old DLL (luckily I had a copy of the old dll in a Documents backup ).

 

It's now installed in 10.3 and 10.4 without errors. Feel like a major milestone achieved :-).

 

What I don't understand is even when I've uninstalled on 10.3 and 10.4 there are still remnants, files/registry items, lying about causing problems. Surely this sort of 'cleaning up' is a basic requirement these days of installs. I recall these problems over 20 years ago with uninstall programs not cleaning up all traces.

 

Anyway, all's well now, so many thanks for your help and guidance ...

Share this post


Link to post

Some files are in use while Delphi is running, so they can't be deleted. I am not sure there is any mechanism that can bypass this. Another subject for Embarcadero to look into.

Share this post


Link to post
On 6/18/2020 at 11:04 AM, Lars Fosdal said:

So, to cure the 10.3 ailments, copy from C:\Users\<username>\Documents\Embarcadero\Studio\20.0\CatalogRepository\

to the first mentioned common catalog

Bookmarks-1.0\ParnassusBookmarks.dll to ParnassusBookmarks_XRio.dll
ParnassusCoreEditor-1.0\ParnassusCoreEditor.dll to ParnassusCoreEditor_XRio.dll
Navigator-1.0\ParnassusNavigator.dll to ParnassusNavigator_XRio.dll

Thank you very much! This solved the problem. Now I have these files:

 

C:\Program Files (x86)\Common Files\ParnassusShared\ParnassusNavigator_XSydney.dll
C:\Program Files (x86)\Common Files\ParnassusShared\ParnassusCoreEditor_XSydney.dll
C:\Program Files (x86)\Common Files\ParnassusShared\ParnassusBookmarks_XSydney.dll
C:\Program Files (x86)\Common Files\ParnassusShared\ParnassusCoreEditor.dll
C:\Program Files (x86)\Common Files\ParnassusShared\ParnassusNavigator.dll
C:\Program Files (x86)\Common Files\ParnassusShared\ParnassusBookmarks.dll

 

What did the developer THINK when he changed the overall search location for his DLLs in Parnassus 10.4? Did he think at all? What DLL search location can we expect in the next version of the Parnassus plugins?

Share this post


Link to post
19 minutes ago, Lars Fosdal said:

If you add _XRio to the last three, you won't get any issues with Rio when 10.5 arrives.

Renamed these files. Now I have:

 

C:\Program Files (x86)\Common Files\ParnassusShared\ParnassusNavigator_XSydney.dll
C:\Program Files (x86)\Common Files\ParnassusShared\ParnassusCoreEditor_XSydney.dll
C:\Program Files (x86)\Common Files\ParnassusShared\ParnassusBookmarks_XSydney.dll
C:\Program Files (x86)\Common Files\ParnassusShared\ParnassusCoreEditor_XRio.dll
C:\Program Files (x86)\Common Files\ParnassusShared\ParnassusNavigator__XRio.dll
C:\Program Files (x86)\Common Files\ParnassusShared\ParnassusBookmarks_XRio.dll

 

And it still works. Very flexible DLL search algorithm!

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×