[Bug 232458] jevents: Program terminated with signal 11, Segmentation fault when build word of 12-STABLE
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Oct 19 19:47:50 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232458
Bug ID: 232458
Summary: jevents: Program terminated with signal 11,
Segmentation fault when build word of 12-STABLE
Product: Base System
Version: CURRENT
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: bugs at FreeBSD.org
Reporter: iron.udjin at gmail.com
Created attachment 198379
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=198379&action=edit
jevents.truss
Hello,
I'm trying to build world of 12-STABLE r339445 from 11.2-STABLE r339336M and it
fall with error:
===> lib/ofed/libopensm (all)
===> lib/libpcap (all)
===> lib/libpjdlog (all)
===> lib/libpmc (all)
./pmu-events/jevents "x86" /usr/src/lib/libpmc/pmu-events/arch libpmc_events.c
*** Signal 11
Stop.
make[5]: stopped in /usr/src/lib/libpmc
*** Error code 1
# cd /usr/src/lib/libpmc
# gdb --args /usr/obj/usr/src/amd64.amd64/lib/libpmc/pmu-events/jevents "x86"
/usr/src/lib/libpmc/pmu-events/arch libpmc_events.c
(gdb) r
Starting program: /usr/obj/usr/src/amd64.amd64/lib/libpmc/pmu-events/jevents
x86 /usr/src/lib/libpmc/pmu-events/arch libpmc_events.c
Program received signal SIGSEGV, Segmentation fault.
json_events (fn=<value optimized out>, func=0x403f00
<print_events_table_entry>, data=0x7fffffffdf80) at
/usr/src/lib/libpmc/pmu-events/jevents.c:125
125 if (*e == '.')
Current language: auto; currently minimal
(gdb) bt
#0 json_events (fn=<value optimized out>, func=0x403f00
<print_events_table_entry>, data=0x7fffffffdf80) at
/usr/src/lib/libpmc/pmu-events/jevents.c:125
#1 0x0000000000403b4e in process_one_file (fpath=<value optimized out>,
sb=<value optimized out>, typeflag=0, ftwbuf=<value optimized out>) at
/usr/src/lib/libpmc/pmu-events/jevents.c:1044
#2 0x00000008008972fe in nftw (path=<value optimized out>, fn=0x403680
<process_one_file>, nfds=<value optimized out>, ftwflags=<value optimized out>)
at /usr/src/lib/libc/gen/nftw.c:98
#3 0x0000000000403094 in main (argc=4, argv=<value optimized out>) at
/usr/src/lib/libpmc/pmu-events/jevents.c:1135
(gdb)
CFLAGS: -O2 -pipe -march=native -mtune=native
Clang: 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1)
Arch: amd64
P.S: Please add FreeBSD 12-STABLE in the "Version:" list.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list