public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] cmake 3.16.5 Segmentation Violation
@ 2020-06-03 16:28 tedheadster
  2020-06-03 17:42 ` David Haller
  0 siblings, 1 reply; 3+ messages in thread
From: tedheadster @ 2020-06-03 16:28 UTC (permalink / raw
  To: gentoo-user, kitware

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=<optimized out>, 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] cmake 3.16.5 Segmentation Violation
  2020-06-03 16:28 [gentoo-user] cmake 3.16.5 Segmentation Violation tedheadster
@ 2020-06-03 17:42 ` David Haller
  2020-06-03 17:50   ` tedheadster
  0 siblings, 1 reply; 3+ messages in thread
From: David Haller @ 2020-06-03 17:42 UTC (permalink / raw
  To: gentoo-user

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=<optimized out>, 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] cmake 3.16.5 Segmentation Violation
  2020-06-03 17:42 ` David Haller
@ 2020-06-03 17:50   ` tedheadster
  0 siblings, 0 replies; 3+ messages in thread
From: tedheadster @ 2020-06-03 17:50 UTC (permalink / raw
  To: gentoo-user

On Wed, Jun 3, 2020 at 1:43 PM David Haller <gentoo@dhaller.de> 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=<optimized out>, 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-06-03 17:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-03 16:28 [gentoo-user] cmake 3.16.5 Segmentation Violation tedheadster
2020-06-03 17:42 ` David Haller
2020-06-03 17:50   ` tedheadster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox