[pulseaudio-discuss] Crash when testing PulseAudio 3.0 on a Pandaboard ES.

Luke Yelavich themuso at ubuntu.com
Sun Jan 20 21:44:12 PST 2013


On Mon, Jan 21, 2013 at 09:55:07AM EST, Tanu Kaskinen wrote:
> On Mon, 2013-01-21 at 09:08 +1100, Luke Yelavich wrote:
> > On Fri, Jan 18, 2013 at 06:22:05PM EST, Tanu Kaskinen wrote:
> > > On Fri, 2013-01-18 at 16:08 +1100, Luke Yelavich wrote:
> > > > Hey folks,
> > > > I was attempting to test Pulse 3.0 on a PandaBoard ES for something
> > > > completely unrelated, however when attepting to load PulseAudio, it
> > > > crashed when attempting to make use of UCM. The stacktrace is
> > > > attached, and I still have the core dump if anybody requires that as
> > > > well. This test was conducted on Ubuntu Raring with all latest updates
> > > > for the PandaBoard.
> > > > 
> > > > Happy to provide information if required, and I hope this stacktrace
> > > > is useful to whip up a fix.
> > > 
> > > Looks like an alsa-lib bug that has been fixed in 1.0.26.
> > 
> > Thanks, will round up the patch and get it included in our package.
> 
> So you can't upgrade alsa-lib to 1.0.26? I'm not sure if "round up"
> means that you already know which patch it is or not, so here's a link
> to the patch:
> 
> http://git.alsa-project.org/?p=alsa-lib.git;a=commitdiff;h=e16a9a04b190c1c7981d9c65c08c504b9a23fe37

Thanks, I figured that was the one. As for upgrading to 1.0.26 ALA, we haven't got to it yet, and it requires a little QA testing before we throw it in. Pulse is getting sed testing atm, so whilst 1.0.26 wille ventually l and, I need to solve this bug now, and then move onto 1.0.26.

Unfortunately it seems that I still get a crash with that patch included. Traceback attached.

Luke
-------------- next part --------------
Thread 1 (Thread 0xb66d6000 (LWP 2099)):
#0  __libc_do_syscall ()
    at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:44
#1  0xb6cc0482 in __GI_raise (sig=sig at entry=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:66
#2  0xb6cc2c9e in __GI_abort () at abort.c:90
#3  0xb6ce656c in __libc_message (do_abort=2, 
    fmt=0xb6d64804 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:200
#4  0xb6ced042 in malloc_printerr (action=3, 
    str=0xb6d64a48 "double free or corruption (fasttop)", 
    ptr=<optimised out>) at malloc.c:4960
#5  0xb2414fca in snd_use_case_free_list ()
   from /usr/lib/arm-linux-gnueabihf/libasound.so.2
#6  0xb237c8ec in ucm_get_modifiers (uc_mgr=0x1bb6230, 
    verb=0x1bb95d8) at modules/alsa/alsa-ucm.c:406
#7  pa_alsa_ucm_get_verb (uc_mgr=0x1bb6230, 
    verb_name=0x1ba5cb8 "Record", 
    verb_desc=<optimised out>, 
    p_verb=p_verb at entry=0xbec4252c)
    at modules/alsa/alsa-ucm.c:607
#8  0xb237d5e4 in pa_alsa_ucm_query_profiles (
    ucm=ucm at entry=0x1bb61f8, card_index=<optimised out>)
    at modules/alsa/alsa-ucm.c:556
#9  0xb2464cc6 in module_alsa_card_LTX_pa__init (
    m=0x1bb47a8) at modules/alsa/module-alsa-card.c:581
#10 0xb6f0aeca in pa_module_load (c=0x1ba81d8, 
    name=0xb2473920 "module-alsa-card", 
    argument=0x1bb4948 "device_id=\"0\" name=\"platform-omap-abe-twl6040\" card_name=\"alsa_card.platform-omap-abe-twl6040\" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes card_properties=\"mo"...)
    at pulsecore/module.c:109
#11 0xb2471b52 in verify_access (u=0x1bb2720, d=0x1bb46a8)
    at modules/module-udev-detect.c:332
#12 0xb2472932 in process_path (path=<optimised out>, 
    u=<optimised out>) at modules/module-udev-detect.c:468
#13 module_udev_detect_LTX_pa__init (m=<optimised out>)
    at modules/module-udev-detect.c:761
#14 0xb6f0aeca in pa_module_load (c=c at entry=0x1ba81d8, 
    name=name at entry=0x1bab188 "module-udev-detect", 
    argument=0x0) at pulsecore/module.c:109
#15 0xb6f00748 in pa_cli_command_load (c=0x1ba81d8, 
    t=0x1baebe0, buf=0x1ba39b8, fail=<optimised out>)
    at pulsecore/cli-command.c:441
#16 0xb6f033bc in pa_cli_command_execute_line_stateful (
    c=c at entry=0x1ba81d8, 
    s=s at entry=0xbec42844 "load-module module-udev-detect", 
    buf=buf at entry=0x1ba39b8, fail=fail at entry=0x1ba18cd, 
    ifstate=ifstate at entry=0xbec42840)
    at pulsecore/cli-command.c:2092
#17 0xb6f039dc in pa_cli_command_execute_file_stream (
    c=c at entry=0x1ba81d8, f=0x1bab1f0, 
    buf=buf at entry=0x1ba39b8, fail=<optimised out>, 
    fail at entry=0x1ba18cd) at pulsecore/cli-command.c:2132
#18 0x0000d68c in main (argc=<optimised out>, 
    argv=<optimised out>) at daemon/main.c:1077
(gdb) q


More information about the pulseaudio-discuss mailing list