[dpdk-users] DPDK Memory in GDB
stephen at networkplumber.org
Tue Oct 3 17:49:19 CEST 2017
On Tue, 3 Oct 2017 15:11:32 +0530
Kumaraparameshwaran Rathnavel <krath at cloudsimple.com> wrote:
> Hi All,
> We have been using the mempool of the DPDK for our application. Whenever there is a core dump and if I try to print the contents of the pointer allocated from rte_malloc gdb is throwing an error saying cannot access the memory at address. During run time this is working fine . This happens only when examining a core. I replaced rte_mallloc with malloc and in this case I am able to print the contents of the pointer. I have built DPDK with -g option. Am I doing anything wrong here?
> Thanking You,
That is probably intentional. Core dumps don't dump huge page memory (to save space). A 16G core file would not work well.
Also hugepages are shared between multiple processes.
More information about the users