[#4421] SPEEX_SET_COMPLEXITY causes speex_encode_int to have a Data access CPLB miss
Submitted By: Jason Hennigar
Open Date
2008-09-13 19:40:39 Close Date
2010-07-23 15:22:01
Priority:
Low Assignee:
Robin Getz
Status:
Closed Fixed In Release:
N/A
Found In Release:
snaps Release:
SVN revision 7065
Category:
Audio Board:
N/A
Processor:
BF537 Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Out of Date
Uboot version or rev.:
1.1.6 Toolchain version or rev.:
208R1.5-RC3
App binary format:
N/A
Summary: SPEEX_SET_COMPLEXITY causes speex_encode_int to have a Data access CPLB miss
Details:
Setting the Speex complexity as follows causes speex_encode_int() to have a Data access CPLB miss. This causes the application to blow up.
tmp = SPEEX_DEFAULT_COMPLEXITY;
speex_encoder_ctl(speex->enc[i].state, SPEEX_SET_COMPLEXITY,&tmp)
speex_encode_int works correctly when the complexity is not set.
The complete error messages are:
Data access CPLB miss
- Used by the MMU to signal a CPLB miss on a data access.
Deferred Exception context
CURRENT PROCESS:
COMM=amic PID=154
TEXT = 0x00470000-0x0047e990 DATA = 0x03798990-0x03799a10
BSS = 0x03799a10-0x00480000 USER-STACK = 0x0049fec0
return address: [0x004c3ae6]; contents of:
0x004c3ac0: 3411 5317 5c0a 6803 e0b2 102c b950 0938
0x004c3ad0: 1ccc 3007 6009 b962 40d0 b942 5010 3053
0x004c3ae0: 5010 3210 0c45 [9950] 1c1b 4303 c30c 008b
0x004c3af0: 429b 3292 3442 3448 e13c 0000 e13d 0000
SEQUENCER STATUS: Not tainted
SEQSTAT: 00060026 IPEND: 0030 SYSCFG: 0006
HWERRCAUSE: 0x18
EXCAUSE : 0x26
RETE: <0x00000000> { __stext + 0xfffff000 }
RETN: <0x00220000> [ amic + 0x0 ]
RETX: <0x00000480> /* Maybe fixed code section */
RETS: <0x004c3cf6> [ /usr/lib/libspeex.so.1 + 0x3cf6 ]
PC : <0x004c3ae6> [ /usr/lib/libspeex.so.1 + 0x3ae6 ]
DCPLB_FAULT_ADDR: <0xfa62173c> /* kernel dynamic memory */
ICPLB_FAULT_ADDR: <0x0000ffff> { _exit_files + 0xb }
PROCESSOR STATE:
R0 : fa62173c R1 : ffffffff R2 : 00000000 R3 : 00221d24
R4 : 32042f1b R5 : 00221c9c R6 : 00000006 R7 : 32042f5b
P0 : 0022277a P1 : 00000005 P2 : fa62173c P3 : 00000000
P4 : 00000000 P5 : 00000023 FP : 00222680 SP : 0021ff24
LB0: 004c868b LT0: 004c868a LC0: 00000000
LB1: 004c3b21 LT1: 004c3acc LC1: 00000005
B0 : 002225c8 L0 : 00000000 M0 : 00000000 I0 : 00221d32
B1 : 00222590 L1 : 00000000 M1 : 0000000a I1 : 00221cf0
B2 : 00221cd4 L2 : 00000000 M2 : 0000000a I2 : 00221d82
B3 : 00000005 L3 : 00000000 M3 : 00000000 I3 : 00221cb8
A0.w: 000011f1 A0.x: 00000000 A1.w: 000000c0 A1.x: 00000000
USP : 00221acc ASTAT: 02002002
No trace since you do not have CONFIG_DEBUG_BFIN_NO_KERN_HWTRACE enabled
Userspace Stack
Stack info:
SP: [0x00221acc] <0x00221acc> [ amic + 0x1acc ]
Memory from 0x00221ac0 to 00222000
00221ac0: 00000006 00221c9c 00000050 [004d2cf5] 00222770 0022258c 00000040 00222208
00221ae0: 00000006 00221d0c 00221cf0 00000000 2f4b0061 30073207 ae939142 ac5b9159
00221b00: 2fd50061 30073207 ae539142 ac5b9159 32280061 321c2fda 30073030 1b00e3ff
00221b20: 3006321c 1769e3ff 916aae3d fffde512 a1505a95 b1504a00 4800a110 321c1007
00221b40: 136ee3ff 30302f87 321c2fec 1160e3ff 3030321c 1364e3ff 3006321c 1aaee3ff
00221b60: e80005e4 0c3a0009 ce82bbab b2bace00 30290000 e3ff1409 303814fc 0000e801
00221b80: 05a43007 32000010 6002b9ab 67f83047 300fb042 e3ff600a e4b81055 0c00ffff
00221ba0: 0d051fee 32071bec 0028e5b8 ffefe6b8 e5129142 5a90fffd 001ee414 321c3214
00221bc0: acdaac91 10a209d1 00000000 32079908 e6b96001 a042fff0 143108aa 1c2f0c38
00221be0: 0808a2b9 32041c2c a0c6ac84 52463044 402acc04 0000bbd1 bbe00901 32571432
00221c00: 91556fa2 18500d4d 3055b9ab ffefe5b9 e3ff3044 320f12ce 0c00304c 52083204
00221c20: 5b2c06a8 3045a04a 5082304c bc8409b1 1064b04a 08aa0000 1fd19920 e14163f9
00221c40: 080d7fff 0c381011 a2b9180f 180c0808 63fa3207 60094ffa fff0e6b9 2fbdb042
00221c60: 6fc23257 e5b92fcf 4801fff0 32071c06 e14263fa b0427fff 1c340c38 0801a2b9
00221c80: 00000000 00000000 00000000 00000000 00000000 00000000 0981a0c0 91423004
00221ca0: 9159ae53 000011f1 16f4e3ff 30424a09 32042f42 0000103c 00000000 00000000
00221cc0: 00000000 00000000 00000000 00000000 00001025 32042f5b 91423004 00000000
00221ce0: 9159ae53 91423004 0061ac5b a1515a91 000011f1 30424a09 16f4e3ff 32042f42
00221d00: 91423004 9159ae53 32042fea 00000000 91423004 9159ae53 0061ac5b 32042f5b
00221d20: 91423004 0061ac5b 00000000 00000000 00000000 00000000 00000000 00000000
00221d40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00221d60: 00000000 00000000 00000000 00000000 00000000 00000000 1252e3ff 3006b9ab
00221d80: 0000e3ff 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00221da0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00221dc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00221de0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00221e00: 00000000 00000000 00000000 00000000 00000000 00000000 6ff80c02 2fd717cc
00221e20: 0c024342 17dd6ff9 32572fe3 2fbc6fe2 2fec600f 2fcb600a 5a9c3226 2fd89953
00221e40: 5a99320e 2fd49953 e8003208 914a0003 9159ac93 0061ac5b e8014300 00100000
00221e60: e8003208 914a0003 00000000 00000000 00000000 00000000 00000000 00000000
00221e80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00221ea0: 00000000 00000000 00000000 00000000 00000000 00000000 05783208 0003e800
00221ec0: 914a3078 9159ad93 0061ac5b 0000e801 05383007 00000010 05783208 0003e800
00221ee0: 914a3078 9159add3 0061ac5b 0000e801 05383007 00000010 e8003208 e8010000
00221f00: 914a0000 9159ae13 00000000 00000000 00000000 00000000 00000000 00000000
00221f20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00221f40: 00000000 00000000 00000000 00000000 00000000 00000000 fffde4b9 fffce4b8
00221f60: 56084f41 fffee4b9 56084f81 ffffe4b9 56084fc1 0000e801 00000010 e8003208
00221f80: 914a0005 9159ae93 0061ac5b 4d41b9e1 4f414342 e1825651 54d0ff00 e10263fa
00221fa0: 545100ff 00ffe122 00000000 00000000 00000000 00000000 00000000 00000000
00221fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00221fe0: 00000000 00000000 00000000 00000000 00000000 00000000 0011e590 00000010
00222000: e8003210
Return addresses in stack:
Cheers!
Jason
Follow-ups
--- Robin Getz 2008-09-15 07:10:26
Jason:
Can you run the application (all built with -g) inside gdb, and get a
backtrace?
--- Jason Hennigar 2008-09-15 20:10:49
Hi Robyn,
The application is built with the -g option but I have not run it inside gdb.
Due to a tight deadline I won't be able to investigate this problem until the
weekend.
Cheers!
Jason
--- Robin Getz 2010-07-23 15:22:00
Closing this -- since Jason never came back.
-Robin
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found