Bug 50490 - Eclipse 3.0M6 hang on rename of package
Summary: Eclipse 3.0M6 hang on rename of package
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 blocker (vote)
Target Milestone: 3.0 M7   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-23 14:12 EST by Rob Grzywinski CLA
Modified: 2004-01-24 09:35 EST (History)
0 users

See Also:


Attachments
Stack traces while renaming packages (32.20 KB, text/plain)
2004-01-23 14:16 EST, Rob Grzywinski CLA
no flags Details
VM thread dump on hang (15.06 KB, text/plain)
2004-01-23 15:59 EST, Rob Grzywinski CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Grzywinski CLA 2004-01-23 14:12:33 EST
While I was renaming a number of packages Eclipse 3.0M6 would hang requiring me 
to kill the process via the Task Manager.  The ability to reproduce this is 
spotty but it seems it can be reproduced by *quickly* renaming a number of 
packages (rename a package, then quickly renmae another).

I should mention that I am using p4eclipse 0.6.2 but the packages were NOT 
checked in to the repository and they were not read only.  I should also metion 
that this hang occurred once on a package that contained no files.

Stack traces will be attached.
Comment 1 Rob Grzywinski CLA 2004-01-23 14:16:56 EST
Created attachment 7544 [details]
Stack traces while renaming packages

Some stack traces may be spurious as I did no clean up between having to kill
eclipse from one rename to another and it may be that only some files were
copied.
Comment 2 Philipe Mulet CLA 2004-01-23 15:49:57 EST
These are entries from the log, but could you please launch Eclipse with 
console open, and then press ctrl-break to force the VM to dump thread 
activity. This would allow to point at the code which is causing the hang.

Launch Eclipse using java.exe instead of javaw.exe to get console open.
Comment 3 Rob Grzywinski CLA 2004-01-23 15:59:16 EST
Created attachment 7546 [details]
VM thread dump on hang

Renamed 1 package then quickly renamed another.
Comment 4 Philipe Mulet CLA 2004-01-23 16:07:19 EST
It looks like Perforce is creating the locking condition.
Comment 5 Rob Grzywinski CLA 2004-01-23 16:25:29 EST
That is all well and good, and I'm not looking for you to solve someone else's 
problem, but I believe that every problem can lead to a better solution.  Are 
you able to easily determine which component that Perforce is improperly 
interacting with so that I may contact them?  I would like to ensure that the 
proper documentation is available for projects coded against Eclipse so that 
this bug is prevented in the future.

Thank you.
Comment 6 Philipe Mulet CLA 2004-01-24 09:35:37 EST
If you send them the thread dumps, they should be able to figure their bug.
Will close this one.