[buildd-tools-devel] Bug#594677: Bug#594677: Bug#594677: dchroot fails with the message E : basic_string::_S_construct NULL not valid
Roger Leigh
rleigh at codelibre.net
Sat Aug 28 11:41:19 UTC 2010
tags 594677 + confirmed fixed-upstream pending
thanks
On Sat, Aug 28, 2010 at 11:07:51AM +0100, Roger Leigh wrote:
> On Sat, Aug 28, 2010 at 11:25:36AM +0200, Benjamin Lecouteux wrote:
> > Package: dchroot
> > Version: 1.4.10-2
> > Severity: grave
> > Tags: sid
> > Justification: renders package unusable
> > ~$ dchroot
> > E : basic_string::_S_construct NULL not valid
> >
> > The testing and stable versions are working perfectly
Thanks for testing with gdb. I've been able to reproduce it and
fix the problem. I'll upload a new version shortly with the fix.
diff --git a/bin/dchroot/dchroot-main.cc b/bin/dchroot/dchroot-main.cc
index 034a87f..5408a0e 100644
--- a/bin/dchroot/dchroot-main.cc
+++ b/bin/dchroot/dchroot-main.cc
@@ -69,7 +69,7 @@ main::load_config ()
{
this->config = sbuild::chroot_config::ptr(new dchroot::chroot_config);
if (this->options->load_chroots == true)
- this->config->add(DCHROOT_CONF, false);
+ this->config->add("chroot", DCHROOT_CONF);
}
else
{
Regards,
Roger
--
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/
`- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20100828/2c69ab2c/attachment-0001.pgp>
More information about the Buildd-tools-devel
mailing list