[#6923] arecord/aplay may crash when test adau1361 audio card in 2011r1 branch
Submitted By: Vivi Li
Open Date
2011-12-15 22:01:05
Priority:
Medium Assignee:
Lars-Peter Clausen
Status:
Open Fixed In Release:
N/A
Found In Release:
2011R1 Release:
Category:
N/A Board:
N/A
Processor:
BF537 Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Assigned (Not Start)
Uboot version or rev.:
Toolchain version or rev.:
gcc4.3-2011R1-RC2
App binary format:
N/A
Summary: arecord/aplay may crash when test adau1361 audio card in 2011r1 branch
Details:
arecord/aplay may crash when test adau1361 audio card in 2011r1 branch.
It won't always happen so need to run tome time to reproduce it.
--
Linux version 3.0.8-ADI-2011R1-00317-g1d71ff2 (test@linux73-bf537-wt-adxl) (gcc version 4.3.5 (ADI-2011R1-RC2) ) #8 Wed Nov 9 191
register early platform devices
bootconsole [early_shadow0] enabled
bootconsole [early_BFuart0] enabled
early printk enabled on early_BFuart0
Limiting kernel memory to 56MB due to anomaly 05000263
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x001500c8
rodata = 0x001500c8-0x001be320
bss = 0x001bf000-0x001cf340
data = 0x001cf340-0x001e4000
stack = 0x001e2000-0x001e4000
init = 0x001e4000-0x00787000
available = 0x00787000-0x03800000
DMA Zone = 0x03e00000-0x04000000
Hardware Trace active and enabled
Boot Mode: 0
Blackfin support (C) 2004-2010 Analog Devices, Inc.
Compiled for ADSP-BF537 Rev 0.2
Blackfin Linux support by http://blackfin.uclinux.org/
Processor Speed: 500 MHz core clock and 125 MHz System Clock
NOMPU: setting up cplb tables
Instruction Cache Enabled for CPU0
External memory: cacheable in instruction cache
Data Cache Enabled for CPU0
External memory: cacheable (write-back) in data cache
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 14224
Kernel command line: root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=serial,uart0,57600 console=ttyBF0,57600 ip=10.100.4.50f
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory available: 49028k/65536k RAM, (5772k init code, 1340k kernel code, 592k data, 2048k dma, 6756k reserved)
NR_IRQS:146
Configuring Blackfin Priority Driven Interrupts
bfin-rtc: invalid date; resetting
console [ttyBF0] enabled, bootconsole disabled
console [ttyBF0] enabled, bootconsole disabled
Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
Blackfin Scratchpad data SRAM: 4 KB
Blackfin L1 Data A SRAM: 16 KB (16 KB free)
Blackfin L1 Data B SRAM: 16 KB (16 KB free)
Blackfin L1 Instruction SRAM: 48 KB (34 KB free)
NET: Registered protocol family 16
Blackfin DMA Controller
stamp_init(): registering device resources
bio: create slab <bio-0> at 0
bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs@ffc00500, dma channel@7
i2c-bfin-twi i2c-bfin-twi.0: Blackfin BF5xx on-chip I2C TWI Contoller, regs_base@ffc01400
Advanced Linux Sound Architecture Driver Version 1.0.24.
Switching to clocksource bfin_cs_cycles
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
debug-mmrs: setting up Blackfin MMR debugfs
msgmni has been set to 95
io scheduler noop registered (default)
bfin-uart: Blackfin serial driver
bfin-uart.0: ttyBF0 at MMIO 0xffc00400 (irq = 18) is a BFIN-UART
brd: module loaded
bfin_mii_bus: probed
bfin_mac: attached PHY driver [SMSC LAN83C185] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=24)@sclk=125MHz)
bfin_mac bfin_mac.0: eth0: Blackfin on-chip Ethernet MAC driver, Version 1.1
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
bfin-wdt: initialized: timeout=20 sec (nowayout=0)
bfin-i2s bfin-i2s.0: dma rx:3 tx:4, err irq:45, regs:ffc00800
adau1761 0-0038: Failed to firmware
dma_alloc_init: dma_page @ 0x027b7000 - 512 pages at 0x03e00000
asoc: adau-hifi <-> bfin-i2s.0 mapping ok
ALSA device list:
#0: bfin-eval-adau1x61
TCP cubic registered
NET: Registered protocol family 17
rtc-bfin rtc-bfin: setting system clock to 1970-01-01 06:20:51 UTC (22851)
IP-Config: Complete:
device=eth0, addr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174,
host=bf537-stamp, domain=, nis-domain=(none),
bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=
Freeing unused kernel memory: 5772k freed
_____________________________________
a8888b. / Welcome to the uClinux distribution \
d888888b. / _ _ \
8P"YP"Y88 / | | |_| __ __ (TM) |
8|o||o|88 _____/ | | _ ____ _ _ \ \/ / |
8' .88 \ | | | | _ \| | | | \ / |
8`._.' Y8. \ | |__ | | | | | |_| | / \ |
d/ `8b. \ \____||_|_| |_|\____|/_/\_\ |
dP . Y8b. \ For embedded processors including |
d8:' " `::88b \ the Analog Devices Blackfin /
d8" 'Y88b \___________________________________/
:8P ' :888
8a. : _a88P For further information, check out:
._/"Yaa_: .| 88P| - http://blackfin.uclinux.org/
\ YP" `| 8P `. - http://docs.blackfin.uclinux.org/
/ \.___.d| .' - http://www.uclinux.org/
`--..__)8888P`._.' jgs/a:f - http://www.analog.com/blackfin
Have a lot of fun...
BusyBox v1.18.4 (2011-11-09 19:04:35 CST) hush - the humble shell
root:/> version
kernel: Linux release 3.0.8-ADI-2011R1-00317-g1d71ff2, build #8 Wed Nov 9 19:06:21 CST 2011
toolchain: bfin-linux-uclibc-gcc release gcc version 4.3.5 (ADI-2011R1-RC2)
user-dist: release svn-10477, build #2 Wed Nov 9 19:04:33 CST 2011
root:/> PHY: 0:01 - Link is Up - 100/Full
root:/>
root:/>
root:/> while [ 1 ] ; do arecord -f S16_LE -r 96000 -c 2 -t wav -d 5 wav; sleep
2; done
Recording WAVE 'wav' : Signed 16 bit Little Endian, Rate 96000 Hz, Stereo
Recording WAVE 'wav' : Signed 16 bit Little Endian, Rate 96000 Hz, Stereo
Recording WAVE 'wav' : Signed 16 bit Little Endian, Rate 96000 Hz, Stereo
Recording WAVE 'wav' : Signed 16 bit Little Endian, Rate 96000 Hz, Stereo
Recording WAVE 'wav' : Signed 16 bit Little Endian, Rate 96000 Hz, Stereo
Recording WAVE 'wav' : Signed 16 bit Little Endian, Rate 96000 Hz, Stereo
Recording WAVE 'wav' : Signed 16 bit Little Endian, Rate 96000 Hz, Stereo
Recording WAVE 'wav' : Signed 16 bit Little Endian, Rate 96000 Hz, Stereo
Recording WAVE 'wav' : Signed 16 bit Little Endian, Rate 96000 Hz, Stereo
Recording WAVE 'wav' : Signed 16 bit Little Endian, Rate 96000 Hz, Stereo
Recording WAVE 'wav' : Signed 16 bit Little Endian, Rate 96000 Hz, Stereo
Recording WAVE 'wav' : Signed 16 bit Little Endian, Rate 96000 Hz, Stereo
Recording WAVE 'wav' : Signed 16 bit Little Endian, Rate 96000 Hz, Stereo
Recording WAVE 'wav' : Signed 16 bit Little Endian, Rate 96000 Hz, Stereo
Recording WAVE 'wav' : Signed 16 bit Little Endian, Rate 96000 Hz, Stereo
Recording WAVE 'wav' : Signed 16 bit Little Endian, Rate 96000 Hz, Stereo
Recording WAVE 'wav' : Signed 16 bit Little Endian, Rate 96000 Hz, Stereo
Recording WAVE 'wav' : Signed 16 bit Little Endian, Rate 96000 Hz, Stereo
Recording WAVE 'wav' : Signed 16 bit Little Endian, Rate 96000 Hz, Stereo
Recording WAVE 'wav' : Signed 16 bit Little Endian, Rate 96000 Hz, Stereo
Recording WAVE 'wav' : Signed 16 bit Little Endian, Rate 96000 Hz, Stereo
Recording WAVE 'wav' : Signed 16 bit Little Endian, Rate 96000 Hz, Stereo
Recording WAVE 'wav' : Signed 16 bit Little Endian, Rate 96000 Hz, Stereo
NULL pointer access
Deferred Exception context
CURRENT PROCESS:
COMM=arecord PID=253 CPU=0
TEXT = 0x02df0000-0x02dfeb68 DATA = 0x02da2b68-0x02da39d4
BSS = 0x02da39d4-0x02ac0000 USER-STACK = 0x02adfe60
return address: [0x02a87798]; contents of:
0x02a87770: 6002 300b 3248 3250 200a 3221 a1a0 0890
0x02a87780: 06d1 3209 a0e1 0610 4c01 6c61 0c01 17f6
0x02a87790: 0842 1409 320b 300f [a0ca] 4c02 0065 0838
0x02a877a0: 17e2 2010 0000 9113 4c03 320b a0c8 9310
ADSP-BF537-0.2 500(MHz CCLK) 125(MHz SCLK) (mpu off)
Linux version 3.0.8-ADI-2011R1-00317-g1d71ff2 (test@linux73-bf537-wt-adxl) (gcc version 4.3.5 (ADI-2011R1-RC2) ) #8 Wed Nov 9 191
SEQUENCER STATUS: Not tainted
SEQSTAT: 00000027 IPEND: 0008 IMASK: ffff SYSCFG: 0006
EXCAUSE : 0x27
physical IVG3 asserted : <0xffa007ac> { _trap + 0x0 }
RETE: <0x00000000> /* Maybe null pointer? */
RETN: <0x02d44000> /* kernel dynamic memory */
RETX: <0x00000480> /* Maybe fixed code section */
RETS: <0x02a85c90> [ /lib/libpthread.so.0 + 0x5c90 ]
PC : <0x02a87798> [ /lib/libpthread.so.0 + 0x7798 ]
DCPLB_FAULT_ADDR: <0x0000000c> /* Maybe null pointer? */
ICPLB_FAULT_ADDR: <0x02a87798> [ /lib/libpthread.so.0 + 0x7798 ]
PROCESSOR STATE:
R0 : 02a79138 R1 : 00000000 R2 : 00000000 R3 : 00000000
R4 : 02af0494 R5 : 02af0644 R6 : 02afb024 R7 : 00000000
P0 : 02a79138 P1 : 00000000 P2 : 02a79138 P3 : 02de9488
P4 : 02afb01c P5 : 00000420 FP : 02adf940 SP : 02d43f24
LB0: 02861647 LT0: 02861634 LC0: fffffff2
LB1: 0285e137 LT1: 0285e136 LC1: 00000000
B0 : 00000137 L0 : 00000000 M0 : fffffffc I0 : 00000000
B1 : 000000c0 L1 : 00000000 M1 : 00000001 I1 : 00000001
B2 : 7ffff000 L2 : 00000000 M2 : 00001802 I2 : 00000003
B3 : 00000000 L3 : 00000000 M3 : 0000005b I3 : 00000007
A0.w: 00000000 A0.x: 00000000 A1.w: 00000000 A1.x: 00000000
USP : 02adf934 ASTAT: 02003065
Hardware Trace:
0 Target : <0x00003fb8> { _trap_c + 0x0 }
Source : <0xffa00740> { _exception_to_level5 + 0xa4 } JUMP.L
1 Target : <0xffa0069c> { _exception_to_level5 + 0x0 }
Source : <0xffa00550> { _bfin_return_from_exception + 0x20 } RTX
2 Target : <0xffa00530> { _bfin_return_from_exception + 0x0 }
Source : <0xffa005f4> { _ex_trap_c + 0x74 } JUMP.S
3 Target : <0xffa00580> { _ex_trap_c + 0x0 }
Source : <0xffa00458> { _ex_workaround_261 + 0x1c } JUMP.S
4 Target : <0xffa0043c> { _ex_workaround_261 + 0x0 }
Source : <0xffa00814> { _trap + 0x68 } JUMP (P4)
5 Target : <0xffa007ca> { _trap + 0x1e }
Source : <0xffa007c6> { _trap + 0x1a } IF CC JUMP pcrel
6 Target : <0xffa007ac> { _trap + 0x0 }
FAULT : <0x02a87798> [ /lib/libpthread.so.0 + 0x7798 ] P2 = W[P1 + 3]
Source : <0xffa00550> { _bfin_return_from_exception + 0x20 } RTX
7 Target : <0xffa00530> { _bfin_return_from_exception + 0x0 }
Source : <0xffa0044e> { _ex_workaround_261 + 0x12 } IF !CC JUMP pcrel
8 Target : <0xffa0043c> { _ex_workaround_261 + 0x0 }
Source : <0xffa00814> { _trap + 0x68 } JUMP (P4)
9 Target : <0xffa007ca> { _trap + 0x1e }
Source : <0xffa007c6> { _trap + 0x1a } IF CC JUMP pcrel
10 Target : <0xffa007ac> { _trap + 0x0 }
Source : <0x02a87796> [ /lib/libpthread.so.0 + 0x7796 ] 0x300f
11 Target : <0x02a8778c> [ /lib/libpthread.so.0 + 0x778c ]
Source : <0x02a87778> [ /lib/libpthread.so.0 + 0x7778 ] JUMP.S
12 Target : <0x02a87764> [ /lib/libpthread.so.0 + 0x7764 ]
Source : <0x02a87758> [ /lib/libpthread.so.0 + 0x7758 ] JUMP.S
13 Target : <0x02a87744> [ /lib/libpthread.so.0 + 0x7744 ]
Source : <0x02a83f82> [ /lib/libpthread.so.0 + 0x3f82 ] JUMP (P1)
14 Target : <0x02a83f7a> [ /lib/libpthread.so.0 + 0x3f7a ]
Source : <0x02a85c8c> [ /lib/libpthread.so.0 + 0x5c8c ] CALL pcrel
15 Target : <0x02a85c86> [ /lib/libpthread.so.0 + 0x5c86 ]
Source : <0x02a85c5a> [ /lib/libpthread.so.0 + 0x5c5a ] IF CC JUMP pcrel (BP)
Userspace Stack
Stack info:
SP: [0x02adf934] <0x02adf934> [ arecord + 0x1f934 ]
FP: (0x02adfa0c)
Memory from 0x02adf930 to 02ae0000
02adf930: 02afb00c [02a79808] 02a79124 0000000c 02adf960 02a85c90 02a79138 02afb01c
02adf950: 02de9488 02b29b84 02c15b90 02afb01c 02adf980 02b29b84 02c15b90 02afb024
02adf970: 00000000 00000000 02adfa0c 02b5c9e2 02adfa0c 02b5c9ec 02c15b90 02adf9e4
02adf990: 00000000 00000000 63705f6d 00000000 02a79088 02afb01c 00000001 00000000
02adf9b0: 02af0494 0000000a 00000002 02adf9ec 0000000b 00000002 02adf9e8 02adf9e0
02adf9d0: 02af0794 00000000 00000001 00000000 02af0900 02af0864 ffffffff ffffffff
02adf9f0: ffffffff 02b8c738 02af059c 02adfa08 ffffffff 02afb01c 02afb180 (02adfa7c)
02adfa10:<02b4859a> 02c15b90 02af08f4 00000000 00000000 02af08cc 02af0494 02da3998
02adfa30: 02dfd72c 02a79088 02af0494 00000001 00000000 02af0460 02af0460 00000000
02adfa50: 02a85c90 02c13f90 02adfab8 02b4600e 02af08cc 00000000 02af050c 02adfa98
02adfa70: 00000000 02af052c 02af059c (02adfab8) 02b48a3e 00000000 02da3998 00000000
02adfa90: 02c15b90 02af0494 00000001 02da3998 02dfd72c 02a79088 02af0494 00000001
02adfab0: 00000000 00000000 (02adfafc) 02b62736 02c15b90 02adfaf4 00000000 02af021c
02adfad0: 02af0248 02af01d4 <02870c44> 02dfd72c 02a79088 02af0494 00000001 00000000
02adfaf0: 02af01d4 02af094c 02af0494 (02adfb6c)<02b4859a> 02c15b90 02af0154 00000000
02adfb10: 00000000 02a790d8 02af01d4 02da3998 02dfd72c 02a79088 02af01d4 00000001
02adfb30: 00000000 02b2ded2 02c15b90 02b8f098 02adfb6c 02b2dedc 02c15b90 00000001
02adfb50: 02a790d8 00000000 02af01fc 00000000 00000000 02af0208 02af0230 (02adfbac)
02adfb70: 02b4897c 02c15b90 00000001 00000001 00000000 02a79088 02dfd72c 02da3998
02adfb90: 02dfd72c 02a79088 02af01d4 00000001 00000000 02c15b90 02af01d4 (02adfbe4)
02adfbb0: 02b48af6 02c15b90 02da39a8 02da3998 02dfd72c 00000001 02da3994 02da3998
02adfbd0: 02adfe64 02dfe3e0 00000001 00000000 00000000 (02adfd80) 02df99f0 02da3438
02adfbf0:<02adff96> 02adfe64 02dfe3e0 00000000 00000000 00000000 00000000 02adfd7c
02adfc10: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
02adfc30: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
02adfc50: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
02adfc70: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
02adfc90: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
02adfcb0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
02adfcd0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
02adfcf0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
02adfd10: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
02adfd30: 02a75f98 02da2bb8 02adfd7c 02da38e4 <02dfd6ec> 02da3998 02da2f4c 02da39c0
02adfd50: 02da3438 02a78e18 02da38dc 02adfd20 00000000 02a7c540 02a7c540 02adfc10
02adfd70: 02dfd72c 00000000 00000000 02adff30 (02adfe24)<028752ba> 02a79808 02c23374
02adfd90: 02adff73 02adff30 02adff50 0000000c 0000000c 00000000 00000000 00000000
02adfdb0: 00000000 00000000 00000000 00000000 00000000 00000003 02df0034 00000004
02adfdd0: 00000020 00000005 00000007 00000006 00001000 00000007 027d8000 00000008
02adfdf0: 00000000 00000009 02df2e0c 00000000 00000000 0000000b 00000000 0000000c
02adfe10: 00000000 0000000d 00000000 0000000e 00000000 (00000000) 02df2e3a 02c63bb0
02adfe30: 02df2e0c 02c63b98 02adff30 02adff50 02df2e10 02c23374 02adff30 02adfe64
02adfe50: 02c23364 02c23384 02c63b98 02adff5c 0000000c 02adff73 02adff7b <02adff7e>
02adfe70: 02adff85 <02adff88> 02adff8e 02adff91 02adff93 <02adff96><02adff9a> 02adff9d
02adfe90: 02adff9f 00000000 02adffa3 02adffae 02adffd1 02adffe5 00000000 00000010
02adfeb0: 00000000 00000006 00001000 00000011 00000064 00000003 02df0034 00000004
02adfed0: 00000020 00000005 00000007 00000007 027d8000 00000008 00000000 00000009
02adfef0: 02df2e0c 0000000b 00000000 0000000c 00000000 0000000d 00000000 0000000e
02adff10: 00000000 00000017 00000000 0000001f 0001ffeb 00000000 00000000 00000000
02adff30: 00020000 027d8000 00000000 00004ae0 02c63ae0 00005ae0 00000264 00000000
02adff50: 00020000 02df0000 00000000 0000eb68 02da2b68 <0000fb68> 00000e6c 00000000
02adff70: 61000000 6f636572 2d006472 31530066 454c5f36 00722d00 30303639 632d0030
02adff90: 2d003200 61770074 642d0076 77003500 54007661 3d4d5245 756e696c 41500078
02adffb0: 2f3d4854 3a6e6962 7273752f 6e69622f 62732f3a 2f3a6e69 2f727375 6e696273
02adffd0: 53554800 45565f48 4f495352 2e313d4e 342e3831 44575000 2f002f3d 2f727375
02adfff0: 2f6e6962 63657261 0064726f 00000000
Return addresses in stack:
frame 1 : <0x02b4859a> [ /usr/lib/libasound.so.2 + 0x4859a ]
address : <0x02870c44> [ /lib/libc.so.0 + 0x30c44 ]
frame 4 : <0x02b4859a> [ /usr/lib/libasound.so.2 + 0x4859a ]
address : <0x02adff96> [ arecord + 0x1ff96 ]
address : <0x02dfd6ec> [ /usr/bin/aplay + 0xd6ec ]
frame 8 : <0x028752ba> [ /lib/libc.so.0 + 0x352ba ]
address : <0x02adff7e> [ arecord + 0x1ff7e ]
address : <0x02adff88> [ arecord + 0x1ff88 ]
address : <0x02adff96> [ arecord + 0x1ff96 ]
address : <0x02adff9a> [ arecord + 0x1ff9a ]
address : <0x0000fb68> { _sys_unshare + 0x168 }
SEGV
Recording WAVE 'wav' : Signed 16 bit Little Endian, Rate 96000 Hz, Stereo
NULL pointer access
Deferred Exception context
CURRENT PROCESS:
COMM=arecord PID=257 CPU=0
TEXT = 0x02df0000-0x02dfeb68 DATA = 0x02d88b68-0x02d899d4
BSS = 0x02d899d4-0x02ac0000 USER-STACK = 0x02adfe60
return address: [0x02a87798]; contents of:
0x02a87770: 6002 300b 3248 3250 200a 3221 a1a0 0890
0x02a87780: 06d1 3209 a0e1 0610 4c01 6c61 0c01 17f6
0x02a87790: 0842 1409 320b 300f [a0ca] 4c02 0065 0838
0x02a877a0: 17e2 2010 0000 9113 4c03 320b a0c8 9310
ADSP-BF537-0.2 500(MHz CCLK) 125(MHz SCLK) (mpu off)
Linux version 3.0.8-ADI-2011R1-00317-g1d71ff2 (test@linux73-bf537-wt-adxl) (gcc version 4.3.5 (ADI-2011R1-RC2) ) #8 Wed Nov 9 191
SEQUENCER STATUS: Not tainted
SEQSTAT: 00060027 IPEND: 0008 IMASK: ffff SYSCFG: 0006
EXCAUSE : 0x27
physical IVG3 asserted : <0xffa007ac> { _trap + 0x0 }
RETE: <0x00000000> /* Maybe null pointer? */
RETN: <0x02d44000> /* kernel dynamic memory */
RETX: <0x00000480> /* Maybe fixed code section */
RETS: <0x02a85c90> [ /lib/libpthread.so.0 + 0x5c90 ]
PC : <0x02a87798> [ /lib/libpthread.so.0 + 0x7798 ]
DCPLB_FAULT_ADDR: <0x0000000c> /* Maybe null pointer? */
ICPLB_FAULT_ADDR: <0x02a87798> [ /lib/libpthread.so.0 + 0x7798 ]
PROCESSOR STATE:
R0 : 02a79138 R1 : 00000000 R2 : 00000000 R3 : 00000000
R4 : 00000001 R5 : 00000001 R6 : 02a93224 R7 : 00000000
P0 : 02a79138 P1 : 00000000 P2 : 02a79138 P3 : 02de9488
P4 : 02a9321c P5 : 00000420 FP : 02adf92c SP : 02d43f24
LB0: 02a919a1 LT0: 02a919a0 LC0: 00000000
LB1: 0285e137 LT1: 0285e136 LC1: 00000000
B0 : 00000137 L0 : 00000000 M0 : fffffffc I0 : 00000000
B1 : 000000c0 L1 : 00000000 M1 : 00000001 I1 : 00000001
B2 : 7ffff000 L2 : 00000000 M2 : 00001802 I2 : 00000003
B3 : 00000000 L3 : 00000000 M3 : 0000005b I3 : 00000007
A0.w: 00000000 A0.x: 00000000 A1.w: 00000000 A1.x: 00000000
USP : 02adf920 ASTAT: 02003025
Hardware Trace:
0 Target : <0x00003fb8> { _trap_c + 0x0 }
Source : <0xffa00740> { _exception_to_level5 + 0xa4 } JUMP.L
1 Target : <0xffa0069c> { _exception_to_level5 + 0x0 }
Source : <0xffa00550> { _bfin_return_from_exception + 0x20 } RTX
2 Target : <0xffa00530> { _bfin_return_from_exception + 0x0 }
Source : <0xffa005f4> { _ex_trap_c + 0x74 } JUMP.S
3 Target : <0xffa00580> { _ex_trap_c + 0x0 }
Source : <0xffa00458> { _ex_workaround_261 + 0x1c } JUMP.S
4 Target : <0xffa0043c> { _ex_workaround_261 + 0x0 }
Source : <0xffa00814> { _trap + 0x68 } JUMP (P4)
5 Target : <0xffa007ca> { _trap + 0x1e }
Source : <0xffa007c6> { _trap + 0x1a } IF CC JUMP pcrel
6 Target : <0xffa007ac> { _trap + 0x0 }
FAULT : <0x02a87798> [ /lib/libpthread.so.0 + 0x7798 ] P2 = W[P1 + 3]
Source : <0x02a87796> [ /lib/libpthread.so.0 + 0x7796 ] 0x300f
7 Target : <0x02a8778c> [ /lib/libpthread.so.0 + 0x778c ]
Source : <0x02a87778> [ /lib/libpthread.so.0 + 0x7778 ] JUMP.S
8 Target : <0x02a87764> [ /lib/libpthread.so.0 + 0x7764 ]
Source : <0x02a87758> [ /lib/libpthread.so.0 + 0x7758 ] JUMP.S
9 Target : <0x02a87744> [ /lib/libpthread.so.0 + 0x7744 ]
Source : <0x02a83f82> [ /lib/libpthread.so.0 + 0x3f82 ] JUMP (P1)
10 Target : <0x02a83f7a> [ /lib/libpthread.so.0 + 0x3f7a ]
Source : <0x02a85c8c> [ /lib/libpthread.so.0 + 0x5c8c ] CALL pcrel
11 Target : <0x02a85c86> [ /lib/libpthread.so.0 + 0x5c86 ]
Source : <0x02a85c5a> [ /lib/libpthread.so.0 + 0x5c5a ] IF CC JUMP pcrel (BP)
12 Target : <0x02a85c44> [ /lib/libpthread.so.0 + 0x5c44 ]
Source : <0x02874f00> [ /lib/libc.so.0 + 0x34f00 ] JUMP (P1)
13 Target : <0x02874ef8> [ /lib/libc.so.0 + 0x34ef8 ]
Source : <0x02874eee> [ /lib/libc.so.0 + 0x34eee ] IF !CC JUMP pcrel (BP)
14 Target : <0x02874ee0> [ /lib/libc.so.0 + 0x34ee0 ]
Source : <0x02870d80> [ /lib/libc.so.0 + 0x30d80 ] JUMP (P1)
15 Target : <0x02870d60> [ /lib/libc.so.0 + 0x30d60 ]
Source : <0x0287116a> [ /lib/libc.so.0 + 0x3116a ] RTS
Userspace Stack
Stack info:
SP: [0x02adf920] <0x02adf920> [ arecord + 0x1f920 ]
FP: (0x02adfa20)
Memory from 0x02adf920 to 02ae0000
02adf920:[02a79808] 02a79124 0000000c 02adf94c 02a85c90 02a79138 02a9321c 02de9488
02adf940: 02b29b84 02c15b90 02a9321c 02adf96c 02b29b84 02c15b90 02a93224 02a79138
02adf960: 02c15b90 02de9488 02b2e3da 02adf9cc 02b2e3e2 02a93378 02c15b90 00000001
02adf980: 00000000 02a93730 02a93438 00000000 02a931d4 02adf9c8 02a79808 02adf9c0
02adf9a0: 02adf9c4 02adf9bc 02a93364 02a93364 00000001 00000000 00000000 02adfa18
02adf9c0: 02afee58 00000000 02a9321c 02adfa20 02b2e7be 02c15b90 00000000 00000023
02adf9e0: 00000000 02adfa18 02a93438 02a93438 00736472 02adfa18 02a931d4 02adfa10
02adfa00: 02adfa14 02adfa0c 02adfa1c 02a93154 02a93154 02a931d4 00000000 00000000
02adfa20:(02adfab0)<02b2d3f0> 02c15b90 02a93148 00000023 <02afb120> 00000000 02a93474
02adfa40: 02a93438 02a936b0 02adfa90 00000000 02b2d4a0 02adfad4 02b2d4a8 02c15b90
02adfa60: 02adfa9c 02adfa98 02adfaa4 02adfaa8 02adfa90 02adfaa0 02adfa94 02c12a30
02adfa80: 02b86908 00000001 02a936b0 02a790d8 00000000 02a936e4 02a790d8 00000000
02adfaa0: 00000000 02a936fc 00000001 02a9346c (02adfae8) 02b2db8c 02c15b90 02adfb0c
02adfac0: 0222fc6e 02adfae4 02a79088 02adfae0 02a93438 00000000 00000005 02adfae4
02adfae0: 0222fc6d 02a93438 (02adfb30) 02b2dd78 02c15b90 02a79088 00000000 00000000
02adfb00: 02a790b0 000003e7 02adff30 02a93438 02adfb3c 02adfb2c 02dfd72c 00000000
02adfb20: 02adfb58 00de9488 02adfb2c 0222fc80 (02adfb6c) 02b2deb8 02c15b90 02b8f098
02adfb40: 02d89998 02dfd72c 00000000 02c12a30 00000000 02b8f098 0222fc68 02adfb68
02adfb60: 00000018 02adfb50 00000000 (02adfbac) 02b488ea 02c15b90 00000001 02d89998
02adfb80: 00000000 02a79088 02dfd72c 02a79088 02b2db42 02c15b90 02adfba8 02adfbb8
02adfba0: 02b2db4c 02c15b90 00000001 (02adfbe4) 02b48af6 02c15b90 02d899a8 02d89998
02adfbc0: 02dfd72c 00000001 02d89994 02d89998 02adfe64 02dfe3e0 00000001 00000000
02adfbe0: 00000000 (02adfd80) 02df99f0 02d89438 <02adff96> 02adfe64 02dfe3e0 00000000
02adfc00: 00000000 00000000 00000000 02adfd7c 00000000 00000000 00000000 00000000
02adfc20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
02adfc40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
02adfc60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
02adfc80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
02adfca0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
02adfcc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
02adfce0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
02adfd00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
02adfd20: 00000000 00000000 00000000 00000000 02965f98 02d88bb8 02adfd7c 02d898e4
02adfd40:<02dfd6ec> 02d89998 02d88f4c 02d899c0 02d89438 02a78e18 02d898dc 02adfd20
02adfd60: 00000000 02a7c540 02a7c540 02adfc10 02dfd72c 00000000 00000000 02adff30
02adfd80:(02adfe24)<028752ba> 02a79808 02a94374 02adff73 02adff30 02adff50 0000000c
02adfda0: 0000000c 00000000 00000000 00000000 00000000 00000000 00000000 00000000
02adfdc0: 00000000 00000003 02df0034 00000004 00000020 00000005 00000007 00000006
02adfde0: 00001000 00000007 027d8000 00000008 00000000 00000009 02df2e0c 00000000
02adfe00: 00000000 0000000b 00000000 0000000c 00000000 0000000d 00000000 0000000e
02adfe20: 00000000 (00000000) 02df2e3a 02af8bb0 02df2e0c 02af8b98 02adff30 02adff50
02adfe40: 02df2e10 02a94374 02adff30 02adfe64 02a94364 02a94384 02af8b98 02adff5c
02adfe60: 0000000c 02adff73 02adff7b <02adff7e> 02adff85 <02adff88> 02adff8e 02adff91
02adfe80: 02adff93 <02adff96><02adff9a> 02adff9d 02adff9f 00000000 02adffa3 02adffae
02adfea0: 02adffd1 02adffe5 00000000 00000010 00000000 00000006 00001000 00000011
02adfec0: 00000064 00000003 02df0034 00000004 00000020 00000005 00000007 00000007
02adfee0: 027d8000 00000008 00000000 00000009 02df2e0c 0000000b 00000000 0000000c
02adff00: 00000000 0000000d 00000000 0000000e 00000000 00000017 00000000 0000001f
02adff20: 0001ffeb 00000000 00000000 00000000 00020000 027d8000 00000000 00004ae0
02adff40: 02af8ae0 00005ae0 00000264 00000000 00020000 02df0000 00000000 0000eb68
02adff60: 02d88b68 <0000fb68> 00000e6c 00000000 61000000 6f636572 2d006472 31530066
02adff80: 454c5f36 00722d00 30303639 632d0030 2d003200 61770074 642d0076 77003500
02adffa0: 54007661 3d4d5245 756e696c 41500078 2f3d4854 3a6e6962 7273752f 6e69622f
02adffc0: 62732f3a 2f3a6e69 2f727375 6e696273 53554800 45565f48 4f495352 2e313d4e
02adffe0: 342e3831 44575000 2f002f3d 2f727375 2f6e6962 63657261 0064726f 00000000
Return addresses in stack:
frame 1 : <0x02b2d3f0> [ /usr/lib/libasound.so.2 + 0x2d3f0 ]
address : <0x02afb120> [ arecord + 0x120 ]
address : <0x02adff96> [ arecord + 0x1ff96 ]
address : <0x02dfd6ec> [ /usr/bin/aplay + 0xd6ec ]
frame 8 : <0x028752ba> [ /lib/libc.so.0 + 0x352ba ]
address : <0x02adff7e> [ arecord + 0x1ff7e ]
address : <0x02adff88> [ arecord + 0x1ff88 ]
address : <0x02adff96> [ arecord + 0x1ff96 ]
address : <0x02adff9a> [ arecord + 0x1ff9a ]
address : <0x0000fb68> { _sys_unshare + 0x168 }
SEGV
Recording WAVE 'wav' : Signed 16 bit Little Endian, Rate 96000 Hz, Stereo
Recording WAVE 'wav' : Signed 16 bit Little Endian, Rate 96000 Hz, Stereo
Recording WAVE 'wav' : Signed 16 bit Little Endian, Rate 96000 Hz, Stereo
Recording WAVE 'wav' : Signed 16 bit Little Endian, Rate 96000 Hz, Stereo
^CAborted by signal Interrupt...
root:/>
--
Follow-ups
--- Lars-Peter Clausen 2011-12-16 03:48:58
Is this reproducible with other sound cards as well, or does this only happen
for the adau1361?
--- Vivi Li 2011-12-16 04:35:49
I don't see this crash in test logs of other sound cards, only in adau1361.
I also run the same manual test on AD1836, to repeat arecord many times by
while command, no such problem.
--- Lars-Peter Clausen 2011-12-16 04:42:38
Ok, I'll try to reproduce it, but at first glance this doesn't look like it is a
problem in the adau1361 driver. It looks like a race condition in pthread, or
maybe memory corruption.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
config.config.audio_adau1361 application/octet-stream 51878 Vivi Li
config.linux.audio_adau1361 application/octet-stream 37176 Vivi Li