[pulseaudio-discuss] Why do I keep finding crashes?

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Mon Aug 12 03:15:13 PDT 2013


On Mon, 2013-08-12 at 02:42 -0400, Weedy wrote:
> Hello again, I've gotten better at back traces.
> 
> I: [pulseaudio] module.c: Loaded "module-alsa-card" (index: #5;
> argument: "device_id="0" name="pci-0000_00_1b.0"
> card_name="alsa_card.pci-0000_00_1b.0" namereg_fail=false tsched=yes
> fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes
> card_properties="module-udev-detect.discovered=1"").
> I: [pulseaudio] module-udev-detect.c: Card
> /devices/pci0000:00/0000:00:1b.0/sound/card0
> (alsa_card.pci-0000_00_1b.0) module loaded.
> D: [pulseaudio] module-udev-detect.c: /dev/snd/controlC1 is accessible: yes
> D: [pulseaudio] module-udev-detect.c:
> /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.2/sound/card1 is busy: no
> D: [pulseaudio] module-udev-detect.c: Loading module-alsa-card with
> arguments 'device_id="1" name="usb-HP_HP_Webcam_3110-02-H3110"
> card_name="alsa_card.usb-HP_HP_Webcam_3110-02-H3110" namereg_fail=false
> tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes
> use_ucm=yes card_properties="module-udev-detect.discovered=1"'
> D: [pulseaudio] reserve-wrap.c: Successfully acquired reservation lock
> on device 'Audio1'
> I: [pulseaudio] utils.c: could not open configuration file
> /usr/share/alsa/ucm/HP Webcam 3110/HP Webcam 3110.conf
> I: [pulseaudio] parser.c: error: could not parse configuration for card
> HP Webcam 3110
> I: [pulseaudio] main.c: error: failed to import HP Webcam 3110 use case
> configuration -2
> I: [pulseaudio] alsa-ucm.c: UCM not available for card HP Webcam 3110
> D: [pulseaudio] alsa-mixer.c: Looking at profile input:analog-mono
> D: [pulseaudio] alsa-mixer.c: Checking for recording on Analog Mono
> (analog-mono)
> D: [pulseaudio] alsa-util.c: Trying hw:1 with SND_PCM_NO_AUTO_FORMAT ...
> D: [pulseaudio] alsa-util.c: Managed to open hw:1
> D: [pulseaudio] alsa-util.c: Maximum hw buffer size is 11888 ms
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x7fffed2aa700 (LWP 14479)]
> snd_pcm_area_silence (dst_area=dst_area at entry=0x7fffed2a9c50,
> dst_offset=dst_offset at entry=15566, samples=2, samples at entry=17202,
> format=format at entry=SND_PCM_FORMAT_S16_LE)
>     at
> /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/pcm/pcm.c:2571
> 2571
> /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/pcm/pcm.c:
> No such file or directory.
> (gdb) bt full
> #0  snd_pcm_area_silence (dst_area=dst_area at entry=0x7fffed2a9c50,
> dst_offset=dst_offset at entry=15566, samples=2, samples at entry=17202,
>     format=format at entry=SND_PCM_FORMAT_S16_LE) at
> /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/pcm/pcm.c:2571
>         dwords = <optimized out>
>         dstp = <optimized out>
>         dst = <optimized out>
>         dst_step = <optimized out>
>         width = 16
>         silence = 0
>         __FUNCTION__ = "snd_pcm_area_silence"
> #1  0x00007fffed2fd20d in snd_pcm_areas_silence (dst_areas=0x677070,
> dst_offset=7783, channels=<optimized out>, frames=8601,
> format=SND_PCM_FORMAT_S16_LE)
>     at
> /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/pcm/pcm.c:2684
>         d = {addr = 0x7ffff7fdb000, first = 0, step = 16}
>         step = <optimized out>
>         begin = <optimized out>
>         chns = 2
>         err = <optimized out>
>         addr = <optimized out>
>         width = 16
> #2  0x00007fffed33ea85 in snd_pcm_softvol_write_areas (pcm=0x7317e0,
> areas=0x677050, offset=<optimized out>, size=8601,
> slave_areas=<optimized out>, slave_offset=7783,
>     slave_sizep=0x7fffed2a9d60) at
> /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/pcm/pcm_softvol.c:607
>         svol = 0x71f8d0
> #3  0x00007fffed30f403 in snd_pcm_plugin_mmap_commit (pcm=0x7317e0,
> offset=<optimized out>, size=8601)
>     at
> /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/pcm/pcm_plugin.c:424
>         frames = 8601
>         cont = 8601
>         slave_frames = 8601
>         err = <optimized out>
>         slave_areas = 0x677050
>         slave_offset = 7783
>         result = <optimized out>
>         plugin = 0x71f8d0
>         slave = 0x72e060
>         areas = 0x677050
>         appl_offset = 7783
>         slave_size = 15528
>         xfer = <optimized out>
>         __FUNCTION__ = "snd_pcm_plugin_mmap_commit"
> #4  0x00007fffed5b923a in mmap_write (on_timeout=false, polled=false,
> sleep_usec=<synthetic pointer>, u=0x6d1570) at modules/alsa/alsa-sink.c:647
>         chunk = {memblock = 0x7fffe80019b0, index = 0, length = 34404}
>         err = <optimized out>
>         frames = 8601
>         sframes = <optimized out>
>         written = 34404
>         p = <optimized out>
>         areas = 0x677050
>         offset = 7783
>         n = <optimized out>
>         n_bytes = 62112
>         r = <optimized out>
>         after_avail = false
> ---Type <return> to continue, or q <return> to quit---
>         process_usec = 20000
>         left_to_play = <optimized out>
>         input_underrun = <optimized out>
>         work_done = false
>         max_sleep_usec = 351519
>         j = 1
> #5  thread_func (userdata=0x6d1570) at modules/alsa/alsa-sink.c:1734
>         work_done = <optimized out>
>         sleep_usec = 0
>         on_timeout = <optimized out>
>         ret = <optimized out>
>         rtpoll_sleep = 0
>         real_sleep = <optimized out>
>         u = 0x6d1570
>         revents = 0
>         __func__ = "thread_func"
>         __PRETTY_FUNCTION__ = "thread_func"
> #6  0x00007ffff76d6356 in internal_thread_func (userdata=0x68d820) at
> pulsecore/thread-posix.c:83
>         t = 0x68d820
> #7  0x00007ffff6e28fdb in start_thread () from /lib64/libpthread.so.0
> No symbol table info available.
> #8  0x00007ffff696027d in clone () from /lib64/libc.so.6
> No symbol table info available.
> (gdb)

Seems similar to [1]. This is probably alsa-lib bug, so it's better to
report this to the alsa-devel mailing list.

[1] https://bugs.freedesktop.org/show_bug.cgi?id=51060

-- 
Tanu



More information about the pulseaudio-discuss mailing list