pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/30292: pkg_add -u dumps core



>Number:         30292
>Category:       pkg
>Synopsis:       pkg_add -u dumps core
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 20 16:06:00 +0000 2005
>Originator:     Rhialto
>Release:        NetBSD 2.0
>Organization:
        
>Environment:
        
        
System: NetBSD azenomei.falu.nl 2.0 NetBSD 2.0 (AZENOMEI2.0) #1: Tue Jan 11 
00:02:19 CET 2005 
rhialto%azenomei.falu.nl@localhost:/usr/src/sys/arch/alpha/compile/AZENOMEI2.0 
alpha
Architecture: alpha
Machine: alpha
>Description:
        pkg_add dumps core (apparently after extracting the binary
        archive). The core file ends up in /var/tmp/instmp.*.
        I'm using pkgsrc-2005Q1. The binary package was just created
        from the same pkgsrc tree.
        
>How-To-Repeat:
        $ sudo pkg_add -u /scratch2/packages/All/gnutls-1.2.3.tgz 
         72.2%
        Segmentation fault (core dumped)

        azenomei:/var/tmp/instmp.13210a# gdb /usr/sbin/pkg_add pkg_add.core 
        GNU gdb 5.3nb1
        Copyright 2002 Free Software Foundation, Inc.
        [...bla...]
        This GDB was configured as "alpha--netbsd"...(no debugging symbols 
found)...
        Core was generated by `pkg_add'.
        Program terminated with signal 11, Segmentation fault.
        Reading symbols from /usr/libexec/ld.elf_so...(no debugging symbols 
found)...
        done.
        Loaded symbols for /usr/libexec/ld.elf_so
        Reading symbols from /usr/lib/libtermcap.so.0...(no debugging symbols 
found)...
        done.
        Loaded symbols for /usr/lib/libtermcap.so.0
        Reading symbols from /usr/lib/libc.so.12...(no debugging symbols 
found)...done.
        Loaded symbols for /usr/lib/libc.so.12
        #0  0x000000012000c71c in add_plist ()
        (gdb) bt
        #0  0x000000012000c71c in add_plist ()
        #1  0x0000000160100dbc in __sfp () from /usr/lib/libc.so.12
        #2  0x0000000120004c88 in pkg_do ()
        #3  0x000000016012776c in fgets () from /usr/lib/libc.so.12
        warning: Hit heuristic-fence-post without finding
        warning: enclosing function for address 0x1fffff3e8
        This warning occurs if you are debugging a function without any symbols
        (for example, in a stripped executable).  In that case, you may wish to
        increase the size of the search with the `set heuristic-fence-post' 
command.

        Otherwise, you told GDB there was a function where there isn't one, or
        (more likely) you have encountered a bug in GDB.
        (gdb) 

>Fix:
        None known yet.

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert                            --  rhialto/at/falu.nl
\X/ Hi! I'm a signature virus! Copy me to your .signature to help me spread!

>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index