From: Takashi Iwai Subject: Re: helping debugging Date: Sat, 30 Jun 2007 01:03:45 +0200 Message-ID: References: Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.suse.de (cantor.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id 598041037EB for ; Sat, 30 Jun 2007 01:03:46 +0200 (CEST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Thierry Vignaud Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Thu, 28 Jun 2007 15:08:57 +0200, Thierry Vignaud wrote: > > Hi > > Here's a suggestion from Dave Airlie: > > http://airlied.livejournal.com/46087.html > > "If you are going to have lots of unsigned int sized free running > pointers called things like hw_ptr or hw.ptr or anything, for > debugging it would be really cool if you started those counters at > INT_MAX-100000 or something instead of at zero, > > 24 hours waiting for a bug to trip in the pcm rate conversion is not > fun and I'm guessing it'll be some stupid interger overflow or dumb > boundary condition hitting..." Yeah, that's what I wanted to do, too. I was busy in this week for a company event and had no time for ALSA work, so hopefully will be able to work on this in the next week... Takashi