From owner-freebsd-multimedia@freebsd.org Mon Jul 31 05:24:38 2017 Return-Path: Delivered-To: freebsd-multimedia@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 C6154DCA3DD for ; Mon, 31 Jul 2017 05:24:38 +0000 (UTC) (envelope-from marcelbonnet@gmail.com) Received: from mail-oi0-x22d.google.com (mail-oi0-x22d.google.com [IPv6:2607:f8b0:4003:c06::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 882B8685B9 for ; Mon, 31 Jul 2017 05:24:38 +0000 (UTC) (envelope-from marcelbonnet@gmail.com) Received: by mail-oi0-x22d.google.com with SMTP id g131so174118158oic.3 for ; Sun, 30 Jul 2017 22:24:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=R/CTaDjkEgHcvaVqIg4n2IHLcwl7j/SlxVf/vessYc4=; b=Fq9B6ltGkjAmiuEcjuFXVBZltrZ4l6looJiJBmbv7iLzDvkZZ8xS3vwzW5hJ6b7XSZ M5Skk40jnwf5wZiYD3GF9JGv3bWE95CRtKOZMKFjjsZaNqPV7LbHRh0lX4A45jvT2u9s Q/Ff5vUiuZ3OVFkDyqDioParbjOPacnhWAPWjus9MnfSkwbWtLVrR9+WjP1zmEW+Vak7 hNbNkDaJcwzVppKK6PdyBUQH+i6NEZ1+4WfPBqZCtLEPB4GCKEf6cl2wWdRiOGRw6aUS 3MffcUj79WB0UtZ1qgsfplM1PsZdNrIYDcDkph4a01da5qCoX8eYbLSz/jWwowqKwD2t +D5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=R/CTaDjkEgHcvaVqIg4n2IHLcwl7j/SlxVf/vessYc4=; b=CPk6WwtrK6FanxLMW05dOZNEoRVmJtGmygxlUZtYSE6mxbgF3Z6O2H6OcbL+9IczL/ gdwkez0GMPNmOVCrslR9TEpXdQ0BKHinFidYNbGQe688jPdvMw8TCtaCRPSiskK/rkTD QuTJE2BnUymoQZUv6kQ4Um8ryI6v5SpgLhKH9YtRTXZx9U86DTTe8SfxGP2Y1FLchWEs 9yjYZt5vCNLBbSDRtqlcCryHFvUs2Twsw2K6JXnRxPkiJs/PAvqUXutMqdCwRNuEnKpN MrxjUGlNYVqoS6JSVNUDxiGmnG/IJJyk6XRvcoouVP32efeMEKSyrpx0wmx0cdwLyNvV eAuA== X-Gm-Message-State: AIVw113EPeogYv/3hhfP+5Y2gfsZNnhXV0TFfdh2nbLivpUE+/YoWL6I ruS5LJkiMKCL+YWfp1O3CjknRQqaOA== X-Received: by 10.202.87.2 with SMTP id l2mr12435134oib.277.1501478677730; Sun, 30 Jul 2017 22:24:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.134.3 with HTTP; Sun, 30 Jul 2017 22:24:36 -0700 (PDT) In-Reply-To: <579d149d-7f44-3290-0adc-fbed8e48316e@selasky.org> References: <579d149d-7f44-3290-0adc-fbed8e48316e@selasky.org> From: Marcel Bonnet Date: Mon, 31 Jul 2017 02:24:36 -0300 Message-ID: Subject: Re: snd_uaudio monitor recording To: Hans Petter Selasky Cc: FreeBSD multimedia Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jul 2017 05:24:38 -0000 On 30 July 2017 at 19:08, Hans Petter Selasky wrote: > On 07/30/17 22:46, Marcel Bonnet wrote: >> >> On 30 July 2017 at 07:56, Hans Petter Selasky 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. >> > > Hi, > > Can you try the attached patch? > > --HPS > The patch was rejected: I tried from the ports tree (with svn up first; and either from your distfile's MASTER_SITE). But I applied it manually to virtual_main.c (I cloned the github repo) and it works! - chrome do not crashes virtual_oss anymore - now I can record the played back material from Chrome - but still not recording Firefox sound - at least no crashes with FF Thank you so much! -- Marcel Bonnet