Bug 250390 - segmentation fault at __pthread_cleanup_push_imp
Summary: segmentation fault at __pthread_cleanup_push_imp
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
Depends on:
Reported: 2020-10-16 07:58 UTC by shamsher
Modified: 2020-10-16 07:58 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description shamsher 2020-10-16 07:58:06 UTC
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"...
(gdb) r
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
(gdb) bt
#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