|Application crashing due to packed plugin, can I unpack? [message #726848]
||Mon, 19 September 2011 17:23
| Max Mising name
Registered: September 2010
In the RCP feature, the eclipse plugin org.eclipse.swt.gtk.linux.x86 is not specified to be unpacked. This is causing issues for us in a couple of places. First, when a user launches multiple instances of our application (sounds weird but they do it), the shared object(s) in that plugin get unpacked to the /home/user/.eclipse/.... What I noticed was the code to do this will delete all the contents in the bundle's folder before unpacking (which happens every time the app is launched). So if you have one application that has successfully unpacked the swt.gtk plugin and is in the process of reading in a .so, another can come in and delete the so and cause a seg fault on the first application instance.|
Another case where this causes issues is when users have NFS mounted home folders, if the nfs has any issues, it can cause the app to crash the next time it tries to read in something from the so.
My question is, can I override the eclipse feature specification and force that plugin to be unpacked on installation in our application? I tried just adding the plugin to our feature and specifying unpack="true" but it caused the build to fail.
[Updated on: Wed, 21 September 2011 14:21]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01712 seconds