From owner-freebsd-usb@freebsd.org Tue Oct 11 11:35:24 2016 Return-Path: Delivered-To: freebsd-usb@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 749FCC0D75E for ; Tue, 11 Oct 2016 11:35:24 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3BAE71FB for ; Tue, 11 Oct 2016 11:35:24 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 7ACC11FE022; Tue, 11 Oct 2016 13:35:22 +0200 (CEST) Subject: Re: snd_uaudio multichannel problems To: =?UTF-8?Q?Goran_Meki=c4=87?= References: <20161010173118.4lff7phfx2zqm6wz@hal9000.meka.no-ip.org> <660971d2-0857-97b8-e047-b9853609b425@selasky.org> <20161010205648.wg6nfedkogn7gvvw@hal9000.meka.no-ip.org> <294a752d-06ae-0f35-583f-7cc2b5dfa763@selasky.org> <20161011083041.xkd3fvxy2h7jyf7v@thinker> <3d6ec00d-6678-eb4f-ee6b-4db0c07f9d84@selasky.org> <20161011091212.rfbeqbydl6glzddp@thinker> <650562fe-965e-d5bf-a1d2-77106cbfe91c@selasky.org> <20161011104342.peelwr6dkjjp3vsz@hal9000.meka.no-ip.org> Cc: freebsd-usb@freebsd.org From: Hans Petter Selasky Message-ID: <7fa430f7-4ea4-5dec-d6bb-e16a2d2673f5@selasky.org> Date: Tue, 11 Oct 2016 13:40:20 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <20161011104342.peelwr6dkjjp3vsz@hal9000.meka.no-ip.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Oct 2016 11:35:24 -0000 On 10/11/16 12:43, Goran Mekić wrote: > On Tue, Oct 11, 2016 at 11:48:35AM +0200, Hans Petter Selasky wrote: >> kldload cuse >> >> # Start virtual OSS like this. -M mirrors output from 0 && 1 to 6 && 7 >> virtual_oss \ >> -S \ >> -i 8 \ >> -C 18 -c 18 -r 96000 -b 32 -s 1536 -f /dev/dspX \ >> -c 2 -d dsp \ >> -c 18 -d vdsp.jack \ >> -M o,0,6,0,0,0 \ >> -M o,1,7,0,0,0 \ >> -t vdsp.ctl & > It gives me segmentation fault. > Hi, Can you compile it like this: make DEBUG_FLAGS="-g" Then open the core cump in gdb get the backtrace. It should not segfault. Do you have other instances of virtual_oss running? --HPS