Summary: | apt-get: free(): invalid pointer | ||||||
---|---|---|---|---|---|---|---|
Product: | Branch 4.0 | Reporter: | Denis Ovsienko <pilot> | ||||
Component: | apt | Assignee: | Anton V. Boyarshinov <boyarsh> | ||||
Status: | CLOSED FIXED | QA Contact: | Andrey Cherepanov <cas> | ||||
Severity: | normal | ||||||
Priority: | P2 | CC: | avm, evg, genix, ldv, vvk | ||||
Version: | 4.0 | Keywords: | patch | ||||
Hardware: | all | ||||||
OS: | Linux | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 15386 | ||||||
Attachments: |
|
Description
Denis Ovsienko
2008-03-16 13:54:52 MSK
пытаюсь перевесить [root@localhost ~]# apt-get install ftp://ftp.altlinux.org/pub/distributions/ALT Linux/4.0/branch/files/i586/RPMS/libadns-1.4-alt1.i586.rpm Get:1 ftp://ftp.altlinux.org/pub/distributions/ALTLinux/4.0/branch/files/i586/RP MS/libadns-1.4-alt1.i586.rpm [37.3kB] Fetched 37.3kB in 0s (73.7kB/s) Reading Package Lists... Done Building Dependency Tree... Done Selecting libadns for 'libadns-1.4-alt1.i586.rpm' The following NEW packages will be installed: libadns 0 upgraded, 1 newly installed, 0 removed and 0 not upgraded. Need to get 0B/37.3kB of archives. After unpacking 66.5kB of additional disk space will be used. Committing changes... Preparing... ########################################### [100%] 1: libadns ########################################### [100%] Done. *** glibc detected *** apt-get: free(): invalid pointer: 0x08090715 *** ======= Backtrace: ========= /lib/libc.so.6[0xb7c89402] /lib/libc.so.6(cfree+0x89)[0xb7c8aa79] /usr/lib/libapt-pkg-libc6.5-6.so.2(_ZN11CommandLine12FreeFileListEv+0x2e)[0xb7e6 2bee] /usr/lib/libapt-pkg-libc6.5-6.so.2(_ZN11CommandLineD1Ev+0x1d)[0xb7e62c3d] apt-get[0x805dee0] /lib/libc.so.6(__libc_start_main+0xdc)[0xb7c3d05c] apt-get(__gxx_personality_v0+0x19d)[0x804ccc1] ======= Memory map: ======== 08048000-0806e000 r-xp 00000000 fd:02 492397 /usr/bin/apt-get 0806e000-0806f000 rw-p 00026000 fd:02 492397 /usr/bin/apt-get 0806f000-08277000 rw-p 0806f000 00:00 0 [heap] b7700000-b7721000 rw-p b7700000 00:00 0 b7721000-b7800000 ---p b7721000 00:00 0 b7802000-b7803000 rw-s 00c00000 08:02 49390 /var/cache/apt/pkgcache.bin b799f000-b79a7000 r-xp 00000000 08:02 213107 /lib/libnss_files-2.5.so b79a7000-b79a9000 rw-p 00007000 08:02 213107 /lib/libnss_files-2.5.so b79c4000-b79ff000 r--p 00000000 fd:02 511885 /usr/lib/locale/en_US.utf8/LC_C TYPE b79ff000-b7a01000 rw-p b79ff000 00:00 0 b7a01000-b7a13000 r-xp 00000000 08:02 213109 /lib/libpthread-2.5.so b7a13000-b7a15000 rw-p 00011000 08:02 213109 /lib/libpthread-2.5.so b7a15000-b7a17000 rw-p b7a15000 00:00 0 b7a17000-b7a1d000 r-xp 00000000 08:02 213113 /lib/librt-2.5.so b7a1d000-b7a1f000 rw-p 00005000 08:02 213113 /lib/librt-2.5.so b7a1f000-b7a21000 r-xp 00000000 08:02 213101 /lib/libdl-2.5.so b7a21000-b7a23000 rw-p 00001000 08:02 213101 /lib/libdl-2.5.so b7a23000-b7a24000 rw-p b7a23000 00:00 0 b7a24000-b7a48000 r-xp 00000000 08:02 213103 /lib/libm-2.5.so b7a48000-b7a4a000 rw-p 00023000 08:02 213103 /lib/libm-2.5.so b7a4a000-b7a5d000 r-xp 00000000 fd:02 508723 /usr/lib/libelf-0.126.so b7a5d000-b7a5f000 rw-p 00012000 fd:02 508723 /usr/lib/libelf-0.126.so b7a5f000-b7b3c000 r-xp 00000000 08:02 213165 /lib/libdb-4.4.so b7b3c000-b7b3e000 rw-p 000dc000 08:02 213165 /lib/libdb-4.4.so b7b3e000-b7b51000 r-xp 00000000 08:02 213120 /lib/libz.so.1.2.3 b7b51000-b7b52000 rw-p 00012000 08:02 213120 /lib/libz.so.1.2.3 b7b52000-b7b61000 r-xp 00000000 08:02 213208 /lib/libbz2.so.1.0.3 b7b61000-b7b62000 rw-p 0000f000 08:02 213208 /lib/libbz2.so.1.0.3 b7b62000-b7b79000 r-xp 00000000 fd:02 508810 /usr/lib/libbeecrypt.so.2.2.0 b7b79000-b7b7d000 rw-p 00017000 fd:02 508810 /usr/lib/libbeecrypt.so.2.2.0 b7b7d000-b7b7e000 rw-p b7b7d000 00:00 0 b7b7e000-b7b84000 r-xp 00000000 08:02 213155 /lib/libpopt.so.0.0.0 b7b84000-b7b85000 rw-p 00005000 08:02 213155 /lib/libpopt.so.0.0.0 b7b85000-b7baa000 r-xp 00000000 fd:02 508576 /usr/lib/liblua-5.1.so.0 b7baa000-b7bab000 rw-p 00025000 fd:02 508576 /usr/lib/liblua-5.1.so.0 b7bab000-b7bc6000 r-xp 00000000 fd:02 279132 /usr/lib/librpmdb-4.0.4.so b7bc6000-b7bc8000 rw-p 0001a000 fd:02 279132 /usr/lib/librpmdb-4.0.4.so b7bc8000-b7be3000 r-xp 00000000 fd:02 279133 /usr/lib/librpmio-4.0.4.so b7be3000-b7be5000 rw-p 0001a000 fd:02 279133 /usr/lib/librpmio-4.0.4.so b7be5000-b7bea000 rw-p b7be5000 00:00 0 b7bea000-b7c23000 r-xp 00000000 fd:02 279131 /usr/lib/librpm-4.0.4.so b7c23000-b7c25000 rw-p 00039000 fd:02 279131 /usr/lib/librpm-4.0.4.so b7c25000-b7c27000 rw-p b7c25000 00:00 0 b7c27000-b7d47000 r-xp 00000000 08:02 213095 /lib/libc-2.5.so b7d47000-b7d48000 r--p 0011f000 08:02 213095 /lib/libc-2.5.so b7d48000-b7d4a000 rw-p 00120000 08:02 213095 /lib/libc-2.5.so b7d4a000-b7d4d000 rw-p b7d4a000 00:00 0 b7d4d000-b7d57000 r-xp 00000000 08:02 213163 /lib/libgcc_s.so.1 b7d57000-b7d58000 rw-p 0000a000 08:02 213163 /lib/libgcc_s.so.1 b7d58000-b7e33000 r-xp 00000000 fd:02 508654 /usr/lib/libstdc++.so.6.0.8 b7e33000-b7e36000 r--p 000db000 fd:02 508654 /usr/lib/libstdc++.so.6.0.8 b7e36000-b7e38000 rw-p 000de000 fd:02 508654 /usr/lib/libstdc++.so.6.0.8 b7e38000-b7e3e000 rw-p b7e38000 00:00 0 b7e3e000-b7f12000 r-xp 00000000 fd:02 513798 /usr/lib/libapt-pkg-libc6.5-6.s o.2.0.0 b7f12000-b7f15000 rw-p 000d3000 fd:02 513798 /usr/lib/libapt-pkg-libc6.5-6.s o.2.0.0 b7f28000-b7f29000 rw-p b7f28000 00:00 0 b7f29000-b7f30000 r--s 00000000 fd:02 514695 /usr/lib/gconv/gconv-modules.ca che b7f30000-b7f31000 rw-p b7f30000 00:00 0 b7f31000-b7f32000 r-xp b7f31000 00:00 0 [vdso] b7f32000-b7f49000 r-xp 00000000 08:02 213089 /lib/ld-2.5.so b7f49000-b7f4b000 rw-p 00016000 08:02 213089 /lib/ld-2.5.so bfd7d000-bfda6000 rw-p bfd7d000 00:00 0 [stack] Aborted Система --- Desktop 4.0.2, протащенный до "несуществующего" 4.0.3. apt-0.5.15lorg2-alt18 Похоже, именно пакеты из Sisyphus сводят с ума APT: # apt-get install ftp://ftp.altlinux.org/pub/distributions/ALTLinux/Sisyphus/files/i586/RPM S/openvpn-2.0.9-alt1.i586.rpm Get:1 ftp://ftp.altlinux.org/pub/distributions/ALTLinux/Sisyphus/files/i586/RPMS/openvpn-2.0.9-alt1.i586.rpm [268 kB] Fetched 268kB in 0s (1207kB/s) Reading Package Lists... Done Building Dependency Tree... Done Selecting openvpn for 'openvpn-2.0.9-alt1.i586.rpm' The following NEW packages will be installed: openvpn 0 upgraded, 1 newly installed, 0 removed and 4 not upgraded. Need to get 0B/268kB of archives. After unpacking 568kB of additional disk space will be used. Committing changes... Preparing... ############################################################################ [100%] 1: openvpn ############################################################################ [100%] Done. *** glibc detected *** apt-get: free(): invalid pointer: 0x08091c03 *** ======= Backtrace: ========= /lib/libc.so.6[0xb7ca9402] /lib/libc.so.6(cfree+0x89)[0xb7caaa79] /usr/lib/libapt-pkg-libc6.5-6.so.2(_ZN11CommandLine12FreeFileListEv+0x2e)[0xb7e82bee] /usr/lib/libapt-pkg-libc6.5-6.so.2(_ZN11CommandLineD1Ev+0x1d)[0xb7e82c3d] apt-get[0x805dee0] /lib/libc.so.6(__libc_start_main+0xdc)[0xb7c5d05c] apt-get(__gxx_personality_v0+0x19d)[0x804ccc1] ======= Memory map: ======== 08048000-0806e000 r-xp 00000000 03:44 1887909 /usr/bin/apt-get 0806e000-0806f000 rw-p 00026000 03:44 1887909 /usr/bin/apt-get 0806f000-081e2000 rw-p 0806f000 00:00 0 [heap] b7700000-b7721000 rw-p b7700000 00:00 0 b7721000-b7800000 ---p b7721000 00:00 0 b784d000-b784e000 rw-s 00c00000 03:44 1227025 /var/cache/apt/pkgcache.bin b79ca000-b79d2000 r-xp 00000000 03:44 1030291 /lib/libnss_files-2.5.so b79d2000-b79d4000 rw-p 00007000 03:44 1030291 /lib/libnss_files-2.5.so b79e4000-b7a1f000 r--p 00000000 03:44 16806 /usr/lib/locale/en_US.utf8/LC_CTYPE b7a1f000-b7a21000 rw-p b7a1f000 00:00 0 b7a21000-b7a33000 r-xp 00000000 03:44 1030293 /lib/libpthread-2.5.so b7a33000-b7a35000 rw-p 00011000 03:44 1030293 /lib/libpthread-2.5.so b7a35000-b7a37000 rw-p b7a35000 00:00 0 b7a37000-b7a3d000 r-xp 00000000 03:44 1030297 /lib/librt-2.5.so b7a3d000-b7a3f000 rw-p 00005000 03:44 1030297 /lib/librt-2.5.so b7a3f000-b7a41000 r-xp 00000000 03:44 1030285 /lib/libdl-2.5.so b7a41000-b7a43000 rw-p 00001000 03:44 1030285 /lib/libdl-2.5.so b7a43000-b7a44000 rw-p b7a43000 00:00 0 b7a44000-b7a68000 r-xp 00000000 03:44 1030287 /lib/libm-2.5.so b7a68000-b7a6a000 rw-p 00023000 03:44 1030287 /lib/libm-2.5.so b7a6a000-b7a7d000 r-xp 00000000 03:44 1885431 /usr/lib/libelf-0.126.so b7a7d000-b7a7f000 rw-p 00012000 03:44 1885431 /usr/lib/libelf-0.126.so b7a7f000-b7b5c000 r-xp 00000000 03:44 1030349 /lib/libdb-4.4.so b7b5c000-b7b5e000 rw-p 000dc000 03:44 1030349 /lib/libdb-4.4.so b7b5e000-b7b71000 r-xp 00000000 03:44 1030304 /lib/libz.so.1.2.3 b7b71000-b7b72000 rw-p 00012000 03:44 1030304 /lib/libz.so.1.2.3 b7b72000-b7b81000 r-xp 00000000 03:44 1030392 /lib/libbz2.so.1.0.3 b7b81000-b7b82000 rw-p 0000f000 03:44 1030392 /lib/libbz2.so.1.0.3 b7b82000-b7b99000 r-xp 00000000 03:44 1885495 /usr/lib/libbeecrypt.so.2.2.0 b7b99000-b7b9d000 rw-p 00017000 03:44 1885495 /usr/lib/libbeecrypt.so.2.2.0 b7b9d000-b7b9e000 rw-p b7b9d000 00:00 0 b7b9e000-b7ba4000 r-xp 00000000 03:44 1030339 /lib/libpopt.so.0.0.0 b7ba4000-b7ba5000 rw-p 00005000 03:44 1030339 /lib/libpopt.so.0.0.0 b7ba5000-b7bca000 r-xp 00000000 03:44 1885253 /usr/lib/liblua-5.1.so.0 b7bca000-b7bcb000 rw-p 00025000 03:44 1885253 /usr/lib/liblua-5.1.so.0 b7bcb000-b7be6000 r-xp 00000000 03:44 1885809 /usr/lib/librpmdb-4.0.4.so b7be6000-b7be8000 rw-p 0001a000 03:44 1885809 /usr/lib/librpmdb-4.0.4.so b7be8000-b7c03000 r-xp 00000000 03:44 1885810 /usr/lib/librpmio-4.0.4.so b7c03000-b7c05000 rw-p 0001a000 03:44 1885810 /usr/lib/librpmio-4.0.4.so b7c05000-b7c0a000 rw-p b7c05000 00:00 0 b7c0a000-b7c43000 r-xp 00000000 03:44 1885808 /usr/lib/librpm-4.0.4.so b7c43000-b7c45000 rw-p 00039000 03:44 1885808 /usr/lib/librpm-4.0.4.so b7c45000-b7c47000 rw-p b7c45000 00:00 0 b7c47000-b7d67000 r-xp 00000000 03:44 1030279 /lib/libc-2.5.so b7d67000-b7d68000 r--p 0011f000 03:44 1030279 /lib/libc-2.5.so b7d68000-b7d6a000 rw-p 00120000 03:44 1030279 /lib/libc-2.5.so b7d6a000-b7d6d000 rw-p b7d6a000 00:00 0 b7d6d000-b7d77000 r-xp 00000000 03:44 1030347 /lib/libgcc_s.so.1 b7d77000-b7d78000 rw-p 0000a000 03:44 1030347 /lib/libgcc_s.so.1 b7d78000-b7e53000 r-xp 00000000 03:44 1885341 /usr/lib/libstdc++.so.6.0.8 b7e53000-b7e56000 r--p 000db000 03:44 1885341 /usr/lib/libstdc++.so.6.0.8 b7e56000-b7e58000 rw-p 000de000 03:44 1885341 /usr/lib/libstdc++.so.6.0.8 b7e58000-b7e5e000 rw-p b7e58000 00:00 0 b7e5e000-b7f32000 r-xp 00000000 03:44 1889164 /usr/lib/libapt-pkg-libc6.5-6.so.2.0.0 b7f32000-b7f35000 rw-p 000d3000 03:44 1889164 /usr/lib/libapt-pkg-libc6.5-6.so.2.0.0 b7f3d000-b7f3e000 rw-p b7f3d000 00:00 0 b7f3e000-b7f45000 r--s 00000000 03:44 1210050 /usr/lib/gconv/gconv-modules.cache b7f45000-b7f46000 rw-p b7f45000 00:00 0 b7f46000-b7f47000 r-xp b7f46000 00:00 0 [vdso] b7f47000-b7f5e000 r-xp 00000000 03:44 1030273 /lib/ld-2.5.so b7f5e000-b7f60000 rw-p 00016000 03:44 1030273 /lib/ld-2.5.so bffca000-bffe6000 rw-p bffca000 00:00 0 [stack] Aborted Что интересно, для падения совсем необязательно вообще что-либо устанавливать. Достаточно попросить apt-get установить файл с FTP по битой ссылке: Err ftp://ftp.chg.ru/pub/Linux/ALTLinux/Sisyphus/i586/RPMS/openvpn-2.0.9-alt1.i586.rpm Unable to fetch file, server said 'Failed to open file. ' [IP: 193.233.9.194 21] Failed to fetch ftp://ftp.chg.ru/pub/Linux/ALTLinux/Sisyphus/i586/RPMS/openvpn-2.0.9-alt1.i586.rpm Unable to fetch file, server said 'Failed to open file. ' [IP: 193.233.9.194 21] E: Failed to fetch some archives. *** glibc detected *** apt-get: free(): invalid pointer: 0x080906ff *** ======= Backtrace: ========= /lib/libc.so.6[0xb7c42402] /lib/libc.so.6(cfree+0x89)[0xb7c43a79] /usr/lib/libapt-pkg-libc6.5-6.so.2(_ZN11CommandLine12FreeFileListEv+0x2e)[0xb7e1bbee] /usr/lib/libapt-pkg-libc6.5-6.so.2(_ZN11CommandLineD1Ev+0x1d)[0xb7e1bc3d] apt-get[0x805dee0] /lib/libc.so.6(__libc_start_main+0xdc)[0xb7bf605c] apt-get(__gxx_personality_v0+0x19d)[0x804ccc1] ======= Memory map: ======== 08048000-0806e000 r-xp 00000000 fd:02 492397 /usr/bin/apt-get 0806e000-0806f000 rw-p 00026000 fd:02 492397 /usr/bin/apt-get 0806f000-080b1000 rw-p 0806f000 00:00 0 [heap] [...] Created attachment 2664 [details]
apt-get-cmdline-url.patch
Исправление проблемы.
*** Bug 15386 has been marked as a duplicate of this bug. *** ping pong В Сизифе лежит версия с приложенным патчем. Бага висит на Branch-4.0, поэтому не закрываю. ликвидирую |