How to get debug a task exception - VxWorks

This is a discussion on How to get debug a task exception - VxWorks ; Hi , I am getting the following exception when I run my task. But the task trace doesn't give the exact function which caused the problem... is there anything which I can derive from this exception which can me a ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: How to get debug a task exception

  1. How to get debug a task exception

    Hi ,
    I am getting the following exception when I run my task. But the task
    trace doesn't give the exact function which caused the problem...

    is there anything which I can derive from this exception which can me a
    clue in which function problem occurs?

    09/01/2006 19:56:39 BERR0705 EXC 0: Exception 14 in Task "http"
    (0xc364038)
    SR=0x0008, PC=0x68686868, Addr(CR2)=0x68686868,
    ErrCode=0x0,ValidFlags=0xb

    -> tt 0xc364038
    4481d8d excStub +41 : 45227c1 (e, c363f94, c363f6c)
    45227d3 excExcHandle +73 : excpTaskLevelHandler (e, c363f94, c363f6c,
    c363f00)
    4360771 excpTaskLevelHandler+1e1: taskSuspend (c364038)
    value = 0 = 0x0

    TIA,
    Sachin


  2. Re: How to get debug a task exception

    Sometimes you can attach to the task, then use the backtrace window.
    Whether that will work depends on whether the stack and base pointers have
    been overwritten...

    David

    voidptr wrote:

    > Hi ,
    > I am getting the following exception when I run my task. But the task
    > trace doesn't give the exact function which caused the problem...
    >
    > is there anything which I can derive from this exception which can me a
    > clue in which function problem occurs?
    >
    > 09/01/2006 19:56:39 BERR0705 EXC 0: Exception 14 in Task "http"
    > (0xc364038)
    > SR=0x0008, PC=0x68686868, Addr(CR2)=0x68686868,
    > ErrCode=0x0,ValidFlags=0xb
    >
    > -> tt 0xc364038
    > 4481d8d excStub +41 : 45227c1 (e, c363f94, c363f6c)
    > 45227d3 excExcHandle +73 : excpTaskLevelHandler (e, c363f94, c363f6c,
    > c363f00)
    > 4360771 excpTaskLevelHandler+1e1: taskSuspend (c364038)
    > value = 0 = 0x0
    >
    > TIA,
    > Sachin



  3. Re: How to get debug a task exception

    I've only really had experience with PowerPC architecture, so I'm not
    sure exactly what your exception is. Those PC and CR2 values look
    pretty suspicious though, especially given the value of your task's
    TCB... perhaps one of your tasks is blowing its stack? Maybe you could
    try checkStack if you haven't already.


  4. Re: How to get debug a task exception

    Thanks for reply...I am kinda newbie to Vxworks(I do more of
    application stuff on Vxworks). And I am check this on the machine so
    don't have any debugger tool.
    If you can put some examples it would be great..

    Thanks,
    Sachin


+ Reply to Thread