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

Re: apt 0.6 in experimental



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Dec 30, 2003 at 10:56:49AM -0800, Matt Zimmerman wrote:
> > gdb:
> >  Program received signal SIGSEGV, Segmentation fault.
> >  0x40210954 in mallopt () from /lib/tls/libc.so.6
> 
> Are you using a 2.6 kernel?  

Yes (2.6.0)
apt-cache from 0.6.3 works without problems and also uses
libraries located in /lib/tls/. However:

    radiohead:/home/abi# ldd /usr/bin/apt-cache 
        [..]
        libc.so.6 => /lib/libc.so.6 (0x4019c000)
        [..]        

    radiohead:/home/abi# apt-cache search foo
    Segmentation fault

(apt-get setfaults as before)

gdb for apt-cache says:
 #0  0x4020de14 in mallopt () from /lib/libc.so.6
 #1  0x4020cd33 in malloc () from /lib/libc.so.6
 #2  0x4014a69e in operator new(unsigned) () from
 /usr/lib/libstdc++.so.5
 #3  0x4014a7cf in operator new[](unsigned) () from
 /usr/lib/libstdc++.so.5
 #4  0x0805087a in std::basic_ostream<char, std::char_traits<char> >&
 std::operator<< <std::char_traits<char> >(std::basic_ostream<char,
 std::char_traits<char> >&, char) ()
 #5  0x4004d03c in CommandLine::DispatchArg(CommandLine::Dispatch*,
 bool) () from /usr/lib/libapt-pkg-libc6.3-5.so.3.4
 #6  0x08053798 in std::basic_ostream<char, std::char_traits<char> >&
 std::operator<< <std::char_traits<char> >(std::basic_ostream<char,
 std::char_traits<char> >&, char) ()
 #7  0x401b1da6 in __libc_start_main () from /lib/libc.so.6
 
gdb for `apt-get install libdb2-dev` says:
 #0  0x4020de14 in mallopt () from /lib/libc.so.6
 #1  0x4020cd33 in malloc () from /lib/libc.so.6
 #2  0x4014a69e in operator new(unsigned) () from /usr/lib/libstdc++.so.5
 #3  0x4014a7cf in operator new[](unsigned) () from
 /usr/lib/libstdc++.so.5
 #4  0x40062360 in pkgPackageManager::pkgPackageManager(pkgDepCache*) ()
 from /usr/lib/libapt-pkg-libc6.3-5.so.3.4
 #5  0x40097039 in pkgDPkgPM::pkgDPkgPM(pkgDepCache*) () from
 /usr/lib/libapt-pkg-libc6.3-5.so.3.4
 #6  0x4009d1b7 in debSystem::CreatePM(pkgDepCache*) const () from
 /usr/lib/libapt-pkg-libc6.3-5.so.3.4
 #7  0x08050edd in strcpy ()
 #8  0x08055d25 in strcpy ()
 #9  0x4004d03c in CommandLine::DispatchArg(CommandLine::Dispatch*, bool)
 () from /usr/lib/libapt-pkg-libc6.3-5.so.3.4
 #10 0x0805da26 in strcpy ()
 #11 0x401b1da6 in __libc_start_main () from /lib/libc.so.6

bye,
    - michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/8dQoEFV7g4B8rCURAqbhAKDoza+5sQsiBUp6zRpRMbHUtefifQCfakzS
VivC/W7yiZGT/Ydxa5tO2AY=
=L/Qd
-----END PGP SIGNATURE-----



Reply to: