Comment 5 for bug 154892

Revision history for this message
TJ (tj) wrote :

kmid uses the MidPlayer component of kdelibs to load and play midi files. In kmidclient.cpp kmidClient::slotPlay() does:

if ((m_kMid.pid=fork())==0)
{
    player->play(0,(void (*)(void))kmidOutput);
    _exit(0);
}
m_kMid.pctl->millisecsPlayed=0;

which calls kdelib's libkmid/player.cc MidiPlayer::play() in a child process.

It looks as if that child process is the root cause of the problem. I've currently got a kdelib/libkmid debug version building. Hopefully I can learn more from that.