GNOME Bugzilla – Bug 561678
gstreamer crashes when playing multiple mid files at the same time when using wildmidi plugin.
Last modified: 2010-07-08 01:17:15 UTC
Operating system: Ubuntu 8.04 I'm developing an application based on gstreamer, which may play multiple mid files at the same time. But when using wildmidi plugin, gstreamer always crashes. Following is the backtrace:
+ Trace 210046
Created attachment 123107 [details] Test program to reproduce this issue.
Created attachment 123108 [details] test midi file.
This is a bug in wildmidi as it doesn't support playback of more than one file at the same time in the same process (yet) :(
hmm, for me this works just fine. gst-launch-0.10 playbin2 uri=file://$PWD/Depeche_Mode_-_Everything_Counts.mid playbin2 uri=file://$PWD/Depeche_Mode_-_Enjoy_the_Silence.mid same for playbin.
Hello, I have talked to the maintainer of wildmidi and it seems the problem is solved on the newer version (0.2.3.1). There were some API breaks on this version, so a few lines had to be changed on the plugin. I proposed a patch for porting gstreamer's plugin to the new version: https://bugzilla.gnome.org/show_bug.cgi?id=623722 I have tested the following pipeline: gst-launch playbin2 uri="file:///$pwd/file1.midi" playbin2 uri="file:///$pwd/file2.midi" and from my tests I can confirm 0.2.2 gives a segmentation fault and 0.2.3.1 doesn't, thus playing both streams simultaneously.
The problem with 0.2.3 is that it changed the license from LGPL2 to GPL3 :/ I had already sent an email to the author but got no reply, although I can good interaction with him before. Please others talk to him as well.
Only the player is GPLv3, the library is LGPLv3 (and the docs are CC Attribution Share Alike Non-Commercial 3.0). No problem here
As developer of WildMIDI, I can confirm that as stated in the source files, the library is LGPLv3. The manpages are now CC Attribution Share Alike 3.0 as the non-commercial license created issues with different linux dists. Latest version is 0.2.3.2.