Community
Participate
Working Groups
Hello. Following error i receive at some starts of eclipse. It's not at every start, just at all 3th to 5th start. I use 20020129, but the problem exists since 20020122 or earlier. /usr/local/eclipse-gtk/eclipse -ws gtk -debug -data $HOME/ -vm /usr/lib/jreb/bin/java Boot URL: file:/usr/local/eclipse-gtk/plugins/org.eclipse.core.boot/boot.jar Install URL: file:/usr/local/eclipse-gtk/ Debug-Options: file:/usr/local/eclipse-gtk/.options Read registry cache: 307ms OS: linux WS: gtk NL: de_DE ARCH: i386 org.eclipse.swt.SWTError: Unspecified error at org.eclipse.swt.SWT.error(SWT.java:1912) at org.eclipse.swt.SWT.error(SWT.java:1819) at org.eclipse.swt.graphics.DefaultGtkStyle.loadDefaultFont(DefaultGtkStyle.java:97) at org.eclipse.swt.graphics.GC.<init>(GC.java:83) at org.eclipse.swt.custom.CTabFolder.updateArrowBar(CTabFolder.java:1352) at org.eclipse.swt.custom.CTabFolder.layoutButtons(CTabFolder.java:669) at org.eclipse.swt.custom.CTabFolder.layoutItems(CTabFolder.java:798) at org.eclipse.swt.custom.CTabItem.setText(CTabItem.java:410) at org.eclipse.ui.internal.EditorWorkbook.updateEditorTab(EditorWorkbook.java:755) at org.eclipse.ui.internal.EditorWorkbook.createTab(EditorWorkbook.java:241) at org.eclipse.ui.internal.EditorWorkbook.createTab(EditorWorkbook.java:231) at org.eclipse.ui.internal.EditorWorkbook.createPage(EditorWorkbook.java:213) at org.eclipse.ui.internal.EditorWorkbook.createControl(EditorWorkbook.java:179) at org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:172) at org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:172) at org.eclipse.ui.internal.PerspectivePresentation.activate(PerspectivePresentation.java:80) at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:511) at org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPage.java:1030) at org.eclipse.ui.internal.WorkbenchWindow$5.run(WorkbenchWindow.java:893) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:56) at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:881) at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:794) at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:811) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:557) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:832) at org.eclipse.core.runtime.Platform.run(Platform.java:395) at org.eclipse.ui.internal.Workbench.openPreviousWorkbenchState(Workbench.java:541) at org.eclipse.ui.internal.Workbench.openWindows(Workbench.java:598) at org.eclipse.ui.internal.Workbench.init(Workbench.java:441) at org.eclipse.ui.internal.Workbench.run(Workbench.java:831) at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:895) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:321) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.basicRun(Main.java:151) at org.eclipse.core.launcher.Main.run(Main.java:502) at org.eclipse.core.launcher.Main.main(Main.java:362) Wrote registry: 216ms
Perhaps related to problems in Bug 8785? Reserving comment until Bug 8785 is resolved.
Bug 8785 has been fixed. Please confirm that this is still a problem in integration build 2002-02-05.
Created attachment 307 [details] log with the messages at start
Created attachment 308 [details] logfile with debug-options
The problem exists also with 20020205. I have append two logfiles from eclipse-start. The first (debug-1.20020205) is with debug-option debug=true The second (debug-2.20020205) is with debug-options loader/debug=true loader/debug/actions=true loader/debug/failure=true Sorry, in the second logfile just the end of the startmessages, but my console-buffer is too short for all messages. I can't say, when i become the problem and when start eclipse without problem. example: i start 5 times, 5 times with error i start 3 times, 3 times without error i start 4 times, 2 times with error, 2 without
Finding the library has been fixed in 20020205 (see related Bug 8785). User is still getting this SWTError though. Moving to Platform/SWT for comment.
The problem is still exists in 200200215
The way fonts work in SWT on GTK1.2, is temporary, and is being rewritten for 2.0 (yes, Pango). This means bugs like this will be fixed in the 2.0 branch - it's just not worth writing more temporary code.
Post 2.0. Re-opening bug reports for review.
The whole gtk2 branch is free of this bug by design.