Date: Wed, 18 Sep 2002 00:14:31 -0400 From: Craig Rodrigues <rodrigc@attbi.com> To: freebsd-current@freebsd.org Cc: lists@bsdnerds.org Subject: Re: pkg_add Message-ID: <20020918001431.A2913@attbi.com> In-Reply-To: <20020916025609.GA958@dragon.nuxi.com>; from obrien@freebsd.org on Sun, Sep 15, 2002 at 07:56:09PM -0700 References: <1032126448.383.1.camel@dev.bsdnerds.org> <20020916025609.GA958@dragon.nuxi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Sep 15, 2002 at 07:56:09PM -0700, David O'Brien wrote: > On Sun, Sep 15, 2002 at 09:47:28PM +0000, justin wrote: > > >> SORRY IF THIS IS A REPEAT! > > > > I have recompiled my base the past 2 days now, and pkg_add will segfault > > signal 10 and core dumps after the second file transfer I can still use > > it to install the package, but i have to run the command multiple times > > depending on how many dependancies the port has. If it is only 1 file, > > it works fine and without problems. > > What is the exact outout with `pkg_add -v'. Can you compile pkg_add with > -g debugging and provide a trace? I can reproduce the problem with pkg_add by doing: pkg_add -v -r cvsupit on a clean system. This happens with the latest sources in /usr/src/usr.sbin/pkg_install/ -- Craig Rodrigues http://www.gis.net/~craigr rodrigc@attbi.com --OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="out1.txt" Content-Transfer-Encoding: quoted-printable Script started on Wed Sep 18 00:12:02 2002 rincewind# gdb pkg_add=0D=0D GNU gdb 5.2.0 (FreeBSD) 20020627=0D Copyright 2002 Free Software Foundation, Inc.=0D GDB is free software, covered by the GNU General Public License, and you ar= e=0D welcome to change it and/or distribute copies of it under certain condition= s.=0D Type "show copying" to see the conditions.=0D There is absolutely no warranty for GDB. Type "show warranty" for details.= =0D This GDB was configured as "i386-undermydesk-freebsd"...=0D (gdb) r -v -r cvsupit=0D Starting program: /usr/src/usr.sbin/pkg_install/add/pkg_add -v -r cvsupit=0D looking up ftp.freebsd.org=0D connecting to ftp.freebsd.org:21=0D setting passive mode=0D opening data connection=0D initiating transfer=0D Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-current/Late= st/cvsupit.tbz...+CONTENTS=0D +COMMENT=0D +DESC=0D +INSTALL=0D +REQUIRE=0D +MTREE_DIRS=0D tar command returns 0 status=0D Done.=0D Package 'cvsupit-3.1' depends on 'perl-5.6.1_8'.=0D setting passive mode=0D opening data connection=0D initiating transfer=0D Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-current/All/= perl-5.6.1_8.tbz...+CONTENTS=0D +COMMENT=0D +DESC=0D +INSTALL=0D +DISPLAY=0D +MTREE_DIRS=0D Attempting to record package into /var/db/pkg/perl-5.6.1_8..=0D Package perl-5.6.1_8 registered in /var/db/pkg/perl-5.6.1_8=0D =0D Installation of Perl distribution is finished. Please note, that since=0D Perl is also in the base system, this distribution will not be used by=0D default.=0D =0D If you want this version of Perl to be used by default, please type=0D =0D use.perl port=0D =0D Assuming that use.perl script (which was installed with the rest of the=0D Perl distribution) can be found in your PATH (you might have to type=0D `rehash' first, depending upon a shell you use), this action will=0D replace /usr/bin/perl and /usr/bin/suidperl with symbolic links to the=0D versions of these binaries in the Perl distribution. This action will=0D also put some variables into your /etc/make.conf file, so that newly=0D installed ports (not packages!) will use new version of perl, and the=0D system upgrades from the source will not overwrite the changes made.=0D =0D At any time you can also type=0D =0D use.perl system=0D =0D if you wish to revert back to the system version of perl.=0D =0D 'perl-5.6.1_8' loaded successfully.=0D Package 'cvsupit-3.1' depends on 'imake-4.2.0_1'.=0D =0D Program received signal SIGBUS, Bus error.=0D 0x280a0792 in SSL_write () from /usr/lib/libssl.so.2=0D (gdb) where=0D #0 0x280a0792 in SSL_write () from /usr/lib/libssl.so.2=0D #1 0x28078129 in _fetch_write () from /usr/lib/libfetch.so.3=0D #2 0x280781de in _fetch_putln () from /usr/lib/libfetch.so.3=0D #3 0x28075d61 in fetchListHTTP () from /usr/lib/libfetch.so.3=0D #4 0x280771c4 in fetchListHTTP () from /usr/lib/libfetch.so.3=0D #5 0x2807743d in _ftp_request () from /usr/lib/libfetch.so.3=0D #6 0x28077591 in fetchXGetFTP () from /usr/lib/libfetch.so.3=0D #7 0x280783b0 in fetchXGet () from /usr/lib/libfetch.so.3=0D #8 0x280786e5 in fetchXGetURL () from /usr/lib/libfetch.so.3=0D #9 0x2807871f in fetchGetURL () from /usr/lib/libfetch.so.3=0D #10 0x0804f5ef in fileGetURL (=0D base=3D0x8056860 "ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages= -current/Latest/cvsupit.tbz", spec=3D0x808d070 "imake-4.2.0_1") at file.c:1= 99=0D #11 0x0804aa97 in pkg_do (=0D pkg=3D0x8056860 "ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-= current/Latest/cvsupit.tbz") at perform.c:297=0D #12 0x0804a24b in pkg_perform (pkgs=3D0x8088c60) at perform.c:50=0D #13 0x08049faf in real_main (argc=3D-1077936975, argv=3D0xbfbffb9c) at main= .c:215=0D #14 0x0804c96e in main (argc=3D673297920, argv=3D0xbfbffb8c) at pkgwrap.c:8= 8=0D #15 0x08049b29 in _start ()=0D (gdb) quit=0D The program is running. Exit anyway? (y or n) y=0D rincewind# ^D=08=08exit=0D Script done on Wed Sep 18 00:13:37 2002 --OgqxwSJOaUobr8KG-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020918001431.A2913>