[dpdk-dev] Segmentation fault in rte_eal_hugepage_attach

Rick LaMont lamont at dotcsw.com
Thu Dec 18 04:54:22 CET 2014


> The most likely cause of failure in mapping the memory is that the range
> requested is already used by another memory mapping in the processes address
> space. Two possible paths to look at this:
> 1) examine the /proc/<pid>/maps file for the secondary process

Brilliant advice, Bruce! This was indeed the cause. The secondary process
had some shared libraries mapped right in the middle of the viable 1G range.
The most expedient workaround was to link the primary process against those
same shared libraries, as you advised Etai here:

    http://www.dpdk.info/ml/archives/dev/2014-April/001829.html

Perhaps not the most sustainable solution...

Thank you very much,


Rick LaMont          | After forty years of toil
Dot C Software, Inc. | He just up and walked away


More information about the dev mailing list