Author Topic: Beta3 hang on exit  (Read 1774 times)

jporkkahtc

  • Senior Community Member
  • Posts: 1901
  • Hero Points: 184
  • Text
Beta3 hang on exit
« on: August 16, 2016, 05:53:34 pm »

I switch workspace from my usual to a VS2015 workspace.
Then I tried closing VS, and I get the "Finishing background tagging jobs" dialog.
It has been running for a long time, stuck at 66%.


PROCMON shows that VS is reading the first 512 bytes of tagfiles\slickc.vtg over and over again.
It does this about 50 times per second and has been doing nothing but for several minutes.
10:47:00.1323414 AM   vs.exe   7928   ReadFile   C:\Users\joe\Documents\SlickEdit\21.0.0\tagfiles\slickc.vtg   SUCCESS   Offset: 0, Length: 512, Priority: Normal
10:47:00.1323940 AM   vs.exe   7928   QueryStandardInformationFile   C:\Users\joe\Documents\SlickEdit\21.0.0\tagfiles\slickc.vtg   SUCCESS   AllocationSize: 14,155,776, EndOfFile: 14,155,776, NumberOfLinks: 1, DeletePending: False, Directory: False
10:47:01.2834291 AM   vs.exe   7928   ReadFile   C:\Users\joe\Documents\SlickEdit\21.0.0\tagfiles\slickc.vtg   SUCCESS   Offset: 0, Length: 512, Priority: Normal
10:47:01.2834947 AM   vs.exe   7928   QueryStandardInformationFile   C:\Users\joe\Documents\SlickEdit\21.0.0\tagfiles\slickc.vtg   SUCCESS   AllocationSize: 14,155,776, EndOfFile: 14,155,776, NumberOfLinks: 1, DeletePending: False, Directory: False




I'd like to upload a minidump privately - where to?


Hitting cancel on that dialog did cause it to exit - so it wasn't unresponsive - just stuck in tagging somewhere.


Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2920
  • Hero Points: 438
Re: Beta3 hang on exit
« Reply #1 on: August 17, 2016, 11:49:23 pm »
If this is readily reproducible, it would be helpful to turn on logging (Macro > Set Variable > def_tagging_logging = 1), and then send in <config>/logs/tagging.log

As always, create a case with support to send in the minidump, but I think the situation is that tagging is busy working, not deadlocked, otherwise CPU utilization would be much lower, so I doubt the data in the mini dump will be very useful.

machish

  • Community Member
  • Posts: 52
  • Hero Points: 0
Re: Beta3 hang on exit
« Reply #2 on: August 24, 2016, 06:06:44 pm »
I'm also seeing what Joe is seeing. The UI isn't painting, it's spinning a CPU, and accessing the first 512 bytes of the .VTG file (but a different VTG file -- the one associated with my project).
I'll try enabling the logging.

-martin

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2920
  • Hero Points: 438
Re: Beta3 hang on exit
« Reply #3 on: August 29, 2016, 10:34:44 pm »
Thanks for the mini dump file.  It was a useful.  I believe I found the source of the problem.  The fix, however may be too late for beta4, but it will be definitely be in a future build.

machish

  • Community Member
  • Posts: 52
  • Hero Points: 0
Re: Beta3 hang on exit
« Reply #4 on: September 22, 2016, 06:37:28 pm »
Hi Dennis,
21.0.0.7 (RC1) just hung on me at shutdown, because I wanted to install RC2. :)
I forgot to look at procmon, but I did grab a Windows Perf Analysis etl trace. Is there somewhere I should upload it? (101 MB zip file)

-martin

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2920
  • Hero Points: 438
Re: Beta3 hang on exit
« Reply #5 on: September 22, 2016, 06:40:01 pm »
Get RC3 when it is available and if you have the problem again, then upload a mini dump to support.

machish

  • Community Member
  • Posts: 52
  • Hero Points: 0
Re: Beta3 hang on exit
« Reply #6 on: September 22, 2016, 06:42:25 pm »
OK, thanks!