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

Bug#378883: marked as done (Segfaults in apt when installing from CD)



Your message dated Fri, 04 Aug 2006 09:54:52 -0400
with message-id <44D351AC.9040503@provectis.cl>
and subject line Bug#378883: Acknowledgement (Segfaults in apt when installing from CD)
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: apt
Version: 0.6.44.2
Severity: important

***
Installing packages with the apt version included with a fresh install of
Etch official snapshot (2006-06-26) segfaults after changing CDs as requested.

I have no way of verifying if doing the installation from the network shows
the same behavior, as this is an isolated system with no connection available.

Updating with the official snapshot 2006-07-10 does not fix the problem, but
changes the location of the segfault, from:

#0  0xb7eaa6d0 in pkgOrderList::WipeFlags ()
   from /usr/lib/libapt-pkg-libc6.3-6.so.3.11

to:

#0  0xb7f1e355 in pkgAcqArchive::Done ()
   from /usr/lib/libapt-pkg-libc6.3-6.so.3.11

A transcript of an install session that shows the segfaults, and the
/etc/apt/sources.list file from the original CD set used for installation
are included at the end of this message.

Coredumps from the crashes (of both snapshots) are available on request, if
required.
***

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Authentication "";
APT::Authentication::TrustCDROM "true";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
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::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
Acquire "";
Acquire::::Proxy "false";

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


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

# Line commented out by installer because it failed to verify:
#deb http://security.debian.org/ etch/updates main contrib
# Line commented out by installer because it failed to verify:
#deb-src http://security.debian.org/ etch/updates main contrib

deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-1 (20060710)]/ etch contrib main deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-2 (20060710)]/ etch main deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-3 (20060710)]/ etch main deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-4 (20060710)]/ etch contrib main deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-5 (20060710)]/ etch contrib main deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-6 (20060710)]/ etch contrib main deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-7 (20060710)]/ etch contrib main deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-8 (20060710)]/ etch contrib main deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-9 (20060710)]/ etch contrib main deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-10 (20060710)]/ etch contrib main deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-11 (20060710)]/ etch contrib main deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-12 (20060710)]/ etch contrib main deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-13 (20060710)]/ etch contrib main deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-14 (20060710)]/ etch main deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-15 (20060710)]/ etch main deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-16 (20060710)]/ etch main deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-17 (20060710)]/ etch main deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-18 (20060710)]/ etch main deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-19 (20060710)]/ etch main

-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages apt depends on:
ii  libc6                         2.3.6-15   GNU C Library: Shared libraries
ii  libgcc1                       1:4.1.1-5  GCC support library
ii  libstdc++6                    4.1.1-5    The GNU Standard C++ Library v3

Versions of packages apt recommends:
ii  debian-archive-keyring        2006.01.18 GnuPG archive keys of the Debian a

-- no debconf information


-- Additional information

*** apt-crash.txt
### Starting installation

bifrost:~# aptitude install emacs21 blender
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Building tag database... Done

The following NEW packages will be automatically installed:
  emacs21-bin-common emacs21-common emacsen-common xaw3dg
The following NEW packages will be installed:
  blender emacs21 emacs21-bin-common emacs21-common emacsen-common xaw3dg
0 packages upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/17.5MB of archives. After unpacking 53.0MB will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done

0% [Working]
Media Change: Please insert the disc labeled 'Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-5 (20060710)' in the drive '/cdrom/' and press enter
Selecting previously deselected package blender.
(Reading database ... 95835 files and directories currently installed.)
Unpacking blender (from .../blender_2.37a-1.1_i386.deb) ...
Media Change: Please insert the disc labeled 'Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-3 (20060710)' in the drive '/cdrom/' and press enter

(disc changed)

0% [Working]Segmentation fault (core dumped)

#### Next attempt

bifrost:~# aptitude install emacs21 blender
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Building tag database... Done

The following NEW packages will be automatically installed:
  emacs21-bin-common emacs21-common emacsen-common xaw3dg
The following NEW packages will be installed:
  emacs21 emacs21-bin-common emacs21-common emacsen-common xaw3dg
0 packages upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/13.4MB of archives. After unpacking 42.4MB will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done

Selecting previously deselected package emacsen-common.
(Reading database ... 95996 files and directories currently installed.)
Unpacking emacsen-common (from .../emacsen-common_1.4.17_all.deb) ...
Selecting previously deselected package emacs21-common.
Unpacking emacs21-common (from .../emacs21-common_21.4a-3_all.deb) ...
Selecting previously deselected package emacs21-bin-common.
Unpacking emacs21-bin-common (from .../emacs21-bin-common_21.4a-3_i386.deb) ...
Selecting previously deselected package emacs21.
Unpacking emacs21 (from .../emacs21_21.4a-3_i386.deb) ...

