Jump to content


P4VS 2013.2.70.6702 hangs VS 2012 during Submit on solution

p4vs visual studio

  • Please log in to reply
8 replies to this topic

#1 Andir

Andir

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 08 October 2013 - 02:19 PM

Hi,

I updated p4VS to the latest version 2013.2.70.6702 via Visual Studio Extensions and Updates tool..
But a new version hangs Visual Studio 2012 if I am trying to Submit changes from mouse right menu on solution in a solution explorer (~40 projects in the solution under P4 source control).
Is it a known bug?

Previous P4VS version worked as expected. Is it possible to do a downgrade?

--
Best regards, Andir.

#2 P4Matt

P4Matt

    Advanced Member

  • Members
  • PipPipPip
  • 1383 posts

Posted 08 October 2013 - 04:00 PM

I don't see anything on this in our issue tracker, so I'm going to guess it's a new issue; we'd hear quickly if many people were hitting that. It is definitely possible to downgrade to an old version; you should be able to uninstall from the extensions menu in VS and download a previous version from our FTP site.

If you have access to support it would be good to get them a copy of your log so we can see what Perforce commands are being run to cause that hang.

http://ftp.perforce.com/perforce/

#3 Andir

Andir

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 09 October 2013 - 02:55 PM

View PostP4Matt, on 08 October 2013 - 04:00 PM, said:

I don't see anything on this in our issue tracker, so I'm going to guess it's a new issue; we'd hear quickly if many people were hitting that.

Ok, I checked logs. It seems that it is only UI freeze, because in a log I see many fstat -ol commands.  It seems that P4VS on submit run "fstat -ol" command for every file in a solution and do it in the UI thread of Visual Studio ... But my solution has several thousand files and this is why it is seems as hanged up.

My log (partial) here (as you can see, whole operation was lasted 16 minutes! and all that time VS2012 was completely unresponsive):
[Info: P4API.NET] 09.10.2013 18:26:25.0236 : ->fstat -Ol D:\Projects\<filename removed>
[Info: P4API.NET] 09.10.2013 18:26:26.0761 : ->fstat -Ol D:\Projects\<filename removed>
[Info: P4API.NET] 09.10.2013 18:26:26.6691 : ->fstat -Ol D:\Projects\<filename removed>
[Info: P4API.NET] 09.10.2013 18:26:27.2696 : ->fstat -Ol D:\Projects\<filename removed>
[Info: P4API.NET] 09.10.2013 18:26:27.8536 : ->fstat -Ol D:\Projects\<filename removed>
[Info: P4API.NET] 09.10.2013 18:26:28.4531 : ->fstat -Ol D:\Projects\<filename removed>
[Info: P4API.NET] 09.10.2013 18:26:29.0401 : ->fstat -Ol D:\Projects\<filename removed>
[Info: P4API.NET] 09.10.2013 18:26:29.6341 : ->fstat -Ol D:\Projects\<filename removed>
[Info: P4API.NET] 09.10.2013 18:26:30.2321 : ->fstat -Ol D:\Projects\<filename removed>
[Info: P4API.NET] 09.10.2013 18:26:30.8446 : ->fstat -Ol D:\Projects\<filename removed>
****
[Info: P4API.NET] 09.10.2013 18:42:11.8312 : ->fstat -Ol D:\Projects\<filename removed>
[Info: P4API.NET] 09.10.2013 18:42:12.4343 : ->fstat -Ol D:\Projects\<filename removed>
[Info: P4API.NET] 09.10.2013 18:42:13.0419 : ->fstat -Ol D:\Projects\<filename removed>
[Info: P4API.NET] 09.10.2013 18:42:13.6501 : ->fstat -Ol D:\Projects\<filename removed>
[Info: P4API.NET] 09.10.2013 18:42:14.2467 : ->fstat -Ol D:\Projects\<filename removed>
[Info: P4API.NET] 09.10.2013 18:42:14.8523 : ->fstat -Ol D:\Projects\<filename removed>
[Info: P4API.NET] 09.10.2013 18:42:15.4449 : ->fstat -Ol D:\Projects\<filename removed>
[Info: P4API.NET] 09.10.2013 18:42:16.0495 : ->fstat -Ol D:\Projects\<filename removed>
[Info: P4API.NET] 09.10.2013 18:42:16.6642 : ->fstat -Ol D:\Projects\<filename removed>
[Info: P4API.NET] 09.10.2013 18:42:17.2778 : ->fstat -Ol D:\Projects\<filename removed>
[Info: P4API.NET] 09.10.2013 18:42:17.8704 : ->fstat -Ol D:\Projects\<filename removed>
[Info: P4API.NET] 09.10.2013 18:42:18.4630 : ->fstat -Ol D:\Projects\<filename removed>
[Info: P4API.NET] 09.10.2013 18:42:19.0746 : ->fstat -Ol D:\Projects\<filename removed>
[Info: P4API.NET] 09.10.2013 18:42:19.6673 : ->fstat -Ol D:\Projects\<filename removed>

Quote

It is definitely possible to downgrade to an old version; you should be able to uninstall from the extensions menu in VS and download a previous version from our FTP site.

I checked FTP and I found only 2013.1 release of P4VS, but it has another issue with fstat :-( Is it possible to get a version of 2013.2 release, but without latest patch (before 2013.2.70.6702 version)?

--
Best regards, Andir.

#4 P4Matt

P4Matt

    Advanced Member

  • Members
  • PipPipPip
  • 1383 posts

Posted 09 October 2013 - 09:20 PM

Let me see what I can do.

#5 P4Matt

P4Matt

    Advanced Member

  • Members
  • PipPipPip
  • 1383 posts

Posted 09 October 2013 - 11:10 PM

Do you happen to be using Resharper?

#6 Andir

Andir

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 10 October 2013 - 08:24 AM

View PostP4Matt, on 09 October 2013 - 11:10 PM, said:

Do you happen to be using Resharper?

Yes, I am using Resharper (also NCrunch, StyleCop).
Previous version (2013.2 release) was working in that case as expected without long delay.

#7 P4Matt

P4Matt

    Advanced Member

  • Members
  • PipPipPip
  • 1383 posts

Posted 10 October 2013 - 05:29 PM

Check your private messages on the forums; I have a potential fix for you to try.

#8 Harri

Harri

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 21 October 2013 - 07:35 AM

Hello, I have the same problem with the latest P4VS versions. It used to work fine a few versions back, but now Submit hangs for minutes.

I enabled logging and I see that it does "fstat -Ol" for each file in the solution, even though I have only changed one file. My solution is very big and this takes over 3 minutes.

[Info: P4API.NET] 21.10.2013 09:50:08.3688 : ->fstat -Ol ...
[Info: P4API.NET] 21.10.2013 09:50:08.7568 : ->fstat -Ol ...
...
[Info: P4API.NET] 21.10.2013 09:53:37.9558 : ->fstat -Ol ...
[Info: P4API.NET] 21.10.2013 09:53:38.1618 : ->fstat -Ol ...sln
[Info: P4API.NET] 21.10.2013 09:53:38.3948 : ->change -o
[Info: P4API.NET] 21.10.2013 09:53:38.6438 : ->fstat -Ro -e ...

What can I do? Switch back to older version that worked fine? What is the last version that does not do this?

I have version 2013.3.72.1621.

Thanks, Harri

#9 Harri

Harri

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 22 October 2013 - 06:51 AM

Now I got version 2013.2.69.2386 (older), and it does not have this problem. But this version does not select the changed files in solution automatically, when I right click on solution and select Submit. So it is basically the same as doing File / Perforce / Submit, which does not do it either. What I would like to have is a Submit function that automatically selects all files that I have changed in the solution, and without hanging the UI for minutes.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users