Bug 492658 - 0 byte Eclipse.app constantly created to Desktop
Summary: 0 byte Eclipse.app constantly created to Desktop
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.5.2   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: needinfo
: 493729 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-04-28 09:14 EDT by Marty Allen CLA
Modified: 2020-03-04 05:26 EST (History)
4 users (show)

See Also:


Attachments
Screenshot of phantom app. (150.77 KB, image/png)
2016-04-28 09:14 EDT, Marty Allen CLA
no flags Details
Archive containing phantom app file, along with workspace log files (44.90 KB, application/zip)
2016-04-28 11:35 EDT, Marty Allen CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marty Allen CLA 2016-04-28 09:14:50 EDT
Created attachment 261338 [details]
Screenshot of phantom app.

After the last update to Eclipse, some part of the system places a 0-byte Eclipse.app to the Desktop.  The icon appears to be for a PowerPC version of the application, as the OS X system shows it with the generic icon and clicking upon it yields the system message that PowerPC applications are no longer supported.

The application can be deleted, but reappears approximately every 24 hours.

Screenshot attached.
Comment 1 Brian de Alwis CLA 2016-04-28 09:24:35 EDT
Um, weird.  Doesn't happen for me, and we haven't seen any other reports of this.

What version of OS X are you running, and what JVM are you using?

What are you doing within Eclipse?  Are you doing any exports?

Rather than delete it, could you instead zip it up and upload it here?  And could you also add your <workspace>/.metadata/.log file too?

Brian.
Comment 2 Marty Allen CLA 2016-04-28 11:35:36 EDT
Created attachment 261344 [details]
Archive containing phantom app file, along with workspace log files

As an update, I have localized the behavior;  it occurs on start-up of Eclipse, and during the (same) process when switching Workspaces.  It only appeared to be temporally related, as I switch between Workspaces about once per 24 hours.

I have uploaded an archive with the phantom app file, along with two log files.  I use both 1.7.0_15 and 1.8.0_45 JDK/JVM versions, and have included the log files from each workspace (numbered for the relevant JDK associated with the space).

This is all under OS X 10.9.5.  Nothing fancy being done in Eclipse, no exports.
Comment 3 Brian de Alwis CLA 2016-04-29 11:49:24 EDT
The recent entries in your 1.7 log all report running on 1.8.0_45.  But that shouldn't matter.

There a few oddities however.  The logs show a repeated number of "-product org.eclipse.epp.package.java.product" arguments (extract below), suggesting that a touchpoint was applied multiple times.

The Eclipse.app is only directories with no content:

  Eclipse.app/Contents/Eclipse/.eclipseextension/features/

Would it be possible to zip up your Eclipse installation (the .app) and put it somewhere?  It won't have your workspace(s), but it would contain any plugins you've installed.  I'm not sure how to track down anything further.

I wonder if this is somehow related to bug 489772.



!SESSION 2016-04-28 10:17:06.297 -----------------------------------------------
eclipse.buildId=4.5.2.M20160212-1500
java.version=1.8.0_45
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.java.product -product org.eclipse.epp.package.java.product -product org.eclipse.epp.package.java.product -product org.eclipse.epp.package.java.product -product org.eclipse.epp.package.java.product -product org.eclipse.epp.package.java.product -keyring /Users/marty/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.java.product -product org.eclipse.epp.package.java.product -product org.eclipse.epp.package.java.product -product org.eclipse.epp.package.java.product -product org.eclipse.epp.package.java.product -data /Users/marty/Documents/WorkinProgress/programming/workspace -product org.eclipse.epp.package.java.product -keyring /Users/marty/.eclipse_keyring -showlocation
Comment 4 Marty Allen CLA 2016-04-29 12:00:46 EDT
I've put the Eclipse application up at:

   http://faculty.cs.uwlax.edu/~mallen/docs/eclipse.tar.gz

Let me know if you download it;  I'll delete it eventually.

Thanks.
Comment 5 Brian de Alwis CLA 2016-04-29 14:27:37 EDT
For some reason, you have a Eclipse.app/Contents/Eclipse/p2/pools.info file that contains:

   /Users/marty/Desktop/Eclipse.app/Contents/Eclipse

and there's a Eclipse.app/Contents/Eclipse/p2/profiles.info containing:
   epp.package.java|Installation|/Users/marty/Desktop/Eclipse.app/Contents/Eclipse|/Users/marty/Desktop/Eclipse.app/Contents/Eclipse|

So I guess you originally ran this from your desktop, then moved it somewhere else? 

If I run it on my laptop, it runs fine.

I wonder if you remove those two files (pools.info, profiles.info) if that would make a difference.
Comment 6 Marty Allen CLA 2016-04-29 14:51:49 EDT
Yep, deleting the files fixes it.

After removing the out-of-sync pools.info and profiles.info files, and then re-starting, the behavior stops.  The two files are regenerated on start-up, and now the Desktop version is no more, so after restart we have:

%more Eclipse.app/Contents/Eclipse/p2/pools.info
/Applications/Eclipse.app/Contents/Eclipse

%more Eclipse.app/Contents/Eclipse/p2/profiles.info 
epp.package.java|Installation|/Applications/Eclipse.app/Contents/Eclipse|/Applications/Eclipse.app/Contents/Eclipse|

I honestly don't recall running off the Desktop, but it's certainly possible I did at least once on original download before shifting to Applications.  Before the last update, this wasn't causing any issues.  Either the last update modified these files, somehow, or something changed that now causes the presence of the Desktop version in profiles.info to produce the empty "app".
Comment 7 Brian de Alwis CLA 2016-04-29 15:02:15 EDT
If you bring up your Preferences dialog, and open Oomph > Bundle Pools, what does it show?
Comment 8 Marty Allen CLA 2016-04-29 15:14:16 EDT
Oomph > Bundle Pools looks like this:

/Users/marty/.p2
    /Users/marty/.p2/pool
Comment 9 Patrik Suzzi CLA 2016-05-19 03:39:07 EDT
*** Bug 493729 has been marked as a duplicate of this bug. ***
Comment 10 Eclipse Genie CLA 2020-03-04 05:26:22 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.