Pulseaudio on pandaboard problem re-visited..

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2012-05-01 at 00:07 -0600, Shawn Ferris wrote:
> > Any suggestions while I try to get the debugger going? Should I be
> > using current git as opposed to 1.99.2?
> 
> Ok.. I enabled debugging, I think:
> 
> D: [pulseaudio] main.c: Compilation CFLAGS:  -pipe -Os -g2
> -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall
> -W -Wextra -Wno-long-long -Wvla -Wno-overlength-strings
> -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op
> -Wsign-compare -Wformat-security -Wmissing-include-dirs
> -Wformat-nonliteral -Wpointer-arith -Winit-self
> -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes
> -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow
> -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings
> -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common
> -fdiagnostics-show-option
> 
> But I can't get gdb to work:
> 
> $ gdb pulseaudio
> GNU gdb (GDB) 7.4
> Copyright (C) 2012 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "arm-unknown-linux-gnueabi".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> Reading symbols from /usr/bin/pulseaudio...(no debugging symbols found)...done.
> (gdb) run
> Starting program: /usr/bin/pulseaudio
> warning: Unable to find libthread_db matching inferior's thread
> library, thread debugging will not be available.
> process 1664 is executing new program: /usr/bin/pulseaudio
> warning: Unable to find libthread_db matching inferior's thread
> library, thread debugging will not be available.
> W: [pulseaudio] pid.c: Stale PID file, overwriting.
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x00001bf8 in ?? ()
> (gdb) bt
> #0  0x00001bf8 in ?? ()
> #1  0xb2acaa14 in module_alsa_card_LTX_pa__init ()
>    from /usr/lib/pulse-1.99/modules/module-alsa-card.so
> #2  0xb6f8fc02 in pa_module_load () from /usr/lib/libpulsecore-1.99.so
> #3  0xb6f87a34 in ?? () from /usr/lib/libpulsecore-1.99.so
> #4  0xb6f87a34 in ?? () from /usr/lib/libpulsecore-1.99.so
> Backtrace stopped: previous frame identical to this frame (corrupt stack?)
> 
> I also noticed the command line args for backtrace, but I don't get
> anything more from that either:
> 
> $ pulseaudio --log-level=debug --log-target=stderr  --log-backtrace=20
> I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed:
> Operation not permitted
> I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed:
> Operation not permitted
> D: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us.
> I: [pulseaudio] core-util.c: Failed to acquire high-priority
> scheduling: No such file or directory
> I: [pulseaudio] main.c: This is PulseAudio 1.99.2
> D: [pulseaudio] main.c: Compilation host: arm-unknown-linux-gnu
> D: [pulseaudio] main.c: Compilation CFLAGS:  -pipe -Os -g2
> -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall
> -W -Wextra -Wno-long-long -Wvla -Wno-overlength-strings
> -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op
> -Wsign-compare -Wformat-security -Wmissing-include-dirs
> -Wformat-nonliteral -Wpointer-arith -Winit-self
> -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes
> -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow
> -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings
> -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common
> -fdiagnostics-show-option
> D: [pulseaudio] main.c: Running on host: Linux armv7l 3.1.5 #1 SMP
> PREEMPT Mon Apr 30 11:57:42 MDT 2012
> D: [pulseaudio] main.c: Found 2 CPUs.
> I: [pulseaudio] main.c: Page size is 4096 bytes
> D: [pulseaudio] main.c: Compiled with Valgrind support: no
> D: [pulseaudio] main.c: Running in valgrind mode: no
> D: [pulseaudio] main.c: Running in VM: no
> D: [pulseaudio] main.c: Optimized build: yes
> D: [pulseaudio] main.c: FASTPATH defined, only fast path asserts disabled.
> I: [pulseaudio] main.c: Machine ID is 0f4bea1653fb44c8a94a86ec0000000c.
> I: [pulseaudio] main.c: Using runtime directory
> /opt/sequestra/.pulse/0f4bea1653fb44c8a94a86ec0000000c-runtime.
> I: [pulseaudio] main.c: Using state directory /opt/sequestra/.pulse.
> I: [pulseaudio] main.c: Using modules directory /usr/lib/pulse-1.99/modules.
> I: [pulseaudio] main.c: Running in system mode: no
> W: [pulseaudio] pid.c: Stale PID file, overwriting.
> I: [pulseaudio] main.c: Fresh high-resolution timers available! Bon appetit!
> D: [pulseaudio] memblock.c: Using shared memory pool with 1024 slots
> of size 64.0 KiB each, total size is 64.0 MiB, maximum usable slot
> size is 65496
> I: [pulseaudio] cpu-arm.c: CPU flags: V6 V7 VFP EDSP NEON VFPV3
> I: [pulseaudio] svolume_arm.c: Initialising ARM optimized volume functions.
> I: [pulseaudio] module-device-restore.c: Successfully opened database
> file '/opt/sequestra/.pulse/0f4bea1653fb44c8a94a86ec0000000c-device-volumes'.
> I: [pulseaudio] module.c: Loaded "module-device-restore" (index: #0;
> argument: "").
> I: [pulseaudio] module-stream-restore.c: Successfully opened database
> file '/opt/sequestra/.pulse/0f4bea1653fb44c8a94a86ec0000000c-stream-volumes'.
> D: [pulseaudio] protocol-dbus.c: Interface
> org.PulseAudio.Ext.StreamRestore1 added for object
> /org/pulseaudio/stream_restore1
> I: [pulseaudio] module.c: Loaded "module-stream-restore" (index: #1;
> argument: "").
> I: [pulseaudio] module-card-restore.c: Successfully opened database
> file '/opt/sequestra/.pulse/0f4bea1653fb44c8a94a86ec0000000c-card-database'.
> I: [pulseaudio] module.c: Loaded "module-card-restore" (index: #2;
> argument: "").
> I: [pulseaudio] module.c: Loaded "module-augment-properties" (index:
> #3; argument: "").
> Segmentation fault (core dumped)
> 
> What am I missing?

This is likely a crash in alsa-lib. I had to apply a patch from one of
Linaro's acccompanying trees for this:

http://cgit.collabora.com/git/user/arun/android/alsa-lib/commit/?id=36ae44068e4a1e04660e01d8c3423b4b9f9fb3fa

Maybe this will get you past the crash.

Cheers,
Arun



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux