My Oracle Support Banner

Pro*C App Using Sqlglm Function Crashes After Upgrade (Doc ID 1261314.1)

Last updated on MARCH 04, 2022

Applies to:

Precompilers - Version and later
Information in this document applies to any platform.


You have a Pro*C applications that use the sqlglm() interface and it now coredumps/segmentation faults after upgrade. The upgrade can be from any release to any newer release but ultimately, the previous release was 32bit and the new release is 64bit.

Below is a sample application that intentionally mispells the dual table so that an error is returned and the sqlglm function is called and crashes in sqlglmt:

The following code is stored in a file named sqlglmtest.pc:



32bit client now built with 64bit client


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.