Summary: | apt-get иногда падает с SIGSEGV после обновления библиотек, с которыми он слинкован | ||
---|---|---|---|
Product: | Sisyphus | Reporter: | Anton Farygin <rider> |
Component: | apt | Assignee: | Ivan Zakharyaschev <imz> |
Status: | NEW --- | QA Contact: | qa-sisyphus |
Severity: | normal | ||
Priority: | P3 | CC: | boyarsh, evg, glebfm, imz, iv, ldv, placeholder, rider, sbolshakov |
Version: | unstable | ||
Hardware: | all | ||
OS: | Linux |
Description
Anton Farygin
2016-05-15 08:45:32 MSK
glibc откатил, не помогло. Чтение списков пакетов... 0% Program received signal SIGSEGV, Segmentation fault. 0xb7c77821 in strlen () from /lib/libc.so.6 (gdb) bt #0 0xb7c77821 in strlen () from /lib/libc.so.6 #1 0xb7e9f823 in length (__s=0x0) at /usr/src/debug/gcc-5.3.1-20151207/obj-i586-alt-linux/i586-alt-linux/libstdc++-v3/include/bits/char_traits.h:267 #2 std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare (this=0xbfffe364, __s=0x0) at /usr/src/debug/gcc-5.3.1-20151207/obj-i586-alt-linux/i586-alt-linux/libstdc++-v3/include/bits/basic_string.tcc:1398 #3 0xb7f439f1 in operator==<char, std::char_traits<char>, std::allocator<char> > (__rhs=<optimized out>, __lhs="/var/lib/apt/lists/ftp.altlinux.org_pub_distributions_ALTLinux_p8_branch_i586_base_pkglist.classic") at /usr/include/c++/5/bits/basic_string.h:4937 #4 operator!=<char, std::char_traits<char>, std::allocator<char> > (__rhs=<optimized out>, __lhs="/var/lib/apt/lists/ftp.altlinux.org_pub_distributions_ALTLinux_p8_branch_i586_base_pkglist.classic") at /usr/include/c++/5/bits/basic_string.h:4974 #5 rpmPkgListIndex::FindInCache (this=0x80b5a08, Cache=...) at rpm/rpmindexfile.cc:448 #6 0xb7f98062 in CheckValidity (CacheFile=<error: Cannot access memory at address 0x73656372>, Start=..., Start@entry=, End=..., End@entry=<rpmSys>, OutMap=0xbfffe9c0) at pkgcachegen.cc:673 #7 0xb7f9a55e in pkgMakeStatusCache (List=..., Progress=..., OutMap=0xbfffe9c0, AllowMem=false) at pkgcachegen.cc:808 #8 0xb7f83fc4 in pkgCacheFile::BuildCaches (this=0xbfffe9c0, Progress=..., WithLock=<optimized out>) at cachefile.cc:76 #9 0xb7f84111 in pkgCacheFile::Open (this=0xbfffe9c0, Progress=..., WithLock=true) at cachefile.cc:96 #10 0x0805fe5f in CacheFile::Open (this=0xbfffe9c0, WithLock=true) at apt-get.cc:102 #11 0x080575f6 in DoUpdate (CmdL=...) at apt-get.cc:1915 #12 0xb7f326c2 in CommandLine::DispatchArg (this=0xbffff0bc, Map=0xbffff0d4, NoMatch=true) at contrib/cmndline.cc:360 #13 0x0804daa9 in main (argc=2, argv=0xbffff634) at apt-get.cc:3531 Нашёл ещё одного пострадавшего - такая же история, падать стал внезапно. откат glibc не помогает. после обновления glibc надо удалять кеш apt-get, т.к. данный кеш - это дамп памяти. |