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:to:from:subject:date:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=Ey2 JdAfXEx6TcJxxDKGFlDYcl6hjJ03VoO+9Q4+hchvYrQJEs8+p0L4/COxpjz5gKcg 6ikF5/BuWeeikKbqIZdzW2SAMd/GB6sW/OoA/Uxes/Z4fFSqidrhF1h9j8Ouq9V+ DzZtq1AcRO1tAW85aipxznmhpLGomoxZC3VA9VFI= 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:to:from:subject:date:message-id:mime-version :content-type:content-transfer-encoding; s=default; bh=7on6Jp/z7 wqPrsZiTcEAdBQ2Wic=; b=sJTDTgZI03vYLkqzKECUYJzDNIL8rmaWq+dFA8TZe iPm8lNkHT3ouNDyPgDUt99kh8OU9glf8MLlgPXvupqgeZyV9hWANhJouki17v16u +gm0DkufP53oteb3OwjXLZLCSMcRErPHkqBfBtH6aaM+lIc/UUj9LWrXeksSDGb7 Jg= 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.8 required=5.0 tests=BAYES_00,FREEMAIL_FROM,FSL_HELO_BARE_IP_2,RCVD_IN_DNSWL_NONE,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.1 To: cygwin AT cygwin DOT com From: "michele.sanges" Subject: Error writing to /dev/dsp. Date: Tue, 14 May 2013 17:22:31 +0200 (CEST) Lines: 28 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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? Within the cygwin 1.7.11-1 revision log I can read that it resolves a write problem to the /dev/dsp device. Can be the same problem I reported? Thanks. -- -- 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