Date: Wed, 22 Feb 2012 01:26:45 +0900 (JST) From: Koichiro IWAO <meta@club.kyutech.ac.jp> To: FreeBSD-gnats-submit@FreeBSD.org Cc: meta@club.kyutech.ac.jp Subject: ports/165367: misc/lv segfaults in grep-mode if last argument was a nonexistentfile Message-ID: <201202211626.q1LGQjDD049289@glory.vmeta.jp> Resent-Message-ID: <201202211650.q1LGo9ca068427@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 165367 >Category: ports >Synopsis: misc/lv segfaults in grep-mode if last argument was a nonexistentfile >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Feb 21 16:50:09 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Koichiro IWAO >Release: FreeBSD 8.2-RELEASE-p5 amd64 >Organization: Kyushu Institute of Technology >Environment: System: FreeBSD glory.vmeta.jp 8.2-RELEASE-p5 FreeBSD 8.2-RELEASE-p5 #8: Mon Dec 26 06:04:53 JST 2011 root@glory.vmeta.jp:/usr/obj/usr/src/sys/METAKERNEL amd64 >Description: misc/lv causes segmentation failt in grep-mode if last argument was a nonexistent file. This happens only in case a nonexistent file is on last. >How-To-Repeat: grep-mode lv fails: $ lv -g PATTERN /etc/profile /nonexistence (snip) Segmentation fault: 11 (core dumped) In this case, lv works fine: $ lv -g PATTERN /nonexistence /etc/profile /nonexistence: No such file or directory >Fix: I am trying to contact the original lv author, but can't. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202211626.q1LGQjDD049289>