Portinstall/upgrade stops with no error

Doug Lee dgl at dlee.org
Sun Mar 13 02:36:11 PST 2005


On Sat, Mar 12, 2005 at 03:24:19PM -0800, Michael C. Shultz wrote:
>
> Portmanager is at version 0.2.9_2 now so you should update with
> cvsup.  I'm guessing you did not run portmanager as root, if that
> is the problem the current version will correctly report it.
>
> -Mike
>
> Yes I ran it as root (hence the "#" in "Kirk 3#"), but I'm now doing
> a cvsup of ports and will try an upgrade of portmanager anyway.

If it still cores, build with WITH_DEBUG=yes and send me the core
please if you are on a X86 system. If not the output of 
gdb /usr/local/bin/portmanager ./portmanager.core
bt
would be very helpful.  Thanks

-Mike

Built with debug, still cores.  gdb output first:

(gdb) bt
#0  0x280d5b74 in strstr () from /usr/lib/libc.so.4
#1  0x2806f7a0 in PMGRrAddDependencies (property=0xbfbff5b4, 
    portName=0x804e1b0 "pine-4.44") at PMGRrAddDependencies.c:109
#2  0x2806fca6 in PMGRrDbCreate (property=0xbfbff5b4) at PMGRrDbCreate.c:173
#3  0x280746ff in PMGRrStatus (property=0xbfbff5b4) at PMGRrStatus.c:53
#4  0x8049137 in PMGRrShowLeaves () at PMGRrShowLeaves.c:26
#5  0x8048a44 in PMGRrShowLeaves () at PMGRrShowLeaves.c:26
#6  0x8048986 in PMGRrShowLeaves () at PMGRrShowLeaves.c:26
(gdb) f 1
#1  0x2806f7a0 in PMGRrAddDependencies (property=0xbfbff5b4, 
    portName=0x804e1b0 "pine-4.44") at PMGRrAddDependencies.c:109
109			stringSize			= strstr( portDependencyDir, "\n" ) - portDependencyDir;
(gdb) print portDependency
$1 = 0x8050049 "cclient-2001a,1"
(gdb) 

Core size 417 K.  If you need it, I'll email it privately.  I doubt
there's anything compromising in there...

-- 
Doug Lee           dgl at dlee.org        http://www.dlee.org
Bartimaeus Group   doug at bartsite.com   http://www.bartsite.com
"The most exciting phrase to hear in science, the one that heralds
new discoveries, is not 'Eureka!' ('I found it!') but rather 'hmm....
that's funny...'"  --   Isaac Asimov


More information about the freebsd-questions mailing list