portmanager coredumps [with backtrace]

Michael C. Shultz ringworm01 at gmail.com
Sat Nov 12 18:37:03 GMT 2005


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=88888

to be commited, just mkdir sysutils/portmanager/files, place the patch in 
there then rebuild reinstall.

-Mike




-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-0.3.4_1
Type: text/x-diff
Size: 28434 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20051112/d879bd2c/patch-0.3.bin


More information about the freebsd-questions mailing list