Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jun 2008 05:42:45 -0700
From:      Jeremy Chadwick <koitsu@FreeBSD.org>
To:        Jona Joachim <jaj@hcl-club.lu>
Cc:        Kris Kennaway <kris@FreeBSD.org>, freebsd-stable@freebsd.org
Subject:   Re: pkg_delete core dump when removing linux-tiff
Message-ID:  <20080610124245.GA42745@eos.sc1.parodius.com>
In-Reply-To: <20080610120240.GA2964@nirvana.my.domain>
References:  <slrng4nn24.han.jaj@nirvana.my.domain> <484BE563.90102@FreeBSD.org> <20080610003222.GA3822@nirvana.my.domain> <484DD565.2010700@FreeBSD.org> <20080610120240.GA2964@nirvana.my.domain>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 10, 2008 at 02:02:40PM +0200, Jona Joachim wrote:
> On Tue, Jun 10, 2008 at 03:14:13AM +0200, Kris Kennaway wrote:
> > Jona Joachim wrote:
> > > On Sun, Jun 08, 2008 at 03:57:55PM +0200, Kris Kennaway wrote:
> > >> Jona Joachim wrote:
> > >>> Hi!
> > >>>
> > >>> pkg_delete core dumps on me when it tries to remove linux-tiff.
> > >>> I can reproduce this reliably.
> > >>> FWIW you can find the core dump here:
> > >>> http://www.hcl-club.lu/~jaj/stuff/pkg_delete.core
> > >> You need to obtain the backtrace, see the developers handbook.
> > > 
> > > I built pkg_delete with -g but gdb says 'no debugging symbols found'.
> > > Is the following information sufficient or do I need to rebuild everything with debugging information turned on?
> > 
> > It was probably stripped at install, I think you can set STRIP= (i.e. 
> > empty value) but doesn't it also explain this in the handbook?
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x48165a73 in strncmp () from /lib/libc.so.7
> (gdb) bt
> #0  0x48165a73 in strncmp () from /lib/libc.so.7
> #1  0x0804dad4 in delete_package (ign_err=0, nukedirs=0, pkg=0x8053540) at plist.c:462
> #2  0x0804a91d in pkg_do (pkg=0x810b160 "linux-tiff-3.7.1") at perform.c:319
> #3  0x08049f50 in pkg_perform (pkgs=0x8113068) at perform.c:112
> #4  0x08049b93 in real_main (argc=1, argv=0xbfbfeb98) at main.c:145
> #5  0x0804b0d5 in main (argc=2, argv=0xbfbfeb90) at pkgwrap.c:88
> (gdb) 

How about 'bt full' ?

-- 
| Jeremy Chadwick                                jdc at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |




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