On Fri, Jun 08, 2012 at 01:58:22PM +0200, Jakub Wilk wrote:
> * Jakub Wilk <jw...@debian.org>, 2012-04-19, 21:34:
> >apt_pkg.TagFile(sys.stdin) crashes:
> >| $ python -c 'import sys, apt_pkg as a; a.TagFile(sys.stdin)' < /dev/null
> >| terminate called after throwing an instance of 'std::logic_error'
> >|   what():  basic_string::_S_construct null not valid
> >| Aborted
> >
> >This used to work until very recently.
> 
> Any news on this bug?

Fixed in the repository now. The bug was introduced with the
addition of the filename argument it seems, as the code checked
whether the file descriptor was > 0, instead of != -1 in some
places.

http://anonscm.debian.org/loggerhead/apt/python-apt/debian-sid/revision/608

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to