[root@localhost memzone]# gdb build/app/helloworld /data1/core/corefile-helloworld-56592-1598942035 GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-119.el7 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "aarch64-redhat-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /data1/dpdk-19.11/demo/memzone/build/app/helloworld...done. [New LWP 56592] [New LWP 56595] [New LWP 56594] [New LWP 56596] [New LWP 56593] [New LWP 56597] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Core was generated by `build/app/helloworld -c 0xf -n 4 --proc-type=primary‘. Program terminated with signal 11, Segmentation fault. #0 0x000000000047eb94 in main (argc=<optimized out>, argv=<optimized out>) at /data1/dpdk-19.11/demo/memzone/main.c:65 65 arr[0]=4; Missing separate debuginfos, use: debuginfo-install glibc-2.17-307.el7.1.aarch64 libgcc-4.8.5-39.el7.aarch64 numactl-libs-2.0.12-5.el7.aarch64 (gdb) set args -c 0xf -n 4 --proc-type=primary (gdb) r Starting program: /data1/dpdk-19.11/demo/memzone/build/app/helloworld -c 0xf -n 4 --proc-type=primary [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". EAL: Detected 128 lcore(s) EAL: Detected 4 NUMA nodes [New Thread 0xffffbe43d910 (LWP 56666)] EAL: Multi-process socket /var/run/dpdk/rte/mp_socket [New Thread 0xffffbdc2d910 (LWP 56667)] EAL: Selected IOVA mode ‘PA‘ EAL: Probing VFIO support... EAL: VFIO support initialized [New Thread 0xffffbd40d910 (LWP 56668)] [New Thread 0xffffbcbfd910 (LWP 56669)] [New Thread 0xffffbc3ed910 (LWP 56670)] EAL: PCI device 0000:05:00.0 on NUMA socket 0 EAL: probe driver: 19e5:200 net_hinic EAL: using IOMMU type 1 (Type 1) net_hinic: Initializing pf hinic-0000:05:00.0 in primary process net_hinic: Device 0000:05:00.0 hwif attribute: net_hinic: func_idx:0, p2p_idx:0, pciintf_idx:0, vf_in_pf:0, ppf_idx:0, global_vf_id:15, func_type:2 net_hinic: num_aeqs:4, num_ceqs:4, num_irqs:32, dma_attr:2 net_hinic: Get public resource capability: net_hinic: host_id: 0x0, ep_id: 0x0, intr_type: 0x0, max_cos_id: 0x7, er_id: 0x0, port_id: 0x0 net_hinic: host_total_function: 0xf2, host_oq_id_mask_val: 0x8, max_vf: 0x78 net_hinic: pf_num: 0x2, pf_id_start: 0x0, vf_num: 0xf0, vf_id_start: 0x10 net_hinic: Get share resource capability: net_hinic: host_pctxs: 0x0, host_cctxs: 0x0, host_scqs: 0x0, host_srqs: 0x0, host_mpts: 0x0 net_hinic: Get l2nic resource capability: net_hinic: max_sqs: 0x10, max_rqs: 0x10, vf_max_sqs: 0x4, vf_max_rqs: 0x4 net_hinic: Initialize 0000:05:00.0 in primary successfully EAL: PCI device 0000:06:00.0 on NUMA socket 0 EAL: probe driver: 19e5:200 net_hinic EAL: PCI device 0000:7d:00.0 on NUMA socket 0 EAL: probe driver: 19e5:a222 net_hns3 EAL: PCI device 0000:7d:00.1 on NUMA socket 0 EAL: probe driver: 19e5:a221 net_hns3 EAL: PCI device 0000:7d:00.2 on NUMA socket 0 EAL: probe driver: 19e5:a222 net_hns3 EAL: PCI device 0000:7d:00.3 on NUMA socket 0 EAL: probe driver: 19e5:a221 net_hns3 mz addr: 100012838, mz->addr :42002bc780 , mz->addr_64 : 42002bc780 arr addr: fffffffff3b0 arr addr: 2bb700 hello from core 1 socket id 0 hello from core 2 socket id 0 hello from core 3 socket id 0 Program received signal SIGSEGV, Segmentation fault. 0x000000000047eb94 in main (argc=<optimized out>, argv=<optimized out>) at /data1/dpdk-19.11/demo/memzone/main.c:65 65 arr[0]=4; (gdb) quit A debugging session is active. Inferior 1 [process 56662] will be killed. Quit anyway? (y or n) y [root@localhost memzone]# gdb build/app/helloworld /data1/core/corefile-helloworld-56592-1598942035 GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-119.el7 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "aarch64-redhat-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /data1/dpdk-19.11/demo/memzone/build/app/helloworld...done. [New LWP 56592] [New LWP 56595] [New LWP 56594] [New LWP 56596] [New LWP 56593] [New LWP 56597] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Core was generated by `build/app/helloworld -c 0xf -n 4 --proc-type=primary‘. Program terminated with signal 11, Segmentation fault. #0 0x000000000047eb94 in main (argc=<optimized out>, argv=<optimized out>) at /data1/dpdk-19.11/demo/memzone/main.c:65 65 arr[0]=4; Missing separate debuginfos, use: debuginfo-install glibc-2.17-307.el7.1.aarch64 libgcc-4.8.5-39.el7.aarch64 numactl-libs-2.0.12-5.el7.aarch64 (gdb) bt #0 0x000000000047eb94 in main (argc=<optimized out>, argv=<optimized out>) at /data1/dpdk-19.11/demo/memzone/main.c:65 (gdb)