On Fri, May 07, 2010 at 12:26:41AM +0200, David Kalnischkies wrote:
> Hi Daniel Schepler & Julian Andres Klode,
>
> 2010/5/6 Julian Andres Klode <jak@debian.org>:
> > tag 580526 confirmed
> > thanks
>
> See #577759 for the initial bug which should be fixed in th newly uploaded
> apt-ftparchive - as the Packages file is affected by this bug simply installing
> the new version of apt & co. on your side will not help.
I guess it might make sense to merge those bugs then, this
will also cause this bug to be closed.
>
> > I can confirm this, in 0.7.26~exp4 I get:
> > terminate called after throwing an instance of 'std::bad_alloc'
> > what(): std::bad_alloc
> > Aborted
>
> Do you have any steps to reproduce?
> As it looks like happening in the Acquiresystem my first bet is the
> weak-pointer change, as the other change to the acquire classes
> have nothing to do with std containers but with the constructor.
> (at least as far as i can remember…)
It was the IsIndexFile change, I fixed it in revision 1982:
------------------------------------------------------------
revno: 1982
committer: Julian Andres Klode <jak@debian.org>
branch nick: debian-experimental-ma
timestamp: Fri 2010-05-07 09:20:34 +0200
message:
apt-pkg/acquire-item.cc: Fix pkgAcqFile::Custom600Headers() to always return something.
diff:
=== modified file 'apt-pkg/acquire-item.cc'
--- apt-pkg/acquire-item.cc 2010-05-04 08:06:57 +0000
+++ apt-pkg/acquire-item.cc 2010-05-07 07:20:34 +0000
@@ -1685,5 +1685,7 @@
{
if (IsIndexFile)
return "\nIndex-File: true";
+ else
+ return string();
}
/*}}}*/
=== modified file 'debian/changelog'
--- debian/changelog 2010-05-06 13:41:42 +0000
+++ debian/changelog 2010-05-07 07:20:34 +0000
@@ -1,3 +1,10 @@
+apt (0.7.26~exp5) UNRELEASED; urgency=low
+
+ * apt-pkg/acquire-item.cc:
+ - Fix pkgAcqFile::Custom600Headers() to always return something.
+
+ -- Julian Andres Klode <jak@debian.org> Fri, 07 May 2010 09:18:45 +0200
+
apt (0.7.26~exp4) experimental; urgency=low
[ David Kalnischkies ]
--
Julian Andres Klode - Debian Developer, Ubuntu Member
See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
Attachment:
pgpKy6NxRjPoW.pgp
Description: PGP signature