Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3074

Power builder crash due to DEP as per Microsoft team

$
0
0

Hello All,

 

I need an advise for the below problem which we are facing intermittently while using the application implemented in power builder.

Our application calls an external dll which will makes some calls using winAPIs like InternetOpen , InternetConnect , HttpOpenRequest , HttpSendRequest. During the debug in PB we identified the crash is happening after calling a function in this external dll.

 

Windows Event log when the crash was occurred.

 

Faulting application name: a_tld32.exe, version: 1.0.0.1, time stamp: 0x52c50cf1
Faulting module name: dhcpcsvc6.DLL, version: 6.1.7601.22137, time stamp: 0x508059ee
Exception code: 0xc0000005
Fault offset: 0x000011c1
Faulting process id: 0x28e0
Faulting application start time: 0x01d1853a5aac2bd6
Faulting application path: E:\APPS\TLD-COMMON\bin\a_tld32.exe
Faulting module path: C:\Windows\system32\dhcpcsvc6.DLL
Report Id: a4b4191c-f12d-11e5-81cd-6cae8b21e31a

 

So we contacted Microsoft team and we have got the below reply:

 

Review from Microsoft regarding the error is below.  They are saying (DEP) Data Execution Prevention is causing the intermittent crash.

 

“Data Execution Prevention (DEP) is a set of hardware and software technologies that perform additional checks on memory to help prevent malicious code from running on a system. In Microsoft Windows XP Service Pack 2 (SP2) and Microsoft Windows XP Tablet PC Edition 2005, DEP is enforced by hardware and by software.

The primary benefit of DEP is to help prevent code execution from data pages. Typically, code is not executed from the default heap and the stack. Hardware-enforced DEP detects code that is running from these locations and raises an exception when execution occurs. Software-enforced DEP can help prevent malicious code from taking advantage of exception-handling mechanisms in Windows”

 

Our team put this a_tld32.exe under DEP exception list and run the application many times and issue stopped occurring. Usually we get the crash after 5 to 6 attempts. We can not add this exe under DEP exception list easily as we have more than 700 servers which require lot of approvals from management which may delay the resolution.

 

We need your advise on .. is there any way to prevent running PB application in DEP from the code level. Currently we are using PB12.5. I read in some blogs that latest PB12.6 will avoid this DEP issue , however we can not till that long we upgrade the PB Version.

 

Any suggestion will be valuable for us.

 

Thanks,

BharathK


Viewing all articles
Browse latest Browse all 3074

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>