Running an application that puts a display on each screen (dual
monitor). Works fine under AIX 5.2 but under AIX 5.3 the
XtScreenDatabase() call in the following code sample core dumps on the
2nd invocation. Anyone have any ideas?

for (i == 0; i < 2; i++)
{
new_scr = XScreenOfDisplay (XtDisplay(topLevelShell), i);
scr_db = XtScreenDatabase (new_scr);
}