media-sound/fmdrv -- fmdrv plays MIDI files. It has a built-in userland OPL2 driver, so it can be used in OSS-less/ALSAless systems that have a Soundblaster card. It also supports /dev/sequencer (tested with SB AWE32). Interface: terminal, no full screen. -- Homepage: http://bisqwit.iki.fi/source/fmdrv.html
Created attachment 17510 [details] The ebuild file of fmdrv.
Since you're the package's developer I'll just keep the bug report here rather than emailing you directly... I was testing out this package for inclusion in portage, and I get segfaults when I try running it... $ fmdrv Final\ Fantasy\ 7\ -\ Aerith\'s\ Theme.mid fmdrv: Output filename was not specified, playing the input file. Segmentation fault $ fmdrv -v Final\ Fantasy\ 7\ -\ Aerith\'s\ Theme.mid fmdrv: Output filename was not specified, playing the input file. Segmentation fault $ fmdrv -m1 Final\ Fantasy\ 7\ -\ Aerith\'s\ Theme.mid ##Plays, but incorrect speed. $ qpkg -I -v timidity++ media-sound/timidity++-2.13.0_rc1 * $ lsmod | grep snd snd-pcm-oss 39012 0 snd-mixer-oss 13392 0 [snd-pcm-oss] snd-seq-midi 3776 1 (autoclean) snd-ens1371 13792 7 (autoclean) snd-pcm 65892 3 (autoclean) [snd-pcm-oss snd-ens1371] snd-page-alloc 6612 0 (autoclean) [snd-pcm] snd-rawmidi 14176 0 (autoclean) [snd-seq-midi snd-ens1371] gameport 1692 0 (autoclean) [snd-ens1371] snd-ac97-codec 48460 0 (autoclean) [snd-ens1371] snd-seq-oss 27360 0 snd-seq-midi-event 3776 0 [snd-seq-midi snd-seq-oss] snd-seq 40208 4 [snd-seq-midi snd-seq-oss snd-seq-midi-event] snd-timer 15524 0 [snd-pcm snd-seq] snd-seq-device 4176 0 [snd-seq-midi snd-rawmidi snd-seq-oss snd-seq] snd 34692 5 [snd-pcm-oss snd-mixer-oss snd-seq-midi snd-ens1371 snd-pcm snd-rawmidi snd-ac97-codec snd-seq-oss snd-seq-midi-event snd-seq snd-timer snd-seq-device] soundcore 4228 8 [snd] alsa-XXXX-1.0.3
Joel, we're you're going to have to provide information here, otherwise I can't include your package.
Seems like bugzilla didn't accept my comment when I sent it as a reply to the email I got, keeping subject intact. So. On Sat, 6 Mar 2004 bugzilla-daemon@gentoo.org wrote: > $ fmdrv Final\ Fantasy\ 7\ -\ Aerith\'s\ Theme.mid > fmdrv: Output filename was not specified, playing the input file. > Segmentation fault > > $ fmdrv -v Final\ Fantasy\ 7\ -\ Aerith\'s\ Theme.mid > fmdrv: Output filename was not specified, playing the input file. > Segmentation fault Segmentation fault comes because it attempts to use OPL2 with I/O access. It works as root. This is mentioned in the documentation: - No OPL2 support if your installation was non-SUID With -m it uses an OSS midi device. > $ fmdrv -m1 Final\ Fantasy\ 7\ -\ Aerith\'s\ Theme.mid > ##Plays, but incorrect speed. This, too, is mentioned at the documentation: - Too fast playing if your kernel has some other HZ than 100.
Ok, well that segfault has to be handled gracefully, and you need to fix the timing issue before it will be included in portage.
The mentioned problems (segmentation fault without warning and inaccurate speed code) should be fixed now. Rename the ebuild file as fmdrv-1.0.7.ebuild.
in portage. thanks.