|
JJMT
|
|
Post:
Jul 24th 2008 at 6:47 PM |
|
|
Hi -
I have SuSE 11.0 x86_64 installed on a Dell D820 laptop. I've installed tuxguitar from the pacman repository, but it does not run. (I've also downloaded from the tuxguitar site with the same result.)
The app will start up, but then I am unable to do anything. Menu selections do not work. Below is a dump of what I get when running in a terminal. The only thing I try to do below is exit from the file menu.
The "Out of memory!" messages are rather worrisome. ;)
Help? Thanks!
- John
TuxGuitar.sh
configure java-environment ...
configuring TuxGuitar ...
starting TuxGuitar application ...
java virtual machine used: /usr/lib64/jvm/java/bin/java
classpath used: /usr/share/java/TuxGuitar/tuxguitar.jar:/usr/share/java/TuxGuitar/lib/itext-1.4.5.jar:/usr/share/java/TuxGuitar/share/plugins/tuxguitar-oss.jar:/usr/share/java/TuxGuitar/share/plugins/tuxguitar-gtp.jar:/usr/share/java/TuxGuitar/share/plugins/tuxguitar-midi.jar:/usr/share/java/TuxGuitar/share/plugins/tuxguitar-lilypond.jar:/usr/share/java/TuxGuitar/share/plugins/tuxguitar-pdf.jar:/usr/share/java/TuxGuitar/share/plugins/tuxguitar-tray.jar:/usr/share/java/TuxGuitar/share/plugins/tuxguitar-fluidsynth.jar:/usr/share/java/TuxGuitar/share/plugins/tuxguitar-musicxml.jar:/usr/share/java/TuxGuitar/share/plugins/tuxguitar-ascii.jar:/usr/share/java/TuxGuitar/share/plugins/tuxguitar-converter.jar:/usr/share/java/TuxGuitar/share/plugins/tuxguitar-compat.jar:/usr/share/java/TuxGuitar/share/plugins/tuxguitar-tef.jar:/usr/share/java/TuxGuitar/share/plugins/tuxguitar-jsa.jar:/usr/share/java/TuxGuitar/share/plugins/tuxguitar-ptb.jar:/usr/share/java/TuxGuitar/share/plugins/tuxguitar-alsa.jar:/usr/share/java/swt/swt-gtk-3.3.1.1.jar:/usr/share/TuxGuitar
main class used: org.herac.tuxguitar.gui.TGMain
flags used: -Xms128m -Xmx128m
options used: -Djava.library.path=/usr/lib64/swt:/usr/lib64:/usr/lib/swt:/usr/lib
arguments used:
GC Warning: Out of Memory! Returning NIL!
java.lang.OutOfMemoryError
<>
GC Warning: Out of Memory! Returning NIL!
java.lang.OutOfMemoryError
<>
GC Warning: Out of Memory! Returning NIL!
/dev/sequencer: No such file or directory
fluidsynth: warning: Requested a period size of 64, got 940 instead
fluidsynth: warning: Requested 16 periods, got 8 instead
fluidsynth: ALSA driver: Using format s16, rw, interleaved
GC Warning: Out of Memory! Returning NIL!
GC Warning: Out of Memory! Returning NIL!
java.lang.OutOfMemoryError
<>
org.herac.tuxguitar.gui.system.plugins.TGPluginException: Java sound api cannot be loaded
at org.herac.tuxguitar.gui.system.plugins.base.TGMidiPortProviderPlugin.addPlugin(Unknown Source)
at org.herac.tuxguitar.gui.system.plugins.base.TGMidiPortProviderPlugin.setEnabled(Unknown Source)
at org.herac.tuxguitar.gui.system.plugins.base.TGPluginList.setEnabled(Unknown Source)
at org.herac.tuxguitar.gui.system.plugins.TGPluginManager.openPlugins(Unknown Source)
at org.herac.tuxguitar.gui.TuxGuitar.displayGUI(Unknown Source)
at org.herac.tuxguitar.gui.TGMain.main(Unknown Source)
Caused by: org.herac.tuxguitar.player.base.MidiPlayerException: Java sound api cannot be loaded
at org.herac.tuxguitar.player.impl.jsa.midiport.MidiPortProviderImpl.listPorts(Unknown Source)
at org.herac.tuxguitar.player.base.MidiPlayer.addPortProvider(Unknown Source)
at org.herac.tuxguitar.gui.system.plugins.base.TGMidiPortProviderPlugin.addPlugin(Unknown Source)
...5 more
Caused by: java.lang.UnsatisfiedLinkError: init_
at gnu.javax.sound.midi.alsa.AlsaMidiDeviceProvider.init_(libgcj.so.9)
at gnu.javax.sound.midi.alsa.AlsaMidiDeviceProvider.(libgcj.so.9)
at java.lang.Class.initializeClass(libgcj.so.9)
at java.lang.Class.newInstance(libgcj.so.9)
at gnu.classpath.ServiceProviderLoadingAction.run(libgcj.so.9)
at java.security.AccessController.doPrivileged(libgcj.so.9)
at gnu.classpath.ServiceFactory$ServiceIterator.loadNextServiceProvider(libgcj.so.9)
at gnu.classpath.ServiceFactory$ServiceIterator.(libgcj.so.9)
at gnu.classpath.ServiceFactory.lookupProviders(libgcj.so.9)
at javax.sound.midi.MidiSystem.getMidiDeviceInfo(libgcj.so.9)
at org.herac.tuxguitar.player.impl.jsa.midiport.MidiPortProviderImpl.listPorts(Unknown Source)
...7 more
GC Warning: Out of Memory! Returning NIL!
GC Warning: Out of Memory! Returning NIL!
java.lang.OutOfMemoryError
<>
|
|
| Back to Top |
| |
|
Julian
|
|
Post:
Jul 24th 2008 at 7:15 PM |
|
|
Hi,
> I've also downloaded from the tuxguitar site with the same result.
Please paste the error log of that package, because i exactly know how it was builded, and what it include.
>> GC Warning: Out of Memory! Returning NIL!
>> java.lang.OutOfMemoryError
This are strange mesages, because the application didn't startup so how many memory could be used...
Try testing it with Sun-java or OpenJDK ( i didn't tested the application with libgcj8 instead of 9 as you have )
By other hand, maybe any plugin is causing the problem.
try run tuxguitar without plugins, skins, etc:
/usr/lib64/jvm/java/bin/java -cp /usr/share/java/TuxGuitar/tuxguitar.jar:/usr/share/java/swt/swt-gtk-3.3.1.1.jar -Djava.library.path=/usr/lib64/swt:/usr/lib64:/usr/lib/swt:/usr/lib org.herac.tuxguitar.gui.TGMain
Does it work ?
|
|
| Back to Top |
| |
|
Julian
|
|
Post:
Jul 24th 2008 at 7:19 PM |
|
|
|
How many RAM have your PC ?
|
|
| Back to Top |
| |
|
JJMT
|
|
Post:
Jul 24th 2008 at 8:08 PM |
|
|
I tried this:
/usr/lib64/jvm/java/bin/java -cp /usr/share/java/TuxGuitar/tuxguitar.jar:/usr/share/java/swt/swt-gtk-3.3.1.1.jar -Djava.library.path=/usr/lib64/swt:/usr/lib64:/usr/lib/swt:/usr/lib org.herac.tuxguitar.gui.TGMain
and got this:
/usr/lib64/jvm/java/bin/java -cp /usr/share/java/TuxGuitar/tuxguitar.jar:/usr/share/java/swt/swt-gtk-3.3.1.1.jar -Djava.library.path=/usr/lib64/swt:/usr/lib64:/usr/lib/swt:/usr/lib org.herac.tuxguitar.gui.TGMain
GC Warning: Repeated allocation of very large block (appr. size 262144000):
May lead to memory leak and poor performance.
GC Warning: Out of Memory! Returning NIL!
^C
Actually, this was a spectacular failure, as it brought the entire system to a standstill, using all available RAM and swap!
In answer to your other question, I have 2Gb RAM and 2Gb swap.
|
|
| Back to Top |
| |
|
Julian
|
|
Post:
Jul 24th 2008 at 8:37 PM |
|
|
So it can't be a RAM problem. i have 500 MG :)
I think it's a GCJ bug (just add "GC Warning: Out of Memory! Returning NIL!" to google to see how many people have same problem with different applications)
So i suggest you try with a Sun JVM or OpenJDK.
or why not, download the "ExcelsiorJet" package, what have already included a native JVM
|
|
| Back to Top |
| |
|
JJMT
|
|
Post:
Jul 24th 2008 at 8:41 PM |
|
|
OK. This is what the package downloaded from the tuxguitar site gives. I hope this is what you were looking for - I couldn't find an error log (where to look?)
./tuxguitar
GC Warning: Out of Memory! Returning NIL!
GC Warning: Out of Memory! Returning NIL!
java.lang.OutOfMemoryError
<>
GC Warning: Out of Memory! Returning NIL!
GC Warning: Out of Memory! Returning NIL!
java.lang.OutOfMemoryError
<>
GC Warning: Out of Memory! Returning NIL!
java.lang.OutOfMemoryError
<>
org.herac.tuxguitar.gui.system.plugins.TGPluginException: Java sound api cannot be loaded
at org.herac.tuxguitar.gui.system.plugins.base.TGMidiPortProviderPlugin.addPlugin(Unknown Source)
at org.herac.tuxguitar.gui.system.plugins.base.TGMidiPortProviderPlugin.setEnabled(Unknown Source)
at org.herac.tuxguitar.gui.system.plugins.base.TGPluginList.setEnabled(Unknown Source)
at org.herac.tuxguitar.gui.system.plugins.TGPluginManager.openPlugins(Unknown Source)
at org.herac.tuxguitar.gui.TuxGuitar.displayGUI(Unknown Source)
at org.herac.tuxguitar.gui.TGMain.main(Unknown Source)
Caused by: org.herac.tuxguitar.player.base.MidiPlayerException: Java sound api cannot be loaded
at org.herac.tuxguitar.player.impl.jsa.midiport.MidiPortProviderImpl.listPorts(Unknown Source)
at org.herac.tuxguitar.player.base.MidiPlayer.addPortProvider(Unknown Source)
at org.herac.tuxguitar.gui.system.plugins.base.TGMidiPortProviderPlugin.addPlugin(Unknown Source)
...5 more
Caused by: java.lang.UnsatisfiedLinkError: init_
at gnu.javax.sound.midi.alsa.AlsaMidiDeviceProvider.init_(libgcj.so.9)
at gnu.javax.sound.midi.alsa.AlsaMidiDeviceProvider.(libgcj.so.9)
at java.lang.Class.initializeClass(libgcj.so.9)
at java.lang.Class.newInstance(libgcj.so.9)
at gnu.classpath.ServiceProviderLoadingAction.run(libgcj.so.9)
at java.security.AccessController.doPrivileged(libgcj.so.9)
at gnu.classpath.ServiceFactory$ServiceIterator.loadNextServiceProvider(libgcj.so.9)
at gnu.classpath.ServiceFactory$ServiceIterator.(libgcj.so.9)
at gnu.classpath.ServiceFactory.lookupProviders(libgcj.so.9)
at javax.sound.midi.MidiSystem.getMidiDeviceInfo(libgcj.so.9)
at org.herac.tuxguitar.player.impl.jsa.midiport.MidiPortProviderImpl.listPorts(Unknown Source)
...7 more
GC Warning: Out of Memory! Returning NIL!
GC Warning: Out of Memory! Returning NIL!
java.lang.OutOfMemoryError
<>
^C
|
|
| Back to Top |
| |
|
Julian
|
|
Post:
Jul 24th 2008 at 8:48 PM |
|
|
It seems we posted at same time.. see my previous post and forget about what i told about "exelsior-jet", because it's not available for your arch :).
it should be a GCJ bug..
|
|
| Back to Top |
| |
|
JJMT
|
|
Post:
Jul 24th 2008 at 8:51 PM |
|
|
The Excelsior Jet package yields this:
./tuxguitar
Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-gtk-3448 or swt-gtk in swt.library.path, java.library.path or the jar file
at java.lang.Void.(Unknown Source)
at java.lang.Void.(Unknown Source)
at java.lang.Void.(Unknown Source)
at java.lang.Void.(Unknown Source)
|
|
| Back to Top |
| |
|
Julian
|
|
Post:
Jul 24th 2008 at 8:54 PM |
|
|
|
Yes, that's why i told you forgot about it on my last post :) it's builded for x86
|
|
| Back to Top |
| |
|
JJMT
|
|
Post:
Jul 24th 2008 at 9:40 PM |
|
|
OK. I think this is resolved. I had both java 5 and 6 installed, so I was trying to discern whether it would work with one but not the other, when I noticed that I did not have the -devel packages installed (e.g. java-1_6_0-sun-devel). Installing that fixed the problem.
Go figure. I guess it's just a weird SuSE thing. Thanks for your help!
|
|
| Back to Top |
| |
|
Julian
|
|
Post:
Jul 24th 2008 at 9:55 PM |
|
|
That is maybe because how tuxguitar script on suse was maded.
devel packages are not needed to run tuxguitar (they are to develop).
but the script does something to detect "java" command.
and for any reason, it depends on devel packages...
This line, used on your log:
/usr/lib64/jvm/java/bin/java
is the java command, what is from GCJ ( i know because on your log there are some (libgcj.so.9) texts )
That GCJ seems buggy.
but, you can have more JVMs installed on your system.
the only what you needed, is tell tuxguitar "where is the best java"
On files what we provide you can do:
export JAVA=/where_is_java_command
Or,
export JAVA_HOME=/where_is_java_installed
then the script read that vars, and use that version.
but ofcourse i don't have idea if the suse script have that options.
|
|
| Back to Top |
| |
|
cheap watch
|
|