PLAYMIDI: it suddenly segfaults?

PLAYMIDI: it suddenly segfaults?

Post by Bo » Fri, 31 Jan 1997 04:00:00

        I have been using playmidi a couple of times
and all of a sudden it gives me segmaentation faults
when I run it like "playmidi -rf <file>". The output
of strace looks like:

open("/dev/sequencer", O_WRONLY)        = 3
ioctl(3, 0x8004510a, 0x801b05c)         = 0
ioctl(3, 0xc08c5102, 0x8019e90)         = 0
getpid()                                = 4901
open("/dev/sequencer", O_RDONLY)        = -1 ENOENT (No such file or directory)
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

Does this make sense? Maybe the problem is that it tries to open
/dev/sequencer for reading without closing it for writing first?

Here's the ls -l on /dev/sequencer:
crw-rw-rw- 1 root root 14,   1 Aug 22 23:06 /dev/sequencer

When I invoke it as "playmidi -f <file>" it doesn't segfault and
runs fine but WITHOUT producing sound. So, you see all the notes
being played and all that, but you don;t hear anything.

It used to work properly though. Idea's anyone?


                "Heisenberg may have been here".