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.
signature.asc
Description: Digital signature

