From: Edward Suski Subject: Segmentation fault - gputop Date: Fri, 25 Mar 2016 09:25:20 -0700 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0091761327==" Return-path: Received: from mail-oi0-x231.google.com (mail-oi0-x231.google.com [IPv6:2607:f8b0:4003:c06::231]) by gabe.freedesktop.org (Postfix) with ESMTPS id D4FDD6E248 for ; Fri, 25 Mar 2016 16:25:00 +0000 (UTC) Received: by mail-oi0-x231.google.com with SMTP id r187so103179050oih.3 for ; Fri, 25 Mar 2016 09:25:00 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org --===============0091761327== Content-Type: multipart/alternative; boundary=001a113d4694177084052ee20156 --001a113d4694177084052ee20156 Content-Type: text/plain; charset=UTF-8 We are using: Gputop: http://github.com/rib/gputop Here are the build instructions: https://github.com/rib/gputop/wiki/Build-Instructions On a Skylake (i7-6700TE CPU @ 2.4 GHz). Running Ubuntu 15.10 kernel: 4.4.2-040402-generic and getting the following results: It builds but segfaults when run: Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7b7a1e6 in gputop_ncurses_init () at gputop-ncurses.c:1750 1750 for (i = 0; i < gputop_perf_oa_supported_metric_set_guids->len; i++) (gdb) bt #0 0x00007ffff7b7a1e6 in gputop_ncurses_init () at gputop-ncurses.c:1750 #1 0x00007ffff7de95ba in call_init (l=, argc=argc@entry=1, argv=argv@entry=0x7fffffffe4c8, env=env@entry=0x7fffffffe4d8) at dl-init.c:72 #2 0x00007ffff7de96cb in call_init (env=, argv=, argc=, l=) at dl-init.c:30 #3 _dl_init (main_map=0x7ffff7ffe188, argc=1, argv=0x7fffffffe4c8, env=0x7fffffffe4d8) at dl-init.c:120 #4 0x00007ffff7dd9d0a in _dl_start_user () from /lib64/ld-linux-x86-64.so.2 #5 0x0000000000000001 in ?? () #6 0x00007fffffffe70e in ?? () #7 0x0000000000000000 in ?? () (gdb) quit Any suggestions? We are open to a brief phone call if that would help. Sincerely, Edward Suski Vice President of Hardware Development Oblong Industries esuski@oblong.com 949-328-0383 --001a113d4694177084052ee20156 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

We are using:

=C2=A0

Gputop: http://github.com/rib/gputop

Here are t= he build instructions: https://github.com/rib/gputop/wiki/B= uild-Instructions

=C2=A0

On a Skylake (i7-6700TE CPU= @ 2.4 GHz).=C2=A0 Running Ubuntu 15.10 kernel: 4.4.2-040402-generic and ge= tting the following results:

=C2=A0

It builds but segfaults when run:

=C2=A0

Program received signal SIGSEGV, Segmentation fault.

=

0x00007ffff7b7a1e6 in gputop_ncurses_init () at gput= op-ncurses.c:1750

1750=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 =C2=A0 =C2=A0for (i =3D 0; i < gputop_perf_oa_supported_metri= c_set_guids->len; i++)

(gdb) bt

#0 =C2=A00x00007ffff7b7a1e6 in gputop_ncurses_init () at gputop= -ncurses.c:1750

#1 =C2=A00x00007ffff7de95ba in ca= ll_init (l=3D<optimized out>, argc=3Dargc@entry=3D1, argv=3Dargv@entr= y=3D0x7fffffffe4c8,=C2=A0

=C2=A0 =C2=A0 env=3Denv= @entry=3D0x7fffffffe4d8) at dl-init.c:72

#2 =C2= =A00x00007ffff7de96cb in call_init (env=3D<optimized out>, argv=3D<= ;optimized out>, argc=3D<optimized out>,=C2=A0

=C2=A0 =C2=A0 l=3D<optimized out>) at dl-init.c:30

#3 =C2=A0_dl_init (main_map=3D0x7ffff7ffe188, argc=3D1, argv= =3D0x7fffffffe4c8, env=3D0x7fffffffe4d8) at dl-init.c:120

#4 =C2=A00x00007ffff7dd9d0a in _dl_start_user () from /lib64/ld-li= nux-x86-64.so.2

#5 =C2=A00x0000000000000001 in ??= ()

#6 =C2=A00x00007fffffffe70e in ?? ()

#7 =C2=A00x0000000000000000 in ?? ()

(gdb) quit

=C2=A0

Any suggestions?=C2=A0 We are open to a brief phone call if that would hel= p.

=C2=A0

Sincerely,

=C2=A0

Edward Suski

Vice President of Hardware Development

Oblong Industries

esuski@oblong.com

949-328-03= 83

=C2=A0

--001a113d4694177084052ee20156-- --===============0091761327== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KSW50ZWwtZ2Z4 IG1haWxpbmcgbGlzdApJbnRlbC1nZnhAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vaW50ZWwtZ2Z4Cg== --===============0091761327==--