jEdit slow startup problem: 3 minutes, 13 seconds
Submitted by Wednesday, 6 April, 2005 - 18:17
on
Hi,
whenever I run jEdit (in ArchLinux) it takes a bit over 3 minutes to start. This has occured to me for versions 4.2, 4.3pre2 (most recent), j2dk/j2re 1.5.0_01-1 (most recent Arch version) and with 1.5.0_02 (most recent version).
It seems to be waiting for something, then timing out. It is probably just something weird in my system, but I am ignorant of a good way to track down what is taking the time. I've been trying to solve this by asking at the ArchLinux forum but to no avail.
From strace:
Activity.log:
It is just after the realize line that it waits (usually for about 3 minutes and 13-15 seconds). I've tried different GTK2 themes, but observed no change in the slow startup. When I use the Default theme startup is still slow but the error messages about an unsupported theme engine don't occur.
I'm not using Gnome as a desktop environment (am using either wmi or wmii), and for what it's worth the slow startup happens in KDE, and as a different user.
So, can anyone diagnose the problem? Or suggest a way I can gather more information about where it is getting stuck? The symptoms are so vague I'm having a problem searching for a solution.
Other Java programs seem to work okay. I've wiped the ~/.jedit dir and the CLASSPATH variable, moved everything execpt jedit.jar out of the jedit install dir (/usr/share/jedit43)- to no change.
Thanks in advance.
cheers
Paul
whenever I run jEdit (in ArchLinux) it takes a bit over 3 minutes to start. This has occured to me for versions 4.2, 4.3pre2 (most recent), j2dk/j2re 1.5.0_01-1 (most recent Arch version) and with 1.5.0_02 (most recent version).
It seems to be waiting for something, then timing out. It is probably just something weird in my system, but I am ignorant of a good way to track down what is taking the time. I've been trying to solve this by asking at the ArchLinux forum but to no avail.
From strace:
stat64("/opt/java/jre/bin/java", {st_mode=S_IFREG|0755, st_size=63664, ...}) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8 ) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7d7d708) = 32425
rt_sigprocmask(SIG_SETMASK, [], NULL, 8 ) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8 ) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8 ) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8 ) = 0
rt_sigaction(SIGINT, {0x80731c0, [], 0}, {SIG_DFL}, 8 ) = 0
waitpid(-1, initialized
realize
exit
[error] main: /usr/share/themes/Gorilla/gtk-2.0/gtkrc:46:
[error] main: Engine "industrial" is unsupported, ignoring
[error] main: /usr/share/themes/Gorilla/gtk-2.0/gtkrc:57:
[error] main: Engine "industrial" is unsupported, ignoring
[error] main: /usr/share/themes/Gorilla/gtk-2.0/gtkrc:121:
[error] main: Engine "industrial" is unsupported, ignoring"
Activity.log:
[message] Log: When reporting bugs, please include the following information:
[message] Log: java.version=1.5.0_02
[message] Log: java.vm.version=1.5.0_02-b09
[message] Log: java.runtime.version=1.5.0_02-b09
[message] Log: java.vendor=Sun Microsystems Inc.
[message] Log: java.compiler=null
[message] Log: os.name=Linux
[message] Log: os.version=2.6.11-mm2-ARCH
[message] Log: os.arch=i386
[message] Log: user.home=/home/me
[message] Log: java.home=/opt/java/jre
[message] Log: java.class.path=/usr/share/jedit43/jedit.jar
It is just after the realize line that it waits (usually for about 3 minutes and 13-15 seconds). I've tried different GTK2 themes, but observed no change in the slow startup. When I use the Default theme startup is still slow but the error messages about an unsupported theme engine don't occur.
I'm not using Gnome as a desktop environment (am using either wmi or wmii), and for what it's worth the slow startup happens in KDE, and as a different user.
So, can anyone diagnose the problem? Or suggest a way I can gather more information about where it is getting stuck? The symptoms are so vague I'm having a problem searching for a solution.
Other Java programs seem to work okay. I've wiped the ~/.jedit dir and the CLASSPATH variable, moved everything execpt jedit.jar out of the jedit install dir (/usr/share/jedit43)- to no change.
Thanks in advance.
cheers
Paul