[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Denemo-devel] Denemo hangs on quit when device is in use

From: Dominic Sacré
Subject: Re: [Denemo-devel] Denemo hangs on quit when device is in use
Date: Fri, 18 May 2012 02:27:51 +0200
User-agent: KMail/1.13.5 (Linux/2.6.32-41-generic; KDE/4.4.5; i686; ; )

Hi Andreas,

On Thursday 17 May 2012 17:41:26 Andreas Schneider wrote:
> you can hang Denemo (0.9.4rc4) the following way:
> * start a music player which uses the playback devive (e.g. xmms)
> * start playback in the music player
> * start Denemo
> * quit Denemo
> the program hangs; console output:
> destroying PortMidi backend
> PortMidi found host error...
>   Kein passendes Gerät bzw. keine passende Adresse gefunden
> type ENTER...
> Hitting enter does not revive the process, you have to kill it (or do
> fg and hit Ctrl-C).

Thanks for reporting this.

Ugh... The "type ENTER" message comes from PortMidi, not from Denemo 
itself. Instead of letting us handle (or ignore) the error, PortMidi waits 
for user input, which really is a terrible thing for a library to do.
This "feature" can be disabled when building PortMidi, but apparently 
distributions don't do that.

Of course, another question is why the error occurs in the first place. 
Which MIDI input/output devices did you configure Denemo to use? Which 
audio subsystem (ALSA, OSS, PulseAudio, ...) do your music player and 
Denemo use?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]