Created attachment 350822 [details] OpenJDK crash log Description of problem: When Java application tries to list available MIDI devices (MidiSystem.getMidiDeviceInfo()) while having tritonus_alsa in the classpath OpenJDK crashes. See the attached log. Test Java code: import javax.sound.midi.*; import java.util.*; public class MidiTest1 { public static void main(String[] args) { System.out.println(Arrays.toString(MidiSystem.getMidiDeviceInfo())); } } Version-Release number of selected component (if applicable): tritonus-0.3.7-0.3.20090419cvs.fc11.x86_64 java version "1.6.0_0" OpenJDK Runtime Environment (IcedTea6 1.5) (fedora-22.b16.fc11-x86_64) OpenJDK 64-Bit Server VM (build 14.0-b15, mixed mode) How reproducible: Always Steps to Reproduce: 1. Compile the test java program 2. Run java -cp .:/usr/lib64/tritonus/tritonus_core.jar:/usr/lib64/tritonus/tritonus_share.jar:/usr/lib64/tritonus/tritonus_alsa.jar:/usr/lib64/tritonus/tritonus_aos.jar MidiTest1 3. OpenJDK crashes. Actual results: OpenJDK crashes. Expected results: List of the available MIDI devices, including ALSA devices. Additional info: Without tritonus the same application outputs [Gervill, Real Time Sequencer]
Thanks for the report. I verified the crash. It doesn't look like this is a packaging bug. It is a bug in the software itself and there is not much I can do as I'm not a tritonus developer. Did you report this upstream? I'll be happy to apply a patch if you can find or write one.
We tried to make a quick fix. I'm not sure if it is the best one. Could you try this scratch build from koji http://koji.fedoraproject.org/koji/taskinfo?taskID=1460556 You can upgrade directly. Thanks!
The new build works for me: I tried to list midi devices and send midi commands from java. Thank you! I haven't reported this bug upstream. Tritonus bug tracker at sourceforge looks abandoned.
tritonus-0.3.7-0.4.20090419cvs.fc9 has been submitted as an update for Fedora 9. http://admin.fedoraproject.org/updates/tritonus-0.3.7-0.4.20090419cvs.fc9
tritonus-0.3.7-0.4.20090419cvs.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/tritonus-0.3.7-0.4.20090419cvs.fc10
tritonus-0.3.7-0.4.20090419cvs.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/tritonus-0.3.7-0.4.20090419cvs.fc11
tritonus-0.3.7-0.4.20090419cvs.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.
tritonus-0.3.7-0.4.20090419cvs.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.