Got solved by upgrading Solaris Studio to version 12.3 and using the newer dbx
from there.
dbx: internal warning writable memory segment of size 0
Question
While trying to load a core file using dbx
I get the following warning:
dbx: internal warning: writable memory segment 0xfa8b0000[16384] of size 0 in core
There doesn't seem to be an explanation in:
(dbx) help core
What does this message mean?
EDIT
The rest of the output:
core file header read successfully
Reading ld.so.1
dbx: internal error: signal SIGBUS (invalid address alignment)
dbx's coredump will appear in /tmp
Abort (core dumped)
And dbx exits without loading the core.
Solution
OTHER TIPS
One of the reasons why this could happen is because dbx expects the absolute path to get the object files, try giving the
dbx <PATHTOBINARY>/binaryfile
Of course, you can upgrade dbx to the latest version to fix the same.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow