From owner-freebsd-bugs@FreeBSD.ORG Mon Jul 16 08:00:11 2007 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 43AAE16A402 for ; Mon, 16 Jul 2007 08:00:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 1FB5B13C494 for ; Mon, 16 Jul 2007 08:00:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l6G80A1g089031 for ; Mon, 16 Jul 2007 08:00:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l6G80Ac5089030; Mon, 16 Jul 2007 08:00:10 GMT (envelope-from gnats) Resent-Date: Mon, 16 Jul 2007 08:00:10 GMT Resent-Message-Id: <200707160800.l6G80Ac5089030@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, Bernard Steiner Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B54CF16A400 for ; Mon, 16 Jul 2007 07:50:38 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id A54E113C428 for ; Mon, 16 Jul 2007 07:50:38 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l6G7obnI038537 for ; Mon, 16 Jul 2007 07:50:38 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.1/8.14.1/Submit) id l6G7obbk038536; Mon, 16 Jul 2007 07:50:37 GMT (envelope-from nobody) Message-Id: <200707160750.l6G7obbk038536@www.freebsd.org> Date: Mon, 16 Jul 2007 07:50:37 GMT From: Bernard Steiner To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: misc/114617: /usr/bin/less SEGV X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jul 2007 08:00:11 -0000 >Number: 114617 >Category: misc >Synopsis: /usr/bin/less SEGV >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jul 16 08:00:10 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Bernard Steiner >Release: 6.2 >Organization: Lahmeyer International >Environment: FreeBSD machine6 6.2-STABLE FreeBSD 6.2-STABLE #3: Fri Jul 13 12:11:45 CEST 2007 root@machine6:/usr/obj/usr/src/sys/MACHINE6 amd64 >Description: # (ENTER)less /usr/ports/sysutils/xmbmon/* [... output of Makefile ...] /usr/ports/sysutils/xmbmon/Makefile (file 1 of 2) (END) - Next: /usr/ports/sysutils/xmbmon/files (ENTER):n :Segmentation fault (core dumped) # May I add the same thing happens with FreeBSD grimma 6.2-STABLE FreeBSD 6.2-STABLE #35: Sun Jul 15 18:18:40 CEST 2007 root@grimma:/usr/obj/usr/src/sys/GRIMMA i386 (and also same configuration with amd64; note all three 6.2-STABLE are SMP machines) but works OK with FreeBSD machine5 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #1: Fri Mar 24 19:40:17 CET 2006 root@machine5:/usr/obj/usr/src/sys/GENERIC i386 (single CPU) and also FreeBSD machine3 5.4-STABLE FreeBSD 5.4-STABLE #0: Tue Sep 13 17:43:08 CEST 2005 root@machine3:/usr_obj/usr/src/sys/MACHINE3 sparc64 (single CPU) Same thing happens with a copy of the xmbmon directory if copied to /tmp. Nothing bad happens with "less /*". If prepending and appending a number of files and directories to the less that dumps core it works OK. ktrace indicates the SEGV occurs directly after stat() for the second file i.e. directory "files", stat returns 0 haven't managed to gdb less yet due to lack of symbols :-( >How-To-Repeat: On 6.2-STABLE i386 or amd64 SMP with ports, call less /usr/ports/sysutils/xmbmon/* >Fix: >Release-Note: >Audit-Trail: >Unformatted: