strace показал в конце вот такое:
Код: Выделить всё
...
close(3) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7435768) = 13199
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 13199
--- SIGCHLD (Child exited) @ 0 (0) ---
shmctl(7864421, IPC_64|IPC_RMID, 0) = 0
exit_group(0) = ?
Process 13198 detached
Это если напрямую /usr/lib/eclipse/./eclipse запускать. Если через скрипт, то чуть раньше появляется ещё вот такое интересное собщение:
Код: Выделить всё
stat64("/usr/lib/eclipse//usr/lib/eclipse/startup.jar", 0xbfea5964) = -1 ENOENT (No such file or directory)
хотя в скрипте запуск производится так:
Код: Выделить всё
# Do the actual launch of Eclipse with the selected VM.
exec /usr/lib/eclipse/eclipse \
-vm "${JAVACMD}" \
-install "${INSTALL}" \
-startup "${STARTUP}" \
${CMDLINEARGS} \
-vmargs -Djava.library.path=/usr/lib/jni \
-Dgnu.gcj.precompiled.db.path=/var/lib/gcj-4.1/classmap.db \
-Dgnu.gcj.runtime.VMClassLoader.library_control=never \
-Dosgi.locking=none ${VMARGS}
То есть как бы запуск по абсолютному пути и сложения строк не должно бы быть.
Ещё интересная особенность. "Чистая" копия из домашней директории запускается нормально, но при смене воркспейса вылетает ошибка и предлагает посмотреть логи. А в логах:
Код: Выделить всё
!ENTRY org.eclipse.update.configurator 2009-01-02 03:25:24.791
!MESSAGE Could not install bundle ../../../usr/lib/eclipse/plugins/org.eclipse.team.ui_3.2.1.M200608151725.jar Bundle "org.eclipse.team.ui" version "3.2.1.M200608151725" has already been installed from: update@plugins/org.eclipse.team.ui_3.2.1.M200608151725.jar
...
!ENTRY org.eclipse.core.runtime 4 0 2009-01-02 03:25:25.237
!MESSAGE FrameworkEvent.ERROR
!STACK 0
org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Another singleton version selected: org.eclipse.core.runtime_3.3.100.v20070530
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(org.eclipse.osgi_3.2.1.R32x_v20060919.jar.so)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(org.eclipse.osgi_3.2.1.R32x_v20060919.jar.so)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(org.eclipse.osgi_3.2.1.R32x_v20060919.jar.so)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(org.eclipse.osgi_3.2.1.R32x_v20060919.jar.so)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(org.eclipse.osgi_3.2.1.R32x_v20060919.jar.so)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(org.eclipse.osgi_3.2.1.R32x_v20060919.jar.so)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(org.eclipse.osgi_3.2.1.R32x_v20060919.jar.so)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(org.eclipse.osgi_3.2.1.R32x_v20060919.jar.so)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(org.eclipse.osgi_3.2.1.R32x_v20060919.jar.so)
!ENTRY org.eclipse.osgi 4 0 2009-01-02 03:25:25.245
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.core.runtime_3.2.0.v20060603.jar/ was not resolved.
!ENTRY org.eclipse.osgi 4 0 2009-01-02 03:25:25.251
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(org.eclipse.osgi_3.2.1.R32x_v20060919.jar.so)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(org.eclipse.osgi_3.2.1.R32x_v20060919.jar.so)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(org.eclipse.osgi_3.2.1.R32x_v20060919.jar.so)
at java.lang.reflect.Method.invoke(libgcj.so.81)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
!ENTRY org.eclipse.osgi 2 0 2009-01-02 03:25:25.550
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-01-02 03:25:25.550
...
В общем, синдромы без системы. Идеи?