Topic
  • 4 replies
  • Latest Post - ‏2012-06-21T09:50:56Z by wangjixin
wangjixin
wangjixin
9 Posts

Pinned topic "TestRT-F-EXE_ABORT, FATAL SHUTDOWN DURING EXECUTION "

‏2012-06-20T01:24:41Z |
Dear Richard,
I got this message during work, and the detailed is shown as below:

Preprocessing PTU test script file...
TestRT-I-STARTEXEC, IBM(R) Rational(R) Test RealTime C Test Script Compiler 7.5.0.0.276.008
TestRT-I-COPYRIGHT, (C) Copyright IBM Corp. 1992-2008 All Rights Reserved. All rights reserved.
TestRT-I-ENDNOENWR, End of execution with 0 error and 0 warning
cwinmingw3_2\TTest.c: Preprocessing...
cwinmingw3_2\TTest_aug.c: Compiling...
EcuM.c: Preprocessing...
EcuM.c: Instrumenting ...
EcuM.c: Compiling...
Linking .\cwinmingw3_2\Test.exe...
Executing .\cwinmingw3_2\Test.exe...
Executable terminated with error code 255.
Splitting 'cwinmingw3_2\\Test.spt' traces file...
status 255
On the fly split done.
Postprocessing...
TestRT-I-STARTEXEC, IBM(R) Rational(R) Test RealTime C and Ada Test Report Generator 7.5.0.0.276.008
TestRT-I-COPYRIGHT, (C) Copyright IBM Corp. 1992-2008 All Rights Reserved. All rights reserved.
TestRT-F-EXE_ABORT, FATAL SHUTDOWN DURING EXECUTION
Failed.

I dunno what's the problems here, and wish your reply soon, thank you.

BRs,
Sara
Updated on 2012-06-21T09:50:56Z at 2012-06-21T09:50:56Z by wangjixin
  • richard.france
    richard.france
    883 Posts

    Re: "TestRT-F-EXE_ABORT, FATAL SHUTDOWN DURING EXECUTION "

    ‏2012-06-20T12:15:22Z  
    more details are necessary to understand what happend.
    So I sugggest you to set the verbose mode ON (edit> preferneces> Project > verbose)
    and rebuild.
    in addition the cwinmingw3_2.xdp file used would be helpfull as well
  • wangjixin
    wangjixin
    9 Posts

    Re: "TestRT-F-EXE_ABORT, FATAL SHUTDOWN DURING EXECUTION "

    ‏2012-06-21T07:14:18Z  
    more details are necessary to understand what happend.
    So I sugggest you to set the verbose mode ON (edit> preferneces> Project > verbose)
    and rebuild.
    in addition the cwinmingw3_2.xdp file used would be helpfull as well
    Dear Richard,

    thanks for your reply.
    I have set the verbose mode on as you said, and the new issue is appeared:

    TestRT-W-VALOMIPAR, E:\Jixin Wang database\RTRT_DCDC\dcdc_02\EcuM_2.ptu:155 A value has been omitted for parmas parameter

    since there is a value for this stub, why did it say "value has been omitted"? it is really weird, I think.
  • richard.france
    richard.france
    883 Posts

    Re: "TestRT-F-EXE_ABORT, FATAL SHUTDOWN DURING EXECUTION "

    ‏2012-06-21T09:06:31Z  
    • wangjixin
    • ‏2012-06-21T07:14:18Z
    Dear Richard,

    thanks for your reply.
    I have set the verbose mode on as you said, and the new issue is appeared:

    TestRT-W-VALOMIPAR, E:\Jixin Wang database\RTRT_DCDC\dcdc_02\EcuM_2.ptu:155 A value has been omitted for parmas parameter

    since there is a value for this stub, why did it say "value has been omitted"? it is really weird, I think.
    you must have the same number of Params into the STUB instruction than requested into the stubbed function as declared into the DEFINE STUB block.
    If you want more help we will need the STUB lines and the DEFINE STUB block from your PTU.
  • wangjixin
    wangjixin
    9 Posts

    Re: "TestRT-F-EXE_ABORT, FATAL SHUTDOWN DURING EXECUTION "

    ‏2012-06-21T09:50:56Z  
    you must have the same number of Params into the STUB instruction than requested into the stubbed function as declared into the DEFINE STUB block.
    If you want more help we will need the STUB lines and the DEFINE STUB block from your PTU.
    Dear Richard,

    thanks for your replying again.

    here are some infors from my .ptu, fyr:

    DEFINE STUB EcuM_c
    #void Mcu_Init(Mcu_ConfigType _inout p1); /* ./src/project/BSW/SysPack/Mcu/Inc/Mcu.h */
    ...
    END DEFINE

    SERVICE EcuM_cStub
    SERVICE_TYPE extern

    #EcuM_ConfigType ConfigPtr;

    ENVIRONMENT ENV_EcuM_c
    STR ConfigPtr, init =0, ev= init
    END ENVIRONMENT
    USE ENV_EcuM_c

    TEST 01
    FAMILY nominal

    ELEMENT
    STUB EcuM_c.Mcu_GetResetReason()0
    STUB EcuM_c.Mcu_Init(0,0)
    STUB EcuM_c.ScM_Init()NULL
    ...
    #EcuM_Init(&ConfigPtr);
    END ELEMENT
    END TEST
    END SERVICE

    I Appreciate your helping.