This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Unhandled Exception on DVRRDK_02.80.00.10

hi everyone

Here is my question!!

I am running on DVRRDK_02.80.00.10    

When maybe about several hours ,  my console showed   error message  below : 

 [m3video] Unhandled Exception:
 [m3video] Exception occurred in ThreadType_SWI
 [m3video] handle: 0x9da79344.
 [m3video] stack base: 0x9da7b108.
 [m3video] stack size: 0x4000.
 [m3video] R0 = 0x00000400  R8  = 0x9d923170
 [m3video] R1 = 0x00000000  R9  = 0x00ed4d28
 [m3video] R2 = 0x00000000  R10 = 0x9cfce740
 [m3video] R3 = 0x9cfce664  R11 = 0x9cfce9ec
 [m3video] R4 = 0x9da274e0  R12 = 0x9d02a49c
 [m3video] R5 = 0x00000000  SP(R13) = 0x9da6e3e0
 [m3video] R6 = 0x00000010  LR(R14) = 0x9d030009
 [m3video] R7 = 0xffffffff  PC(R15) = 0x9d02c1b0
 [m3video] PSR = 0x21000200
 [m3video] ICSR = 0x00400803
 [m3video] MMFSR = 0x00
 [m3video] BFSR = 0x00
 [m3video] UFSR = 0x0001
 [m3video] HFSR = 0x40000000
 [m3video] DFSR = 0x00000000
 [m3video] MMAR = 0xe000ed34
 [m3video] BFAR = 0xe000ed38
 [m3video] AFSR = 0x00000000
 [m3video] Terminating Execution...

How to fix it ? 

thanks a lots

best regards

  • Do you have the map file for the M3 binary? I may not be able to debug this, but atleast I can try telling the function where it fails from the map file.

  • Hi , Renjith Thomas

    I am running another version "DVRRDK_03.00.00.00"  and I run my usecase " 1 Bitstream->DEC->SWMS->DISPLAY" (one channel )

    when I stop running , it will show the thing below:

     [m3video] Unhandled Exception:
     [m3video] Exception occurred in ThreadType_Task
     [m3video] handle: 0x8d682bf8.
     [m3video] stack base: 0x8e06fce0.
     [m3video] stack size: 0x8000.
     [m3video] R0 = 0x000007f0  R8  = 0x8e077bb4
     [m3video] R1 = 0x74c0fd41  R9  = 0x8d680520
     [m3video] R2 = 0x00000000  R10 = 0x8e077bb0
     [m3video] R3 = 0x00000400  R11 = 0x8e0a7e88
     [m3video] R4 = 0x8e077b58  R12 = 0x00000000
     [m3video] R5 = 0xc0000000  SP(R13) = 0x8e077b18
     [m3video] R6 = 0x8d680520  LR(R14) = 0x8d62847f
     [m3video] R7 = 0x00000000  PC(R15) = 0x8d635b4e
     [m3video] PSR = 0x61000000
     [m3video] ICSR = 0x0440f803
     [m3video] MMFSR = 0x00
     [m3video] BFSR = 0x82
     [m3video] UFSR = 0x0000
     [m3video] HFSR = 0x40000000
     [m3video] DFSR = 0x00000000
     [m3video] MMAR = 0xc0000004
     [m3video] BFAR = 0xc0000004
     [m3video] AFSR = 0x00000000
     [m3video] Terminating Execution...

    do you know how to fix it ? ?

    Attached files are for the M3 binary

    5270.the map file.zip

    thanks a lots 

    best regards

  • Hi Steven,

    I think the error is occurring in the function HeapMemMP_getStats() in the file component-sources/syslink_2_10_03_20/packages/ti/syslink/ipc/hlos/knl/HeapMemMP.c

    Most likely, some of the arguments/handle passed to this function is wrong or something go to do with cache invalidation. This is the best that I can tell. You can put a break point in the code and start debugging.

  • Hi , Renjith Thomas

    thanks a lots

    I'll try it ~

    best regards