From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: seg fault with 1.0.17rc2 Date: Thu, 26 Jun 2008 17:55:38 +0200 Message-ID: References: <4863AA01.7080900@pagestation.com> 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 mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 58DB91037F9 for ; Thu, 26 Jun 2008 17:55:39 +0200 (CEST) In-Reply-To: <4863AA01.7080900@pagestation.com> 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: Jerry Geis Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Thu, 26 Jun 2008 10:38:57 -0400, Jerry Geis wrote: > > #0 0xb7e892ff in memcpy () from /lib/tls/libc.so.6 > #1 0xb74e40a9 in snd_pcm_area_copy (dst_area=0xb7125b70, dst_offset=0, > src_area=0x81dc1c0, src_offset=170, samples=0, > format=SND_PCM_FORMAT_S16_LE) at pcm.c:2589 samples = 0 and... > #2 0xb74e438d in snd_pcm_areas_copy (dst_areas=0xb7125b7c, > dst_offset=0, src_areas=0x81dc1cc, src_offset=170, channels=1, > frames=122, format=SND_PCM_FORMAT_S16_LE) at pcm.c:2736 ... here frames = 122. Something inconsistent around here. snd_pcm_areas_copy() must passe samples=frames when channels=1. Could you check the values via gdb? Takashi