Description of problem: Tuxguitar doesn't launch on i586 with java-jdk or java-sun (tested in a vm) and recovered by several user $ java -version java version "1.6.0_22" OpenJDK Runtime Environment (IcedTea6 1.10) (mageia-14.b22.5.mga1-i386) OpenJDK Server VM (build 20.0-b10, mixed mode) $ tuxguitar /usr/bin/tuxguitar: ligne14: /bin/rpm: Permission non accordée # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00000000, pid=10943, tid=3062569840 # # JRE version: 6.0_22-b22 # Java VM: OpenJDK Server VM (20.0-b10 mixed mode linux-x86 ) # Derivative: IcedTea6 1.10 # Distribution: Mageia 1, package mageia-14.b22.5.mga1-i386 # Problematic frame: # C 0x00000000 â splashscreen, then nothing Version-Release number of selected component (if applicable): tuxguitar-1.2-6.mga1.i586.rpm How reproducible: every times with jdk or sun jvm on i586 Steps to Reproduce: 1.install tuxguitar on i586 2.launch tuxguitar 3.see the bug I have found a related bug by fedora: https://bugzilla.redhat.com/show_bug.cgi?id=661562 Thanks, and sorry for my bad English :/
Users have discovered, that it work is with the GNU/Linux-x86 Installer take from http://tuxguitar.herac.com.ar/download.html http://sourceforge.net/projects/tuxguitar/files/TuxGuitar/TuxGuitar-1.2/tuxguitar-1.2-linux-x86-installer.run/download http://translate.googleusercontent.com/translate_c?hl=fr&ie=UTF8&prev=_t&rurl=translate.google.fr&sl=fr&tl=en&twu=1&u=http://www.mageialinux-online.org/forum/topic-10397-3%2Btuxguitar-ne-demarre-pas.php%23m106039&usg=ALkJrhiY2fXIN2OtN2ijEbZ5M5vg-Up7Rg
See Also: (none) => https://bugzilla.redhat.com/show_bug.cgi?id=661562
I've seen this one before on Mdv.. Crash is caused by Tuxguitar's ALSA-plugin and you can temporarily work-around it by disabling it. Add the following line to file ~/.tuxguitar-1.2/plugin.properties: org.herac.tuxguitar.player.impl.midiport.alsa.MidiOutputPortProviderPlugin.enabled=false
CC: (none) => jani.valimaa
Yes it's works with the line in .tuxguitar-1.2/plugin.properties (tested in my VM) Thanks, for now :)
This is the text of the ABRT activity caused by trying to launch tuxguitar in Mageia 1: Package: java-1.6.0-openjdk-0:1.6.0.0-14.b22.5.mga1 Latest Crash: Thu 07 Jul 2011 08:03:05 PM Command: /usr/bin/java -Xmx512m -cp ::/usr/share/tuxguitar/tuxguitar.jar:/usr/lib/eclipse/swt.jar:/usr/share/java/itext.jar:/usr/share/tuxguitar/ -Dtuxguitar.share.path=/usr/share/tuxguitar/ -Djava.library.path=/usr/lib/tuxguitar/:/lib:/usr/lib:/usr/lib/jni:/usr/local/lib:/usr/lib/xulrunner-2.0.1 org.herac.tuxguitar.gui.TGMain '' '' /usr/share/tuxguitar/tuxguitar.tg Reason: Process /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/bin/java was killed by signal 6 (SIGABRT) Comment: None Bug Reports: Just this one to show how it presents itself on my machine.
CC: (none) => kmmos1
I have started on my laptop with this file from the sourceforge.net web-site: tuxguitar-1.2-linux-x86.tar.gz It works with no problems
CC: (none) => eus.pini
I tested on my laptop and tuxguitar still doesn't start (I added the recommended line into plugin.properties). I am still stuck in the splashscreen. I tested this with java sun and java openjdk, with or without jack started. YC
CC: (none) => ycollette.nospam
with which program you has started/tested? Ciao
I tested with the mageia rpm package via command line. I also installed a binary package from the tuxguitar website and this binary package worked fine. The only problem I've got is that I don't have the fluid synth plugin in tuxguitar. I will test to start tuxguitar after removing openjdk and installing sun jdk instead. I will also test to start tuxguitar after disabling pulseaudio. YC
Did you try with my alternative? sourceforge.net web-site: tuxguitar-1.2-linux-x86.tar.gz Ciao
Yes, it works, but I really need the fluidsynth plugin and the jack plugin. And a working rpm package is better than a binary package :-) YC
OK, I will install the binary package. I removed openjdk, I disabled pulseaudio and tuxguitar still hangs. YC
(In reply to comment #2) > Add the following line to file ~/.tuxguitar-1.2/plugin.properties: > org.herac.tuxguitar.player.impl.midiport.alsa.MidiOutputPortProviderPlugin.enabled=false This workaround has worked for me...
CC: (none) => lists.jjorge
Assigning to maintainer now that our maintainers database has an entry for this package. Please assign back to bugsquad@mageia.org in case of a mistake from me.
CC: (none) => stormiAssignee: bugsquad => lists.jjorge
*** Bug 3479 has been marked as a duplicate of this bug. ***
CC: (none) => jkopkiewicz
Bug confirmed. As I have various things depending on the ALSA plugin, I would rather have it fixed. Not a maintainer though.
CC: (none) => oktain
I applied a Mandriva patch that seems to fix that on tuxguitar-1.2-6.1.mga1 . Please test it from updates_testing.
Status: NEW => ASSIGNED
Assignee: lists.jjorge => qa-bugs
Actually it's not fixing the problem, it only disables the ALSA plugin by default. BTW, I made this change to mdv pkg as well as to cauldron pkg. It seems that I made it first to mdv pkg, so I guess we can say the change is from mdv. :)
(In reply to comment #17) > Actually it's not fixing the problem, it only disables the ALSA plugin by > default. > I mean, the real problem is still there. This is only a workaround.
x86_64 Reportedly not affected so just checking for regressions. The following 5 packages are going to be installed: - bouncycastle-1.45-5.mga1.noarch - bouncycastle-mail-1.45-3.mga1.noarch - bouncycastle-tsp-1.45-3.mga1.noarch - itext-2.1.7-4.mga1.noarch - tuxguitar-1.2-6.mga1.x86_64 Downloaded Nirvana - Smells Like Teen Spirit TuxGuitar tablature from http://community.tuxguitar.com.ar/file/4633/Nirvana+-+Smells+Like+Teen+Spirit/ Opened in tuxguitar and played it through. It doesn't sound like I remember it :D Used Save As to create a save and loaded the save back in. Created a new bar or two and save and reloaded. Ok. Updated to update candidate and followed same procedure. Not sure how to use it beyond the basics. Testing complete x86_64
i586 Before ------ The following 4 packages are going to be installed: - eclipse-swt-3.6.2-12.mga1.i586 - libxulrunner9.0.1-9.0.1-0.2.mga1.i586 - tuxguitar-1.2-6.mga1.i586 - xulrunner-9.0.1-0.2.mga1.i586 $ tuxguitar # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x8ea228de, pid=31012, tid=3065322352 # # JRE version: 6.0_22-b22 # Java VM: OpenJDK Client VM (20.0-b11 mixed mode linux-x86 ) # Derivative: IcedTea6 1.10.4 # Distribution: Mageia 1, package fedora-24.b22.6.1.mga1-i386 # Problematic frame: # C 0x8ea228de # # An error report file with more information is saved as: # /tmp/hs_err_pid31012.log # # If you would like to submit a bug report, please include # instructions how to reproduce the bug and visit: # http://icedtea.classpath.org/bugzilla # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # /usr/bin/tuxguitar: line 38: 31012 Aborted ${JAVA} ${VM_ARGS} -cp :${CLASSPATH} -Dtuxguitar.share.path="/usr/share/tuxguitar/" -Djava.library.path="${LD_LIBRARY_PATH}" ${MAINCLASS} "$1" "$2" "$arg" After ----- The following package is going to be installed: - tuxguitar-1.2-6.1.mga1.i586 Downloaded the nirvana templature as before but when I click to play it I get a message that the Jack server is not running and related errors in the console. $ tuxguitar Cannot connect to server socket err = No such file or directory Cannot connect to server socket jack server is not running or cannot be started Cannot connect to server socket err = No such file or directory Cannot connect to server socket jack server is not running or cannot be started org.herac.tuxguitar.player.base.MidiPlayerException: Jack server not running? at org.herac.tuxguitar.player.base.MidiPlayer.play(MidiPlayer.java:232) at org.herac.tuxguitar.gui.transport.TGTransport.play(TGTransport.java:430) at org.herac.tuxguitar.gui.actions.transport.TransportPlayAction.execute(TransportPlayAction.java:26) at org.herac.tuxguitar.gui.actions.Action$1.run(Action.java:76) at org.herac.tuxguitar.util.TGSynchronizer$TGSynchronizerTask.run(TGSynchronizer.java:58) at org.herac.tuxguitar.gui.TuxGuitar$1$2.run(TuxGuitar.java:180) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3515) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3164) at org.herac.tuxguitar.gui.TuxGuitar.displayGUI(TuxGuitar.java:228) at org.herac.tuxguitar.gui.TGMain.main(TGMain.java:6) Caused by: org.herac.tuxguitar.player.base.MidiPlayerException: Jack server not running? at org.herac.tuxguitar.jack.synthesizer.JackOutputPort.check(JackOutputPort.java:44) at org.herac.tuxguitar.player.base.MidiPlayer.checkDevices(MidiPlayer.java:288) at org.herac.tuxguitar.player.base.MidiPlayer.play(MidiPlayer.java:171) ... 11 more
If I change to Gervill midi port in tools=>settings=>sound it works as it should. Should Jack be required?
(In reply to comment #21) > If I change to Gervill midi port in tools=>settings=>sound it works as it > should. > > Should Jack be required? I don't think so : I use it without jack.
The default behaviour is to use jack which produces the error message. We should probably either change the default behaviour to use Gervill which appears to be part of the package or provide a working jack. gervill would probably be better. I'm not sure why I never saw the error on x86_64, I'll install it again and see how it is set up.
On my x86_64 it is already set to use gervill. Could this be a result of the workaround for i586?
I wonder if the default only affects new installs. If you delete the ~/.tuxguitar-1.2 directory does it work? I installed it from Core updates Testing, without having installed the previous version, and it's working fine on my i586 system.
CC: (none) => davidwhodgins
Hello, tuxguitar works without issue here (x86_64), with Gervil, Timidity
I removed tuxguitar and removed ~/.tuxguitar-1.2 I installed the Release version and tried to start it, which it wouldn't. I then updated to the Testing version and started. When I try to play the Nirvana templature I get a message about Jack not running.
(In reply to comment #27) > When I try to play the Nirvana templature I get a message about Jack not > running. I can reproduce this problem, solved going to the preferences and selecting Gervill. While I could search for something better, I suggest we push this update, as it allows to use tuxguitar without editing a text file. On x86_64, Gervill output is the default...
Update validated. Bug 4195 created regarding the jack server and assigned to you Jose Advisory --------------------- Users with i586 installations were unable to start Tuxguitar. This update provides a fix. These users may currently need to manually select Gervill midi sequencer in the preferences if they receive errors about the Jack server not running. Tools => Settings => Sound => Select Gervill as Midi Sequencer Please see: https://bugs.mageia.org/show_bug.cgi?id=4195 ---------------------- SRPM: tuxguitar-1.2-6.1.mga1.src.rpm Could sysadmin please push from core/updates_testing to core/updates Thankyou!
Keywords: (none) => validated_updateCC: (none) => sysadmin-bugs
update pushed
Status: ASSIGNED => RESOLVEDCC: (none) => tmbResolution: (none) => FIXED
Always crashing here with latest update. I've tracked down the SIGSEGV to a call to fluid_settings_getstr in the fluidsynth jni, but don't see any problem. Given that the binary from the official site (same code) works flawlessly, i've focus on the compilation : bingo. Adding "-O0" to jni's make options in tuxguitar.spec solve all problem here (mga1 i586 openjdk) : ## for jni in $JNIS; do %{make} -C TuxGuitar-$jni/jni CFLAGS="%{optflags} \ -I%{_jvmdir}/java-openjdk/include \ -I%{_jvmdir}/java-openjdk/include/linux \ -fPIC -O0" ^^^ ## Tested with tuxguitar-1.2-6.1.mga1.src.rpm and tuxguitar-1.2-7.mga2.src.rpm : all jnis works (alsa jack oss fluidsynth), no crash on startup or plugin config. However, the startup messages (Bug 4195) is still here. -O1 don't solve the problem. I've tried -O0 + all standard -fblah triggered by -O1 set, it also works (but add a huge line in the spec), so the problem seem to be related to some optimization mechanics far from my hands... The jnis are mostly glue code, -O0 don't hurt performance badly (nothing noticeable here), so i think this could be set by default in the spec.
CC: (none) => yann.cantin
(In reply to comment #31) > Always crashing here with latest update. >... > The jnis are mostly glue code, -O0 don't hurt performance badly (nothing > noticeable here), so i think this could be set by default in the spec. Thank you for the report. So I will submit tuxguitar-1.2-6.2.mga1 to updates_testing ASAP. Advisory --------------------- Some users experience a crash while starting Tuxguitar. This update provides a fix.
Status: RESOLVED => REOPENEDResolution: FIXED => (none)
José, a new bug report would be easier for the QA.
Keywords: validated_update => (none)CC: sysadmin-bugs => (none)
Well, as previous fix worked for everybody, this fix is only targetted at Yann Cantin. Yann, please ensure tuxguitar-1.2-6.2.mga1 in updates_testing works for you. QA, please wait for Yann's answer.
It didn't work for me, so it is probably a more widespread issue.
(In reply to comment #35) > It didn't work for me, so it is probably a more widespread issue. Ok, but did the updates_testing version work for you?
Configurations tested : - fluidsynth plugin (using pulseaudio driver) - fluidsynth plugin (using alsa driver) - jack plugin + fluidsynth (server process) All works flawlessly, no freeze/crash at startup or plugin's config dialog.
Testing complete on i586 for the srpm tuxguitar-1.2-7.1.mga1.src.rpm I can't reproduce the crash, both the old and new versions are working fine here.
Did you try all the plugins ? The previous fix disable the problematic ones.
Forgot : try starting with an empty conf ( no ~/.tuxguitar-1.2/ ).
(In reply to comment #40) > Forgot : try starting with an empty conf ( no ~/.tuxguitar-1.2/ ). Thanks Yann. So we only need someone with x86_64 install to test no regression appears.
Works fine in i586 on 1.2-6.2, as it didn't work before. Alsa and Fluidsynth work fine.
ok on x86_64 Suggested Advisory: ------------- Some users experience a crash while starting Tuxguitar. This update provides a fix. https://bugs.mageia.org/show_bug.cgi?id=1760 ------------- SRPM: tuxguitar-1.2-6.2.mga1.src.rpm Could sysadmin please push from core/updates_testing to core/updates Thankyou!
Keywords: (none) => validated_updateCC: (none) => sysadmin-bugsHardware: i586 => All
CC: jani.valimaa => (none)
Update pused: https://wiki.mageia.org/en/Support/Advisories/MGAA-2012-0021-1
Status: REOPENED => RESOLVEDResolution: (none) => FIXED