snd_uaudio monitor recording

Marcel Bonnet marcelbonnet at gmail.com
Sun Jul 30 20:46:55 UTC 2017


On 30 July 2017 at 07:56, Hans Petter Selasky <hps at selasky.org> wrote:
> On 07/28/17 15:55, Marcel Bonnet wrote:
>>
>> 2.1 But, when I started YouTube (chromium browser), virtual_oss
>> stopped with a message: Floating point exception . After crash, I had
>> no sound anymore. I had to re run virtual_oss to get system sound
>> again.
>
>
> Hi,
>
> Can you open the core dump with GDB and get the backtrace?
>
> Maybe you need to compile virtual_oss with DEBUG from the ports tree.
>
> I believe this is some kind of low hanging fruit - division by zero.
>
> --HPS

Hello!

Is this the repo? https://github.com/hselasky/virtual_oss

Below, is the backtrace.

Thank you.

[@machine tmp #] gdb /usr/local/sbin/virtual_oss virtual_oss.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...
Core was generated by `virtual_oss'.
Program terminated with signal 8, Arithmetic exception.
Reading symbols from /usr/lib/libbluetooth.so.4...done.
Loaded symbols for /usr/lib/libbluetooth.so.4
Reading symbols from /usr/lib/libsdp.so.4...done.
Loaded symbols for /usr/lib/libsdp.so.4
Reading symbols from /usr/lib/libcuse.so.1...done.
Loaded symbols for /usr/lib/libcuse.so.1
Reading symbols from /lib/libthr.so.3...done.
Loaded symbols for /lib/libthr.so.3
Reading symbols from /lib/libm.so.5...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /usr/local/lib/libsamplerate.so.0...done.
Loaded symbols for /usr/local/lib/libsamplerate.so.0
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x000000000040969f in vclient_ioctl_oss (pdev=0x801c27000,
fflags=2, cmd=1074548754, peer_data=0x10000) at virtual_main.c:1324
1324                        (voss_dsp_samples / div) * pvc->channels *
vclient_sample_bytes(pvc);
[New Thread 801c19c00 (LWP 100783/<unknown>)]
[New Thread 801c19700 (LWP 100782/<unknown>)]
[New Thread 801c19200 (LWP 100781/<unknown>)]
[New Thread 801c18d00 (LWP 100780/<unknown>)]
[New Thread 801c18800 (LWP 100779/<unknown>)]
[New Thread 801c18300 (LWP 100778/<unknown>)]
[New Thread 801c17e00 (LWP 100777/<unknown>)]
[New Thread 801c17900 (LWP 100776/<unknown>)]
[New Thread 801c17400 (LWP 100775/<unknown>)]
[New Thread 801c16f00 (LWP 100774/<unknown>)]
[New Thread 801c16a00 (LWP 100773/<unknown>)]
[New Thread 801c16500 (LWP 100772/<unknown>)]
[New Thread 801c16000 (LWP 100579/<unknown>)]
(gdb)


-- 
Marcel Bonnet


More information about the freebsd-multimedia mailing list