NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/54291: pkg_add segfault



>Number:         54291
>Category:       bin
>Synopsis:       pkg_add segfault
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 11 15:00:01 +0000 2019
>Originator:     Andreas Gustafsson
>Release:        NetBSD-current, source date 2019.06.11.08.34.01
>Organization:

>Environment:
System: NetBSD
Architecture: x86_64
Machine: amd64
>Description:

On a freshly installed -current XEN3_DOM0, running "pkg_add git-base"
with a PKG_PATH of ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/8.0/All
ended in pkg_add segfaulting:

  [...]
  git-base-2.21.0: copying /usr/pkg/share/examples/git/templates/hooks/update.sample to /usr/pkg/share/git-core/templates/hooks/update.sample
  git-base-2.21.0: copying /usr/pkg/share/examples/git/templates/info/exclude to /usr/pkg/share/git-core/templates/info/exclude
  ===========================================================================
  $NetBSD: MESSAGE,v 1.3 2016/05/26 15:41:06 khorben Exp $

  NOTE:	Pristine templates are located in:
          /usr/pkg/share/examples/git/templates.

  To use the git-cvsimport repository conversion from CVS, install git-cvs.

  To use the git-svn interface to Subversion, install git-svn.

  ===========================================================================
  [1]   Segmentation fault (core dumped) pkg_add git-base
  # gdb pkg_add /usr/pkg/pkg_add.core
  GNU gdb (GDB) 8.3
  [...]
  (No debugging symbols found in pkg_add)
  [New process 1]
  Core was generated by `pkg_add'.
  Program terminated with signal SIGSEGV, Segmentation fault.
  #0  0x00007360c5209143 in fetch_cache_put () from /usr/lib/libfetch.so.3
  (gdb) where
  #0  0x00007360c5209143 in fetch_cache_put () from /usr/lib/libfetch.so.3
  #1  0x00007360c52070ba in ?? () from /usr/lib/libfetch.so.3
  #2  0x00007360c520a1f9 in fetchIO_close () from /usr/lib/libfetch.so.3
  #3  0x0000000058e0d452 in ?? ()
  #4  0x00007360c446e88f in ?? () from /usr/lib/libarchive.so.4
  #5  0x00007360c446e8d7 in ?? () from /usr/lib/libarchive.so.4
  #6  0x00007360c446e951 in ?? () from /usr/lib/libarchive.so.4
  #7  0x00007360c446f5a5 in ?? () from /usr/lib/libarchive.so.4
  #8  0x0000000058e05fa3 in pkg_do ()
  #9  0x0000000058e07114 in pkg_perform ()
  #10 0x0000000058e10b59 in main ()
  (gdb) x/i $pc
  => 0x7360c5209143 <fetch_cache_put+132>:	mov    0x60(%rbx),%rax
  (gdb) print /x $rbx
  $1 = 0x5a5a5a5a5a5a5a5a
  (gdb) 

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index