Consultor Eletrônico



Kbase P123376: Exclamation point crashes compiler with error 51
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   8/4/2010
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.1A
OpenEdge 10.1B
UNIX
Windows 32 Intel

SYMPTOM(s):

Using exclamation points (!) in format phrase causes Compiler to crash.

SYSTEM ERROR: sizditm -- invalid type. (51)

Checking syntax of following lines:

DEFINE VARIABLE txt_exit AS CHARACTER FORMAT "!(45)" INITIAL "Exit".
DEFINE VARIABLE txt_help AS CHARACTER FORMAT "!(45)" INITIAL "Help".

Following stack traces are produced by the crash:

Win32:
RaiseException+52
dbut_countl+AB4

UNIX:
drexit+0x3eb from _progres
drSigFatal+0x6c from _progres
__GI___libc_sigaction+0x138 from /lib/libc.so.6
smpvini+0x3c0 from _progres
smalci+0x197 from _progres
smsem+0x1aea from _progres
cr_compile+0x28a from _progres
crpsrch+0xac2 from _progres
crrun_entry+0x13b from _progres
rninterpret+0x2e from _progres
crrun_rcsv+0x92 from _progres
rncmpile+0xb21 from _progres
rnexec_entry+0x2d0 from _progres

CAUSE:

This is a known issue being investigated by development.

FIX:

As a workaround:

1) change length to 44 or shorter,
2) change !(45) to X(45),
3) remove initial values or
4) remove one of the two lines.