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

Key: IDEADEV-23770
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Dmitry Jemerov
Reporter: Alexander Chernikov
Votes: 0
Watchers: 0
Operations

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

Thread lock on cancelling login to Perforce

Created: 06 Dec 07 20:53   Updated: 09 Dec 07 17:22
Component/s: Version Control Integration. Perforce
Fix Version/s: Selena 7.0.3

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. Text File dump.txt (66 kb)


Build: 8,044
Fixed in build: 8,046


 Description  « Hide
Create new empty project.
In Settings / Version control set Perforce VCS for the whole project.
Edit Perforce settings the way to get Login dialog on next project reopening. I have set:
. Perforce is online = true.
. Use P4CONFIG = true.
. Use login authentication = true.
The rest is default. Ok.
If Login dialog is shown on Ok, then enter correct password. Now you have p4tickets file in your user home.

Exit IDEA.
Remove p4tickets from user home.
Restart IDEA, reopen project. Get Perforce login dialog.
Press Cancel.
Result: it seems to be a deadlock. IDEA UI does not respond in 10 minutes, no more memory is allocated, CPU usage is about 0%. Then IDEA was killed.

See attached dump.txt with 2 dumps: one is taken right after pressing Cancel, another is a minute later.



 All   Comments   Work Log   Change History      Sort Order:
Alexander Chernikov - 09 Dec 07 17:16
8046: fix confirmed.

Alexander Chernikov - 09 Dec 07 17:22
7594: fix confirmed too.