NetBSD Problem Report #53107

From  Mon Mar 19 06:21:49 2018
Return-Path: <>
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "", Issuer " CA" (not verified))
	by (Postfix) with ESMTPS id 692B87A167
	for <>; Mon, 19 Mar 2018 06:21:49 +0000 (UTC)
Message-Id: <>
Date: Mon, 19 Mar 2018 15:21:47 +0900 (JST)
Subject: gpt(8) with no device argument problems
X-Send-Pr-Version: 3.95

>Number:         53107
>Category:       bin
>Synopsis:       gpt(8) with no device argument problems
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mlelstv
>State:          analyzed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 19 06:25:00 +0000 2018
>Last-Modified:  Mon Mar 19 07:03:03 +0000 2018
>Release:        NetBSD 8.99.12
netbsd-8 or -current
Architecture: x86_64
Machine: amd64
	On netbsd-8 or -current:

	    gpt show -a
	    Segmentation fault (core dumped)

	Other than "set -l" and "type -l" take device argument.
	If no device argument with such command, it dumps core.

	gpt(8)'s SYNOPSIS says:

	    gpt [-nrqv] [-m mediasize] [-s sectorsize] [-T timestamp] command
	    [command_options] device

	It's incorrect for "set -l" and "type -l"

	See above.
	Fix both code and the manual.



Responsible-Changed-From-To: bin-bug-people->mlelstv
Responsible-Changed-When: Mon, 19 Mar 2018 07:03:03 +0000
I have a fix

State-Changed-From-To: open->analyzed
State-Changed-When: Mon, 19 Mar 2018 07:03:03 +0000
problem is understood


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD:,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.