Re: portmanager coredumps [with backtrace]
On 12/11/05, Michael C. Shultz <[EMAIL PROTECTED]> wrote: > Here is what I get with the patch I sent you applied: > > [EMAIL PROTECTED]:~> portmanager multimedia/avifile -ui -l -bu > rCreateCommandLineDb 0.3.4_1 info: executing rm > -f /usr/local/share/portmanager/commandLine.db > upgrading/installing /usr/ports/multimedia/avifile > > portmanager 0.3.4_1: Collecting installed port data > > 1 avifile-0.7.41,2 /multimedia/avifile > 2 nasm-0.98.39,1 /devel/nasm > 3 qt-copy-3.3.4 /x11-toolkits/qt33 > 4 gmake-3.80_2 /devel/gmake > 5 libtool-1.5.20 /devel/libtool15 > 6 sdl-1.2.9,2 /devel/sdl12 > 7 win32-codecs-3.1.0.p5_1,1 .2005.10.01/multimedia/avifile/../win32-codecs > 8 liba52-0.7.4_1 /audio/liba52 > > This is correct, so may take at look at this > > cd /usr/ports/multimedia/avifile > > [EMAIL PROTECTED]:~>cd /usr/ports/multimedia/avifile > [EMAIL PROTECTED]:/usr/ports/multimedia/avifile>make -V PORTSDIR > > /usr/ports (where ports thinks /usr/ports is located) ([EMAIL PROTECTED]) /usr/ports/multimedia/avifile> make -V PORTSDIR /usr/ports > [EMAIL PROTECTED]:/usr/ports/multimedia/avifile>make -V make -V .CURDIR > > /usr/ports.2005.10.01/multimedia/avifile(actual location) ([EMAIL PROTECTED]) /usr/ports/multimedia/avifile> make -V .CURDIR /home/ajs/Unix/FreeBSD/ports/multimedia/avifile > [EMAIL PROTECTED]:/usr/ports/multimedia/avifile>ls -l /usr/ports > > lrwxr-xr-x 1 root wheel 21 Nov 12 07:21 /usr/ports -> /usr/ports.2005.10.01 > > I have a link from /usr/ports to /usr/ports.2005.10.01 > > Is your something like this? ([EMAIL PROTECTED]) /usr/ports/multimedia/avifile> ls -l /usr/ports lrwxr-xr-x 1 root wheel 28 Jul 2 09:06 /usr/ports -> /home/ajs/Unix/FreeBSD/ports ([EMAIL PROTECTED]) /usr/ports/multimedia/avifile> I've checked and I'm pretty sure that your patch applied cleanly so it must be something to do with how I've got my ports tree set up. Al -- GPG/PGP: http://www.no-dns-yet.org.uk/~everlone/pubkey.gpg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: portmanager coredumps [with backtrace]
On Saturday 12 November 2005 08:41, Alistair Sutton wrote: > On 12/11/05, cpghost <[EMAIL PROTECTED]> wrote: > > First time using portmanager. Using command line: > > # portmanager -u -pi editors/openoffice-1.1 -l -f > > It coredumps approx at line 00218 or so: > > > > MGPMrController 0.3.4_0 info: running in forced update mode > > > > portmanager 0.3.4_0: Collecting installed port data "forced mode" > > > > 00574 setiathome-3.08_3 /astro/setiathome > > 00573 compat4x-i386-5.3_2 /misc/compat4x > > 00572 localedata-5.4 /misc/localedata > > 00571 tiff-3.7.4 /graphics/tiff > > 00570 libtool-1.5.20 /devel/libtool15 > > 00569 jpeg-6b_3 /graphics/jpeg > > [...] > > > > Here's the backtrace: > > > > #0 0x2812c216 in strcpy () from /lib/libc.so.6 > > #1 0x080fd000 in ?? () > > #2 0x2807f82c in rrGetPortName (property=0xbfbfeb50, > > portDir=0x80ed000 "/ports/multimedia/avifile/../win32-codecs", > > portName=0x80fd000 "qt-3.3.5") at MGPMrCreateAllUpdateStatusDb.c:209 > > #3 0x2808047b in rrParse (property=0xbfbfeb50, > > availablePortName=0x80ad000 "avifile-0.7.41,2", > > availablePortDir=0x809d000 "/multimedia/avifile", > > dependType=0xbfbfe790 "RUN_DEPENDS", > > buffer=0x80cd000 "/usr/X11R6/bin/moc:/usr/ports/x11-toolkits/qt33", > > counterPtr=0xbfbfe84c) at MGPMrCreateAllUpdateStatusDb.c:496 > > #4 0x280801e4 in rrDependencyParse (property=0xbfbfeb50, > > buffer=0x80cd000 "/usr/X11R6/bin/moc:/usr/ports/x11-toolkits/qt33", > > availablePortName=0x80ad000 "avifile-0.7.41,2", > > availablePortDir=0x809d000 "/multimedia/avifile", > > dependType=0xbfbfe790 "RUN_DEPENDS", counterPtr=0xbfbfe84c) > > at MGPMrCreateAllUpdateStatusDb.c:424 > > #5 0x2807ff3e in rrFillDependencies (property=0xbfbfeb50, > > availablePortName=0x80ad000 "avifile-0.7.41,2", > > availablePortDir=0x809d000 "/multimedia/avifile", > > counterPtr=0xbfbfe84c) at MGPMrCreateAllUpdateStatusDb.c:351 > > #6 0x2807f5d6 in rrFindDepends (property=0xbfbfeb50, > > availablePortDir=0x809d000 "/multimedia/avifile", > > availablePortName=0x80ad000 "avifile-0.7.41,2", > > counterPtr=0xbfbfe84c) at MGPMrCreateAllUpdateStatusDb.c:149 > > #7 0x2807f4c9 in MGPMrCreateAllUpdateStatusDb (property=0xbfbfeb50) > > at MGPMrCreateAllUpdateStatusDb.c:117 > > #8 0x2807e7ce in rPmUpgradeNewMethod (property=0xbfbfeb50) > > at MGPMrController.c:727 > > #9 0x2807d724 in MGPMrController (property=0xbfbfeb50, > > path=0xbfbfead0 "PMUPGRADE") at MGPMrController.c:408 > > #10 0x2807be6d in rParseCommandLine (property=0xbfbfeb50, argc=6, > > argv=0xbfbfed18) at MGPMrCommandLine.c:302 > > #11 0x2807b5d9 in MGPMrCommandLine (argc=6, argv=0xbfbfed18) > > at MGPMrCommandLine.c:115 > > #12 0x08048533 in main (argc=6, argv=0xbfbfed18) at portmanager.c:38 > > I had this on my machine. > > In the multimedia/avifile Makefile there is the following: > > #CODEC_PORT= ${PORTSDIR}/multimedia/win32-codecs > CODEC_PORT=${.CURDIR}/../win32-codecs > > Switching the commented lines around to this > CODEC_PORT= ${PORTSDIR}/multimedia/win32-codecs > #CODEC_PORT=${.CURDIR}/../win32-codecs > > stops portmanager from coredumping when scanning that port. > > I'm unsure as to where the problem lies so I wouldn't entirely > recommend making the change unless you're willing to spend time fixing > things if they get broken (note: I've had no problems so far but since > I don't fully understand the way the port works I'm not going to say > this is the Right Thing To Do ;-) > > Al > > -- > GPG/PGP: http://www.no-dns-yet.org.uk/~everlone/pubkey.gpg I all ready have one pr against this port that looks like it will be pending until maintainer time out. Saw this a while bck and thought I had portmanager working around it. Mind testing the attached patch and seeing if it helps? -Mike diff -ruN ../0.3.4/externVars.h.in ./externVars.h.in --- ../0.3.4/externVars.h.in Fri Nov 11 06:31:14 2005 +++ ./externVars.h.in Fri Nov 11 19:38:50 2005 @@ -78,13 +78,13 @@ #define PACKAGE_NAME "portmanager" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "portmanager 0.3.4" +#define PACKAGE_STRING "portmanager 0.3.5" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "portmanager" /* Define to the version of this package. */ -#define PACKAGE_VERSION "0.3.4" +#define PACKAGE_VERSION "0.3.5" /* location of ports registry, default is /var/db/pkg */ #define PKGDBDIR "@PKGDBDIR@" diff -ruN ../0.3.4/libMG/src/MGdbAdd.c ./libMG/src/MGdbAdd.c --- ../0.3.4/libMG/src/MGdbAdd.c Mon Nov 7 16:46:00 2005 +++ ./libMG/src/MGdbAdd.c Fri Nov 11 17:23:26 2005 @@ -58,6 +58,14 @@ { break; } + + /* + * prevent null data from being placed into record fields + */ + if( strlen( paramPtr ) < 1 ) + { +
Re: portmanager coredumps [with backtrace]
On Saturday 12 November 2005 07:42, cpghost wrote: > First time using portmanager. Using command line: > # portmanager -u -pi editors/openoffice-1.1 -l -f > It coredumps approx at line 00218 or so: > > MGPMrController 0.3.4_0 info: running in forced update mode > > portmanager 0.3.4_0: Collecting installed port data "forced mode" > > 00574 setiathome-3.08_3 /astro/setiathome > 00573 compat4x-i386-5.3_2 /misc/compat4x > 00572 localedata-5.4 /misc/localedata > 00571 tiff-3.7.4 /graphics/tiff > 00570 libtool-1.5.20 /devel/libtool15 > 00569 jpeg-6b_3 /graphics/jpeg > [...] > > Here's the backtrace: > > #0 0x2812c216 in strcpy () from /lib/libc.so.6 > #1 0x080fd000 in ?? () > #2 0x2807f82c in rrGetPortName (property=0xbfbfeb50, > portDir=0x80ed000 "/ports/multimedia/avifile/../win32-codecs", > portName=0x80fd000 "qt-3.3.5") at MGPMrCreateAllUpdateStatusDb.c:209 > #3 0x2808047b in rrParse (property=0xbfbfeb50, > availablePortName=0x80ad000 "avifile-0.7.41,2", > availablePortDir=0x809d000 "/multimedia/avifile", > dependType=0xbfbfe790 "RUN_DEPENDS", > buffer=0x80cd000 "/usr/X11R6/bin/moc:/usr/ports/x11-toolkits/qt33", > counterPtr=0xbfbfe84c) at MGPMrCreateAllUpdateStatusDb.c:496 > #4 0x280801e4 in rrDependencyParse (property=0xbfbfeb50, > buffer=0x80cd000 "/usr/X11R6/bin/moc:/usr/ports/x11-toolkits/qt33", > availablePortName=0x80ad000 "avifile-0.7.41,2", > availablePortDir=0x809d000 "/multimedia/avifile", > dependType=0xbfbfe790 "RUN_DEPENDS", counterPtr=0xbfbfe84c) > at MGPMrCreateAllUpdateStatusDb.c:424 > #5 0x2807ff3e in rrFillDependencies (property=0xbfbfeb50, > availablePortName=0x80ad000 "avifile-0.7.41,2", > availablePortDir=0x809d000 "/multimedia/avifile", > counterPtr=0xbfbfe84c) at MGPMrCreateAllUpdateStatusDb.c:351 > #6 0x2807f5d6 in rrFindDepends (property=0xbfbfeb50, > availablePortDir=0x809d000 "/multimedia/avifile", > availablePortName=0x80ad000 "avifile-0.7.41,2", counterPtr=0xbfbfe84c) > at MGPMrCreateAllUpdateStatusDb.c:149 > #7 0x2807f4c9 in MGPMrCreateAllUpdateStatusDb (property=0xbfbfeb50) > at MGPMrCreateAllUpdateStatusDb.c:117 > #8 0x2807e7ce in rPmUpgradeNewMethod (property=0xbfbfeb50) > at MGPMrController.c:727 > #9 0x2807d724 in MGPMrController (property=0xbfbfeb50, > path=0xbfbfead0 "PMUPGRADE") at MGPMrController.c:408 > #10 0x2807be6d in rParseCommandLine (property=0xbfbfeb50, argc=6, > argv=0xbfbfed18) at MGPMrCommandLine.c:302 > #11 0x2807b5d9 in MGPMrCommandLine (argc=6, argv=0xbfbfed18) > at MGPMrCommandLine.c:115 > #12 0x08048533 in main (argc=6, argv=0xbfbfed18) at portmanager.c:38 > > --- > > epia2# portmanager --version > rCreateCommandLineDb 0.3.4_0 info: executing rm -f > /usr/local/share/portmanager/ commandLine.db > > rParseCommandLine 0.3.4_0 > > --- > > 6.0-STABLE FreeBSD 6.0-STABLE #0: Sat Nov 12 07:32:20 CET 2005 > > Regards, > -cpghost. This is a good job of providing information. FreeBSD 6.0 has exposed a few bugs that I didn't find in 5.4, there is allready a pach submitted that may fix this one, if it doesn't I need the same information after it is applied. I've attached the patch in case you don't want to wait for http://www.freebsd.org/cgi/query-pr.cgi?pr=8 to be commited, just mkdir sysutils/portmanager/files, place the patch in there then rebuild reinstall. -Mike diff -ruN ../0.3.4/externVars.h.in ./externVars.h.in --- ../0.3.4/externVars.h.in Fri Nov 11 06:31:14 2005 +++ ./externVars.h.in Fri Nov 11 19:38:50 2005 @@ -78,13 +78,13 @@ #define PACKAGE_NAME "portmanager" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "portmanager 0.3.4" +#define PACKAGE_STRING "portmanager 0.3.5" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "portmanager" /* Define to the version of this package. */ -#define PACKAGE_VERSION "0.3.4" +#define PACKAGE_VERSION "0.3.5" /* location of ports registry, default is /var/db/pkg */ #define PKGDBDIR "@PKGDBDIR@" diff -ruN ../0.3.4/libMG/src/MGdbAdd.c ./libMG/src/MGdbAdd.c --- ../0.3.4/libMG/src/MGdbAdd.c Mon Nov 7 16:46:00 2005 +++ ./libMG/src/MGdbAdd.c Fri Nov 11 17:23:26 2005 @@ -58,6 +58,14 @@ { break; } + + /* + * prevent null data from being placed into record fields + */ + if( strlen( paramPtr ) < 1 ) + { + assert(0); + } fprintf( dbFileStream, "%s%c", paramPtr, 0 ); /* diff -ruN ../0.3.4/libMGPM/src/MGPMrCreateAllUpdateStatusDb.c ./libMGPM/src/MGPMrCreateAllUpdateStatusDb.c --- ../0.3.4/libMGPM/src/MGPMrCreateAllUpdateStatusDb.c Thu Nov 10 16:12:52 2005 +++ ./libMGPM/src/MGPMrCreateAllUpdateStatusDb.c Fri Nov 11 19:30:42 2005 @@ -32,7 +32,6 @@ int rrDependencyParse( structProperty* property, char* buffer, char* availablePortName, char* availablePortDir, char*
Re: portmanager coredumps [with backtrace]
On Saturday 12 November 2005 09:17, Alistair Sutton wrote: > > I all ready have one pr against this port that looks like it will be > > pending until maintainer time out. Saw this a while bck and thought I > > had portmanager working around it. Mind testing the attached patch and > > seeing if it helps? > > Note: my /usr/ports tree is symlinked to somewhere within my home > directory so I don't know if this is causing any problems. > > With the patch, rather than coredumping, portmanager now offers to > remove the win32-codecs port. > > The output is like this: > > ([EMAIL PROTECTED]) ~> sudo portmanager multimedia/avifile -ui -l -bu > Password: > rCreateCommandLineDb 0.3.4_0 info: executing rm -f > /usr/local/share/portmanager/commandLine.db > upgrading/installing /usr/ports/multimedia/avifile > > portmanager 0.3.4_0: Collecting installed port data > > 1 avifile-0.7.41,2 /multimedia/avifile WITHOUT_QT=yes > > Unix/FreeBSD/ports/multimedia/avifile/../win32-codecs is no longer in > the ports collection, see /usr/ports/MOVED > this port must be removed for portmanager to continue > is it OK to remove from your system? (yes/no/auto yes to all) [y/n/a] [y] > > Previously I got this response: > > ([EMAIL PROTECTED]) ~> sudo portmanager multimedia/avifile -ui -l -bu > rCreateCommandLineDb 0.3.4_0 info: executing rm -f > /usr/local/share/portmanager/commandLine.db > upgrading/installing /usr/ports/multimedia/avifile > > portmanager 0.3.4_0: Collecting installed port data > > 1 avifile-0.7.41,2 /multimedia/avifile WITHOUT_QT=yes > cd: can't cd to > /usr/portsUnix/FreeBSD/ports/multimedia/avifile/../win32-codecs zsh: > segmentation fault (core dumped) sudo portmanager > multimedia/avifile -ui -l -bu > > If you want me to try moving the ports into /usr/ports properly, then > let me know :-) > > Al > -- > GPG/PGP: http://www.no-dns-yet.org.uk/~everlone/pubkey.gpg Here is what I get with the patch I sent you applied: [EMAIL PROTECTED]:~> portmanager multimedia/avifile -ui -l -bu rCreateCommandLineDb 0.3.4_1 info: executing rm -f /usr/local/share/portmanager/commandLine.db upgrading/installing /usr/ports/multimedia/avifile portmanager 0.3.4_1: Collecting installed port data 1 avifile-0.7.41,2 /multimedia/avifile 2 nasm-0.98.39,1 /devel/nasm 3 qt-copy-3.3.4 /x11-toolkits/qt33 4 gmake-3.80_2 /devel/gmake 5 libtool-1.5.20 /devel/libtool15 6 sdl-1.2.9,2 /devel/sdl12 7 win32-codecs-3.1.0.p5_1,1 .2005.10.01/multimedia/avifile/../win32-codecs 8 liba52-0.7.4_1 /audio/liba52 This is correct, so may take at look at this cd /usr/ports/multimedia/avifile [EMAIL PROTECTED]:~>cd /usr/ports/multimedia/avifile [EMAIL PROTECTED]:/usr/ports/multimedia/avifile>make -V PORTSDIR /usr/ports (where ports thinks /usr/ports is located) [EMAIL PROTECTED]:/usr/ports/multimedia/avifile>make -V make -V .CURDIR /usr/ports.2005.10.01/multimedia/avifile(actual location) [EMAIL PROTECTED]:/usr/ports/multimedia/avifile>ls -l /usr/ports lrwxr-xr-x 1 root wheel 21 Nov 12 07:21 /usr/ports -> /usr/ports.2005.10.01 I have a link from /usr/ports to /usr/ports.2005.10.01 Is your something like this? -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: portmanager coredumps [with backtrace]
> I all ready have one pr against this port that looks like it will be pending > until maintainer time out. Saw this a while bck and thought I had > portmanager working around it. Mind testing the attached patch and seeing if > it helps? Note: my /usr/ports tree is symlinked to somewhere within my home directory so I don't know if this is causing any problems. With the patch, rather than coredumping, portmanager now offers to remove the win32-codecs port. The output is like this: ([EMAIL PROTECTED]) ~> sudo portmanager multimedia/avifile -ui -l -bu Password: rCreateCommandLineDb 0.3.4_0 info: executing rm -f /usr/local/share/portmanager/commandLine.db upgrading/installing /usr/ports/multimedia/avifile portmanager 0.3.4_0: Collecting installed port data 1 avifile-0.7.41,2 /multimedia/avifile WITHOUT_QT=yes Unix/FreeBSD/ports/multimedia/avifile/../win32-codecs is no longer in the ports collection, see /usr/ports/MOVED this port must be removed for portmanager to continue is it OK to remove from your system? (yes/no/auto yes to all) [y/n/a] [y] Previously I got this response: ([EMAIL PROTECTED]) ~> sudo portmanager multimedia/avifile -ui -l -bu rCreateCommandLineDb 0.3.4_0 info: executing rm -f /usr/local/share/portmanager/commandLine.db upgrading/installing /usr/ports/multimedia/avifile portmanager 0.3.4_0: Collecting installed port data 1 avifile-0.7.41,2 /multimedia/avifile WITHOUT_QT=yes cd: can't cd to /usr/portsUnix/FreeBSD/ports/multimedia/avifile/../win32-codecs zsh: segmentation fault (core dumped) sudo portmanager multimedia/avifile -ui -l -bu If you want me to try moving the ports into /usr/ports properly, then let me know :-) Al -- GPG/PGP: http://www.no-dns-yet.org.uk/~everlone/pubkey.gpg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: portmanager coredumps [with backtrace]
On 12/11/05, cpghost <[EMAIL PROTECTED]> wrote: > First time using portmanager. Using command line: > # portmanager -u -pi editors/openoffice-1.1 -l -f > It coredumps approx at line 00218 or so: > > MGPMrController 0.3.4_0 info: running in forced update mode > > portmanager 0.3.4_0: Collecting installed port data "forced mode" > > 00574 setiathome-3.08_3 /astro/setiathome > 00573 compat4x-i386-5.3_2 /misc/compat4x > 00572 localedata-5.4 /misc/localedata > 00571 tiff-3.7.4 /graphics/tiff > 00570 libtool-1.5.20 /devel/libtool15 > 00569 jpeg-6b_3 /graphics/jpeg > [...] > > Here's the backtrace: > > #0 0x2812c216 in strcpy () from /lib/libc.so.6 > #1 0x080fd000 in ?? () > #2 0x2807f82c in rrGetPortName (property=0xbfbfeb50, > portDir=0x80ed000 "/ports/multimedia/avifile/../win32-codecs", > portName=0x80fd000 "qt-3.3.5") at MGPMrCreateAllUpdateStatusDb.c:209 > #3 0x2808047b in rrParse (property=0xbfbfeb50, > availablePortName=0x80ad000 "avifile-0.7.41,2", > availablePortDir=0x809d000 "/multimedia/avifile", > dependType=0xbfbfe790 "RUN_DEPENDS", > buffer=0x80cd000 "/usr/X11R6/bin/moc:/usr/ports/x11-toolkits/qt33", > counterPtr=0xbfbfe84c) at MGPMrCreateAllUpdateStatusDb.c:496 > #4 0x280801e4 in rrDependencyParse (property=0xbfbfeb50, > buffer=0x80cd000 "/usr/X11R6/bin/moc:/usr/ports/x11-toolkits/qt33", > availablePortName=0x80ad000 "avifile-0.7.41,2", > availablePortDir=0x809d000 "/multimedia/avifile", > dependType=0xbfbfe790 "RUN_DEPENDS", counterPtr=0xbfbfe84c) > at MGPMrCreateAllUpdateStatusDb.c:424 > #5 0x2807ff3e in rrFillDependencies (property=0xbfbfeb50, > availablePortName=0x80ad000 "avifile-0.7.41,2", > availablePortDir=0x809d000 "/multimedia/avifile", counterPtr=0xbfbfe84c) > at MGPMrCreateAllUpdateStatusDb.c:351 > #6 0x2807f5d6 in rrFindDepends (property=0xbfbfeb50, > availablePortDir=0x809d000 "/multimedia/avifile", > availablePortName=0x80ad000 "avifile-0.7.41,2", counterPtr=0xbfbfe84c) > at MGPMrCreateAllUpdateStatusDb.c:149 > #7 0x2807f4c9 in MGPMrCreateAllUpdateStatusDb (property=0xbfbfeb50) > at MGPMrCreateAllUpdateStatusDb.c:117 > #8 0x2807e7ce in rPmUpgradeNewMethod (property=0xbfbfeb50) > at MGPMrController.c:727 > #9 0x2807d724 in MGPMrController (property=0xbfbfeb50, > path=0xbfbfead0 "PMUPGRADE") at MGPMrController.c:408 > #10 0x2807be6d in rParseCommandLine (property=0xbfbfeb50, argc=6, > argv=0xbfbfed18) at MGPMrCommandLine.c:302 > #11 0x2807b5d9 in MGPMrCommandLine (argc=6, argv=0xbfbfed18) > at MGPMrCommandLine.c:115 > #12 0x08048533 in main (argc=6, argv=0xbfbfed18) at portmanager.c:38 I had this on my machine. In the multimedia/avifile Makefile there is the following: #CODEC_PORT= ${PORTSDIR}/multimedia/win32-codecs CODEC_PORT=${.CURDIR}/../win32-codecs Switching the commented lines around to this CODEC_PORT= ${PORTSDIR}/multimedia/win32-codecs #CODEC_PORT=${.CURDIR}/../win32-codecs stops portmanager from coredumping when scanning that port. I'm unsure as to where the problem lies so I wouldn't entirely recommend making the change unless you're willing to spend time fixing things if they get broken (note: I've had no problems so far but since I don't fully understand the way the port works I'm not going to say this is the Right Thing To Do ;-) Al -- GPG/PGP: http://www.no-dns-yet.org.uk/~everlone/pubkey.gpg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
portmanager coredumps [with backtrace]
First time using portmanager. Using command line: # portmanager -u -pi editors/openoffice-1.1 -l -f It coredumps approx at line 00218 or so: MGPMrController 0.3.4_0 info: running in forced update mode portmanager 0.3.4_0: Collecting installed port data "forced mode" 00574 setiathome-3.08_3 /astro/setiathome 00573 compat4x-i386-5.3_2 /misc/compat4x 00572 localedata-5.4 /misc/localedata 00571 tiff-3.7.4 /graphics/tiff 00570 libtool-1.5.20 /devel/libtool15 00569 jpeg-6b_3 /graphics/jpeg [...] Here's the backtrace: #0 0x2812c216 in strcpy () from /lib/libc.so.6 #1 0x080fd000 in ?? () #2 0x2807f82c in rrGetPortName (property=0xbfbfeb50, portDir=0x80ed000 "/ports/multimedia/avifile/../win32-codecs", portName=0x80fd000 "qt-3.3.5") at MGPMrCreateAllUpdateStatusDb.c:209 #3 0x2808047b in rrParse (property=0xbfbfeb50, availablePortName=0x80ad000 "avifile-0.7.41,2", availablePortDir=0x809d000 "/multimedia/avifile", dependType=0xbfbfe790 "RUN_DEPENDS", buffer=0x80cd000 "/usr/X11R6/bin/moc:/usr/ports/x11-toolkits/qt33", counterPtr=0xbfbfe84c) at MGPMrCreateAllUpdateStatusDb.c:496 #4 0x280801e4 in rrDependencyParse (property=0xbfbfeb50, buffer=0x80cd000 "/usr/X11R6/bin/moc:/usr/ports/x11-toolkits/qt33", availablePortName=0x80ad000 "avifile-0.7.41,2", availablePortDir=0x809d000 "/multimedia/avifile", dependType=0xbfbfe790 "RUN_DEPENDS", counterPtr=0xbfbfe84c) at MGPMrCreateAllUpdateStatusDb.c:424 #5 0x2807ff3e in rrFillDependencies (property=0xbfbfeb50, availablePortName=0x80ad000 "avifile-0.7.41,2", availablePortDir=0x809d000 "/multimedia/avifile", counterPtr=0xbfbfe84c) at MGPMrCreateAllUpdateStatusDb.c:351 #6 0x2807f5d6 in rrFindDepends (property=0xbfbfeb50, availablePortDir=0x809d000 "/multimedia/avifile", availablePortName=0x80ad000 "avifile-0.7.41,2", counterPtr=0xbfbfe84c) at MGPMrCreateAllUpdateStatusDb.c:149 #7 0x2807f4c9 in MGPMrCreateAllUpdateStatusDb (property=0xbfbfeb50) at MGPMrCreateAllUpdateStatusDb.c:117 #8 0x2807e7ce in rPmUpgradeNewMethod (property=0xbfbfeb50) at MGPMrController.c:727 #9 0x2807d724 in MGPMrController (property=0xbfbfeb50, path=0xbfbfead0 "PMUPGRADE") at MGPMrController.c:408 #10 0x2807be6d in rParseCommandLine (property=0xbfbfeb50, argc=6, argv=0xbfbfed18) at MGPMrCommandLine.c:302 #11 0x2807b5d9 in MGPMrCommandLine (argc=6, argv=0xbfbfed18) at MGPMrCommandLine.c:115 #12 0x08048533 in main (argc=6, argv=0xbfbfed18) at portmanager.c:38 --- epia2# portmanager --version rCreateCommandLineDb 0.3.4_0 info: executing rm -f /usr/local/share/portmanager/ commandLine.db rParseCommandLine 0.3.4_0 --- 6.0-STABLE FreeBSD 6.0-STABLE #0: Sat Nov 12 07:32:20 CET 2005 Regards, -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"