Bug 510063 - Tritonus crashes OpenJDK when using ALSA MIDI
Summary: Tritonus crashes OpenJDK when using ALSA MIDI
Alias: None
Product: Fedora
Classification: Fedora
Component: tritonus
Version: 11
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Orcan Ogetbil
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2009-07-07 15:30 UTC by Mikhail Kryshen
Modified: 2009-07-16 07:01 UTC (History)
1 user (show)

Fixed In Version: 0.3.7-0.4.20090419cvs.fc10
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2009-07-16 06:54:58 UTC

Attachments (Terms of Use)
OpenJDK crash log (22.14 KB, text/plain)
2009-07-07 15:30 UTC, Mikhail Kryshen
no flags Details

Description Mikhail Kryshen 2009-07-07 15:30:37 UTC
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) {

Version-Release number of selected component (if applicable):
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:

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]

Comment 1 Orcan Ogetbil 2009-07-07 20:52:10 UTC
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.

Comment 2 Orcan Ogetbil 2009-07-07 23:16:03 UTC
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
You can upgrade directly.


Comment 3 Mikhail Kryshen 2009-07-08 00:41:29 UTC
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.

Comment 4 Fedora Update System 2009-07-08 08:37:21 UTC
tritonus-0.3.7-0.4.20090419cvs.fc9 has been submitted as an update for Fedora 9.

Comment 5 Fedora Update System 2009-07-08 08:38:31 UTC
tritonus-0.3.7-0.4.20090419cvs.fc10 has been submitted as an update for Fedora 10.

Comment 6 Fedora Update System 2009-07-08 08:40:21 UTC
tritonus-0.3.7-0.4.20090419cvs.fc11 has been submitted as an update for Fedora 11.

Comment 7 Fedora Update System 2009-07-16 06:54:53 UTC
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.

Comment 8 Fedora Update System 2009-07-16 07:01:46 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.