jEdit Community - Resources for users of the jEdit Text Editor
jEdit on Dual Boot WinXP FC5 system
Submitted by khala on Thursday, 31 August, 2006 - 17:36
Hi I decided to "save space" and run just one installation of jEdit on my dual boot system. I have a shared fat32 drive that is writable from both OSs. So I installed jEdit 4.2 (java version) from XP on that drive. Now when I try to run jEdit from fedora I see the splash screen and then those errors come up on the console. Does anybody know what should I do to get it running on FC5 without having to do a seperate install? Thanks


java -jar "/media/DATA/Programs/jEdit 4.2/jedit.jar"

(.:3515): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text ()
[error] AWT-EventQueue-4: java.lang.InternalError: Pango: Invalid UTF-8 string p assed to pango_layout_set_text()
[error] AWT-EventQueue-4: at java.la
[error] AWT-EventQueue-4: ng.reflect.Constructor.newInstance(libgcj.so.7)
[error] AWT-EventQueue-4: at gnu.java.awt.peer.gtk.GdkFontPeer.getTextMetri
[error] AWT-EventQueue-4: cs(lib-gnu-java-awt-peer-gtk.so.7)
[error] AWT-EventQueue-4: at gnu.java.awt.peer.gtk.GdkFontMetrics.stringWidth (lib-gnu-ja
[error] AWT-EventQueue-4: va-awt-peer-gtk.so.7)
[error] AWT-EventQueue-4: at gnu.java.awt.peer.gtk.GdkFontMetrics.charWidth(l ib-gnu-java-awt-peer-gtk
[error] AWT-EventQueue-4: .so.7)
[error] AWT-EventQueue-4: at java.awt.FontMetrics.getWidths(libgcj.so.7)
[error] AWT-EventQueue-4: at org.gjt.sp.jedit.textarea.TextAreaPai
[error] AWT-EventQueue-4: nter.getCharWidth(TextAreaPainter.java:879)
[error] AWT-EventQueue-4: at org.gjt.sp.jedit.textarea.TextAreaPainter.setSty le
[error] AWT-EventQueue-4: s(TextAreaPainter.java:218)
[error] AWT-EventQueue-4: at org.gjt.sp.jedit.EditPane.propertiesChanged(Edit Pane.java:455)
[error] AWT-EventQueue-4:
[error] AWT-EventQueue-4: at org.gjt.sp.jedit.EditPane.(EditPane.java:360)
[error] AWT-EventQueue-4: at org.gjt.sp.jedit.View.createEditPane(Vi
[error] AWT-EventQueue-4: ew.java:1547)
[error] AWT-EventQueue-4: at org.gjt.sp.jedit.View.restoreSplitConfig(View.ja va:1393)
[error] AWT-EventQueue-4: at org.gjt.sp.jedit.
[error] AWT-EventQueue-4: View.(View.java:1197)
[error] AWT-EventQueue-4: at org.gjt.sp.jedit.jEdit.newView(jEdit.java:2141)
[error] AWT-EventQueue-4: at org.gjt.sp.j
[error] AWT-EventQueue-4: edit.jEdit.newView(jEdit.java:2117)
[error] AWT-EventQueue-4: at org.gjt.sp.jedit.jEdit.newView(jEdit.java:2097)
[error] AWT-EventQueue-4: at org.
[error] AWT-EventQueue-4: gjt.sp.jedit.jEdit$5.run(jEdit.java:3455)
[error] AWT-EventQueue-4: at java.awt.event.InvocationEvent.dispatch(libgcj.s o.7)
[error] AWT-EventQueue-4: at java.awt.EventQueue.dispatchEvent(libgcj.so.7)
[error] AWT-EventQueue-4: at java.awt.EventDispatchThread.run(libgcj.
[error] AWT-EventQueue-4: so.7)
*** glibc detected *** java: double free or corruption (!prev): 0x080f4968 ***
======= Backtrace: =========
/lib/libc.so.6[0x445f18]
/lib/libc.so.6(__libc_free+0x78)[0x4493ef]
/usr/lib/libglib-2.0.so.0(g_free+0x31)[0xb6b335a1]
/usr/lib/lib-gnu-java-awt-peer-gtk.so.7(Java_gnu_java_awt_peer_gtk_GdkFontPeer_g etGlyphVector+0x3ab)[0xb6c03d3b]
/usr/lib/lib-gnu-java-awt-peer-gtk.so.7(_ZN3gnu4java3awt4peer3gtk11GdkFontPeer14
getGlyphVectorEPN4java4lang6StringEPNS5_3awt4FontEPNS9_4font17FontRenderContextE +0x85)[0xb6bf23c5]
======= Memory map: ========
00001000-00356000 rwxp 00001000 00:00 0
003b8000-003bc000 r-xp 00000000 fd:00 1396206 /usr/lib/libgthread-2.0.so.0.10 00.3
.........................................................................................
............... etc
Aborted
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
java version
by cvicari on Thu, 07/09/2006 - 09:18
From your trace, I suppose that you are not using the Sun's JVM, but gij instead. Try installing this, verify with "java -version" that you're using Sun's one, change the path if necessary.
I also use only one jedit install directory on a FAT32 system, and different preferences file, but I have no problem, jedit automatically tries to create ~/.jedit folder under linux without problems.
settings folders etc.
by magnondamant on Sat, 02/09/2006 - 02:40
Dear khala,

I haven't tried what you are describing, but I do
know that jEdit creates your user files in
"C:\Documents and Settings\[currentUser]\.jedit"
when you install it through/in Win XP.

I imagine it would store your user files in
something like "/usr/[currentUser]/home/.jedit"

That's one of the things I would look into if I
was you. Although personally I's just install
two copies of it, and keep my data on the shared
fat32 partition.

-Magnon Damant
 
I will look into that. Thanks
by khala on Sat, 02/09/2006 - 03:46
I will look into that. Thanks. It is really not a big issue. I just decided it should be pretty easy to do.
 
settings
by Robert Schwenn on Sat, 02/09/2006 - 20:52
The desired settings directory can be specified at the commandline with the swith "-settings=directory_to_use". So it should be possible to use the same settings on both OS's.
But using two different settings directories cannot cause problems - may be it prevents problems related to OS-specific settings.
Jedit creates the settings directory if it does not exist at startup.

Your crash seems to be caused by a gtk-related bug, that depends on locale settings and accented characters, that are to be handled: search the internet for the error string.
Are there any special characters in the programs path or settings path? May be FAT32 was not a really good idea? ...

Robert
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