Gentoo Archives: gentoo-user

From: tedheadster <tedheadster@×××××.com>
To: gentoo-user@l.g.o, kitware@×××××××.com
Subject: [gentoo-user] cmake 3.16.5 Segmentation Violation
Date: Wed, 03 Jun 2020 16:29:10
Message-Id: CAP8WD_aVGa2=iNMD+yMv=mf=ATzYbWEJ_mGZQvHYjMkuk9fq6w@mail.gmail.com
1 I am getting a segmentation violation when running a recompiled
2 'cmake'. I rebuilt with debugging symbols; here are the results:
3
4 /var/tmp/portage/dev-util/cmake-3.16.5/image/usr/bin # gdb ./cmake
5 GNU gdb (Gentoo 9.1 vanilla) 9.1
6 Copyright (C) 2020 Free Software Foundation, Inc.
7 ...
8 Reading symbols from ./cmake...
9 (gdb) run --version
10 Starting program:
11 /var/tmp/portage/dev-util/cmake-3.16.5/image/usr/bin/cmake --version
12 [Thread debugging using libthread_db enabled]
13 Using host libthread_db library "/lib/libthread_db.so.1".
14 cmake version 3.16.5
15
16 CMake suite maintained and supported by Kitware (kitware.com/cmake).
17
18 Program received signal SIGSEGV, Segmentation fault.
19 0xb7de7296 in uv_loop_close (loop=0x0) at
20 /usr/src/debug/dev-libs/libuv-1.35.0/libuv-1.35.0/src/uv-common.c:757
21 757 if (uv__has_active_reqs(loop))
22 (gdb) up
23 #1 0x0053fab4 in main (ac=<optimized out>, av=0xb09a60)
24 at /var/tmp/portage/dev-util/cmake-3.16.5/work/cmake-3.16.5/Source/cmakemain.cxx:706
25 706 uv_loop_close(uv_default_loop());
26 (gdb) up
27 Initial frame selected; you cannot go up.
28 (gdb)
29
30
31 Who can I work with to debug this?
32
33 - Matthew

Replies

Subject Author
Re: [gentoo-user] cmake 3.16.5 Segmentation Violation David Haller <gentoo@×××××××.de>