Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jul 2017 17:46:53 -0300
From:      Marcel Bonnet <marcelbonnet@gmail.com>
To:        Hans Petter Selasky <hps@selasky.org>
Cc:        FreeBSD multimedia <freebsd-multimedia@freebsd.org>
Subject:   Re: snd_uaudio monitor recording
Message-ID:  <CAPe0dBmTSPWv70e4QSaTxgNJhXPt4v5QnNkVPbbb6cpVOOn8-g@mail.gmail.com>
In-Reply-To: <c71b6677-0700-5218-3d8f-b41658f6e731@selasky.org>
References:  <CAPe0dB=wUyr4NZPxEDSfe7jh%2BiJ-17EpgfhJLFjqysV4DBshLw@mail.gmail.com> <a567dbbb-c533-c450-828e-7207f46f7738@selasky.org> <CAPe0dBkDAAdYRSNsrAmu1Xq%2BU6gN_pZG0c22b1FRQrAJ-kK8iw@mail.gmail.com> <a62dc1ef-58fe-a548-b8ab-24d299dde47b@selasky.org> <CAPe0dBk5cbq9VU=yD89qiMU2F27xb5E%2Bsfr3CmxdLVL2M_nn9Q@mail.gmail.com> <c71b6677-0700-5218-3d8f-b41658f6e731@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 30 July 2017 at 07:56, Hans Petter Selasky <hps@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPe0dBmTSPWv70e4QSaTxgNJhXPt4v5QnNkVPbbb6cpVOOn8-g>