Skip to main content

I do have this line

putitem/id "JKD_ITEM_OKAY",1

Okay it's an error, but UnifAce compiles this and "crash" at runtime:

(_execute); GP_JOK_SET_ID; 37; [0]; putitem/id "JKD_ITEM_OKAY<esc>1=<esc>=FSUCHFELD_5.DB1200", V_JKD_ITEM, $92
(_execute); GP_JOK_SET_ID; 38; [0]; trace
(_execute); GP_JOK_SET_ID; 39; [0]; perform
ERROR=-1121MNEM=<UPROCERR_3GL>DESCRIPTION=3GL function not validCOMPONENT=PB1200EPROCNAME=GP_JOK_SET_IDTRIGGER=EXECLINE=39
(_execute); GP_JOK_SET_ID; 40; [-1121]; while ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((
8019 - Divide by zero.Divide by zero
Fatal error: 8019 - Divide by zero.

The Compiler put an invalid p-code into compilat and at runtime, the interpreter gets in real trouble 🙂

Ingo

@UnifAce: 9.7.04.01 (0817_1)

Be the first to reply!