2008-09-22 22:39:29     microwin gif file crash

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

2008-09-22 22:39:29     microwin gif file crash

DAVID ZHOU (CHINA)

Message: 62523   

 

I use microwin to display gif file in blackfin and find that: some gif file can be perfectly displayed and some may lead  microwin to crash.The file which can lead microwin crash are attached.

 

I also use the same microwin code to display the same gif file in SuSE 10.2.  It works fine. So I think  it may be some thing wrong in blackfin uclinux and toolchain.

 

Followed  are the message printed on the console. Any one who know it please help me! Thanks!

 

--------------------------------------------

 

NULL pointer access (probably)

Defered Exception context

CURRENT PROCESS:

COMM=nano-X PID=157

TEXT = 0x01d00040-0x01d418c0        DATA = 0x01d418c4-0x01d59304

BSS = 0x01d59304-0x01d6d6d4  USER-STACK = 0x01d6ef90

 

return address: [0x01d0765e]; contents of:

0x01d07630:  6006  2003  08a6  1037  e4ba  ffff  3005  6001

0x01d07640:  e3ff  fd78  0c80  3010  182e  0000  0000  a119

0x01d07650:  40f1  a298  5007  5048  3211  640f  9b12 [a2f8]

0x01d07660:  0838  17e9  640e  6007  2fe6  a259  2fbc  6006

 

SEQUENCER STATUS:               Not tainted

SEQSTAT: 00002027  IPEND: 0030  SYSCFG: 0006

  HWERRCAUSE: 0x0

  EXCAUSE   : 0x27

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

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

RETX: <0x01d0765e> [ nano-X + 0x761e ]

RETS: <0x01d07644> [ nano-X + 0x7604 ]

PC  : <0x01d0765e> [ nano-X + 0x761e ]

DCPLB_FAULT_ADDR: <0x00000050> /* Maybe null pointer? */

ICPLB_FAULT_ADDR: <0x01d0765e> [ nano-X + 0x761e ]

 

PROCESSOR STATE:

R0 : 01e9004e    R1 : 01e9279e    R2 : 00000024    R3 : 01d625c8

R4 : 00000098    R5 : 01d67894    R6 : 00000044    R7 : 0000004b

P0 : 0000039d    P1 : 01d5a5d8    P2 : 01e9279e    P3 : 006502bc

P4 : 00000040    P5 : 00000000    FP : 00000024    SP : 01ddff24

LB0: 01d38f55    LT0: 01d38f52    LC0: 00000000

LB1: 01d07057    LT1: 01d07030    LC1: 00000000

B0 : 006c0510    L0 : 00000000    M0 : 0005064f    I0 : 01e88410

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

B2 : 00015704    L2 : 00000000    M2 : 00000000    I2 : 006c0514

B3 : 000055c1    L3 : 00000000    M3 : 01b18003    I3 : 006c0518

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

USP : 01d67460  ASTAT: 02000000

 

Hardware Trace:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

     Source : <0x01d0765c> [ nano-X + 0x761c ]

   8 Target : <0x01d07644> [ nano-X + 0x7604 ]

     Source : <0x01d072cc> [ nano-X + 0x728c ]

   9 Target : <0x01d072a4> [ nano-X + 0x7264 ]

     Source : <0x01d0729a> [ nano-X + 0x725a ]

  10 Target : <0x01d07248> [ nano-X + 0x7208 ]

     Source : <0x01d07214> [ nano-X + 0x71d4 ]

  11 Target : <0x01d0720e> [ nano-X + 0x71ce ]

     Source : <0x01d07228> [ nano-X + 0x71e8 ]

  12 Target : <0x01d0720e> [ nano-X + 0x71ce ]

     Source : <0x01d07228> [ nano-X + 0x71e8 ]

  13 Target : <0x01d0720e> [ nano-X + 0x71ce ]

     Source : <0x01d07228> [ nano-X + 0x71e8 ]

  14 Target : <0x01d07216> [ nano-X + 0x71d6 ]

     Source : <0x01d0720c> [ nano-X + 0x71cc ]

  15 Target : <0x01d071c2> [ nano-X + 0x7182 ]

     Source : <0x01d07066> [ nano-X + 0x7026 ]

Stack from 01ddff04:

        ffa00b22 ffa00770 001d256c 001d256c 001d2568 00000000 00000098 00008578

        01d0765e 00000030 00002027 00000000 01de0000 01d0765e 01d0765e 01d07644

        01e9004e 02000000 01d07057 01d38f55 01d07030 01d38f52 00000000 00000000

        00000000 00000000 00000000 00000000 000055c1 00015704 00000000 006c0510

        00000000 00000000 00000000 00000000 01b18003 00000000 00000000 0005064f

        006c0518 006c0514 00000000 01e88410 01d67460 00000024 00000000 00000040

 

Call Trace:

 

nxclient: bad readblock -1, errno 104

 

 

 

 

 

0002.gif

QuoteReplyEditDelete

 

 

2008-09-23 04:38:17     Re: microwin gif file crash

Yi Li (CHINA)

Message: 62544   

 

Maybe it is a problem of nano-x, please refer to bellow link and debug:

 

http://docs.blackfin.uclinux.org/doku.php?id=debuging_applications&s[]=exception#analyzing_traces

Attachments

Outcomes