[Buildd-tools-devel] Bug#355880: Segfaults immediately until I remove /etc/dchroot.conf

Loïc Minier lool at dooz.org
Wed Mar 8 13:39:48 UTC 2006


Package: schroot
Version: 0.2.6-1
Severity: normal

        Hi,

 schroot provided a nice dchroot wrapper when I installed it, but it
 segfaulted immediately.

 bee# gdb ./schroot/dchroot
 [...]
(gdb) run
Starting program: /tmp/s/schroot-0.2.6/schroot/dchroot 
[Thread debugging using libthread_db enabled]
[New Thread -1211849024 (LWP 12233)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1211849024 (LWP 12233)]
dchroot::session::run_impl (this=0x80d6fe8) at dchroot-session.cc:67
67        if (get_ruid() != get_uid())
(gdb) bt
#0  dchroot::session::run_impl (this=0x80d6fe8) at dchroot-session.cc:67
#1  0x080565a8 in dchroot::session::run_impl (this=0x80d6fe8)
    at dchroot-session.cc:74
#2  0x080565a8 in dchroot::session::run_impl (this=0x80d6fe8)
    at dchroot-session.cc:74
#3  0x080565a8 in dchroot::session::run_impl (this=0x80d6fe8)
    at dchroot-session.cc:74
#4  0x080565a8 in dchroot::session::run_impl (this=0x80d6fe8)
    at dchroot-session.cc:74
#5  0x080565a8 in dchroot::session::run_impl (this=0x80d6fe8)
    at dchroot-session.cc:74
(gdb) print this->ruid
$1 = 0
(gdb) print this->uid 
$2 = 0

 I didn't understand what code should be initializing this->ruid and /
 or this->uid, you probably know better.

   Cheers,

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=fr_FR at euro, LC_CTYPE=fr_FR at euro (charmap=ISO-8859-15)

Versions of packages schroot depends on:
ii  libboost-prog 1.33.1-2                   program options library for C++
ii  libc6         2.3.6-3                    GNU C Library: Shared libraries an
ii  libgcc1       1:4.0.2-10                 GCC support library
ii  liblockdev1   1.0.2-1                    Run-time shared library for lockin
ii  libpam0g      0.79-3.1                   Pluggable Authentication Modules l
ii  libstdc++6    4.0.2-10                   The GNU Standard C++ Library v3
ii  libuuid1      1.38+1.39-WIP-2005.12.31-1 universally unique id library

schroot recommends no packages.

-- no debconf information

-- 
Loïc Minier <lool at dooz.org>
Current Earth status:   NOT DESTROYED




More information about the Buildd-tools-devel mailing list