Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jul 2023 15:29:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 192839] Duplicate entries in an mtree file cause nmtree to coredump
Message-ID:  <bug-192839-227-zb0m7YazUr@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-192839-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-192839-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D192839

Felix Dietrich <felix.dietrich+freebsd-bugtracker@sperrhaken.name> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |felix.dietrich+freebsd-bugt
                   |                            |racker@sperrhaken.name

--- Comment #6 from Felix Dietrich <felix.dietrich+freebsd-bugtracker@sperr=
haken.name> ---
I am unable to reproduce the core dump with the provided examples:

The example of comment #1 yields (the =E2=80=9C-E=E2=80=9D to exclude a tag=
 should presumably
have been a =E2=80=9C-e=E2=80=9D to not complain about files not in the spe=
cification) :

  nmtree: no parent node
  nmtree: failed at line 6 of the specification

For the example in comment #3 only the line number in the output differs:

  nmtree: no parent node
  nmtree: failed at line 4 of the specification

A slight modification to the example found in comment #1 (specifying the
default type to be =E2=80=9Cdir=E2=80=9D)

  /set type=3Ddir
  .
      duplicate_entry
      ..
      duplicate_entry
      ..
  ..

yields, on an empty root directory, the following:

  ./dup missing (directory not created: user not specified)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192839-227-zb0m7YazUr>