jEdit Community - Resources for users of the jEdit Text Editor
jEdit slow startup problem: 3 minutes, 13 seconds
Submitted by Anonymous on Wednesday, 6 April, 2005 - 18:17
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:

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
User login
Browse archives
« April 2024  
MoTuWeThFrSaSu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   82348
Context Free Art (*.cfdg)   0.31   46055
JBuilder scheme   .001   18495
BBEdit scheme   1.0   18116
ColdFusion scheme   1.0   18024
R Edit Mode - extensive version   0.1   17473
Advanced HTML edit mode   1.0   16206
Matlab Edit Mode   1.0   16068
jEdit XP icons   1.0   15229
XP icons for jEdit   1.1   14293