SIGSEGV In Inlined Code
(Doc ID 2750324.1)
Last updated on MARCH 07, 2022
Applies to:Oracle Solaris Studio - Version 12.4 to 12.6 [Release 12]
Information in this document applies to any platform.
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.
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