Media Change: Please insert the disc labeled 'Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-2 (20060710)' in the drive '/cdrom/' and press enter

(disc changed)

0% [Working]Segmentation fault (core dumped)

### Last pass, finishing the installation

bifrost:~# aptitude install emacs21 blender
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Building tag database... Done

The following NEW packages will be automatically installed:
  xaw3dg
The following NEW packages will be installed:
  xaw3dg
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/158kB of archives. After unpacking 447kB will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done

Selecting previously deselected package xaw3dg.
(Reading database ... 97258 files and directories currently installed.)
Unpacking xaw3dg (from .../xaw3d/xaw3dg_1.5+E-14_i386.deb) ...
Setting up blender (2.37a-1.1) ...

Setting up emacsen-common (1.4.17) ...
emacsen-common: Handling install of emacsen flavor emacs

Setting up emacs21-common (21.4a-3) ...

Setting up emacs21-bin-common (21.4a-3) ...

Setting up xaw3dg (1.5+E-14) ...

Setting up emacs21 (21.4a-3) ...
emacs-install emacs21
install/dictionaries-common: Byte-compiling for emacsen flavour emacs21
Wrote /usr/share/emacs21/site-lisp/dictionaries-common/debian-ispell.elc
Wrote /usr/share/emacs21/site-lisp/dictionaries-common/ispell.elc
Wrote /usr/share/emacs21/site-lisp/dictionaries-common/flyspell.elc
Done
emacsen-common: Handling install of emacsen flavor emacs21
emacsen-common: byte-compiling for emacs21
Loading 00debian-vars (source)...
Loading 50dictionaries-common (source)...
Loading debian-ispell...
Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...
Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...
Loading 50festival (source)...
Wrote /etc/emacs21/site-start.d/00debian-vars.elc
Wrote /usr/share/emacs21/site-lisp/debian-startup.elc
Done

bifrost:~# gdb aptitude core.disc5-to-disc3
GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".


warning: Can't read pathname for load map: Input/output error.
Reading symbols from /usr/lib/libapt-pkg-libc6.3-6.so.3.11...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libapt-pkg-libc6.3-6.so.3.11
Reading symbols from /lib/libncursesw.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libncursesw.so.5
Reading symbols from /usr/lib/libsigc-2.0.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libsigc-2.0.so.0
Reading symbols from /lib/tls/libpthread.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/libpthread.so.0
Reading symbols from /usr/lib/libstdc++.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/tls/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /lib/libgcc_s.so.1...
(no debugging symbols found)...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/tls/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/tls/libdl.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib/tls/libdl.so.2
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2


(no debugging symbols found)
Core was generated by `aptitude install emacs21 blender'.
Program terminated with signal 11, Segmentation fault.
#0  0xb7f1e355 in pkgAcqArchive::Done ()
   from /usr/lib/libapt-pkg-libc6.3-6.so.3.11
(gdb) where
#0  0xb7f1e355 in pkgAcqArchive::Done ()
   from /usr/lib/libapt-pkg-libc6.3-6.so.3.11
#1  0xb7f0a083 in pkgAcquire::Worker::RunMessages ()
   from /usr/lib/libapt-pkg-libc6.3-6.so.3.11
#2  0xb7f0ac10 in pkgAcquire::Worker::InFdReady ()
   from /usr/lib/libapt-pkg-libc6.3-6.so.3.11
#3  0xb7f04b09 in pkgAcquire::RunFds ()
   from /usr/lib/libapt-pkg-libc6.3-6.so.3.11
#4  0xb7f06d8f in pkgAcquire::Run () from /usr/lib/libapt-pkg-libc6.3-6.so.3.11
#5 0x0823553d in std::_Rb_tree<std::string, std::pair<std::string const, std::string>, std::_Select1st<std::pair<std::string const, std::string> >, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > >::_M_erase ()
#6  0x08129338 in pkgSimulate::Policy::~Policy ()
#7 0x08111e64 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string<__gnu_cxx::__normal_iterator<char const*, std::string> >
    ()
#8  0x08053f42 in ?? ()
#9  0xb7c26eb0 in __libc_start_main () from /lib/tls/libc.so.6
#10 0x08051981 in ?? ()
(gdb) q
bifrost:~# gdb aptitude core.disc3-to-disc2
GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".


warning: Can't read pathname for load map: Input/output error.
Reading symbols from /usr/lib/libapt-pkg-libc6.3-6.so.3.11...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libapt-pkg-libc6.3-6.so.3.11
Reading symbols from /lib/libncursesw.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libncursesw.so.5
Reading symbols from /usr/lib/libsigc-2.0.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libsigc-2.0.so.0
Reading symbols from /lib/tls/libpthread.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/libpthread.so.0
Reading symbols from /usr/lib/libstdc++.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/tls/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /lib/libgcc_s.so.1...
(no debugging symbols found)...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/tls/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/tls/libdl.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib/tls/libdl.so.2
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2

(no debugging symbols found)
Core was generated by `aptitude install emacs21 blender'.
Program terminated with signal 11, Segmentation fault.
#0  0xb7ee4355 in pkgAcqArchive::Done ()
   from /usr/lib/libapt-pkg-libc6.3-6.so.3.11
(gdb) where
#0  0xb7ee4355 in pkgAcqArchive::Done ()
   from /usr/lib/libapt-pkg-libc6.3-6.so.3.11
#1  0xb7ed0083 in pkgAcquire::Worker::RunMessages ()
   from /usr/lib/libapt-pkg-libc6.3-6.so.3.11
#2  0xb7ed0c10 in pkgAcquire::Worker::InFdReady ()
   from /usr/lib/libapt-pkg-libc6.3-6.so.3.11
#3  0xb7ecab09 in pkgAcquire::RunFds ()
   from /usr/lib/libapt-pkg-libc6.3-6.so.3.11
#4  0xb7eccd8f in pkgAcquire::Run () from /usr/lib/libapt-pkg-libc6.3-6.so.3.11
#5 0x0823553d in std::_Rb_tree<std::string, std::pair<std::string const, std::string>, std::_Select1st<std::pair<std::string const, std::string> >, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > >::_M_erase ()
#6  0x08129338 in pkgSimulate::Policy::~Policy ()
#7 0x08111e64 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string<__gnu_cxx::__normal_iterator<char const*, std::string> >
    ()
#8  0x08053f42 in ?? ()
#9  0xb7beceb0 in __libc_start_main () from /lib/tls/libc.so.6
#10 0x08051981 in ?? ()
(gdb) q
bifrost:~#


*** /etc/apt/sources.list.old
#
deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-1 (20060626)]/ etch contrib main deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-2 (20060626)]/ etch main deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-3 (20060626)]/ etch main deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-4 (20060626)]/ etch contrib main deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-5 (20060626)]/ etch contrib main deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-6 (20060626)]/ etch contrib main deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-7 (20060626)]/ etch contrib main deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-8 (20060626)]/ etch contrib main deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-9 (20060626)]/ etch contrib main deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-10 (20060626)]/ etch contrib main deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-11 (20060626)]/ etch contrib main deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-12 (20060626)]/ etch contrib main deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-13 (20060626)]/ etch contrib main deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-14 (20060626)]/ etch main deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-15 (20060626)]/ etch main deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-16 (20060626)]/ etch main deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-17 (20060626)]/ etch main deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-18 (20060626)]/ etch main

# Line commented out by installer because it failed to verify:
#deb http://security.debian.org/ etch/updates main contrib
# Line commented out by installer because it failed to verify:
#deb-src http://security.debian.org/ etch/updates main contrib

***
Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6.3-6-3.1 0.6.44.2   Advanced front-end for dpkg
ii  libc6                         2.3.6-15   GNU C Library: Shared libraries
ii  libgcc1                       1:4.1.1-5  GCC support library
ii  libncursesw5                  5.5-2      Shared libraries for terminal hand
ii  libsigc++-2.0-0c2a            2.0.16-3   type-safe Signal Framework for C++
ii  libstdc++6                    4.1.1-5    The GNU Standard C++ Library v3

begin:vcard
fn:Julio  Pacheco T.
n:Pacheco T.;Julio 
org:ProVectis S.A.
adr:Providencia;;Hernando de Aguirre 268 piso 5;Santiago;;;Chile
email;internet:julio.pacheco@provectis.cl
title;quoted-printable:Consultor Tecnol=C3=B3gico
tel;work:2319910 anexo 110
version:2.1
end:vcard


--- End Message ---
--- Begin Message ---
Debian Bug Tracking System escribió:
Thank you for the problem report you have sent regarding Debian.
This is an automatically generated reply, to let you know your message has
been received.  It is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.
[...]

As Jiří Paleček noted, this is a duplicate of bug #349869, solved by applying the patch included on its bug report log.

Bug closed.

begin:vcard
fn:Julio  Pacheco T.
n:Pacheco T.;Julio 
org:ProVectis S.A.
adr:Providencia;;Hernando de Aguirre 268 piso 5;Santiago;;;Chile
email;internet:julio.pacheco@provectis.cl
title;quoted-printable:Consultor Tecnol=C3=B3gico
tel;work:2319910 anexo 110
version:2.1
end:vcard


--- End Message ---

Reply to: