Consultor Eletrônico



Kbase P134155: AppBuilder can crash when the "Start In" field in the short-cut specifies a UNC path
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   1/15/2009
Status: Verified

SYMPTOM(s):

AppBuilder can crash when the "Start In" path in the short-cut specifies a UNC path

AppBuilder crashes when selecting Smart Objects from the Palette (Smart Data Object, Smart Receiver, etc.)

AppBuilder crashes when attempting to select an image for an Image widget

FACT(s) (Environment):

The "Start In" field for the AppBuilder icon specifies a UNC path
No protrace file is generated
Problem does not occur in Progress 9.1x
Problem does not occur in OpenEdge 10.1B
OpenEdge 10.1C
OpenEdge 10.2A
Windows

CHANGE:

Upgraded to OpenEdge 10.1C or higher

CAUSE:

The difference is caused by a change in the _chdrive implementation in MSVCR*. In OpenEdge 10.1B, dirsrch is linked with MSVCR71.DLL. As per the doc for MSVCR71.DLL/.NET 2003 (http://msdn.microsoft.com/en-us/library/0d1409hb(VS.71).aspx), if _chdrive is called with an invalid driver number, it returns -1. In OpenEdge 10.1C, Progress upgraded compilers and now dirsrch.dll is linked with MSVCR80.DLL. As per the doc for MSVCR80.dll/.NET 2005 (http://msdn.microsoft.com/en-us/library/0d1409hb(VS.80).aspx), _chdrive now checks the passed parameter, and generates an access violation if it is not valid.

FIX:

Use a mapped drive in place of a UNC path