Frmbld.sh Crashes X Error of failed request: BadWindow (invalid Window parameter)

(Doc ID 2355165.1)

Last updated on MARCH 12, 2018

Applies to:

Oracle E-Business Suite Technology Stack - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

E-Business Suite R12 Applications Technology Stack, Forms for App Technology issues

 

 

 

 

 

After applying 60+ Red Hat Linux OS patches, when going through a VNC connection the following error occurs and frmbld & frmbld.sh crashes after form is opened and property palette is selected:

X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 8 (X_MapWindow) Resource id in failed request: 0x0 Serial number of failed request: 34354 Current serial number in output stream: 34361



The issue can be reproduced with the following steps:

1. Open server session and the set display to localhost vnc port
2. Start $ORACLE_HOME/bin/frmbld.sh
3. Select form, any form
4. On form load get this error "FRM-18108: Failed to load the following objects" – This is not an issue and can click on OK to move forward.
5. Select the data block you want to change
6. Now select the item you want to change
7. Select property to change
8. Then the forms builder crashes and gives the following error:

Java HotSpot(TM) Server VM warning: You have loaded library /app/ebsdev/apps/tech_st/10.1.2/lib/libutj.so.0 which might have disabled stack guard. The VM will try to fix the stack gard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
...
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  8 (X_MapWindow)
  Resource id in failed request:  0x0
  Serial number of failed request:  17185
  Current serial number in output stream:  17192

 

 

The first part with the JVM section was supposed to be fixed by <Patch 17653437> which fixes the JVM false error.

The X Error is the start of the meaningful error.

This function worked in the past, before the OS was patched per requirements.

No errors being written to the $FORMS_TRACE_DIR or in the $ORACLE_HOME/bin directory when the issue occurs.

strace shows the following error:

FRM-18122: Form Builder Debugger



There are 2 distinct errors upon the crash:

When frmbld crashed

ebsdev@dev.oracle.com bin]$ ./frmbld

X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 8 (X_MapWindow)
Resource id in failed request: 0x0
Serial number of failed request: 19864
Current serial number in output stream: 19871
FRM-18122: Form Builder Debugger failed to Initialize.[ebsdev@dev.oracle.com bin]$ '



When frmbld.sh crashed

[ebsdev@dev.oracle.com bin]$ ./frmbld.sh

Java HotSpot(TM) Server VM warning: You have loaded library /app/ebsdev/apps/tech_st/10.1.2/lib/libutj.so.0 which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c ', or link it with '-z noexecstack'.
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 8 (X_MapWindow)
Resource id in failed request: 0x0
Serial number of failed request: 13461
Current serial number in output stream: 13468

 

Changes

 Applied 60+ Red Hat Linux OS patches per regular monthly patching cycle.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms