[#3993] For ad73311 and ad1836 on latest trunk, it fails to play/record certain kind of wav file with alsa lib tool

Document created by Aaronwu Employee on Aug 28, 2013
Version 1Show Document
  • View in full screen mode

[#3993] For ad73311 and ad1836 on latest trunk, it fails to play/record certain kind of wav file with alsa lib tool

Submitted By: Vivi Li

Open Date

2008-03-28 07:18:44     Close Date

2008-05-20 05:18:25

Priority:

Medium     Assignee:

Cliff Cai

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

N/A     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Out of Date

Uboot version or rev.:

    Toolchain version or rev.:

08r1-rc8

App binary format:

N/A     

Summary: For ad73311 and ad1836 on latest trunk, it fails to play/record certain kind of wav file with alsa lib tool

Details:

 

For ad73311 on latest trunk, it fails to play certain kind of wav file with aplay.

Below is the log:

 

--

arecord -t wav -c 2 -f S24_LE -r 48000 -d 5 wav^M

Recording WAVE 'wav' : Signed 24 bit Little Endian, Rate 48000 Hz, Stereo^M

root:/> aplay wav^M

NULL pointer access (probably)^M

Deferred Exception context^M

CURRENT PROCESS:^M

COMM=aplay PID=159^M

TEXT = 0x033f0000-0x033fb900        DATA = 0x037d4900-0x037d5504^M

BSS = 0x037d5504-0x003c0000  USER-STACK = 0x003dfec0^M

^M

return address: [0x003b84da]; contents of:^M

0x003b84b0:  3210  3048  3248  6002  2004  304a  6461  3210 ^M

0x003b84c0:  a190  0902  1403  3209  3010  a0d0  4c00  0c00 ^M

0x003b84d0:  17f5  0848  1021  0000  3290 [a0d2] 4c02  300b ^M

0x003b84e0:  0065  0803  17de  6000  3290  b0d0  3080  e3ff ^M

^M

SEQUENCER STATUS:               Not tainted^M

SEQSTAT: 00002027  IPEND: 0030  SYSCFG: 0006^M

  HWERRCAUSE: 0x0^M

  EXCAUSE   : 0x27^M

RETE: <0x00000000> { _run_init_process + 0xfffff000 }^M

RETN: <0x003a4000> /* unknown address */^M

RETX: <0x003b84da> [ /lib/libpthread-0.9.29.so + 0x84da ]^M

RETS: <0x003b6158> [ /lib/libpthread-0.9.29.so + 0x6158 ]^M

PC  : <0x003b84da> [ /lib/libpthread-0.9.29.so + 0x84da ]^M

DCPLB_FAULT_ADDR: <0x0000000c> /* Maybe null pointer? */^M

ICPLB_FAULT_ADDR: <0x003b84da> [ /lib/libpthread-0.9.29.so + 0x84da ]^M

 

PROCESSOR STATE:^M

R0 : 00000000    R1 : 003df90b    R2 : 00000001    R3 : 00000000^M

R4 : 00000001    R5 : 003df950    R6 : 00000001    R7 : 033ecb20^M

P0 : 00568500    P1 : 00568500    P2 : 00000000    P3 : 033ed448^M

P4 : 003df950    P5 : 00000420    FP : 003df8ec    SP : 003a3f24^M

LB0: 0325efcd    LT0: 0325efcc    LC0: 00000000^M

LB1: 0325cf7b    LT1: 0325cf7a    LC1: 00000000^M

B0 : 00000000    L0 : 00000000    M0 : 00000000    I0 : 00000000^M

B1 : 00000000    L1 : 00000000    M1 : 00000000    I1 : 00000000^M

B2 : 00000000    L2 : 00000000    M2 : 00000000    I2 : 00000000^M

B3 : 00000000    L3 : 00000000    M3 : 00000000    I3 : 00000000^M

A0.w: 00000000   A0.x: 00000000   A1.w: 00000000   A1.x: 00000000^M

USP : 003df8e0  ASTAT: 02003025^M

^M

Hardware Trace:^M

   0 Target : <0x0000464c> { _trap_c + 0x0 }^M

     Source : <0xffa006c4> { _exception_to_level5 + 0xb4 }^M

   1 Target : <0xffa00610> { _exception_to_level5 + 0x0 }^M

     Source : <0xffa0056c> { _ex_trap_c + 0x5c }^M

   2 Target : <0xffa00510> { _ex_trap_c + 0x0 }^M

     Source : <0xffa0039a> { _ex_workaround_261 + 0x22 }^M

   3 Target : <0xffa00378> { _ex_workaround_261 + 0x0 }^M

     Source : <0xffa00764> { _trap + 0x28 }^M

   4 Target : <0xffa0073c> { _trap + 0x0 }^M

     Source : <0xffa004b2> { _bfin_return_from_exception + 0xe }^M

   5 Target : <0xffa004a4> { _bfin_return_from_exception + 0x0 }^M

     Source : <0xffa0038a> { _ex_workaround_261 + 0x12 }^M

   6 Target : <0xffa00378> { _ex_workaround_261 + 0x0 }^M

     Source : <0xffa00764> { _trap + 0x28 }^M

   7 Target : <0xffa0073c> { _trap + 0x0 }^M

     Source : <0x003b84d8> [ /lib/libpthread-0.9.29.so + 0x84d8 ]^M

   8 Target : <0x003b84d8> [ /lib/libpthread-0.9.29.so + 0x84d8 ]^M

     Source : <0x003b8514> [ /lib/libpthread-0.9.29.so + 0x8514 ]^M

   9 Target : <0x003b8510> [ /lib/libpthread-0.9.29.so + 0x8510 ]^M

     Source : <0x003b84ae> [ /lib/libpthread-0.9.29.so + 0x84ae ]^M

  10 Target : <0x003b8490> [ /lib/libpthread-0.9.29.so + 0x8490 ]^M

     Source : <0x003b3fb2> [ /lib/libpthread-0.9.29.so + 0x3fb2 ]^M

  11 Target : <0x003b3faa> [ /lib/libpthread-0.9.29.so + 0x3faa ]^M

     Source : <0x003b6154> [ /lib/libpthread-0.9.29.so + 0x6154 ]^M

  12 Target : <0x003b6150> [ /lib/libpthread-0.9.29.so + 0x6150 ]^M

     Source : <0x003b6170> [ /lib/libpthread-0.9.29.so + 0x6170 ]^M

  13 Target : <0x003b616c> [ /lib/libpthread-0.9.29.so + 0x616c ]^M

     Source : <0x003b613c> [ /lib/libpthread-0.9.29.so + 0x613c ]^M

  14 Target : <0x003b6138> [ /lib/libpthread-0.9.29.so + 0x6138 ]^M

     Source : <0x003b60b6> [ /lib/libpthread-0.9.29.so + 0x60b6 ]^M

  15 Target : <0x003b60b4> [ /lib/libpthread-0.9.29.so + 0x60b4 ]^M

     Source : <0x003b6124> [ /lib/libpthread-0.9.29.so + 0x6124 ]^M

Stack from 003a3f04:^M

        ffa00a7a ffa006c8 00183f8c 00183f8c 00183f88 00000001 00000001 00008400^M

        003b84da 00000030 00002027 00000000 003a4000 003b84da 003b84da 003b6158^M

        00000000 02003025 0325cf7b 0325efcd 0325cf7a 0325efcc 00000000 00000000^M

        00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000^M

        00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000^M

        00000000 00000000 00000000 00000000 003df8e0 003df8ec 00000420 003df950^M

^M

Call Trace:^M

^M

SIGSEGV^M

root:/>

--

 

Follow-ups

 

--- Vivi Li                                                  2008-04-03 07:33:25

For ad1836 on latest trunk, it fails to record certain kind of wav file with

arecord.

 

Below is the log:

--

arecord -t wav -c 2 -f S16_LE -r 44100 -d 5 wav^M

NULL pointer access (probably)^M

Deferred Exception context^M

CURRENT PROCESS:^M

COMM=arecord PID=145^M

TEXT = 0x033c0000-0x033cb900        DATA = 0x00328900-0x00329504^M

BSS = 0x00329504-0x00340000  USER-STACK = 0x0035fe70^M

^M

return address: [0x003084da]; contents of:^M

0x003084b0:  3210  3048  3248  6002  2004  304a  6461  3210 ^M

0x003084c0:  a190  0902  1403  3209  3010  a0d0  4c00  0c00 ^M

0x003084d0:  17f5  0848  1021  0000  3290 [a0d2] 4c02  300b ^M

0x003084e0:  0065  0803  17de  6000  3290  b0d0  3080  e3ff ^M

^M

SEQUENCER STATUS:               Not tainted^M

SEQSTAT: 00002027  IPEND: 0030  SYSCFG: 0006^M

  HWERRCAUSE: 0x0^M

  EXCAUSE   : 0x27^M

RETE: <0x00000000> { _run_init_process + 0xfffff000 }^M

RETN: <0x00336000> /* unknown address */^M

RETX: <0x003084da> [ /lib/libpthread-0.9.29.so + 0x84da ]^M

RETS: <0x00306158> [ /lib/libpthread-0.9.29.so + 0x6158 ]^M

PC  : <0x003084da> [ /lib/libpthread-0.9.29.so + 0x84da ]^M

DCPLB_FAULT_ADDR: <0x0000000c> /* Maybe null pointer? */^M

ICPLB_FAULT_ADDR: <0x003084da> [ /lib/libpthread-0.9.29.so + 0x84da ]^M

^M

PROCESSOR STATE:^M

R0 : 00000000    R1 : 00000dd8    R2 : 0000001c    R3 : 00000000^M

R4 : 0035f88c    R5 : 00389510    R6 : 0038950c    R7 : 00389bd8^M

P0 : 00389520    P1 : 00389520    P2 : 00000000    P3 : 033d5448^M

P4 : 0035f958    P5 : 00000420    FP : 0035f844    SP : 00335f24^M

LB0: 001defcd    LT0: 001defcc    LC0: 00000000^M

LB1: 001dcf7b    LT1: 001dcf7a    LC1: 00000000^M

B0 : 00000000    L0 : 00000000    M0 : 00000000    I0 : 00000000^M

B1 : 00000000    L1 : 00000000    M1 : 00000000    I1 : 00000000^M

B2 : 00000000    L2 : 00000000    M2 : 00000000    I2 : 00000000^M

B3 : 00000000    L3 : 00000000    M3 : 00000000    I3 : 00000000^M

A0.w: 00000000   A0.x: 00000000   A1.w: 00000000   A1.x: 00000000^M

USP : 0035f838  ASTAT: 02003025^M

^M

Hardware Trace:^M

   0 Target : <0x0000464c> { _trap_c + 0x0 }^M

     Source : <0xffa006c4> { _exception_to_level5 + 0xb4 }^M

   1 Target : <0xffa00610> { _exception_to_level5 + 0x0 }^M

     Source : <0xffa0056c> { _ex_trap_c + 0x5c }^M

   2 Target : <0xffa00510> { _ex_trap_c + 0x0 }^M

     Source : <0xffa0039a> { _ex_workaround_261 + 0x22 }^M

   3 Target : <0xffa00378> { _ex_workaround_261 + 0x0 }^M

     Source : <0xffa00764> { _trap + 0x28 }^M

   4 Target : <0xffa0073c> { _trap + 0x0 }^M

     Source : <0xffa004b2> { _bfin_return_from_exception + 0xe }^M

   5 Target : <0xffa004a4> { _bfin_return_from_exception + 0x0 }^M

     Source : <0xffa0038a> { _ex_workaround_261 + 0x12 }^M

   6 Target : <0xffa00378> { _ex_workaround_261 + 0x0 }^M

     Source : <0xffa00764> { _trap + 0x28 }^M

   7 Target : <0xffa0073c> { _trap + 0x0 }^M

     Source : <0x003084d8> [ /lib/libpthread-0.9.29.so + 0x84d8 ]^M

   8 Target : <0x003084d8> [ /lib/libpthread-0.9.29.so + 0x84d8 ]^M

     Source : <0x00308514> [ /lib/libpthread-0.9.29.so + 0x8514 ]^M

   9 Target : <0x00308510> [ /lib/libpthread-0.9.29.so + 0x8510 ]^M

     Source : <0x003084ae> [ /lib/libpthread-0.9.29.so + 0x84ae ]^M

  10 Target : <0x00308490> [ /lib/libpthread-0.9.29.so + 0x8490 ]^M

     Source : <0x00303fb2> [ /lib/libpthread-0.9.29.so + 0x3fb2 ]^M

  11 Target : <0x00303faa> [ /lib/libpthread-0.9.29.so + 0x3faa ]^M

     Source : <0x00306154> [ /lib/libpthread-0.9.29.so + 0x6154 ]^M

  12 Target : <0x0030614c> [ /lib/libpthread-0.9.29.so + 0x614c ]^M

     Source : <0x00306074> [ /lib/libpthread-0.9.29.so + 0x6074 ]^M

  13 Target : <0x00306064> [ /lib/libpthread-0.9.29.so + 0x6064 ]^M

     Source : <0x001f254e> [ /lib/libuClibc-0.9.29.so + 0x3254e ]^M

  14 Target : <0x001f2534> [ /lib/libuClibc-0.9.29.so + 0x32534 ]^M

     Source : <0x001cb9a2> [ /lib/libuClibc-0.9.29.so + 0xb9a2 ]^M

  15 Target : <0x001cb99a> [ /lib/libuClibc-0.9.29.so + 0xb99a ]^M

     Source : <0x001ee650> [ /lib/libuClibc-0.9.29.so + 0x2e650 ]^M

Stack from 00335f04:^M

        ffa00a7a ffa006c8 0018518c 0018518c 00185188 00000001 0032a9b0

00008400^M

        003084da 00000030 00002027 00000000 00336000 003084da 003084da

00306158^M

        00000000 02003025 001dcf7b 001defcd 001dcf7a 001defcc 00000000

00000000^M

        00000000 00000000 00000000 00000000 00000000 00000000 00000000

00000000^M

        00000000 00000000 00000000 00000000 00000000 00000000 00000000

00000000^M

        00000000 00000000 00000000 00000000 0035f838 0035f844 00000420

0035f958^M

Call Trace:^M

SIGSEGV^M

root:/>

--

 

--- Vivi Li                                                  2008-05-20 05:18:25

Can't see this bug now. Out of Date.

Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes