Seeing seg fault as __pthread_cleanup_push_imp for any printf/fprintf in eal.c file,
Any suggestion how to resolve it?
] ./gdb --args ./top
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...
Starting program: /data/tools/top
[New LWP 100131]
Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 100131]
0x00000008008bbddc in __pthread_cleanup_push_imp () from /lib/libthr.so.3
#0 0x00000008008bbddc in __pthread_cleanup_push_imp () from /lib/libthr.so.3
#1 0x00000008016428ec in vfprintf_l () from /lib/libc.so.7
#2 0x0000000801633260 in fprintf () from /lib/libc.so.7
#3 0x0000000000412561 in rte_eal_init (argc=4, argv=0x7fffffffd690) at /data/dpdk/lib/librte_eal/freebsd/eal/eal.c:713