X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=XiIF2aE39iR1KaEQbL6FMfpS/h/5HMiCUuAW1uE7rR/H/VP8iKnJ/ zwJuKWvMXf+OD43IWhJ6Ns/4GnZwi3NgG6HPvTTlvU14bRhz7vXnk7yrzMFTBI5S NPVA6b4TFWJ0nLsNgG2GNj4aVyDCzAMOBDQPd3znyyc9piqr7DEuMA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=j7npIn5WAr3iq5/kG0ti+78cOws=; b=lfwL3OwCWsRZAeh1gc2JoOYjoeIu h7WvutKiUKhHKTLuV32Ex4ryoZW0OtW0AYoT7C2NbQMl2IGJbQTgwFUB7uf0vt1i 0ac6aSMRyNYHdst0LOSVd7+vmzyYnNo/uXVzLwSFi+jvS3mQgbqMfRwdrfCJ5x40 /mqQRitUiRp9iVc= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_20 autolearn=ham version=3.3.1 Date: Tue, 14 May 2013 18:09:10 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Error writing to /dev/dsp. Message-ID: <20130514160910.GB4314@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) On May 14 17:22, michele.sanges wrote: > Hi all, > I wish report a problem regarding the use of /dev/dsp device. > > My program opens this device, then configures and writes a data > stream in it. > > The write operation is made passing to the write() function a > valid /dev/dsp file descriptor, as returned from the open > function, the buffer data and its lenght. > > With the latest cygwin release (1.7.18-1), the write function > crashes (segmentation fault) or doesn't return at > all. > > With an old version (year 2011) it works without problems. > > Does someone has encountered this behavior? Dunno what you're doing exactly, but this works with Cygwin 1.7.18: $ cat /cygdrive/Windows/media/ding.wav > /dev/dsp Can you provide a minimal, self-contained testcase in plain C, which allows to reproduce the behaviour? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple