Kbase P21558: WORKAROUND to: Application freezes when using dynamic queries with CREATE BUFFER
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  1/27/2006 |
|
Status: Verified
FACT(s) (Environment):
Progress 9.1C
SYMPTOM(s):
Application freezes when exiting the program
Application crashes with ACCESS_VIOLATION
ACCESS_VIOLATION Call stack from C:\WINNT\system32\MSVCRT.dll reads:
vsHaveClipboard
vsUnregisterWindow
wwSEUnregisterWindow
wwDestroyProWin
wwCloseDisplay
iosetc
drexit
DllMain
_DllMainCRTStartup
wcsncpy
LdrShutdownProcess
ExitProcess
Using dynamic queries with two buffers (against two tables)
When using AppServer, no problems are seen
Using BUFFER-CREATE and BUFFER-COPY
CAUSE:
Bug# 20010703-003
FIX:
Upgrade to Progress 9.1C with Patch or higher
If unable to upgrade then rresolved the issue by creating an unnamed widget pool within the called procedure before the dynamic objects are created and delete it before exiting:
At the beginning of the procedure (after definitions):
CREATE WIDGET-POOL "dynTemp" NO-ERROR.
And at the end:
DELETE WIDGET-POOL "dynTemp" NO-ERROR.
Also add:
IN WIDGET-POOL "dynTemp"
for all the create statements(including the Query and buffers, all the statements that begin with CREATE).