History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-5494
Type: Bug Bug
Status: Open Open
Assignee: Irina Petrovskaya
Reporter: Christoffer Hammarström
Votes: 1
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

IDEA hangs when accessing CVS servers of latest development version

Created: 24 Oct 05 15:11   Updated: 27 Oct 06 19:49
Component/s: Version Control Integration. CVS

File Attachments: 1. File cvs.output (79 kb)
2. File cvs.output-without-gzip (203 kb)

Environment: Linux

Build: 3,526
Severity: Extreme


 Description  « Hide
When updating or commiting from/to a CVS 1.12.13 server IDEA hangs.

If i cancel the commit, i find that part of it has completed, but scripts that run on commit on the server side have not run.

This means that each commit only commits part of the work, and our issue database is not updated.

This might be a bug in CVS, but it works fine with a commandline client.



 All   Comments   Work Log   Change History      Sort Order:
Christoffer Hammarström - 24 Oct 05 15:12
I should add that i'm using a pserver connection.

Christoffer Hammarström - 24 Oct 05 17:16
I can also add that strace shows that the cvs server is stuck on a select call:
  1. strace -p 32730
    Process 32730 attached - interrupt to quit
    select(1, [0], NULL, NULL, NULL <unfinished ...>

Olesya Smirnova - 01 Nov 05 15:26
Could you please activate cvs log (Version Control->CVS->Global Settings->Log CVS output...) and attach the output after commit attempt?


Christoffer Hammarström - 01 Nov 05 17:25
Where do i find that cvs.output log file then?

Christoffer Hammarström - 01 Nov 05 17:32
I'm sorry i can't give you a commit log. I currently cannot commit anything on the project that i've been having the problem on, and for some reason i can't recreate the problem on another project.

At least here you have a cvs.output from a hung cvs update.

The last thing in the idea.log when hung is
2005-11-01 15:29:39,306 [13735533] INFO - ort2.javacvsImpl.io.ReadThread - Starting CvsReadThread Thread[CvsReadThread,10,Idea Thread Group], atEnd: false, firstIndex: 0, lastIndex: 0, exception: null, closed: false


Olesya Smirnova - 01 Nov 05 17:56
Could you try to disable cvs zip in global cvs settings?

Christoffer Hammarström - 01 Nov 05 18:53
That worked!

This attachment is the same update with gzip turned off.

Could there be a bug in IDEAs (javas?) gzip-support?


Olesya Smirnova - 01 Nov 05 19:18
Try to update the project with command line client using -z 9 (compresing level) parameter. Does it hang?

Christoffer Hammarström - 02 Nov 05 11:44
No, using "cvs -z 9 up" does not hang.

Olesya Smirnova - 02 Nov 05 12:38
Ok, it seems to be an integration problem. But I cannot reproduce it on a test project... please let me know if you can provide me with some information how to reproduce it.

Christoffer Hammarström - 02 Nov 05 13:48
Alright. Thank you for your help so far.

Christoffer Hammarström - 02 Nov 05 14:10
It might be interesting to know that CVS uses a newer version of ZLib in 1.12.13:
http://ftp.gnu.org/non-gnu/cvs/NEWS.1.12.13