shmget_osm fails with EINVAL due to 3rd party module

(Doc ID 2187600.1)

Last updated on OCTOBER 03, 2016

Applies to:

Solaris Operating System - Version 11.2 to 11.3 [Release 11.0]
Information in this document applies to any platform.


shmget_osm fails with EINVAL with no apparent reason: shared memory resources are correctly configured, syscall arguments are correct as well.

trussing/dtracing the call we can see syscall arguments are ok but Kernel functions shmsys/shmget_osm receives a non-valid 4th argument (granule_sz)

Here we can see shmsys/shmget_osm syscalls are invoked with size and granule_size value of 4194304(0x400000), but later on Kernel functions received a weird value of 26149888


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