[buildd-tools-devel] 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 10:07:51 UTC 2010


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

It's working for me:

% dchroot
$ 
% dchroot -c sid "ls /"
I: [sid-amd64-sbuild-9c71d386-91ca-44bf-a85e-ecc32a3fc115 chroot] Running command: “ls /”
bin   build  etc  home	lib64  mnt  proc  sbin	   srv	sysfs  usr
boot  dev    foo  lib	media  opt  root  selinux  sys	tmp    var

I'm using exactly the same version as in current unstable on a
stock unstable system.  Do you have any modifications such as
packages from testing or experimental installed.  I'm thinking
here about different versions of libc6, libstdc++ and/or
Boost which may not be fully compatible.

Do you you chroot definitions in dchroot.conf or in
/etc/schroot/schroot.conf or /etc/schroot/chroot.d/<chrootname>?
Possibly dchroot.conf is less tested than the schroot configuration
loading (it's for compatibility only).

If you're using the schroot configuration, does schroot also fail
in the same way?

Could you try to pin down why this is failing by installing
these packages:
  gdb
  libstdc++6-4.4-dbg
  libc6-dbg
  libboost-dbg
  schroot-dbg

If you then (as root due to dchroot being setuid root) run
  "gdb /usr/bin/dchroot"
and then in gdb run
  "catch throw"
  "run --debug=notice"
wait until it aborts with the error, and then type
  "backtrace"
and send me the entire transcript?


Thanks,
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/61e3764a/attachment.pgp>


More information about the Buildd-tools-devel mailing list