From: Takashi Iwai <tiwai@suse.de>
To: Jerry Geis <geisj@pagestation.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: seg fault with 1.0.17rc2
Date: Thu, 26 Jun 2008 17:55:38 +0200 [thread overview]
Message-ID: <s5hwskcp4w5.wl%tiwai@suse.de> (raw)
In-Reply-To: <4863AA01.7080900@pagestation.com>
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
next prev parent reply other threads:[~2008-06-26 15:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-26 14:38 seg fault with 1.0.17rc2 Jerry Geis
2008-06-26 15:55 ` Takashi Iwai [this message]
2008-06-26 16:03 ` Jerry Geis
2008-06-26 16:20 ` Takashi Iwai
2008-06-26 16:46 ` Jerry Geis
2008-06-26 16:49 ` Takashi Iwai
2008-06-26 16:59 ` Jerry Geis
2008-06-26 17:04 ` Takashi Iwai
2008-06-26 19:44 ` Jerry Geis
2008-06-27 20:48 ` Jerry Geis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5hwskcp4w5.wl%tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=geisj@pagestation.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox