Re: [gentoo-user] cmake 3.16.5 Segmentation Violation

2020-06-03 Thread tedheadster
On Wed, Jun 3, 2020 at 1:43 PM David Haller  wrote:
>
> Hello,
>
> On Wed, 03 Jun 2020, tedheadster wrote:
> >I am getting a segmentation violation when running a recompiled
> >'cmake'. I rebuilt with debugging symbols; here are the results:
> >
> >/var/tmp/portage/dev-util/cmake-3.16.5/image/usr/bin # gdb ./cmake
> [..]
> >Program received signal SIGSEGV, Segmentation fault.
> >0xb7de7296 in uv_loop_close (loop=0x0) at
>
> >/usr/src/debug/dev-libs/libuv-1.35.0/libuv-1.35.0/src/uv-common.c:757
> ^^
> >757   if (uv__has_active_reqs(loop))
> >(gdb) up
> >#1  0x0053fab4 in main (ac=, av=0xb09a60)
> >at 
> > /var/tmp/portage/dev-util/cmake-3.16.5/work/cmake-3.16.5/Source/cmakemain.cxx:706
> >706   uv_loop_close(uv_default_loop());
> >(gdb) up
>
> Try re-emerging dev-libs/libuv?

I already had to re-emerge dev-libs/libuv to build the debug version.
No change in behavior.

This is from a completely fresh install using the very recent
stage3-i686-systemd-20200527T000231Z.tar.xz.

- Matthew



Re: [gentoo-user] cmake 3.16.5 Segmentation Violation

2020-06-03 Thread David Haller
Hello,

On Wed, 03 Jun 2020, tedheadster wrote:
>I am getting a segmentation violation when running a recompiled
>'cmake'. I rebuilt with debugging symbols; here are the results:
>
>/var/tmp/portage/dev-util/cmake-3.16.5/image/usr/bin # gdb ./cmake
[..]
>Program received signal SIGSEGV, Segmentation fault.
>0xb7de7296 in uv_loop_close (loop=0x0) at
   
>/usr/src/debug/dev-libs/libuv-1.35.0/libuv-1.35.0/src/uv-common.c:757
^^
>757   if (uv__has_active_reqs(loop))
>(gdb) up
>#1  0x0053fab4 in main (ac=, av=0xb09a60)
>at 
> /var/tmp/portage/dev-util/cmake-3.16.5/work/cmake-3.16.5/Source/cmakemain.cxx:706
>706   uv_loop_close(uv_default_loop());
>(gdb) up

Try re-emerging dev-libs/libuv?

HTH,
-dnh

-- 
Connection reset by beer



[gentoo-user] cmake 3.16.5 Segmentation Violation

2020-06-03 Thread tedheadster
I am getting a segmentation violation when running a recompiled
'cmake'. I rebuilt with debugging symbols; here are the results:

/var/tmp/portage/dev-util/cmake-3.16.5/image/usr/bin # gdb ./cmake
GNU gdb (Gentoo 9.1 vanilla) 9.1
Copyright (C) 2020 Free Software Foundation, Inc.
...
Reading symbols from ./cmake...
(gdb) run --version
Starting program:
/var/tmp/portage/dev-util/cmake-3.16.5/image/usr/bin/cmake --version
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
cmake version 3.16.5

CMake suite maintained and supported by Kitware (kitware.com/cmake).

Program received signal SIGSEGV, Segmentation fault.
0xb7de7296 in uv_loop_close (loop=0x0) at
/usr/src/debug/dev-libs/libuv-1.35.0/libuv-1.35.0/src/uv-common.c:757
757   if (uv__has_active_reqs(loop))
(gdb) up
#1  0x0053fab4 in main (ac=, av=0xb09a60)
at 
/var/tmp/portage/dev-util/cmake-3.16.5/work/cmake-3.16.5/Source/cmakemain.cxx:706
706   uv_loop_close(uv_default_loop());
(gdb) up
Initial frame selected; you cannot go up.
(gdb)


Who can I work with to debug this?

- Matthew