← Back to team overview

touch-packages team mailing list archive

[Bug 490316] Re: dchroot fails with pthread_mutex_lock assertion when LANG != C

 

This is outdated now

** Changed in: eglibc (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to eglibc in Ubuntu.
https://bugs.launchpad.net/bugs/490316

Title:
  dchroot fails with pthread_mutex_lock assertion when LANG != C

Status in eglibc package in Ubuntu:
  Invalid

Bug description:
  On a machine without language support installed, dchroot fails unless I say "LANG=C dchroot"
  libc6 2.9-4ubuntu6, running on an arm jaunty system, attempting to dchroot into a lucid chroot.

  The tail end of the strace follows (this is all within dchroot, prior
  to any chroot or exec calls)

  gettimeofday({1259584852, 654142}, NULL) = 0
  rt_sigaction(SIGHUP, {0x72964, [], 0x4000000 /* SA_??? */}, {SIG_DFL}, 8) = 0
  rt_sigaction(SIGTERM, {0x72978, [], 0x4000000 /* SA_??? */}, {SIG_DFL}, 8) = 0
  open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  open("/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  open("/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  open("/usr/share/locale-langpack/en_US.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  open("/usr/share/locale-langpack/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  open("/usr/share/locale-langpack/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  open("/usr/share/locale-langpack/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  open("/usr/share/locale-langpack/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  open("/usr/share/locale-langpack/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  write(2, "dchroot: pthread_mutex_lock.c:87:"..., 103dchroot: pthread_mutex_lock.c:87: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed.
  ) = 103
  rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
  tgkill(17387, 17387, SIGABRT)           = 0
  --- SIGABRT (Aborted) @ 0 (0) ---
  +++ killed by SIGABRT +++

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/490316/+subscriptions