Re: PKG 3.1.0 update - Segmentation fault: 11

2014-07-29 Thread Matthew Seaman
On 27/07/2014 14:22, Michelle Sullivan wrote: > Unless the fault smashed the stack often you can find what the > problem/cause was. If the stack is smashed you're screwed. > > gdb > > Commands immediately useful: > > backtrace full (alias: bt full) > frame for which you want to examine > if

Re: PKG 3.1.0 update - Segmentation fault: 11

2014-07-29 Thread Matthew Seaman
On 27/07/2014 13:30, David Wolfskill wrote: > Errr...??!? > > I haven't changed /usr/local/etc/pkg.conf at all. The sample pkg.conf for 1.2.x (https://github.com/freebsd/pkg/blob/release-1.2/pkg/pkg.conf.sample) contained some ALIAS definitions, like so: ALIAS : { all-depends: query %dn-%dv,

Re: PKG 3.1.0 update - Segmentation fault: 11

2014-07-27 Thread David Wolfskill
On Sun, Jul 27, 2014 at 07:06:17AM -0700, David Wolfskill wrote: > On Sun, Jul 27, 2014 at 06:47:52AM -0700, David Wolfskill wrote: > > On Sun, Jul 27, 2014 at 06:40:27AM -0700, David Wolfskill wrote: > > > ... > > > Back on the original topic, I was able to get pkg-1.3.1 installed and > > > ... >

Re: PKG 3.1.0 update - Segmentation fault: 11

2014-07-27 Thread Robert Huff
Jos Chrispijn writes: > Baptiste Daroussin: > > > This is a known one I'm very sorry about but tricky to fix, to > > solve it, open your /usr/local/etc/pkg.conf you might have a > > duplicated entry in alias (probable leaf), remove the second one, > > that will solve your problem. regards, B

Re: PKG 3.1.0 update - Segmentation fault: 11

2014-07-27 Thread David Wolfskill
On Sun, Jul 27, 2014 at 06:47:52AM -0700, David Wolfskill wrote: > On Sun, Jul 27, 2014 at 06:40:27AM -0700, David Wolfskill wrote: > > ... > > Back on the original topic, I was able to get pkg-1.3.1 installed and > > ... > > OK; I was able to simplify the process on my 2nd system: > > * Update /

Re: PKG 3.1.0 update - Segmentation fault: 11

2014-07-27 Thread David Wolfskill
On Sun, Jul 27, 2014 at 06:40:27AM -0700, David Wolfskill wrote: > ... > Back on the original topic, I was able to get pkg-1.3.1 installed and > ... OK; I was able to simplify the process on my 2nd system: * Update /usr/local/etc/pkg.conf (to remove to eduplicate alias definition for "leaf").

Re: PKG 3.1.0 update - Segmentation fault: 11

2014-07-27 Thread David Wolfskill
On Sun, Jul 27, 2014 at 03:22:08PM +0200, Michelle Sullivan wrote: > ... > > g1-252(9.3-S)[4] sudo file pkg-static.core > > Password: > > pkg-static.core: ELF 32-bit LSB core file Intel 80386, version 1 (FreeBSD), > > FreeBSD-style, from '-static' > > g1-252(9.3-S)[5] > > > > Doesn't appear s

Re: PKG 3.1.0 update - Segmentation fault: 11

2014-07-27 Thread Michelle Sullivan
David Wolfskill wrote: > On Sun, Jul 27, 2014 at 02:38:39PM +0200, Michelle Sullivan wrote: > >> ... >> By any chance is there a core file around releated to this, and if so >> was the binary that faulted unstripped? >> > > In each of the 3 cases, I find a > /usr/ports/ports-mgmt/pkg/pkg-st

Re: PKG 3.1.0 update - Segmentation fault: 11

2014-07-27 Thread David Wolfskill
On Sun, Jul 27, 2014 at 02:38:39PM +0200, Michelle Sullivan wrote: > ... > By any chance is there a core file around releated to this, and if so > was the binary that faulted unstripped? In each of the 3 cases, I find a /usr/ports/ports-mgmt/pkg/pkg-static.core file g1-252(9.3-S)[4] sudo file pkg

Re: PKG 3.1.0 update - Segmentation fault: 11

2014-07-27 Thread Michelle Sullivan
David Wolfskill wrote: > On Sun, Jul 27, 2014 at 01:19:49PM +0200, Baptiste Daroussin wrote: > >> ... >> This is a known one I'm very sorry about but tricky to fix, to solve it, open >> your /usr/local/etc/pkg.conf you might have a duplicated entrey in alias >> (probable leaf), remove the second

Re: PKG 3.1.0 update - Segmentation fault: 11

2014-07-27 Thread David Wolfskill
On Sun, Jul 27, 2014 at 01:19:49PM +0200, Baptiste Daroussin wrote: > ... > This is a known one I'm very sorry about but tricky to fix, to solve it, open > your /usr/local/etc/pkg.conf you might have a duplicated entrey in alias > (probable leaf), remove the second one, that will solve your problem

Re: PKG 3.1.0 update - Segmentation fault: 11

2014-07-27 Thread Jos Chrispijn
Baptiste Daroussin: This is a known one I'm very sorry about but tricky to fix, to solve it, open your /usr/local/etc/pkg.conf you might have a duplicated entrey in alias (probable leaf), remove the second one, that will solve your problem. regards, Bapt thanks, will try and let you know once

Re: PKG 3.1.0 update - Segmentation fault: 11

2014-07-27 Thread Zsolt Udvari
2014-07-27 13:19 GMT+02:00 Baptiste Daroussin : > This is a known one I'm very sorry about but tricky to fix, to solve it, open > your /usr/local/etc/pkg.conf you might have a duplicated entrey in alias > (probable leaf), remove the second one, that will solve your problem. Thanks!

Re: PKG 3.1.0 update - Segmentation fault: 11

2014-07-27 Thread Baptiste Daroussin
On Sun, Jul 27, 2014 at 12:02:50PM +0200, Jos Chrispijn wrote: > > > > > > > Hi Bapt, > > I just found another > issue with the port update fail face="Verdana">ure: > > > pkg info > Child process pid=2126 terminated abnormally: Seg

Re: PKG 3.1.0 update - Segmentation fault: 11

2014-07-27 Thread olli hauer
On 2014-07-27 12:02, Jos Chrispijn wrote: >Hi Bapt, >I just found another issue with the port update failure: >> pkg info >Child process pid=2126 terminated abnormally: Segmentation fault: 11 >> pkg2ng >Child process pid=2147 terminated abnormally: Segmentation fault: 11 >

PKG 3.1.0 update - Segmentation fault: 11

2014-07-27 Thread Jos Chrispijn
Hi Bapt, I just found another issue with the port update failure: > pkg info Child process pid=2126 terminated abnormally: Segmentation fault: 11 > pkg2ng Child process pid=2147 terminated abnormally: Segmentation fault: 11 Analysing shared libraries, this will take a while...