Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jul 2009 07:49:00 -1000
From:      parv@pair.com
To:        f-stable <freebsd-stable@freebsd.org>
Subject:   pkg_delete dumps core while deinstalling old libgtkhtml
Message-ID:  <20090720174900.GA5299@holstein.holy.cow>

next in thread | raw e-mail | index | archive | help
Hi,

While deinstalling libgtkhtml-2.11.1, pkg_delete (FreeBSD
6-STABLE/i386) dies due to segfault ...

  gdb /usr/sbin/pkg_delete -c /var/db/package/libgtkhtml-2.11.1/pkg_delete.core
  GNU gdb 6.1.1 [FreeBSD]
  ...
  This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols found)...
  Core was generated by `pkg_delete'.
  Program terminated with signal 11, Segmentation fault.
  Reading symbols from /lib/libmd.so.3...(no debugging symbols found)...done.
  Loaded symbols for /lib/libmd.so.3
  Reading symbols from /lib/libutil.so.5...(no debugging symbols found)...done.
  Loaded symbols for /lib/libutil.so.5
  Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
  Loaded symbols for /lib/libc.so.6
  Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done.
  Loaded symbols for /libexec/ld-elf.so.1
  #0  0x78152f52 in strcmp () from /lib/libc.so.6
  (gdb) bt
  #0  0x78152f52 in strcmp () from /lib/libc.so.6
  #1  0x0804b3e3 in ?? ()
  #2  0x08052060 in ?? ()
  #3  0x00000000 in ?? ()
  #4  0x00000000 in ?? ()
  #5  0x00000000 in ?? ()
  #6  0x00000000 in ?? ()
  #7  0x00000000 in ?? ()
  #8  0x00000000 in ?? ()
  #9  0x00000000 in ?? ()
  #10 0x08052040 in ?? ()
  #11 0x08056b60 in ?? ()
  #12 0xbfbfda08 in ?? ()
  #13 0x0804ad65 in ?? ()
  #14 0x00000000 in ?? ()
  #15 0x0000000c in ?? ()
  #16 0xbfbfd870 in ?? ()
  #17 0x78168518 in __sfvwrite () from /lib/libc.so.6


... if anybody needs missing symbols, could you please tell me what I
would need to do?

I could (write a program) myself (to) handle the file deletion, unless
there is already an existing program besides pkg_delete itself.  Is
there one?


  - Parv

-- 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090720174900.GA5299>