2008-06-29 16:38:42     ALSA library crash

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

2008-06-29 16:38:42     ALSA library crash

sunny sunny (UNITED STATES)

Message: 58057   

 

We are seeing issues when using ALSA library for sample conversion. We are trying to play a WAV file with 32Khz, an unsupported audio codec sample rate. This is on a BF537 custom board. Any know issues with ALSA library on 2008R1-RC8 builds?

 

NULL pointer access (probably)

Kernel process context

CURRENT PROCESS:

COMM=aplay PID=147

TEXT = 0x00340000-0x0034b900        DATA = 0x0026c900-0x0026d504

BSS = 0x0026d504-0x01060000  USER-STACK = 0x0107fea0

 

return address: [0x0045387e]; contents of:

0x00453850:  c604  4c00  0052  2e7d  c682  8146  9b28  640d

0x00453860:  a379  0829  1a97  b9b8  5b45  2e57  c682  0146

0x00453870:  e121  ff80  5808  9b28  2ff3  c682  8186 [9728]

0x00453880:  2fef  c682  0186  e121  8000  5808  9728  2fe8

 

SEQUENCER STATUS:               Not tainted

SEQSTAT: 00000027  IPEND: 0030  SYSCFG: 0006

  HWERRCAUSE: 0x0

  EXCAUSE   : 0x27

RETE: <0x00000000> /* Maybe null pointer? */

RETN: <0x01156000> /* unknown address */

RETX: <0x0045387e> [ /usr/lib/libasound.so.2 + 0x5387e ]

RETS: <0x00452592> [ /usr/lib/libasound.so.2 + 0x52592 ]

PC  : <0x0045387e> [ /usr/lib/libasound.so.2 + 0x5387e ]

DCPLB_FAULT_ADDR: <0x01fdfc6c> [ syslogd + 0x1fc6c ]

ICPLB_FAULT_ADDR: <0x001cdd08> [ /lib/libuClibc-0.9.29.so + 0xdd08 ]

 

PROCESSOR STATE:

R0 : 00000006    R1 : 7fffffff    R2 : 00000000    R3 : 00000000

R4 : 00453698    R5 : 00000000    R6 : 00068000    R7 : 00000000

P0 : 0107f928    P1 : 00000002    P2 : 0045387a    P3 : 00000002

P4 : 0107f924    P5 : 00000000    FP : 0107f994    SP : 01155f24

LB0: 0036f0c5    LT0: 0036f0b8    LC0: 00000000

LB1: 0043fdcd    LT1: 0043fdc4    LC1: 00000000

B0 : 00000000    L0 : 00000000    M0 : 00000000    I0 : 0107f088

B1 : 00000000    L1 : 00000000    M1 : 00000000    I1 : 00000000

B2 : 00000000    L2 : 00000000    M2 : 00000000    I2 : 00000000

B3 : 00000000    L3 : 00000000    M3 : 00000000    I3 : 0107f78c

A0.w: 00000000   A0.x: 00000000   A1.w: 00000000   A1.x: 00000000

USP : 0107f8f4  ASTAT: 02002000

 

Hardware Trace:

   0 Target : <0x00004940> { _trap_c + 0x0 }

     Source : <0xffa0093c> { _exception_to_level5 + 0xb4 }

   1 Target : <0xffa00888> { _exception_to_level5 + 0x0 }

     Source : <0xffa007e4> { _ex_trap_c + 0x5c }

   2 Target : <0xffa00788> { _ex_trap_c + 0x0 }

     Source : <0xffa00612> { _ex_workaround_261 + 0x22 }

   3 Target : <0xffa005f0> { _ex_workaround_261 + 0x0 }

     Source : <0xffa009dc> { _trap + 0x28 }

   4 Target : <0xffa009b4> { _trap + 0x0 }

     Source : <0xffa0072a> { _bfin_return_from_exception + 0xe }

   5 Target : <0xffa0071c> { _bfin_return_from_exception + 0x0 }

     Source : <0xffa00602> { _ex_workaround_261 + 0x12 }

   6 Target : <0xffa005f0> { _ex_workaround_261 + 0x0 }

     Source : <0xffa009dc> { _trap + 0x28 }

   7 Target : <0xffa009b4> { _trap + 0x0 }

     Source : <0x0045387a> [ /usr/lib/libasound.so.2 + 0x5387a ]

   8 Target : <0x0045387a> [ /usr/lib/libasound.so.2 + 0x5387a ]

     Source : <0x004535b4> [ /usr/lib/libasound.so.2 + 0x535b4 ]

   9 Target : <0x004535b0> [ /usr/lib/libasound.so.2 + 0x535b0 ]

     Source : <0x004535ac> [ /usr/lib/libasound.so.2 + 0x535ac ]

  10 Target : <0x004535aa> [ /usr/lib/libasound.so.2 + 0x535aa ]

     Source : <0x004535c6> [ /usr/lib/libasound.so.2 + 0x535c6 ]

  11 Target : <0x004535b6> [ /usr/lib/libasound.so.2 + 0x535b6 ]

     Source : <0x004535a0> [ /usr/lib/libasound.so.2 + 0x535a0 ]

  12 Target : <0x0045359e> [ /usr/lib/libasound.so.2 + 0x5359e ]

     Source : <0x00453554> [ /usr/lib/libasound.so.2 + 0x53554 ]

  13 Target : <0x00453550> [ /usr/lib/libasound.so.2 + 0x53550 ]

     Source : <0x004535fa> [ /usr/lib/libasound.so.2 + 0x535fa ]

  14 Target : <0x004535ca> [ /usr/lib/libasound.so.2 + 0x535ca ]

     Source : <0x004536c8> [ /usr/lib/libasound.so.2 + 0x536c8 ]

  15 Target : <0x00453698> [ /usr/lib/libasound.so.2 + 0x53698 ]

     Source : <0x0045375c> [ /usr/lib/libasound.so.2 + 0x5375c ]

Stack from 01155f04:

        00000000 ffa00940 0018456c 0018456c 00184568 00000002 00261c84 001cd068

        0045387e 00000030 00000027 00000000 01156000 0045387e 0045387e 00452592

        00000006 02002000 0043fdcd 0036f0c5 0043fdc4 0036f0b8 00000000 00000000

        00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

        00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

        0107f78c 00000000 00000000 0107f088 0107f8f4 0107f994 00000000 0107f924

 

----

 

 

QuoteReplyEditDelete

 

 

2008-06-30 03:32:18     Re: ALSA library crash

Yi Li (CHINA)

Message: 58064   

 

Could you list the detail steps to reproduce this bug? Are you using aplay?

 

How about analyze the trace on your side?

Attachments

    Outcomes