Author Topic: Slickedit Pro v26.0.3.1 Never Finishes tagging  (Read 2257 times)

dantrigg

  • Junior Community Member
  • Posts: 5
  • Hero Points: 0
Slickedit Pro v26.0.3.1 Never Finishes tagging
« on: August 04, 2022, 04:46:46 PM »
I upgraded Slickedit from a version that mostly worked well. After the update it shuts down without warning or any error if I do anything that requires tagging. It will eventually shutdown on its own if I do nothing. You can see that it is tagging when it opens.

Upgraded from:

SlickEdit Pro 2014 (v19.0.2.5 64-bit)

Serial number: WB948070
Licensed number of users: Single user
License file: C:\ProgramData\slickedit\19\slickedit.lic

Build Date: April 10, 2015
Emulation: Visual C++ 6

OS: Windows 8 x64
OS Version: 6.02.9200 
Memory: 44% Load, 7284MB/16301MB Physical, 11601MB/23725MB Page File, 4603MB/134217727MB Virtual
Shell Information: C:\WINDOWS\system32\cmd.exe /q
Screen Size: 2560 x 1440

Project Type: Cpp
Language: No file open
Encoding: No file open

Installation Directory: C:\Program Files\SlickEdit Pro 19.0.2\ (non-removable drive,NTFS,481273MB free)
Configuration Directory: C:\Users\Dan_T\OneDrive - AMS Controls\Documents\My SlickEdit Config\19.0.2\ (non-removable drive,NTFS,481273MB free)
Migrated from: U:\My Documents\My SlickEdit Config\19.0.1\
Spill File: c:\temp\SlickEdit\$slk.12588 (non-removable drive,NTFS,481273MB free)

Upgraded to:

SlickEdit Pro 2021 (v26.0.3.1 64-bit Qt5)

Serial number: WB948070
Licensed number of users: Single user
License file: C:\ProgramData\slickedit\26\slickedit.lic

Build Date: June 28, 2022
Emulation: Visual C++ 6

OS: Windows 10 x64
OS Version: 10.00.0 
Memory: 46% Load, 7573MB/16301MB Physical, 12003MB/23725MB Page File, 4870MB/134217727MB Virtual
Shell Information: C:\WINDOWS\system32\cmd.exe /q
Screen Size: 2560 x 1440 (0 0 2560 1440)

Project Type: Cpp
Language: No file open
Encoding: No file open

Installation Directory: C:\Program Files\SlickEdit Pro 26.0.3\ (non-removable drive,NTFS,481285MB free)
Configuration Directory: C:\Users\Dan_T\OneDrive - AMS Controls\Documents\My SlickEdit Config\26.0.3\ (non-removable drive,NTFS,481285MB free)
Migrated from: C:\Users\Dan_T\OneDrive - AMS Controls\Documents\My SlickEdit Config\19.0.2\

Never finishes retagging before it shuts itself down without any notification. The tagging process , until it shuts down, is really slow.

Dennis

  • Senior Community Member
  • Posts: 3960
  • Hero Points: 517
Re: Slickedit Pro v26.0.3.1 Never Finishes tagging
« Reply #1 on: August 04, 2022, 07:18:42 PM »
I am a bit confused by your bug description.  Does SlickEdit exit as if it crashed while it is rebuilding a tag file?  Or does it hang when you are trying to close the editor (since you say it eventually shuts down on its own)?  If it is an actual crash, if you attach to SlickEdit with Visual Studio after starting it, you should be able to capture a mini-dump so I can see where the crash originates.  If it is a hang while it is trying to finish rebuilding tag files, there should be a progress dialog where you can cancel the tag file build.

You are upgrading from a pretty old version, so SlickEdit is definitely wanting to update tag databases to the most recent version.  It will initiate this automatically when it finds a writable tag database which was built by an older version.  You could short-circuit this by finding all the "*.vtg" files you have from the older version and renaming them to "*.vtg.bak" so the newer version of SlickEdit does not even try to read any of the old tag databases.  If that works, it would, at least, isolate the problem to rebuilding v19 tag files in v26.

Otherwise, is there any chance you can send your 19.0.2 configuration directory and current workspace into support ?  If I could reproduce what you are seeing, I could debug it.  Having exactly what you are working with and enumerated steps to reproduce the crash would help a lot compared to poking around in the dark.

dantrigg

  • Junior Community Member
  • Posts: 5
  • Hero Points: 0
Re: Slickedit Pro v26.0.3.1 Never Finishes tagging
« Reply #2 on: August 04, 2022, 08:23:51 PM »
Here are further steps I have taken since posting. Maybe this will help clear things up.

We have a new developer who has never had SlickEdit installed. We installed the v26 on his pc and used my project files, Just the vpw and vpj files. On his pc the workspace opened and seemed to finish tagging in 10 - 15 seconds. I was able to search for references and then shut down the project, all things that no longer work properly for me. Since a fresh install on a new PC worked fine I decided to uninstall all versions on my PC and try again from scratch. I no longer have the earlier version installed.

I still have the same problems where Slickedit has issues seemingly related to tagging. If I delete all of the files but the vpj and the vpw the vpw file opens fine. It indicates it is building the vtg file. If I wait long enough without doing anything Slickedit shuts down by itself (crashes) as if the application was terminated. If I try to close SlickEdit I get a window stating "Finishing background tagging jobs". This window stays opened for minutes, very slowly updating the progress bar. Slickedit never finishes this tagging process and will eventually shutdown. At that point any attempt to open the vpw file by clicking on it will result in an immediate shut down. I am happy to send anything you want into support. How do I go about it and what would you like to see?

Dennis

  • Senior Community Member
  • Posts: 3960
  • Hero Points: 517
Re: Slickedit Pro v26.0.3.1 Never Finishes tagging
« Reply #3 on: August 04, 2022, 09:22:44 PM »
I would suggest doing a thorough search of your machine for ".vtg" files.  If it is still trying to rebuild tag files, there must be one in either our configuration directory or elsewhere that SlickEdit knows about and is trying to update.  Given the number of crashes you have experienced, those tag files are probably also corrupted at this point.

dantrigg

  • Junior Community Member
  • Posts: 5
  • Hero Points: 0
Re: Slickedit Pro v26.0.3.1 Never Finishes tagging
« Reply #4 on: August 05, 2022, 02:13:59 PM »
Dennis,

Thanks for your help. I tried your suggestion. I deleted all of the *.vtg files on my disk. It did not help. It is still extremely slow tagging files and never finishes before the application shuts down without warning on its own.

I am not sure if that is your area but I have started a case CAS-73811-904W with support. Do you know if there is any sort of log file that SlickEdit generates that might be helpfull?

Dennis

  • Senior Community Member
  • Posts: 3960
  • Hero Points: 517
Re: Slickedit Pro v26.0.3.1 Never Finishes tagging
« Reply #5 on: August 11, 2022, 09:03:27 PM »
Thanks again for all your help tracking down this problem.  I've found and fixed the problem, which did trace down to the assembly language parsing.  It will be fixed in the next drop of the v27 beta, as well as I'll see if I can get support to send you a patched DLL.

dantrigg

  • Junior Community Member
  • Posts: 5
  • Hero Points: 0
Re: Slickedit Pro v26.0.3.1 Never Finishes tagging
« Reply #6 on: August 19, 2022, 08:06:35 PM »
Is there any progress on this? Is the beta version available or the updated DLL?

Dennis

  • Senior Community Member
  • Posts: 3960
  • Hero Points: 517
Re: Slickedit Pro v26.0.3.1 Never Finishes tagging
« Reply #7 on: August 19, 2022, 08:08:11 PM »
I sent you a patched DLL on 8/16/22.  My guess is it landed in your trash folder since it was a rather large zip file.  The problem will also be addressed in V27 Beta2 when that comes out.
« Last Edit: August 19, 2022, 08:13:13 PM by Dennis »

dantrigg

  • Junior Community Member
  • Posts: 5
  • Hero Points: 0
Re: Slickedit Pro v26.0.3.1 Never Finishes tagging
« Reply #8 on: August 19, 2022, 08:14:09 PM »
I have an Undeliverable in my Junk mail on 8/5/2022. Nothing on the 16th. Do you have another method of delivery?

toliqdoi

  • Junior Community Member
  • Posts: 3
  • Hero Points: 0
Re: Slickedit Pro v26.0.3.1 Never Finishes tagging
« Reply #9 on: April 27, 2023, 12:56:49 PM »
Hi, I'm suffering from that exact issue massively as well (currently staring at the "Finishing background tagging jobs" dialog which will prevent me from continuing to work for at least 15-20 minutes). As far as I can see there never was a v26 hotfix release containing this fix. So I kindly ask to get this patched DLL as well.

SlickEdit Support

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 384
  • Hero Points: 29
Re: Slickedit Pro v26.0.3.1 Never Finishes tagging
« Reply #10 on: April 27, 2023, 05:03:12 PM »
PM sent.

Regards,
SlickEdit Support

toliqdoi

  • Junior Community Member
  • Posts: 3
  • Hero Points: 0
Re: Slickedit Pro v26.0.3.1 Never Finishes tagging
« Reply #11 on: April 28, 2023, 05:21:08 AM »
I'm sorry I missed the PM because of an outdated e-mail address. I updated it meanwhile. Please resend your message. Thanks!

SlickEdit Support

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 384
  • Hero Points: 29
Re: Slickedit Pro v26.0.3.1 Never Finishes tagging
« Reply #12 on: April 28, 2023, 01:46:03 PM »
Resent.