Consultor Eletrônico



Kbase P171233: Intermittent crashes in client started with a double-byte-enabled code page
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   4/11/2011
Status: Unverified

SYMPTOM(s):

Intermittent crashes in client started with a double-byte-enabled code page

Stack trace from prowin32 protrace reads:
100FF50C 00000000 DllStartup+8B99C
00DC25EC 00000000 0000:00000000
FFFFFFFF FFFFFFFF 0000:00000000
FFFFFFFF FFFFFFFF NlsMbOemCodePageTag+837768D7

Stack trace generated with userdump and windbg reads:
00126ebc 100f54e8 prow32!ccDbcsToUTF8+0x1cc
0012ec0c 10409898 prow32!ccConvertBytes+0x548
0012ec44 1042a746 prow32!toWchar+0xa8
0012ecc0 10181647 prow32!wwCreateBrowse+0x406


FACT(s) (Environment):

After restarting the application, the same operation can be performed on the same data without crashing.
Client started with -cpinternal shift-jis.
Same code runs correctly at other sites where it is not started -cpinternal shift-jis.
Windows
OpenEdge 10.1C
OpenEdge Category: Language (4GL/ABL)

CHANGE:

Database converted to shift-jis code page

CAUSE:

Bug# OE00200260

CAUSE:

The internal conversion from a double-byte codepage to UTF-8 has a buffer overrun which could potentially crash the AVM. This is most prevalent on the GUI client (prowin32.exe) when setting -cpinternal to a double-byte codepage, as it performs conversions from -cpinternal to UTF-8 for display.

FIX:

Upgrade to OpenEdge 10.2B03 or later.