Bug#390987: [Buildd-tools-devel] Bug#390987: schroot segfaults on startup, perhaps because of how my LANG= variable is set

Roger Leigh rleigh at whinlatter.ukfsn.org
Wed Oct 4 22:20:59 UTC 2006


"Jason Spiro" <jasonspiro4 at gmail.com> writes:

> When I run
>     schroot
> it segfaults. When I run the following:
>     LANG= schroot
> it seems to work.
>
> My LANG variable is set to: fr_FR.UTF-8
> I don't know if that's actually a valid setting for LANG, but it seems
> to work in other apps.

If the locale is not valid, it does give an error:

  % LANG=fd schroot -h
  E: locale::facet::_S_create_c_locale name not valid

However, this does exit with an error, rather than segfaulting.

Do you get any error messages prior to the segfault?

If you run with --debug=notice, does this show anything else?

If you run with gdb:
  % gdb /usr/bin/schroot
  (gdb) run --debug=notice [options]

What do you get?  If it segfaults, type

  (gdb) bt

and let me know what is shown.  (You might need to rebuild with
debugging symbols to get a full backtrace.  Just comment out dh_strip
in debian/rules and rebuild.)

> Here is my schroot.conf:
>
> [potato-for-jade]
> description=Debian potato (unstable)
> location=/m/l/potato-for-jade
> #priority=3
> users=j
> #groups=sbuild
> root-groups=root
> aliases=default

This is fine.


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: 188 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20061004/68575cbc/attachment.pgp


More information about the Buildd-tools-devel mailing list