My Oracle Support Banner

mdb or adb Error Message When Reading Application Core File "core file data for mapping at ... not saved" (Doc ID 1269386.1)

Last updated on NOVEMBER 01, 2024

Applies to:

Oracle Solaris Studio - Version Forte Developer 6 Update 2 to 12.4 [Release 6.0 to 12]
Solaris Operating System - Version 10 to 11.2 [Release 10.0 to 11.0]
Information in this document applies to any platform.

Symptoms

Upon loading an application core file into mdb or adb, error messages "core file data for mapping at ... not saved" are printed:

% mdb core
[...]
mdb: core file data for mapping at fffffffec03fe000 not saved: Bad address
mdb: core file data for mapping at fffffffec74f4000 not saved: Bad address
mdb: core file data for mapping at fffffffedb8fe000 not saved: Bad address
mdb: core file data for mapping at ffffffff61c24000 not saved: Interrupted system call
mdb: core file data for mapping at ffffffff61d00000 not saved: Interrupted system call
mdb: core file data for mapping at ffffffff61e00000 not saved: Interrupted system call
mdb: core file data for mapping at ffffffff7f73a000 not saved: Interrupted system call
mdb: core file data for mapping at ffffffff7f7ac000 not saved: Interrupted system call
[...]

 

Example errors from dbx on such a core file:

dbx: core file read error: address 0xffffffff7f72c000 not available
dbx: core file read error: address 0xffffffff7f72c000 not available
dbx: core file read error: address 0xffffffff7f72c000 not available
dbx: warning: Dbx could not initialize rtld_db Make sure this is the same version of Solaris where the core dump originated.


elfdump of the application core file will contain PF_SUNW_FAILURE flags:

% /usr/ccs/bin/elfdump -p core | more
[...]

Program Header[3760]:
p_vaddr: 0xffffffff7f736000 p_flags: [ PF_X PF_W PF_R PF_SUNW_FAILURE ]
p_paddr: 0 p_type: [ PT_LOAD ]
p_filesz: 0 p_memsz: 0x4000
p_offset: 0x5f6b087c p_align: 0

Program Header[3761]:
p_vaddr: 0xffffffff7f73a000 p_flags: [ PF_X PF_W PF_R PF_SUNW_FAILURE ]
p_paddr: 0 p_type: [ PT_LOAD ]
p_filesz: 0 p_memsz: 0x2000
p_offset: 0x5f6b487c p_align: 0
[...]

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

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