All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jerry Geis <geisj@pagestation.com>
To: alsa-devel@alsa-project.org
Subject: Re: seg fault in libasound
Date: Wed, 25 Jun 2008 15:24:11 -0400	[thread overview]
Message-ID: <48629B5B.4010400@pagestation.com> (raw)
In-Reply-To: <486282A1.7050308@pagestation.com>

Jerry Geis wrote:
> I am running asterisk on debian Etch , i486 with math emulation in 
> kernel. Verified by /boot/config-file.
> I am getting a seg fault in alsa. First I ran straight debian with 
> alsa install.  I got the same seg fault.
> Second I installed 1.0.16 and I still get the seg fault.
> Third I installed 1.0.17rc2 and I still get the seg fault.
> Posted to users first and stan suggested I post to devel.
>
> Below is the trace. I am only using the Console/Dsp from asterisk at 
> this point.
> Which is the interface to the soundcard and alsa.
> What shall I do?
>
> Jerry
>
> --------------------------
>
> Program received signal SIGABRT, Aborted.
> [Switching to Thread -1224033360 (LWP 2440)]
> 0xb7d77947 in raise () from /lib/tls/libc.so.6
> (gdb) where
> #0  0xb7d77947 in raise () from /lib/tls/libc.so.6
> #1  0xb7d790c9 in abort () from /lib/tls/libc.so.6
> #2  0xb7d7105f in __assert_fail () from /lib/tls/libc.so.6
> #3  0xb741861f in snd_pcm_area_copy (dst_area=0x81cc62c, dst_offset=0, 
>    src_area=0x81cb7ec, src_offset=5223, samples=816,    
> format=SND_PCM_FORMAT_S16_LE) at pcm_local.h:499
> #4  0xb744b7b7 in snd_pcm_dsnoop_sync_ptr (pcm=0x81cb930) at 
> pcm_dsnoop.c:77
> #5  0xb7410b11 in snd_pcm_hwsync (pcm=0x81cb930) at pcm.c:932
> #6  0xb7422b55 in snd1_pcm_generic_hwsync (pcm=0x81cc1c8) at 
> pcm_generic.c:143
> #7  0xb7410b11 in snd_pcm_hwsync (pcm=0x81cc1c8) at pcm.c:932
> #8  0xb742fb4d in snd_pcm_rate_hwsync (pcm=0x81cc3f8) at pcm_rate.c:624
> #9  0xb7410b11 in snd_pcm_hwsync (pcm=0x81cc3f8) at pcm.c:932
> #10 0xb7417817 in snd1_pcm_read_areas (pcm=0x81cc3f8, 
> areas=0xb70a5b70,    offset=0, size=160, func=0xb7421e10 
> <snd_pcm_mmap_read_areas>)
>    at pcm.c:6376
> #11 0xb742111f in snd_pcm_mmap_readi (pcm=0x81cc3f8, 
> buffer=0xb74a5a40,    size=160) at pcm_mmap.c:236
> #12 0xb740fff4 in snd_pcm_readi (pcm=0x81cc038, buffer=0xb74a5a40, 
> size=2440)
>    at pcm_local.h:521
> #13 0xb749579b in alsa_read (chan=0x8213f18) at chan_alsa.c:683
> #14 0x080855b1 in __ast_read (chan=0x8213f18, dropaudio=0) at 
> channel.c:2100
> #15 0x08087725 in ast_channel_bridge (c0=0x8212858, c1=0x817cf68,    
> config=0xb70a6eac, fo=0xb70a5fe8, rc=0xb70a5fe4) at channel.c:2380
> #16 0xb7c75592 in ast_bridge_call (chan=0x8212858, peer=0x8213f18,    
> config=0xb70a6eac) at res_features.c:1490
> #17 0xb75c38fd in dial_exec_full (chan=0x8212858, data=0xb70a8fd8,    
> peerflags=0xb70a6f84, continue_exec=0x0) at app_dial.c:1773
> #18 0xb75c519d in dial_exec (chan=0x8212858, data=0xb70a8fd8)
>    at app_dial.c:1827
> #19 0x080c6e3f in pbx_extension_helper (c=0x8212858, con=0x0,    
> context=0x82129d8 "smvoice", exten=0x8212a28 "s",    priority=3, 
> label=0x0, callerid=0x8215450 "404", action=E_SPAWN)
>    at pbx.c:537
> #20 0x080c9185 in __ast_pbx_run (c=0x8212858) at pbx.c:2317
> #21 0x080c9ebe in pbx_thread (data=0x8212858) at pbx.c:2636
> #22 0x080f51d2 in dummy_start (data=0x8213178) at utils.c:909
> #23 0xb7eff0bd in start_thread () from /lib/tls/libpthread.so.0
> #24 0xb7e1b01e in clone () from /lib/tls/libc.so.6
>
>
This seems to be 100% realted to usb-audio.
I Bus 002 Device 003: ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter

I had a centos box worked fine. I disabled the on board audio. put my 
usb device in
and it is behaving the same way. plays wave files but asterisk dies.

I  have been searching for a know issue on this or fix but have not 
found one yet.

Any help is appreciated.

Jerry

  parent reply	other threads:[~2008-06-25 19:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-25 17:38 seg fault in libasound Jerry Geis
2008-06-25 17:43 ` seg fault in libasound include alsa-info Jerry Geis
2008-06-25 19:24 ` Jerry Geis [this message]
2008-06-26 12:26 ` seg fault in libasound Clemens Ladisch
2008-06-26 12:37   ` 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=48629B5B.4010400@pagestation.com \
    --to=geisj@pagestation.com \
    --cc=alsa-devel@alsa-project.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.