Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Oct 2016 13:40:20 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        =?UTF-8?Q?Goran_Meki=c4=87?= <meka@tilda.center>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: snd_uaudio multichannel problems
Message-ID:  <7fa430f7-4ea4-5dec-d6bb-e16a2d2673f5@selasky.org>
In-Reply-To: <20161011104342.peelwr6dkjjp3vsz@hal9000.meka.no-ip.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7fa430f7-4ea4-5dec-d6bb-e16a2d2673f5>