My Oracle Support Banner

SIGSEGV In Inlined Code (Doc ID 2750324.1)

Last updated on JANUARY 05, 2024

Applies to:

Oracle Solaris Studio - Version 12.4 to 12.6 [Release 12]
Information in this document applies to any platform.

Symptoms

On : 12.4, 12.5, 12.6 versions, c++

Given a fully inlined function, making an assignment to zero in one point or another of the code makes a difference between an application that crashes with SIGSEGV or works without issues.

When compiling with '-g" or "+d" option, which turn off inlining, the issue is no longer reproducible.

There should be no constraints on which compiler flags to use or on where to make values assignments in inline functions to avoid a SIGSEGV.

ERROR
---------
SIGSEGV

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution
References


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