From owner-freebsd-bugs@FreeBSD.ORG Mon Mar 31 23:40:02 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7FE661065675 for ; Mon, 31 Mar 2008 23:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5EB908FC1D for ; Mon, 31 Mar 2008 23:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2VNe2Wk049916 for ; Mon, 31 Mar 2008 23:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2VNe27V049910; Mon, 31 Mar 2008 23:40:02 GMT (envelope-from gnats) Resent-Date: Mon, 31 Mar 2008 23:40:02 GMT Resent-Message-Id: <200803312340.m2VNe27V049910@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sean Farley Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BCEBD106566B for ; Mon, 31 Mar 2008 23:33:28 +0000 (UTC) (envelope-from scf@farley.org) Received: from mail.farley.org (farley.org [67.64.95.201]) by mx1.freebsd.org (Postfix) with ESMTP id 642C28FC26 for ; Mon, 31 Mar 2008 23:33:28 +0000 (UTC) (envelope-from scf@farley.org) Received: from thor.farley.org (root@thor.farley.org [192.168.1.5]) by mail.farley.org (8.14.2/8.14.2) with ESMTP id m2VNXPCn010410 for ; Mon, 31 Mar 2008 18:33:25 -0500 (CDT) (envelope-from scf@mail.farley.org) Received: from thor.farley.org (localhost [127.0.0.1]) by thor.farley.org (8.14.2/8.14.2) with ESMTP id m2VNXPHP001864 for ; Mon, 31 Mar 2008 18:33:25 -0500 (CDT) (envelope-from scf@thor.farley.org) Received: (from sean@localhost) by thor.farley.org (8.14.2/8.14.2/Submit) id m2VNXPhH001863; Mon, 31 Mar 2008 18:33:25 -0500 (CDT) (envelope-from scf) Message-Id: <200803312333.m2VNXPhH001863@thor.farley.org> Date: Mon, 31 Mar 2008 18:33:25 -0500 (CDT) From: Sean Farley To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/122318: Segmentation fault when running Linux cmake X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Sean Farley List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Mar 2008 23:40:02 -0000 >Number: 122318 >Category: kern >Synopsis: Segmentation fault when running Linux cmake >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 31 23:40:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Sean Farley >Release: FreeBSD 7.0-STABLE i386 >Organization: >Environment: System: FreeBSD thor.farley.org 7.0-STABLE FreeBSD 7.0-STABLE #0: Sat Mar 29 15:00:16 CDT 2008 sean@thor.farley.org:/usr/FreeBSD/RELENG_7/obj/usr/FreeBSD/RELENG_7/src/sys/THOR i386 >Description: I have a build chroot based upon FC2--please do not shoot me--that had worked in the past with RELENG_6 on an i386 box. I moved to RELENG_7 on an amd64 box. For some reason, running cmake core dumps regardless if it is my FC2 chroot or linux_base-fc{4,6}. >How-To-Repeat: mkdir -p test/build mkdir -p test/src echo "PROJECT(ARGH)" > test/src/CMakeLists.txt cd test/build cmake ../src This results in: -- Check for working C compiler: /usr/bin/gcc [1] 22830 segmentation fault (core dumped) /home/sean/devel/chroots/fc2/usr/bin/cmake .. The output from linux_kdump near the final gasp: ... 22793 cmake CALL linux_select(0x9,0x82d4630,0,0,0) 22793 cmake RET linux_select 1 22793 cmake CALL read(0x8,0x82d41f8,0x400) 22793 cmake GIO fd 8 read 136 bytes "gmake[1]: Leaving directory `/usr/home/sean/devel/chroots/fc2/home\ /builder/build/CMakeFiles/CMakeTmp' " 22793 cmake RET read 136/0x88 22793 cmake CALL linux_select(0x9,0x82d4630,0,0,0) 22793 cmake RET linux_select 1 22793 cmake CALL read(0x8,0x82d41f8,0x400) 22793 cmake GIO fd 8 read 0 bytes "" 22793 cmake RET read 0 22793 cmake CALL close(0x8) 22793 cmake RET close 0 22793 cmake CALL linux_select(0x7,0x82d4630,0,0,0) 22793 cmake RET linux_select 1 22793 cmake PSIG SIGCHLD caught handler=0x8215a00 mask=0x0 code=0x0 22793 cmake CALL read(0x3,0xffffbc77,0x1) 22793 cmake RET read -1 errno 11 Resource deadlock avoided 22793 cmake CALL write(0x4,0xffffbc77,0x1) 22793 cmake GIO fd 4 wrote 1 byte "\^A" 22793 cmake RET write 1 22793 cmake CALL linux_rt_sigreturn(0xffffbd18) 22793 cmake RET linux_rt_sigreturn JUSTRETURN 22793 cmake PSIG SIGSEGV SIG_DFL 22793 cmake NAMI "cmake.core" >Fix: >Release-Note: >Audit-Trail: >Unformatted: