← Back to team overview

touch-packages team mailing list archive

[Bug 1352876] Re: "apt-get update" crashes

 

*** This bug is a duplicate of bug 1352504 ***
    https://bugs.launchpad.net/bugs/1352504

I confirm the bug, and the nscd temp workaround.   Same version.   Wow,
how'd you figure out that stopping nscd would help?

For me, apt-get update/upgrade after stopping nscd fixes it permanently.
There must have been a libc patch between when this was filed and now.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1352876

Title:
  "apt-get update" crashes

Status in “apt” package in Ubuntu:
  Confirmed

Bug description:
  This is on Ubuntu 10.04

  After the last uprade, apt-get  crashes with:

  root@zoo:~# apt-get update
  0% [Working]*** glibc detected *** /usr/lib/apt/methods/http: munmap_chunk(): invalid pointer: 0x00007f2ee7e963f0 ***
  ======= Backtrace: =========
  /lib/libc.so.6(+0x78cc6)[0x7f2ee6fcccc6]
  /lib/libc.so.6(+0x125ec9)[0x7f2ee7079ec9]
  /lib/libc.so.6(+0x12628b)[0x7f2ee707a28b]
  /lib/libc.so.6(getservbyname_r+0x183)[0x7f2ee705cde3]
  /lib/libc.so.6(+0xb9ff2)[0x7f2ee700dff2]
  /lib/libc.so.6(+0xbad50)[0x7f2ee700ed50]
  /lib/libc.so.6(getaddrinfo+0x162)[0x7f2ee70118f2]
  /usr/lib/apt/methods/http[0x40b337]
  /usr/lib/apt/methods/http[0x406748]
  /usr/lib/apt/methods/http[0x407d39]
  /usr/lib/apt/methods/http[0x40a0cb]
  /lib/libc.so.6(__libc_start_main+0xfd)[0x7f2ee6f72cad]
  /usr/lib/apt/methods/http[0x4041c9]
  ======= Memory map: ========
  00400000-0040e000 r-xp 00000000 08:01 656796                             /usr/lib/apt/methods/http
  0060d000-0060e000 r--p 0000d000 08:01 656796                             /usr/lib/apt/methods/http
  0060e000-0060f000 rw-p 0000e000 08:01 656796                             /usr/lib/apt/methods/http
  0060f000-00630000 rw-p 00000000 00:00 0                                  [heap]
  7f2ee6b4d000-7f2ee6b4f000 r-xp 00000000 08:01 396191                     /lib/libdl-2.11.1.so
  7f2ee6b4f000-7f2ee6d4f000 ---p 00002000 08:01 396191                     /lib/libdl-2.11.1.so
  7f2ee6d4f000-7f2ee6d50000 r--p 00002000 08:01 396191                     /lib/libdl-2.11.1.so
  7f2ee6d50000-7f2ee6d51000 rw-p 00003000 08:01 396191                     /lib/libdl-2.11.1.so
  7f2ee6d51000-7f2ee6d53000 r-xp 00000000 08:01 396199                     /lib/libutil-2.11.1.so
  7f2ee6d53000-7f2ee6f52000 ---p 00002000 08:01 396199                     /lib/libutil-2.11.1.so
  7f2ee6f52000-7f2ee6f53000 r--p 00001000 08:01 396199                     /lib/libutil-2.11.1.so
  7f2ee6f53000-7f2ee6f54000 rw-p 00002000 08:01 396199                     /lib/libutil-2.11.1.so
  7f2ee6f54000-7f2ee70d3000 r-xp 00000000 08:01 396200                     /lib/libc-2.11.1.so
  7f2ee70d3000-7f2ee72d3000 ---p 0017f000 08:01 396200                     /lib/libc-2.11.1.so
  7f2ee72d3000-7f2ee72d7000 r--p 0017f000 08:01 396200                     /lib/libc-2.11.1.so
  7f2ee72d7000-7f2ee72d8000 rw-p 00183000 08:01 396200                     /lib/libc-2.11.1.so
  7f2ee72d8000-7f2ee72dd000 rw-p 00000000 00:00 0 
  7f2ee72dd000-7f2ee72f3000 r-xp 00000000 08:01 392455                     /lib/libgcc_s.so.1
  7f2ee72f3000-7f2ee74f2000 ---p 00016000 08:01 392455                     /lib/libgcc_s.so.1
  7f2ee74f2000-7f2ee74f3000 r--p 00015000 08:01 392455                     /lib/libgcc_s.so.1
  7f2ee74f3000-7f2ee74f4000 rw-p 00016000 08:01 392455                     /lib/libgcc_s.so.1
  7f2ee74f4000-7f2ee7576000 r-xp 00000000 08:01 396194                     /lib/libm-2.11.1.so
  7f2ee7576000-7f2ee7775000 ---p 00082000 08:01 396194                     /lib/libm-2.11.1.so
  7f2ee7775000-7f2ee7776000 r--p 00081000 08:01 396194                     /lib/libm-2.11.1.so
  7f2ee7776000-7f2ee7777000 rw-p 00082000 08:01 396194                     /lib/libm-2.11.1.so
  7f2ee7777000-7f2ee786d000 r-xp 00000000 08:01 655632                     /usr/lib/libstdc++.so.6.0.13
  7f2ee786d000-7f2ee7a6d000 ---p 000f6000 08:01 655632                     /usr/lib/libstdc++.so.6.0.13
  7f2ee7a6d000-7f2ee7a74000 r--p 000f6000 08:01 655632                     /usr/lib/libstdc++.so.6.0.13
  7f2ee7a74000-7f2ee7a76000 rw-p 000fd000 08:01 655632                     /usr/lib/libstdc++.so.6.0.13
  7f2ee7a76000-7f2ee7a8b000 rw-p 00000000 00:00 0 
  7f2ee7a8b000-7f2ee7b50000 r-xp 00000000 08:01 656789                     /usr/lib/libapt-pkg-libc6.10-6.so.4.8.0
  7f2ee7b50000-7f2ee7d50000 ---p 000c5000 08:01 656789                     /usr/lib/libapt-pkg-libc6.10-6.so.4.8.0
  7f2ee7d50000-7f2ee7d53000 r--p 000c5000 08:01 656789                     /usr/lib/libapt-pkg-libc6.10-6.so.4.8.0
  7f2ee7d53000-7f2ee7d54000 rw-p 000c8000 08:01 656789                     /usr/lib/libapt-pkg-libc6.10-6.so.4.8.0
  7f2ee7d54000-7f2ee7d74000 r-xp 00000000 08:01 394878                     /lib/ld-2.11.1.so
  7f2ee7e96000-7f2ee7f1e000 r--s 00000000 08:01 915774                     /var/cache/nscd/services
  7f2ee7f1e000-7f2ee7f55000 r--p 00000000 08:01 665873                     /usr/lib/locale/en_US.iso885915/LC_CTYPE
  7f2ee7f55000-7f2ee7f56000 r--p 00000000 08:01 665874                     /usr/lib/locale/en_US.iso885915/LC_NUMERIC
  7f2ee7f56000-7f2ee7f57000 r--p 00000000 08:01 920348                     /usr/lib/locale/en_DK.utf8/LC_TIME
  7f2ee7f57000-7f2ee7f5d000 r--p 00000000 08:01 665876                     /usr/lib/locale/en_US.iso885915/LC_COLLATE
  7f2ee7f5d000-7f2ee7f5e000 r--p 00000000 08:01 665879                     /usr/lib/locale/en_US.iso885915/LC_MONETARY
  7f2ee7f5e000-7f2ee7f63000 rw-p 00000000 00:00 0 
  7f2ee7f63000-7f2ee7f64000 r--p 00000000 08:01 665881                     /usr/lib/locale/en_US.iso885915/LC_MESSAGES/SYS_LC_MESSAGES
  7f2ee7f64000-7f2ee7f65000 r--p 00000000 08:01 665882                     /usr/lib/locale/en_US.iso885915/LC_PAPER
  7f2ee7f65000-7f2ee7f66000 r--p 00000000 08:01 665883                     /usr/lib/locale/en_US.iso885915/LC_NAME
  7f2ee7f66000-7f2ee7f67000 r--p 00000000 08:01 665884                     /usr/lib/locale/en_US.iso885915/LC_ADDRESS
  7f2ee7f67000-7f2ee7f68000 r--p 00000000 08:01 665886                     /usr/lib/locale/en_US.iso885915/LC_TELEPHONE
  7f2ee7f68000-7f2ee7f69000 r--p 00000000 08:01 665887                     /usr/lib/locale/en_US.iso885915/LC_MEASUREMENT
  7f2ee7f69000-7f2ee7f70000 r--s 00000000 08:01 657473                     /usr/lib/gconv/gconv-modules.cache
  7f2ee7f70000-7f2ee7f71000 r--p 00000000 08:01 665889                     /usr/lib/locale/en_US.iso885915/LC_IDENTIFICATION
  7f2ee7f71000-7f2ee7f73000 rw-p 00000000 00:00 0 
  7f2ee7f73000-7f2ee7f74000 r--p 0001f000 08:01 394878                     /lib/ld-2.11.1.so
  7f2ee7f74000-7f2ee7f75000 rw-p 00020000 08:01 394878                     /lib/ld-2.11.1.so
  7f2ee7f75000-7f2ee7f76000 rw-p 00000000 00:00 0 
  7fffaa099000-7fffaa0ba000 rw-p 00000000 00:00 0                          [stack]
  7fffaa190000-7fffaa191000 r-xp 00000000 00:00 0                          [vdso]
  ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
  *** glibc detected *** /usr/lib/apt/methods/http: munmap_chunk(): invalid pointer: 0x00007f1293b7a3f0 ***
  ======= Backtrace: =========
  /lib/libc.so.6(+0x78cc6)[0x7f1292cb0cc6]
  /lib/libc.so.6(+0x125ec9)[0x7f1292d5dec9]
  /lib/libc.so.6(+0x12628b)[0x7f1292d5e28b]
  /lib/libc.so.6(getservbyname_r+0x183)[0x7f1292d40de3]
  /lib/libc.so.6(+0xb9ff2)[0x7f1292cf1ff2]
  /lib/libc.so.6(+0xbad50)[0x7f1292cf2d50]
  /lib/libc.so.6E: Method http has died unexpectedly!
  E: Sub-process http received signal 6.

  
  More system information:

  root@zoo:~# uname -a     
  Linux zoo 2.6.38-16-server #67~lucid1-Ubuntu SMP Fri Sep 7 18:36:10 UTC 2012 x86_64 GNU/Linux

  root@zoo:~# lsb_release -a
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description:    Ubuntu 10.04.4 LTS
  Release:        10.04
  Codename:       lucid

  root@zoo:~# apt-cache policy apt
  apt:
    Installed: 0.7.25.3ubuntu9.15
    Candidate: 0.7.25.3ubuntu9.15
    Version table:
   *** 0.7.25.3ubuntu9.15 0
          500 http://ftp.uni-stuttgart.de/ubuntu/ lucid-updates/main Packages
          500 http://security.ubuntu.com/ubuntu/ lucid-security/main Packages
          100 /var/lib/dpkg/status
       0.7.25.3ubuntu7 0
          500 http://ftp.uni-stuttgart.de/ubuntu/ lucid/main Packages

  root@zoo:~# apt-cache policy libc6
  libc6:
    Installed: 2.11.1-0ubuntu7.14
    Candidate: 2.11.1-0ubuntu7.14
    Version table:
   *** 2.11.1-0ubuntu7.14 0
          500 http://ftp.uni-stuttgart.de/ubuntu/ lucid-updates/main Packages
          500 http://security.ubuntu.com/ubuntu/ lucid-security/main Packages
          100 /var/lib/dpkg/status
       2.11.1-0ubuntu7 0
          500 http://ftp.uni-stuttgart.de/ubuntu/ lucid/main Packages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1352876/+subscriptions


References