From owner-freebsd-questions@freebsd.org Fri Sep 2 13:16:41 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C9F2EBCC34E for ; Fri, 2 Sep 2016 13:16:41 +0000 (UTC) (envelope-from citrin+bsd@citrin.ru) Received: from hz.citrin.ru (hz.citrin.ru [IPv6:2a01:4f8:d16:10c3::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9320513C for ; Fri, 2 Sep 2016 13:16:41 +0000 (UTC) (envelope-from citrin+bsd@citrin.ru) Received: from [192.168.0.144] (c-24-60-168-172.hsd1.ct.comcast.net [24.60.168.172]) (Authenticated sender: citrin@citrin.ru) by hz.citrin.ru (Postfix) with ESMTPSA id DEC02287AE6 for ; Fri, 2 Sep 2016 13:16:37 +0000 (UTC) Subject: Re: Sox play freezes To: freebsd-questions@freebsd.org References: <20160901212935.GA32516@becker.bs.l> <6b692816-c45f-cee0-b44a-812919002075@citrin.ru> <20160902090554.GA38461@becker.bs.l> From: Anton Yuzhaninov Message-ID: <396f8976-ba4d-9715-f587-a2b065a371d3@citrin.ru> Date: Fri, 2 Sep 2016 09:16:31 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160902090554.GA38461@becker.bs.l> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrin.ru; s=s0; t=1472822198; bh=Kx95OTatZan/lytK6rNc7vbqDK9dyFcXZaQ/2oHd0uo=; h=Subject:To:References:From:Message-ID:Date:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=PplbxtyiVnUmcN3FP3uYp0kNPm2w4nwmcEZwz0awyrQcIvPx0gXWO67XlT59hCj8Zfb2pizf7JtXcd1z47aVrft0pfUtamaUtySxo/cEg6wnrqt12Y2jwMmQlLoTE/rwLEOVeX1qQbuo1RWMTaV5hD90+wl3Wr9oVtU+G33vG0E= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Sep 2016 13:16:41 -0000 On 2016-09-02 05:05, Bertram Scharpf wrote: > On Thursday, 01. Sep 2016, 18:21:56 -0400, Anton Yuzhaninov wrote: >> On 2016-09-01 17:29, Bertram Scharpf wrote: >>> my Sox play tool plays the file, then it freezes. The >>> remaining process does not answer on Ctrl-C nor on signal >>> TERM. It only can be removed by signal KILL. >> >> 1. Run >> >> procstat -k PID >> >> for frozen sox play > > bsch@linda ~ % procstat -k 2440 > PID TID COMM TDNAME KSTACK > 2440 100622 sox - mi_switch sleepq_switch sleepq_catch_signals sleepq_timedwait_sig _cv_timedwait_sig_sbt chn_write dsp_io_ops devfs_write_f dofilewrite kern_writev sys_write syscall Xint0x80_syscall > > What does this tell me? It looks like problem with sound driver or hardware problem. Try to write to the freebsd-multimedia@ along with information about sound card (from dmesg and pciconf -vl if device uses PIC). But I'm not sure that developers read this list. >> 3. Try to play the same file with another tool, e. g. audio/wavplay > > Where is 2.? It was about pressing Ctrl+t, but procstat show more information anyway.