[asterisk-bugs] [Asterisk 0012959]: using usb audio on chan_alsa seg fault

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Jul 8 10:29:58 CDT 2008


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12959 
====================================================================== 
Reported By:                Geisj
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   12959
Category:                   Channels/chan_alsa
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     resolved
Asterisk Version:           1.4.20 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 not fixable
Fixed in Version:           
====================================================================== 
Date Submitted:             06-30-2008 13:33 CDT
Last Modified:              07-08-2008 10:29 CDT
====================================================================== 
Summary:                    using usb audio on chan_alsa seg fault
Description: 
Using chan_alsa on/with usb audio seg faults. always happens.

I think is the same as 0006720. If I use a different device like 
PCI card it works. however it does not with USB audio.
chan_oss works better but chan_alsa seg faults.

I used debian etch 4.0, with the default alsa, I tried alsa 1.0.16,
1.0.17rc2 and same behavior on all. 

http://bugs.digium.com/view.php?id=0  0xb7d77947 in raise () from
/lib/tls/libc.so.6
http://bugs.digium.com/view.php?id=1  0xb7d790c9 in abort () from
/lib/tls/libc.so.6
http://bugs.digium.com/view.php?id=2  0xb7d7105f in __assert_fail () from
/lib/tls/libc.so.6
http://bugs.digium.com/view.php?id=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
http://bugs.digium.com/view.php?id=4  0xb744b7b7 in snd_pcm_dsnoop_sync_ptr
(pcm=0x81cb930) at
pcm_dsnoop.c:77
http://bugs.digium.com/view.php?id=5  0xb7410b11 in snd_pcm_hwsync
(pcm=0x81cb930) at pcm.c:932
http://bugs.digium.com/view.php?id=6  0xb7422b55 in snd1_pcm_generic_hwsync
(pcm=0x81cc1c8) at
pcm_generic.c:143
http://bugs.digium.com/view.php?id=7  0xb7410b11 in snd_pcm_hwsync
(pcm=0x81cc1c8) at pcm.c:932
http://bugs.digium.com/view.php?id=8  0xb742fb4d in snd_pcm_rate_hwsync
(pcm=0x81cc3f8) at pcm_rate.c:624
http://bugs.digium.com/view.php?id=9  0xb7410b11 in snd_pcm_hwsync
(pcm=0x81cc3f8) at pcm.c:932
http://bugs.digium.com/view.php?id=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
http://bugs.digium.com/view.php?id=11 0xb742111f in snd_pcm_mmap_readi
(pcm=0x81cc3f8, buffer=0xb74a5a40, 
    size=160) at pcm_mmap.c:236
http://bugs.digium.com/view.php?id=12 0xb740fff4 in snd_pcm_readi
(pcm=0x81cc038, buffer=0xb74a5a40,
size=2440)
    at pcm_local.h:521
http://bugs.digium.com/view.php?id=13 0xb749579b in alsa_read (chan=0x8213f18)
at chan_alsa.c:683
http://bugs.digium.com/view.php?id=14 0x080855b1 in __ast_read (chan=0x8213f18,
dropaudio=0) at
channel.c:2100
http://bugs.digium.com/view.php?id=15 0x08087725 in ast_channel_bridge
(c0=0x8212858, c1=0x817cf68, 
    config=0xb70a6eac, fo=0xb70a5fe8, rc=0xb70a5fe4) at channel.c:2380
http://bugs.digium.com/view.php?id=16 0xb7c75592 in ast_bridge_call
(chan=0x8212858, peer=0x8213f18, 
    config=0xb70a6eac) at res_features.c:1490
http://bugs.digium.com/view.php?id=17 0xb75c38fd in dial_exec_full
(chan=0x8212858, data=0xb70a8fd8, 
    peerflags=0xb70a6f84, continue_exec=0x0) at app_dial.c:1773
http://bugs.digium.com/view.php?id=18 0xb75c519d in dial_exec (chan=0x8212858,
data=0xb70a8fd8)
    at app_dial.c:1827
http://bugs.digium.com/view.php?id=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
http://bugs.digium.com/view.php?id=20 0x080c9185 in __ast_pbx_run (c=0x8212858)
at pbx.c:2317
http://bugs.digium.com/view.php?id=21 0x080c9ebe in pbx_thread (data=0x8212858)
at pbx.c:2636
http://bugs.digium.com/view.php?id=22 0x080f51d2 in dummy_start (data=0x8213178)
at utils.c:909
http://bugs.digium.com/view.php?id=23 0xb7eff0bd in start_thread () from
/lib/tls/libpthread.so.0

====================================================================== 

---------------------------------------------------------------------- 
 russell - 07-08-08 10:29  
---------------------------------------------------------------------- 
Closing since the crash is within alsa ... 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-08-08 10:29  russell        Status                   new => resolved     
07-08-08 10:29  russell        Resolution               open => not fixable 
07-08-08 10:29  russell        Assigned To               => russell         
07-08-08 10:29  russell        Note Added: 0089889                          
======================================================================




More information about the asterisk-bugs mailing list