MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
dmhart
Post subject: MyEclipse crashes/starts deleting Windows XP files  PostPosted: Dec 30, 2011 - 05:21 PM



Joined: Dec 30, 2011
Posts: 3

My company runs Windows XP, I have MyEclipse 9.1 installed. I run a gradle(1.0-m6) build script, which finishes just fine, then MyEclipse starts to update/synchronize the project. At this point, MyEclipse will freeze and all computer files (workspace, MyDocuments, and such) and Windows XP files will start being deleted. The maven libraries we pull down have been limited to Hibernate 3.6.4Final, SLF4J 1.6.1, junit 4.7 and groovy 1.8.0, so nothing that should be malicious. This happened to myself and to a coworker twice.

We are waiting to test out the build scenario again on a machine we can truly blow up, but we think we may have been referencing the project we did the gradle build on in other projects. I don't see how this could destroy a machine though. Has anything like this been heard of or seen? We are left speechless and amazed.

Not sure if this is where this issue should be, but since the problem start when MyEclipse is updating the project with the new libraries pulled in this is where I will start. Thanks for any help!
 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: Jan 02, 2012 - 04:12 AM



Joined: Nov 11, 2010
Posts: 2192

dmhart ,

Sorry that you are seeing this issue. I am afraid we have not come across or heard anything about like this before.

Can you answer some more questions for us to understand the issue better ?

1) How are you running the gradle script ?

2) Do you have a plugin to run the gradle script from eclipse ? If yes then share the download link and the steps you followed to install it.

3) Can you clarify that there is no virus in your machine ?

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Support-Brian
Post subject:   PostPosted: Jan 02, 2012 - 06:48 AM
Moderator
Moderator


Joined: Aug 21, 2004
Posts: 2518

dmhart,

I will confirm that we have not come across a case like this before and we certainly don't have code that would do this.

From what folders are files being deleted, exactly? Could you have a mapping/link in your project to this directory (or a parent?). If your project is connected with a version control system and a synchronize is happening, perhaps Eclipse is deleting the files that are not present in the repository - and thus deleting the Windows files in the process? The long delay could indicate that a larger directory is being refreshed.

You could try the same machine with a newer dummy project which you create from scratch (so that you don't accidentally copy any artifacts that may be creating this problem in the first place), while keeping the problematic project closed.

Hope this helps, please keep us posted.

_________________
Brian
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
dmhart
Post subject:   PostPosted: Jan 03, 2012 - 03:22 PM



Joined: Dec 30, 2011
Posts: 3

1) We have gradle set up as an External Tool Config program. Points to the gradle.bat, point to the project we want to build, and run eclipseClasspath. Works really well.

2) No plugin for gradle.

3) No virus. I ran a couple programs on my machine and nothing was found.

support-swapna wrote:
dmhart ,

Sorry that you are seeing this issue. I am afraid we have not come across or heard anything about like this before.

Can you answer some more questions for us to understand the issue better ?

1) How are you running the gradle script ?

2) Do you have a plugin to run the gradle script from eclipse ? If yes then share the download link and the steps you followed to install it.

3) Can you clarify that there is no virus in your machine ?
 
 View user's profile Send private message  
Reply with quote Back to top
dmhart
Post subject:   PostPosted: Jan 03, 2012 - 03:30 PM



Joined: Dec 30, 2011
Posts: 3

All folders/files across the C drive are being deleted, unless a file or application is open and running at the time of failure/corruption/crash. The first time I had SqlServer Manager open and that folder structure stayed, but the files were deleted.

No, no mapping/link to the C drive in the project that we're trying to build.

We are connected to an SVN, but we've never come across anything like this before. That is an interesting thought though.

We are going to try running everything this week on a Windows XP VM so we don't have to lose another machine in the process. Not sure if it will behave the same, but worth a shot to figure out what is causing this.

I will keep you posted. Thanks for all your input!

Support-Brian wrote:
dmhart,

I will confirm that we have not come across a case like this before and we certainly don't have code that would do this.

From what folders are files being deleted, exactly? Could you have a mapping/link in your project to this directory (or a parent?). If your project is connected with a version control system and a synchronize is happening, perhaps Eclipse is deleting the files that are not present in the repository - and thus deleting the Windows files in the process? The long delay could indicate that a larger directory is being refreshed.

You could try the same machine with a newer dummy project which you create from scratch (so that you don't accidentally copy any artifacts that may be creating this problem in the first place), while keeping the problematic project closed.

Hope this helps, please keep us posted.
 
 View user's profile Send private message  
Reply with quote Back to top
erichmusick
Post subject: Same problem as well.  PostPosted: Feb 03, 2012 - 06:23 PM



Joined: Sep 17, 2010
Posts: 3

I've got three coworkers who have had this same problem. Their systems have been completely hosed and we've had to reimage them and set up everything again from scratch.

It appears to have occurred with both 9.1 and 10, however I've deleted projects from within 9.0 without problems.

Our steps to reproduce were different. For both people who encountered, this, it was while deleting a project. We found that checking the "remove from file system" box when deleting a project from the workspace would cause this to occur. Eclipse 9.1 proceeded to delete random files from the harddrive. In the most recent case, it also deleted itself somehow along with all of the other applications this coworker uses.
 
 View user's profile Send private message  
Reply with quote Back to top
erichmusick
Post subject:   PostPosted: Feb 04, 2012 - 12:34 AM



Joined: Sep 17, 2010
Posts: 3

Forgot to mention ... I think everyone who has had this problem is running Windows 7.
We're using the CA SCM Plugin.

_________________
Erich Musick
Software Engineer
 
 View user's profile Send private message  
Reply with quote Back to top
Support-Brian
Post subject:   PostPosted: Feb 04, 2012 - 01:04 AM
Moderator
Moderator


Joined: Aug 21, 2004
Posts: 2518

dmhart / Eric,

We tracked down this problem with the help of another user a couple of days ago. I have posted this announcement with details on what is most likely the cause of the deletions you are experiencing: http://www.myeclipseide.com/PNphpBB2-viewtopic-t-28714.html
I was remiss in not updating this thread with those details sooner.

As already mentioned in the announcement, this issue exists in both 9.1 and 10.0. I sincerely apologize for the damage caused by this bug; my team is working on delivering a fix as soon as possible.

_________________
Brian
MyEclipse Support


Last edited by Support-Brian on Feb 04, 2012 - 01:09 AM; edited 1 time in total
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
erichmusick
Post subject:   PostPosted: Feb 04, 2012 - 01:08 AM



Joined: Sep 17, 2010
Posts: 3

Thanks a bunch, Brian! Will that fix only be present in 10.1, or will there also be a patch for 9.1?

_________________
Erich Musick
Software Engineer
 
 View user's profile Send private message  
Reply with quote Back to top
Support-Brian
Post subject:   PostPosted: Feb 04, 2012 - 01:11 AM
Moderator
Moderator


Joined: Aug 21, 2004
Posts: 2518

Eric,

The fix will be available for 9.1 too. It will be available for 9.1 and 10.0, much in advance of our 10.1 release which is due at the end of this month.

_________________
Brian
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Support-Brian
Post subject:   PostPosted: Feb 17, 2012 - 09:24 AM
Moderator
Moderator


Joined: Aug 21, 2004
Posts: 2518


_________________
Brian
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits