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

Bug#719629: regression: apt: crashes with MALLOC_CHECK_ and MALLOC_PERTURB_ set



Package: apt
Version: 0.9.10
Severity: important
Usertags: malloc

With the glibc malloc checks enabled, the new version of apt in unstable
crashes with a SIGABRT on apt-get update and other operations. This is a
regression from testing, which doesn't have this issue. After
recompiling apt with debug symbols and no optimisation I obtained the
backtrace listed below. This means that there is probably a new issue
with uninitialised memory in apt from unstable.

# https://www.gnu.org/software/libc/manual/html_node/Heap-Consistency-Checking.html
export MALLOC_CHECK_=2
# http://udrepper.livejournal.com/11429.html
export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))

root@chianamo:~# apt-get update
Hit http://http.debian.net sid InRelease
Hit http://http.debian.net sid/main Sources/DiffIndex
Hit http://http.debian.net sid/main amd64 Packages/DiffIndex
Hit http://http.debian.net sid/main Translation-en/DiffIndex
Reading package lists... Done
root@chianamo:~# export MALLOC_CHECK_=2
root@chianamo:~# export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
root@chianamo:~# apt-get update
Hit http://http.debian.net sid InRelease
0% [InRelease gpgv 204 kB]Aborted (core dumped)
root@chianamo:~# gdb --batch -n -ex run -ex 'bt' -ex 'thread apply all bt full' --args apt-get update
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
Hit http://http.debian.net sid InRelease
0% [InRelease gpgv 204 kB]
Program received signal SIGABRT, Aborted.
0x00007ffff6c411e5 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56	../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
#0  0x00007ffff6c411e5 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007ffff6c44398 in __GI_abort () at abort.c:90
#2  0x00007ffff6c86a4e in malloc_printerr (action=<optimized out>, str=0x7ffff6d74b8a "free(): invalid pointer", ptr=<optimized out>) at malloc.c:4906
#3  0x00007ffff78d7d89 in pkgTagFile::Resize (this=0x7fffffffc590) at tagfile.cc:103
#4  0x00007ffff78d7e61 in pkgTagFile::Step (this=0x7fffffffc590, Tag=...) at tagfile.cc:128
#5  0x00007ffff7929115 in indexRecords::Load (this=0x65d570, Filename=...) at indexrecords.cc:74
#6  0x00007ffff791fd99 in pkgAcqMetaIndex::AuthDone (this=0x65bf30, Message=...) at acquire-item.cc:1324
#7  0x00007ffff791f51b in pkgAcqMetaIndex::Done (this=0x65bf30, Message=..., Size=0, Hash=..., Cfg=0x65bdf0) at acquire-item.cc:1229
#8  0x00007ffff78f5dae in pkgAcquire::Worker::RunMessages (this=0x65e2a0) at acquire-worker.cc:337
#9  0x00007ffff78f78b0 in pkgAcquire::Worker::InFdReady (this=0x65e2a0) at acquire-worker.cc:560
#10 0x00007ffff78f0aac in pkgAcquire::RunFds (this=0x7fffffffd550, RSet=0x7fffffffd340, WSet=0x7fffffffd3c0) at acquire.cc:369
#11 0x00007ffff78f0d0c in pkgAcquire::Run (this=0x7fffffffd550, PulseIntervall=500000) at acquire.cc:418
#12 0x00007ffff78ee80e in AcquireUpdate (Fetcher=..., PulseInterval=0, RunUpdateScripts=true, ListCleanup=true) at algorithms.cc:1547
#13 0x00007ffff78ee747 in ListUpdate (Stat=..., List=..., PulseInterval=0) at algorithms.cc:1527
#14 0x0000000000422390 in DoUpdate (CmdL=...) at apt-get.cc:1713
#15 0x00007ffff78a96da in CommandLine::DispatchArg (this=0x7fffffffdc50, Map=0x7fffffffdc70, NoMatch=true) at contrib/cmndline.cc:339
#16 0x000000000042f47a in main (argc=2, argv=0x7fffffffe4c8) at apt-get.cc:3630

Thread 1 (process 13158):
#0  0x00007ffff6c411e5 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
        resultvar = 0
        pid = 13158
        selftid = 13158
#1  0x00007ffff6c44398 in __GI_abort () at abort.c:90
        save_stage = 2
        act = {__sigaction_handler = {sa_handler = 0xffffffff, sa_sigaction = 0xffffffff}, sa_mask = {__val = {140737333723263, 46000, 140737349754600, 0, 151552, 65584, 18446744073709547520, 4095, 2, 0, 4604204945409, 541165879515, 532575944825, 0, 65536, 140737488340080}}, sa_flags = -141429654, sa_restorer = 0x65bdf0}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#2  0x00007ffff6c86a4e in malloc_printerr (action=<optimized out>, str=0x7ffff6d74b8a "free(): invalid pointer", ptr=<optimized out>) at malloc.c:4906
No locals.
#3  0x00007ffff78d7d89 in pkgTagFile::Resize (this=0x7fffffffc590) at tagfile.cc:103
        tmp = 0x66cc60 "Origin: Debian\nLabel: Debian\nSuite: unstable\nCodename: sid\nDate: Tue, 13 Aug 2013 14:39:25 UTC\nValid-Until: Tue, 20 Aug 2013 14:39:25 UTC\nArchitectures: amd64 armel armhf hurd-i386 i386 ia64 kfreebsd-"...
        EndSize = 32768
#4  0x00007ffff78d7e61 in pkgTagFile::Step (this=0x7fffffffc590, Tag=...) at tagfile.cc:128
No locals.
#5  0x00007ffff7929115 in indexRecords::Load (this=0x65d570, Filename=...) at indexrecords.cc:74
        TagFile = {_vptr.pkgTagFile = 0x7ffff7bca5d0 <vtable for pkgTagFile+16>, d = 0x65d360}
        Section = {_vptr.pkgTagSection = 0x7ffff7bca590 <vtable for pkgTagSection+16>, Section = 0x664c50 "Origin: Debian\nLabel: Debian\nSuite: unstable\nCodename: sid\nDate: Tue, 13 Aug 2013 14:39:25 UTC\nValid-Until: Tue, 20 Aug 2013 14:39:25 UTC\nArchitectures: amd64 armel armhf hurd-i386 i386 ia64 kfreebsd-"..., Indexes = {0, 15, 29, 45, 59, 95, 138, 257, 291, 339, 4153021737, 32767, 6678701, 0, 4152209946, 32767, 6678697, 0, 29, 0, 4294952704, 32767, 0, 0, 6670528, 0, 0, 0, 0, 0, 4140339074, 32767, 29, 0, 4149390909, 32767, 4294952624, 32767, 4, 0, 4294952704, 32767, 4149761193, 32767, 0, 0, 4153020343, 32767, 6678701, 0, 4294953104, 32767, 4294952696, 32767, 4294952720, 32767, 4294952704, 32767, 4153016346, 32767, 4294952720, 32767, 4294952736, 32767, 6659034, 0, 4294952736, 83, 4294952768, 32767, 4153000112, 32767, 6674959, 0, 4153923454, 32767, 6674936, 0, 4153923463, 32767, 6678697, 0, 6674959, 0, 4294952832, 32767, 4153039962, 32767, 4294952848, 32767, 4153923463, 32767, 4153923454, 32767, 6674856, 0, 4294952864, 959721522, 0, 0, 4294952944, 32767, 4153022455, 32767, 4153901280, 32767, 4294953087, 32767, 4294953000, 32767, 4153923454, 32767, 6658944, 0, 6647824, 0, 4222451713, 0, 4294953760, 4294967295, 0, 0, 6674880, 0, 0, 0, 1, 0, 4294953040, 32767, 4153023027, 32767, 4294954059, 32767, 4294953040, 32767, 4294953600, 32767, 4294953600, 32767, 4294953320, 32767, 4294960320, 32767, 0, 0, 0, 0, 4153901043, 32767, 4140277156, 32767, 4222451713, 32767, 4294953600, 32767, 4294953600, 32767, 4294953600, 32767, 4294953600, 32767, 4294953605, 32767, 4294967295, 4294967295, 4294953600, 32767, 4294967295, 4294967295, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 4140335231, 32767, 4294901760, 32767, 0, 0, 4294954056, 32767, 4158536902, 32767, 4294956368, 32767, 0, 0, 4294953632, 32767, 12, 0...}, AlphaIndexes = {0, 0, 0, 0, 0, 0, 2, 0 <repeats 52 times>, 4, 0 <repeats 12 times>, 1, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 7, 0 <repeats 17 times>, 8, 0, 0, 0, 0, 0, 0, 0, 0, 9, 0 <repeats 25 times>, 6, 0 <repeats 58 times>, 5, 0 <repeats 25 times>, 10, 0 <repeats 28 times>}, TagCount = 10, d = 0x0, Stop = 0x0}
        End = 0x7ffff6c78c10 <__GI__IO_padn+176> "H\001\305H\203\304\030H\211\352[]A\\H\211\320A]\303f.\017\037\204"
        StrDate = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x65dc58 "3\335e"}}
        MinAge = 8
        Fd = {_vptr.FileFd = 0x655d70 <vtable for FileFd+16>, iFd = 13, Flags = 1, FileName = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7ffff77ce3f8 <std::string::_Rep::_S_empty_rep_storage+24> ""}}, TemporaryFileName = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7ffff77ce3f8 <std::string::_Rep::_S_empty_rep_storage+24> ""}}, d = 0x0}
        Start = 0x7ffff6c53f65 <_IO_vfprintf_internal+5493> "\200\275\330\372\377\377"
        i = 0
        Label = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7fffffffc560 "e?\305\366\377\177"}}
        StrValidUntil = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x446b2e ""}}
        MaxAge = 0
        date = 0
#6  0x00007ffff791fd99 in pkgAcqMetaIndex::AuthDone (this=0x65bf30, Message=...) at acquire-item.cc:1324
        VerifiedSigFile = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7fffffffcf60 "\310\343e"}}
#7  0x00007ffff791f51b in pkgAcqMetaIndex::Done (this=0x65bf30, Message=..., Size=0, Hash=..., Cfg=0x65bdf0) at acquire-item.cc:1229
No locals.
#8  0x00007ffff78f5dae in pkgAcquire::Worker::RunMessages (this=0x65e2a0) at acquire-worker.cc:337
        Owner = 0x65bf30
        ServerSize = 0
        isHit = false
        expectedHash = {Type = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7ffff77ce3f8 <std::string::_Rep::_S_empty_rep_storage+24> ""}}, Hash = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7ffff77ce3f8 <std::string::_Rep::_S_empty_rep_storage+24> ""}}, static _SupportedHashes = {0x7ffff7978fe5 "SHA512", 0x7ffff7978fec "SHA256", 0x7ffff7978ff3 "SHA1", 0x7ffff7978ff8 "MD5Sum", 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
        Desc = {<WeakPointable> = {pointers = {_M_t = {_M_impl = {<std::allocator<std::_Rb_tree_node<WeakPointable**> >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<WeakPointable**> >> = {<No data fields>}, <No data fields>}, _M_key_compare = {<std::binary_function<WeakPointable**, WeakPointable**, bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x0, _M_left = 0x7fffffffd1d8, _M_right = 0x7fffffffd1d8}, _M_node_count = 0}}}}, URI = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x65e0c8 "gpgv:/var/lib/apt/lists/http.debian.net_debian_dists_sid_InRelease"}}, Description = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x65cb48 "http://http.debian.net sid InRelease"}}, ShortDesc = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x65c968 "InRelease"}}, Owner = 0x65bf30}
        RecivedHash = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7ffff77ce3f8 <std::string::_Rep::_S_empty_rep_storage+24> ""}}
        Message = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x65e3c8 "201 URI Done\nURI: gpgv:/var/lib/apt/lists/http.debian.net_debian_dists_sid_InRelease\nFilename: /var/lib/apt/lists/http.debian.net_debian_dists_sid_InRelease\nGPGVOutput:\n GOODSIG AED4B06F473041FA\n GOOD"...}}
        End = 0x65e3cb " URI Done\nURI: gpgv:/var/lib/apt/lists/http.debian.net_debian_dists_sid_InRelease\nFilename: /var/lib/apt/lists/http.debian.net_debian_dists_sid_InRelease\nGPGVOutput:\n GOODSIG AED4B06F473041FA\n GOODSIG"...
        UsedMirror = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7ffff77ce3f8 <std::string::_Rep::_S_empty_rep_storage+24> ""}}
        Number = 201
        URI = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x65e598 "gpgv:/var/lib/apt/lists/http.debian.net_debian_dists_sid_InRelease"}}
        Itm = 0x65e850
#9  0x00007ffff78f78b0 in pkgAcquire::Worker::InFdReady (this=0x65e2a0) at acquire-worker.cc:560
No locals.
#10 0x00007ffff78f0aac in pkgAcquire::RunFds (this=0x7fffffffd550, RSet=0x7fffffffd340, WSet=0x7fffffffd3c0) at acquire.cc:369
        I = 0x65e2a0
#11 0x00007ffff78f0d0c in pkgAcquire::Run (this=0x7fffffffd550, PulseIntervall=500000) at acquire.cc:418
        RFds = {fds_bits = {2048, 0 <repeats 15 times>}}
        WFds = {fds_bits = {0 <repeats 16 times>}}
        Highest = 11
        Res = 1
        WasCancelled = false
        tv = {tv_sec = 0, tv_usec = 474539}
#12 0x00007ffff78ee80e in AcquireUpdate (Fetcher=..., PulseInterval=0, RunUpdateScripts=true, ListCleanup=true) at algorithms.cc:1547
        res = pkgAcquire::Continue
        Failed = false
        TransientNetworkFailure = false
#13 0x00007ffff78ee747 in ListUpdate (Stat=..., List=..., PulseInterval=0) at algorithms.cc:1527
        Fetcher = {_vptr.pkgAcquire = 0x7ffff7bca870 <vtable for pkgAcquire+16>, LockFD = 8, d = 0x0, Items = {<std::_Vector_base<pkgAcquire::Item*, std::allocator<pkgAcquire::Item*> >> = {_M_impl = {<std::allocator<pkgAcquire::Item*>> = {<__gnu_cxx::new_allocator<pkgAcquire::Item*>> = {<No data fields>}, <No data fields>}, _M_start = 0x65c180, _M_finish = 0x65c188, _M_end_of_storage = 0x65c188}}, <No data fields>}, Queues = 0x65e730, Workers = 0x65e2a0, Configs = 0x65bdf0, Log = 0x7fffffffd710, ToFetch = 0, QueueMode = pkgAcquire::QueueHost, Debug = false, Running = true}
#14 0x0000000000422390 in DoUpdate (CmdL=...) at apt-get.cc:1713
        Cache = {<pkgCacheFile> = {_vptr.pkgCacheFile = 0x4452f0 <vtable for CacheFile+16>, d = 0x0, Map = 0x0, Cache = 0x0, DCache = 0x0, SrcList = 0x65df00, Policy = 0x0}, static SortCache = 0x0, List = 0x0}
        List = 0x65df00
        Stat = {<pkgAcquireStatus> = {_vptr.pkgAcquireStatus = 0x446c50 <vtable for AcqTextStatus+16>, d = 0x0, Time = {tv_sec = 1376416819, tv_usec = 545608}, StartTime = {tv_sec = 1376416819, tv_usec = 545608}, LastBytes = 0, CurrentCPS = 0, CurrentBytes = 0, TotalBytes = 1, FetchedBytes = 0, ElapsedTime = 0, TotalItems = 1, CurrentItems = 0, Update = false, MorePulses = false}, ScreenWidth = @0x655838, BlankLine = ' ' <repeats 26 times>, '\000' <repeats 14 times>, "@\262A\000\000\000\000\000 \330\377\377\377\177\000\000\351w\310\366\377\177\000\000\001\346\227\367\377\177\000\000\177\200\310\366\377\177\000\000\026\346\227\367\377\177\000\000\020pe\000\000\000\000\000\001\000\000\000\377\177\000\000\234=\336\367\377\177\000\000\033\346\227\367\377\177\000\000\003\000\000\000\000\000\000\000\260\331\377\377\377\177\000\000\f\000\000\000\000\000\000\000#\272\255\326\000\000\000\000\220E\336\367\377\177\000\000\000\000\000\000\000\000\000\000#\262A\000\000\000\000\000\350\266Z\003\000\000\000\000\370\033M\367\377\177\000\000\224\366L\367\377\177\000\000\000\000\000\000\000\000\000\000"..., ID = 1, Quiet = 0}
#15 0x00007ffff78a96da in CommandLine::DispatchArg (this=0x7fffffffdc50, Map=0x7fffffffdc70, NoMatch=true) at contrib/cmndline.cc:339
        Res = 255
        I = 0
#16 0x000000000042f47a in main (argc=2, argv=0x7fffffffe4c8) at apt-get.cc:3630
        Args = {{ShortOpt = 104 'h', LongOpt = 0x444565 "help", ConfName = 0x444565 "help", Flags = 0}, {ShortOpt = 118 'v', LongOpt = 0x443dfe "version", ConfName = 0x443dfe "version", Flags = 0}, {ShortOpt = 86 'V', LongOpt = 0x44467e "verbose-versions", ConfName = 0x441956 "APT::Get::Show-Versions", Flags = 0}, {ShortOpt = 113 'q', LongOpt = 0x4422fc "quiet", ConfName = 0x4422fc "quiet", Flags = 2}, {ShortOpt = 113 'q', LongOpt = 0x44468f "silent", ConfName = 0x4422fc "quiet", Flags = 2}, {ShortOpt = 100 'd', LongOpt = 0x444696 "download-only", ConfName = 0x44209b "APT::Get::Download-Only", Flags = 0}, {ShortOpt = 98 'b', LongOpt = 0x4446a4 "compile", ConfName = 0x4435ef "APT::Get::Compile", Flags = 0}, {ShortOpt = 98 'b', LongOpt = 0x4446ac "build", ConfName = 0x4435ef "APT::Get::Compile", Flags = 0}, {ShortOpt = 115 's', LongOpt = 0x4446b2 "simulate", ConfName = 0x442454 "APT::Get::Simulate", Flags = 0}, {ShortOpt = 115 's', LongOpt = 0x4446bb "just-print", ConfName = 0x442454 "APT::Get::Simulate", Flags = 0}, {ShortOpt = 115 's', LongOpt = 0x4446c6 "recon", ConfName = 0x442454 "APT::Get::Simulate", Flags = 0}, {ShortOpt = 115 's', LongOpt = 0x4446cc "dry-run", ConfName = 0x442454 "APT::Get::Simulate", Flags = 0}, {ShortOpt = 115 's', LongOpt = 0x4446d4 "no-act", ConfName = 0x442454 "APT::Get::Simulate", Flags = 0}, {ShortOpt = 121 'y', LongOpt = 0x4446db "yes", ConfName = 0x44190c "APT::Get::Assume-Yes", Flags = 0}, {ShortOpt = 121 'y', LongOpt = 0x4446df "assume-yes", ConfName = 0x44190c "APT::Get::Assume-Yes", Flags = 0}, {ShortOpt = 0 '\000', LongOpt = 0x4446ea "assume-no", ConfName = 0x441923 "APT::Get::Assume-No", Flags = 0}, {ShortOpt = 102 'f', LongOpt = 0x4446f4 "fix-broken", ConfName = 0x442145 "APT::Get::Fix-Broken", Flags = 0}, {ShortOpt = 117 'u', LongOpt = 0x4446ff "show-upgraded", ConfName = 0x4423af "APT::Get::Show-Upgraded", Flags = 0}, {ShortOpt = 109 'm', LongOpt = 0x44470d "ignore-missing", ConfName = 0x442737 "APT::Get::Fix-Missing", Flags = 0}, {ShortOpt = 116 't', LongOpt = 0x44471c "target-release", ConfName = 0x4429c3 "APT::Default-Release", Flags = 1}, {ShortOpt = 116 't', LongOpt = 0x44472b "default-release", ConfName = 0x4429c3 "APT::Default-Release", Flags = 1}, {ShortOpt = 97 'a', LongOpt = 0x44473b "host-architecture", ConfName = 0x443601 "APT::Get::Host-Architecture", Flags = 1}, {ShortOpt = 0 '\000', LongOpt = 0x444571 "download", ConfName = 0x4425cd "APT::Get::Download", Flags = 0}, {ShortOpt = 0 '\000', LongOpt = 0x44474d "fix-missing", ConfName = 0x442737 "APT::Get::Fix-Missing", Flags = 0}, {ShortOpt = 0 '\000', LongOpt = 0x444759 "ignore-hold", ConfName = 0x44316a "APT::Ignore-Hold", Flags = 0}, {ShortOpt = 0 '\000', LongOpt = 0x444765 "upgrade", ConfName = 0x441f76 "APT::Get::upgrade", Flags = 0}, {ShortOpt = 0 '\000', LongOpt = 0x44476d "only-upgrade", ConfName = 0x441fc6 "APT::Get::Only-Upgrade", Flags = 0}, {ShortOpt = 0 '\000', LongOpt = 0x44477a "force-yes", ConfName = 0x444784 "APT::Get::force-yes", Flags = 0}, {ShortOpt = 0 '\000', LongOpt = 0x444798 "print-uris", ConfName = 0x4418e0 "APT::Get::Print-URIs", Flags = 0}, {ShortOpt = 0 '\000', LongOpt = 0x4447a3 "diff-only", ConfName = 0x443316 "APT::Get::Diff-Only", Flags = 0}, {ShortOpt = 0 '\000', LongOpt = 0x4447ad "debian-only", ConfName = 0x443316 "APT::Get::Diff-Only", Flags = 0}, {ShortOpt = 0 '\000', LongOpt = 0x4447b9 "tar-only", ConfName = 0x44332a "APT::Get::Tar-Only", Flags = 0}, {ShortOpt = 0 '\000', LongOpt = 0x4447c2 "dsc-only", ConfName = 0x44333d "APT::Get::Dsc-Only", Flags = 0}, {ShortOpt = 0 '\000', LongOpt = 0x442e7d "purge", ConfName = 0x442135 "APT::Get::Purge", Flags = 0}, {ShortOpt = 0 '\000', LongOpt = 0x4447cb "list-cleanup", ConfName = 0x4447d8 "APT::Get::List-Cleanup", Flags = 0}, {ShortOpt = 0 '\000', LongOpt = 0x4447ef "reinstall", ConfName = 0x442023 "APT::Get::ReInstall", Flags = 0}, {ShortOpt = 0 '\000', LongOpt = 0x4447f9 "trivial-only", ConfName = 0x442638 "APT::Get::Trivial-Only", Flags = 0}, {ShortOpt = 0 '\000', LongOpt = 0x442e76 "remove", ConfName = 0x442409 "APT::Get::Remove", Flags = 0}, {ShortOpt = 0 '\000', LongOpt = 0x444806 "only-source", ConfName = 0x4429db "APT::Get::Only-Source", Flags = 0}, {ShortOpt = 0 '\000', LongOpt = 0x444812 "arch-only", ConfName = 0x443795 "APT::Get::Arch-Only", Flags = 0}, {ShortOpt = 0 '\000', LongOpt = 0x44481c "auto-remove", ConfName = 0x442ae2 "APT::Get::AutomaticRemove", Flags = 0}, {ShortOpt = 0 '\000', LongOpt = 0x444828 "allow-unauthenticated", ConfName = 0x4422b8 "APT::Get::AllowUnauthenticated", Flags = 0}, {ShortOpt = 0 '\000', LongOpt = 0x44483e "install-recommends", ConfName = 0x4436ce "APT::Install-Recommends", Flags = 4}, {ShortOpt = 0 '\000', LongOpt = 0x444851 "install-suggests", ConfName = 0x444862 "APT::Install-Suggests", Flags = 4}, {ShortOpt = 0 '\000', LongOpt = 0x444878 "fix-policy", ConfName = 0x442180 "APT::Get::Fix-Policy-Broken", Flags = 0}, {ShortOpt = 0 '\000', LongOpt = 0x444883 "solver", ConfName = 0x44488a "APT::Solver", Flags = 1}, {ShortOpt = 99 'c', LongOpt = 0x444896 "config-file", ConfName = 0x0, Flags = 17}, {ShortOpt = 111 'o', LongOpt = 0x4448a2 "option", ConfName = 0x0, Flags = 33}, {ShortOpt = 0 '\000', LongOpt = 0x0, ConfName = 0x0, Flags = 0}}
        Cmds = {{Match = 0x444ee0 "update", Handler = 0x421f36 <DoUpdate(CommandLine&)>}, {Match = 0x444765 "upgrade", Handler = 0x423762 <DoUpgrade(CommandLine&)>}, {Match = 0x444ee7 "install", Handler = 0x423864 <DoInstall(CommandLine&)>}, {Match = 0x442e76 "remove", Handler = 0x423864 <DoInstall(CommandLine&)>}, {Match = 0x442e7d "purge", Handler = 0x423864 <DoInstall(CommandLine&)>}, {Match = 0x442e83 "autoremove", Handler = 0x423864 <DoInstall(CommandLine&)>}, {Match = 0x44309a "markauto", Handler = 0x42560a <DoMarkAuto(CommandLine&)>}, {Match = 0x4430a3 "unmarkauto", Handler = 0x42560a <DoMarkAuto(CommandLine&)>}, {Match = 0x444eef "dist-upgrade", Handler = 0x42599a <DoDistUpgrade(CommandLine&)>}, {Match = 0x444efc "dselect-upgrade", Handler = 0x425aec <DoDSelectUpgrade(CommandLine&)>}, {Match = 0x444f0c "build-dep", Handler = 0x42a423 <DoBuildDep(CommandLine&)>}, {Match = 0x444f16 "clean", Handler = 0x426054 <DoClean(CommandLine&)>}, {Match = 0x444f1c "autoclean", Handler = 0x426402 <DoAutoClean(CommandLine&)>}, {Match = 0x444f26 "check", Handler = 0x427abf <DoCheck(CommandLine&)>}, {Match = 0x44456a "source", Handler = 0x427b32 <DoSource(CommandLine&)>}, {Match = 0x444571 "download", Handler = 0x42679c <DoDownload(CommandLine&)>}, {Match = 0x443d35 "changelog", Handler = 0x42e3d1 <DoChangelog(CommandLine&)>}, {Match = 0x444f2c "moo", Handler = 0x42ebdf <DoMoo(CommandLine&)>}, {Match = 0x444565 "help", Handler = 0x42ec01 <ShowHelp(CommandLine&)>}, {Match = 0x0, Handler = 0x0}}
        CmdL = {ArgList = 0x7fffffffddb0, Conf = 0x657010, FileList = 0x65dbb0}
        Errors = 247
root@chianamo:~# unset MALLOC_CHECK_
root@chianamo:~# unset MALLOC_PERTURB_ 
root@chianamo:~# apt-get update
Hit http://http.debian.net sid InRelease
Hit http://http.debian.net sid/main Sources/DiffIndex
Hit http://http.debian.net sid/main amd64 Packages/DiffIndex
Hit http://http.debian.net sid/main Translation-en/DiffIndex
Reading package lists... Done

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "amd64";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "false";
APT::Install-Suggests "0";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^firmware-linux.*";
APT::NeverAutoRemove:: "^linux-firmware$";
APT::NeverAutoRemove:: "^kfreebsd-image.*";
APT::NeverAutoRemove:: "^gnumach$";
APT::NeverAutoRemove:: "^gnumach-image.*";
APT::Never-MarkAuto-Sections "";
APT::Never-MarkAuto-Sections:: "metapackages";
APT::Never-MarkAuto-Sections:: "restricted/metapackages";
APT::Never-MarkAuto-Sections:: "universe/metapackages";
APT::Never-MarkAuto-Sections:: "multiverse/metapackages";
APT::Never-MarkAuto-Sections:: "oldlibs";
APT::Never-MarkAuto-Sections:: "restricted/oldlibs";
APT::Never-MarkAuto-Sections:: "universe/oldlibs";
APT::Never-MarkAuto-Sections:: "multiverse/oldlibs";
APT::Architectures "";
APT::Architectures:: "amd64";
APT::Compressor "";
APT::Compressor::. "";
APT::Compressor::.::Name ".";
APT::Compressor::.::Extension "";
APT::Compressor::.::Binary "";
APT::Compressor::.::Cost "1";
APT::Compressor::gzip "";
APT::Compressor::gzip::Name "gzip";
APT::Compressor::gzip::Extension ".gz";
APT::Compressor::gzip::Binary "gzip";
APT::Compressor::gzip::Cost "2";
APT::Compressor::gzip::CompressArg "";
APT::Compressor::gzip::CompressArg:: "-9n";
APT::Compressor::gzip::UncompressArg "";
APT::Compressor::gzip::UncompressArg:: "-d";
APT::Compressor::bzip2 "";
APT::Compressor::bzip2::Name "bzip2";
APT::Compressor::bzip2::Extension ".bz2";
APT::Compressor::bzip2::Binary "bzip2";
APT::Compressor::bzip2::Cost "3";
APT::Compressor::bzip2::CompressArg "";
APT::Compressor::bzip2::CompressArg:: "-9";
APT::Compressor::bzip2::UncompressArg "";
APT::Compressor::bzip2::UncompressArg:: "-d";
APT::Compressor::xz "";
APT::Compressor::xz::Name "xz";
APT::Compressor::xz::Extension ".xz";
APT::Compressor::xz::Binary "xz";
APT::Compressor::xz::Cost "4";
APT::Compressor::xz::CompressArg "";
APT::Compressor::xz::CompressArg:: "-6";
APT::Compressor::xz::UncompressArg "";
APT::Compressor::xz::UncompressArg:: "-d";
APT::Compressor::lzma "";
APT::Compressor::lzma::Name "lzma";
APT::Compressor::lzma::Extension ".lzma";
APT::Compressor::lzma::Binary "xz";
APT::Compressor::lzma::Cost "5";
APT::Compressor::lzma::CompressArg "";
APT::Compressor::lzma::CompressArg:: "--format=lzma";
APT::Compressor::lzma::CompressArg:: "-9";
APT::Compressor::lzma::UncompressArg "";
APT::Compressor::lzma::UncompressArg:: "--format=lzma";
APT::Compressor::lzma::UncompressArg:: "-d";
APT::Compressor::::Name "";
APT::Compressor::::Extension ".";
APT::Compressor::::Binary "";
APT::Compressor::::Cost "100";
APT::Compressor::::CompressArg "";
APT::Compressor::::CompressArg:: "-9";
APT::Compressor::::UncompressArg "";
APT::Compressor::::UncompressArg:: "-d";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::mirrors "mirrors/";
Dir::State::extended_states "extended_states";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::sourceparts "sources.list.d";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::netrc "auth.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Etc::preferencesparts "preferences.d";
Dir::Etc::trusted "trusted.gpg";
Dir::Etc::trustedparts "trusted.gpg.d";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::solvers "";
Dir::Bin::solvers:: "/usr/lib/apt/solvers";
Dir::Bin::dpkg "/usr/bin/dpkg";
Dir::Bin::bzip2 "/bin/bzip2";
Dir::Bin::xz "/usr/bin/xz";
Dir::Media "";
Dir::Media::MountPath "/media/apt";
Dir::Log "var/log/apt";
Dir::Log::Terminal "term.log";
Dir::Log::History "history.log";
Dir::Ignore-Files-Silently "";
Dir::Ignore-Files-Silently:: "~$";
Dir::Ignore-Files-Silently:: "\.disabled$";
Dir::Ignore-Files-Silently:: "\.bak$";
Dir::Ignore-Files-Silently:: "\.dpkg-[a-z]+$";
Dir::Ignore-Files-Silently:: "\.save$";
Dir::Ignore-Files-Silently:: "\.orig$";
Acquire "";
Acquire::cdrom "";
Acquire::cdrom::mount "/media/cdrom/";
Acquire::Languages "";
Acquire::Languages:: "en";
Acquire::Languages:: "none";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
CommandLine "";
CommandLine::AsString "apt-config dump";

-- (no /etc/apt/preferences present) --


-- /etc/apt/sources.list --

deb http://http.debian.net/debian sid main
deb-src http://http.debian.net/debian sid main

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.10-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt depends on:
ii  debian-archive-keyring  2012.4
ii  gnupg                   1.4.14-1
ii  libapt-pkg4.12          0.9.10
ii  libc6                   2.17-92
ii  libgcc1                 1:4.8.1-8
ii  libstdc++6              4.8.1-8

Versions of packages apt suggests:
ii  apt-doc     0.9.10
ii  aptitude    0.6.8.2-1
ii  dpkg-dev    1.17.1
pn  python-apt  <none>
ii  xz-utils    5.1.1alpha+20120614-2

-- 
bye,
pabs

http://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: