Debugging Cognos Transformer (Cogtr.exe) Crash using Windbg

Cogtr.exe is the Cognos Transformer Executable, that can execute in batch mode (without a UI). Once in a while this process used to hang. It seemed to be random for the most part, but I did notice that the likelihood of this happening increased when multiple cubes were being refreshed in parallel. Since it pointed to some shared resource at this point, I used Process Monitor and Process Explorer to see if there were any common locks or files that were being shared. Cogtr does use the file system to denote locks for the Project file. There wasn’t anything that I could co-relate. Once this process hangs, the scheduled refresh of that particular cube would fail prompting end users to escalate. Ending the task seems to get things back to normal.

Taking a full memory dump of a process that had hung, I used Windbg to open the dump file.

The following command loads the symbols using the default path.

0:000> .symfix
0:000> .reload

The next step is to get to the stack trace of the method where it crashed. Bang Analyze, does just that. -v is for verbose mode.

0:000> !analyze -v


Staring with the stack trace, bottom up and ignoring the missing stack, since I did not have the symbol files for cogtr.exe, the “0027e3e4 68faa900 004ff028 03634f50 00000030 mfc100!CWinApp::ShowAppMessageBox+0x120” method call caught my attention. Cogtr was supposed to be in batch mode. A message box wasn’t supposed to be displayed without a UI. This could be the problem. The next step was to get the IBM engineers engaged. We were then able to identify that each cube needed it’s own preference file. More of the -f option here.


After configuration each cube refresh with its own preference file, this issue was resolved.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: