IBM Support

PI20036;8.5.5: stack overflow in processcpu module

Download


Abstract

stackOverflow in ProcessCPU module

Download Description

PI20036 resolves the following problem:

ERROR DESCRIPTION:
A stackOverflow problem implicating ProcessCPU64.dll is due to the CreateToolhelp32Snapshot function in Microsoft Windows' Kernel32.dll library returning a process tree which has a
parent/child cycle (i.e. child is the parent of himself). This causes ProcessCPU to go into infinite recursion as it attempts to do a depth-first traversal of the process tree.

LOCAL FIX:
n/a

PROBLEM SUMMARY

USERS AFFECTED:
All users of IBM WebSphere Application Server

PROBLEM DESCRIPTION:
stackOverflow in ProcessCPU module

RECOMMENDATION:
None

WebSphere Application Server native code ProcessCPU64.dll experiences native stackoverflow and crash while collecting CPU stats. The stackOverflow problem implicating ProcessCPU64.dll is due to the CreateToolhelp32Snapshot function in Microsoft Windows'Kernel32.dll library returning a
process tree which has a parent/child cycle. This causes ProcessCPU to go into infinite recursion as it attempts to do a depth-first traversal of the process tree.

PROBLEM CONCLUSION:
The code is fixed to find the parent Process ID in the list of child process IDs returned in process structure and skipped to avoid the infinite recursion.

The fix for this APAR is currently targeted for inclusion in fix pack 8.5.5.3 Please refer to the Recommended Updates page for delivery information:
http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980

Prerequisites

None

Installation Instructions

Please review the readme.txt for detailed installation instructions.

[{"INLabel":"Readme","INLang":"US English","INSize":"3674","INURL":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PI20036/8.5.5.2/readme.txt"}]
On
[{"DNLabel":"8.5.5.1-WS-WASND-WinX3264-IFPI20036","DNDate":"08-18-2014","DNLang":"US English","DNSize":"284308","DNPlat":{"label":"Windows","code":"PF033"},"DNURL":"http://www-933.ibm.com/eserver/support/fixes/fixcentral/swgquickorder?fixes=8.5.5.1-WS-WASND-WinX3264-IFPI20036&productid=WebSphere%20Application%20Server&brandid=5","DNURL_FTP":null,"DDURL":null},{"DNLabel":"8.5.5.2-WS-WASND-WinX3264-IFPI20036","DNDate":"08-18-2014","DNLang":"US English","DNSize":"284306","DNPlat":{"label":"Windows","code":"PF033"},"DNURL":"http://www-933.ibm.com/eserver/support/fixes/fixcentral/swgquickorder?fixes=8.5.5.2-WS-WASND-WinX3264-IFPI20036&productid=WebSphere%20Application%20Server&brandid=5","DNURL_FTP":null,"DDURL":null}]

Technical Support

Contact IBM Support using SR (http://www.ibm.com/software/support/probsub.html), visit the WebSphere Application Server support web site (http://www.ibm.com/software/webservers/appserv/was/support/), or contact 1-800-IBM-SERV (U.S. only).

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Crash","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.5.5.1;8.5.5.2","Edition":"Network Deployment","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg24038288