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

Bug#621091: apt-get: fails with munmap_chunk(): invalid pointer: 0x0000000001516be8 *** under fakechroot



Package: apt
Version: 0.8.13.2

I have an autobuilder that creates debirf images nightly from a
non-privileged user.

This means that it calls "debootstrap --variant=fakechroot" while under
a fakeroot fakechroot invocation.

Today, on the amd64 unstable autobuilder, i get nasty failures when i
try to run "apt-get update" in this context.  an example crash log is
attached.

Yesterday's build (which i believe used apt 0.8.13.1) completed
successfully.

I'm happy to provide more context if you like, or to run other tests.

You can review the autobuilder logs with git if you want more detailed
log information:

 git clone git://debirf.cmrg.net/debirf-autobuilder-logs

regards,

	--dkg
debirf@che:~$ debirf enter profiles/amd64/unstable/minimal "dpkg -l apt libc6 && apt-get update" | cat
debirf> loading profile 'minimal'...
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                          Version                     Description
+++-=============================-===========================-===================================================================
ii  apt                           0.8.13.2                    Advanced front-end for dpkg
ii  libc6                         2.11.2-13                   Embedded GNU C Library: Shared libraries
Hit http://mirror.cc.columbia.edu unstable InRelease
Hit http://mirror.cc.columbia.edu unstable/main amd64 Packages/DiffIndex
Hit http://mirror.cc.columbia.edu unstable/main TranslationIndex
Reading package lists...*** glibc detected *** apt-get: munmap_chunk(): invalid pointer: 0x0000000001516be8 ***
======= Backtrace: =========
/home/debirf/profiles/amd64/unstable/minimal/root/lib/libc.so.6(+0x71ab6)[0x7f2fed8edab6]
/home/debirf/profiles/amd64/unstable/minimal/root/lib/libc.so.6(_IO_free_backup_area+0x19)[0x7f2fed8ec139]
/home/debirf/profiles/amd64/unstable/minimal/root/lib/libc.so.6(_IO_file_close_it+0x33)[0x7f2fed8eac73]
/home/debirf/profiles/amd64/unstable/minimal/root/lib/libc.so.6(fclose+0x178)[0x7f2fed8dea28]
/usr/lib/fakechroot/libfakechroot.so(popen+0x17e)[0x7f2feeab748e]
/home/debirf/profiles/amd64/unstable/minimal/root/usr/lib/libapt-pkg.so.4.10(_ZN3APT13Configuration16getArchitecturesERKb+0x575)[0x7f2fee63e915]
/home/debirf/profiles/amd64/unstable/minimal/root/usr/lib/libapt-pkg.so.4.10(_ZN8pkgCacheC1EP4MMapb+0x49)[0x7f2fee5d2f09]
/home/debirf/profiles/amd64/unstable/minimal/root/usr/lib/libapt-pkg.so.4.10(_ZN17pkgCacheGeneratorC2EP11DynamicMMapP10OpProgress+0x3e)[0x7f2fee60ec6e]
/home/debirf/profiles/amd64/unstable/minimal/root/usr/lib/libapt-pkg.so.4.10(_ZN17pkgCacheGenerator15MakeStatusCacheER13pkgSourceListP10OpProgressPP4MMapb+0x6b9)[0x7f2fee614239]
/home/debirf/profiles/amd64/unstable/minimal/root/usr/lib/libapt-pkg.so.4.10(_ZN12pkgCacheFile11BuildCachesEP10OpProgressb+0x1f2)[0x7f2fee608612]
apt-get[0x40a6b5]
/home/debirf/profiles/amd64/unstable/minimal/root/usr/lib/libapt-pkg.so.4.10(_ZN11CommandLine11DispatchArgEPNS_8DispatchEb+0x52)[0x7f2fee5c62d2]
apt-get[0x40f8b9]
/home/debirf/profiles/amd64/unstable/minimal/root/lib/libc.so.6(__libc_start_main+0xfd)[0x7f2fed89ac4d]
apt-get[0x4098d9]
======= Memory map: ========
00400000-00429000 r-xp 00000000 fd:06 564857                             /home/debirf/profiles/amd64/unstable/minimal/root/usr/bin/apt-get
00629000-0062a000 rw-p 00029000 fd:06 564857                             /home/debirf/profiles/amd64/unstable/minimal/root/usr/bin/apt-get
0062a000-0062b000 rw-p 00000000 00:00 0 
0150e000-01571000 rw-p 00000000 00:00 0                                  [heap]
7f2feb42a000-7f2fecc2a000 rw-s 00000000 fd:06 309492                     /home/debirf/profiles/amd64/unstable/minimal/root/var/cache/apt/pkgcache.bin.2jWAGa
7f2fecc2a000-7f2fecc35000 r-xp 00000000 fd:06 563906                     /home/debirf/profiles/amd64/unstable/minimal/root/lib/libnss_files-2.11.2.so
7f2fecc35000-7f2fece34000 ---p 0000b000 fd:06 563906                     /home/debirf/profiles/amd64/unstable/minimal/root/lib/libnss_files-2.11.2.so
7f2fece34000-7f2fece35000 r--p 0000a000 fd:06 563906                     /home/debirf/profiles/amd64/unstable/minimal/root/lib/libnss_files-2.11.2.so
7f2fece35000-7f2fece36000 rw-p 0000b000 fd:06 563906                     /home/debirf/profiles/amd64/unstable/minimal/root/lib/libnss_files-2.11.2.so
7f2fece36000-7f2fece40000 r-xp 00000000 fd:06 563903                     /home/debirf/profiles/amd64/unstable/minimal/root/lib/libnss_nis-2.11.2.so
7f2fece40000-7f2fed03f000 ---p 0000a000 fd:06 563903                     /home/debirf/profiles/amd64/unstable/minimal/root/lib/libnss_nis-2.11.2.so
7f2fed03f000-7f2fed040000 r--p 00009000 fd:06 563903                     /home/debirf/profiles/amd64/unstable/minimal/root/lib/libnss_nis-2.11.2.so
7f2fed040000-7f2fed041000 rw-p 0000a000 fd:06 563903                     /home/debirf/profiles/amd64/unstable/minimal/root/lib/libnss_nis-2.11.2.so
7f2fed041000-7f2fed056000 r-xp 00000000 fd:06 563919                     /home/debirf/profiles/amd64/unstable/minimal/root/lib/libnsl-2.11.2.so
7f2fed056000-7f2fed255000 ---p 00015000 fd:06 563919                     /home/debirf/profiles/amd64/unstable/minimal/root/lib/libnsl-2.11.2.so
7f2fed255000-7f2fed256000 r--p 00014000 fd:06 563919                     /home/debirf/profiles/amd64/unstable/minimal/root/lib/libnsl-2.11.2.so
7f2fed256000-7f2fed257000 rw-p 00015000 fd:06 563919                     /home/debirf/profiles/amd64/unstable/minimal/root/lib/libnsl-2.11.2.so
7f2fed257000-7f2fed259000 rw-p 00000000 00:00 0 
7f2fed259000-7f2fed260000 r-xp 00000000 fd:06 563916                     /home/debirf/profiles/amd64/unstable/minimal/root/lib/libnss_compat-2.11.2.so
7f2fed260000-7f2fed45f000 ---p 00007000 fd:06 563916                     /home/debirf/profiles/amd64/unstable/minimal/root/lib/libnss_compat-2.11.2.so
7f2fed45f000-7f2fed460000 r--p 00006000 fd:06 563916                     /home/debirf/profiles/amd64/unstable/minimal/root/lib/libnss_compat-2.11.2.so
7f2fed460000-7f2fed461000 rw-p 00007000 fd:06 563916                     /home/debirf/profiles/amd64/unstable/minimal/root/lib/libnss_compat-2.11.2.so
7f2fed461000-7f2fed478000 r-xp 00000000 fd:06 564775                     /home/debirf/profiles/amd64/unstable/minimal/root/usr/lib/libz.so.1.2.3.4
7f2fed478000-7f2fed677000 ---p 00017000 fd:06 564775                     /home/debirf/profiles/amd64/unstable/minimal/root/usr/lib/libz.so.1.2.3.4
7f2fed677000-7f2fed678000 rw-p 00016000 fd:06 564775                     /home/debirf/profiles/amd64/unstable/minimal/root/usr/lib/libz.so.1.2.3.4
7f2fed678000-7f2fed67a000 r-xp 00000000 fd:06 563908                     /home/debirf/profiles/amd64/unstable/minimal/root/lib/libdl-2.11.2.so
7f2fed67a000-7f2fed87a000 ---p 00002000 fd:06 563908                     /home/debirf/profiles/amd64/unstable/minimal/root/lib/libdl-2.11.2.so
7f2fed87a000-7f2fed87b000 r--p 00002000 fd:06 563908                     /home/debirf/profiles/amd64/unstable/minimal/root/lib/libdl-2.11.2.so
7f2fed87b000-7f2fed87c000 rw-p 00003000 fd:06 563908                     /home/debirf/profiles/amd64/unstable/minimal/root/lib/libdl-2.11.2.so
7f2fed87c000-7f2fed9d4000 r-xp 00000000 fd:06 563909                     /home/debirf/profiles/amd64/unstable/minimal/root/lib/libc-2.11.2.so
7f2fed9d4000-7f2fedbd4000 ---p 00158000 fd:06 563909                     /home/debirf/profiles/amd64/unstable/minimal/root/lib/libc-2.11.2.so
7f2fedbd4000-7f2fedbd8000 r--p 00158000 fd:06 563909                     /home/debirf/profiles/amd64/unstable/minimal/root/lib/libc-2.11.2.so
7f2fedbd8000-7f2fedbd9000 rw-p 0015c000 fd:06 563909                     /home/debirf/profiles/amd64/unstable/minimal/root/lib/libc-2.11.2.so
7f2fedbd9000-7f2fedbde000 rw-p 00000000 00:00 0 
debirf@che:~$

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: