Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Oct 2018 19:47:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 232458] jevents: Program terminated with signal 11, Segmentation fault when build word of 12-STABLE
Message-ID:  <bug-232458-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232458

            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@FreeBSD.org
          Reporter: iron.udjin@gmail.com

Created attachment 198379
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D198379&action=
=3Dedit
jevents.truss

Hello,

I'm trying to build world of 12-STABLE r339445 from 11.2-STABLE r339336M an=
d it
fall with error:

=3D=3D=3D> lib/ofed/libopensm (all)
=3D=3D=3D> lib/libpcap (all)
=3D=3D=3D> lib/libpjdlog (all)
=3D=3D=3D> lib/libpmc (all)
./pmu-events/jevents "x86" /usr/src/lib/libpmc/pmu-events/arch libpmc_event=
s.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 "x8=
6"
/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=3D<value optimized out>, func=3D0x403f00
<print_events_table_entry>, data=3D0x7fffffffdf80) at
/usr/src/lib/libpmc/pmu-events/jevents.c:125
125             if (*e =3D=3D '.')
Current language:  auto; currently minimal
(gdb) bt
#0  json_events (fn=3D<value optimized out>, func=3D0x403f00
<print_events_table_entry>, data=3D0x7fffffffdf80) at
/usr/src/lib/libpmc/pmu-events/jevents.c:125
#1  0x0000000000403b4e in process_one_file (fpath=3D<value optimized out>,
sb=3D<value optimized out>, typeflag=3D0, ftwbuf=3D<value optimized out>) at
/usr/src/lib/libpmc/pmu-events/jevents.c:1044
#2  0x00000008008972fe in nftw (path=3D<value optimized out>, fn=3D0x403680
<process_one_file>, nfds=3D<value optimized out>, ftwflags=3D<value optimiz=
ed out>)
at /usr/src/lib/libc/gen/nftw.c:98
#3  0x0000000000403094 in main (argc=3D4, argv=3D<value optimized out>) at
/usr/src/lib/libpmc/pmu-events/jevents.c:1135
(gdb)

CFLAGS: -O2 -pipe -march=3Dnative -mtune=3Dnative
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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-232458-227>