[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#225466: marked as done (libc6.1: thread-creation fails after setting non-page-aligned stack limit)



Your message dated Tue, 20 Jan 2004 16:50:26 -0500
with message-id <E1Aj3lS-0006eF-00@auric.debian.org>
and subject line Bug#225466: fixed in glibc 2.3.2.ds1-11
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 30 Dec 2003 00:54:29 +0000
>From davidm@napali.hpl.hp.com Mon Dec 29 18:54:28 2003
Return-path: <davidm@napali.hpl.hp.com>
Received: from palrel12.hp.com [156.153.255.237] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Ab7Cn-0003pG-00; Mon, 29 Dec 2003 17:53:49 -0600
Received: from hplms2.hpl.hp.com (hplms2.hpl.hp.com [15.0.152.33])
	by palrel12.hp.com (Postfix) with ESMTP id CC8C01C01B34
	for <submit@bugs.debian.org>; Mon, 29 Dec 2003 15:53:48 -0800 (PST)
Received: from napali.hpl.hp.com (napali.hpl.hp.com [15.4.89.123])
	by hplms2.hpl.hp.com (8.12.10/8.12.10/HPL-PA Hub) with ESMTP id hBTNrlkI001616;
	Mon, 29 Dec 2003 15:53:48 -0800 (PST)
Received: from napali.hpl.hp.com (napali [127.0.0.1])
	by napali.hpl.hp.com (8.12.9/8.12.9/Debian-5) with ESMTP id hBTNrlVR019031;
	Mon, 29 Dec 2003 15:53:47 -0800
Received: (from davidm@localhost)
	by napali.hpl.hp.com (8.12.9/8.12.9/Debian-5) id hBTNrl2H019027;
	Mon, 29 Dec 2003 15:53:47 -0800
Message-Id: <200312292353.hBTNrl2H019027@napali.hpl.hp.com>
X-URL: http://www.hpl.hp.com/personal/David_Mosberger/
Reply-To: davidm@hpl.hp.com
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: David Mosberger <davidm@hpl.hp.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libc6.1: thread-creation fails after setting non-page-aligned stack limit
X-Mailer: reportbug 2.37
Date: Mon, 29 Dec 2003 15:52:53 -0800
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 
	2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_12_29 
	(1.212-2003-09-23-exp) on master.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=HAS_PACKAGE autolearn=no 
	version=2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_12_29
X-Spam-Level: 

Package: libc6.1
Version: 2.3.2.ds1-10.0.1
Severity: normal
Tags: sid patch

I noticed that I can no longer load a directory via dired.  The
root-cause of the problem appears to be that Emacs uses setrlimit() to
set RLIMIT_STACK.  This limit won't be page-size-aligned in general.
As a result, whenever Emacs ends up spawning a subprocess for an
executable that uses NPTL, the subprocess fails with an error like
this:

  init.c:259: __pthread_initialize_minimal_internal: Assertion `__default_stacksize % __sysconf (_SC_PAGESIZE) == 0' failed.

A workaround is to start Emacs with LD_ASSUME_KERNEL=2.4.18.

The proper fix is already in the CVS libc and consists of these two
patches:

 http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/nptl/init.c.diff?r1=1.42&r2=1.43&cvsroot=glibc
 http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/nptl/init.c.diff?r1=1.40&r2=1.41&cvsroot=glibc

I'd appreciate if these patches could be incorported into the Debian
libc package, so that Emacs is more usable again.

Note: I originally reported this problem for Emacs (see bug #224344),
but it is clear now that this is really a libc problem.

Thanks,

	--david

-- System Information:
Debian Release: testing/unstable
Architecture: ia64
Kernel: Linux wailua.hpl.hp.com 2.6.0 #121 Fri Dec 19 10:37:07 PST 2003 ia64
Locale: LANG=C, LC_CTYPE=C

Versions of packages libc6.1 depends on:
ii  libdb1-compat                 2.1.3-7    The Berkeley database routines [gl

-- no debconf information


---------------------------------------
Received: (at 225466-close) by bugs.debian.org; 20 Jan 2004 21:53:48 +0000
>From katie@auric.debian.org Tue Jan 20 13:53:48 2004
Return-path: <katie@auric.debian.org>
Received: from auric.debian.org [206.246.226.45] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Aj3oi-0003Vp-00; Tue, 20 Jan 2004 13:53:48 -0800
Received: from katie by auric.debian.org with local (Exim 3.35 1 (Debian))
	id 1Aj3lS-0006eF-00; Tue, 20 Jan 2004 16:50:26 -0500
From: Daniel Jacobowitz <dan@debian.org>
To: 225466-close@bugs.debian.org
X-Katie: $Revision: 1.43 $
Subject: Bug#225466: fixed in glibc 2.3.2.ds1-11
Message-Id: <E1Aj3lS-0006eF-00@auric.debian.org>
Sender: Archive Administrator <katie@auric.debian.org>
Date: Tue, 20 Jan 2004 16:50:26 -0500
Delivered-To: 225466-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_01_20 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=no 
	version=2.60-bugs.debian.org_2004_01_20
X-Spam-Level: 

Source: glibc
Source-Version: 2.3.2.ds1-11

We believe that the bug you reported is fixed in the latest version of
glibc, which is due to be installed in the Debian FTP archive:

glibc-doc_2.3.2.ds1-11_all.deb
  to pool/main/g/glibc/glibc-doc_2.3.2.ds1-11_all.deb
glibc_2.3.2.ds1-11.diff.gz
  to pool/main/g/glibc/glibc_2.3.2.ds1-11.diff.gz
glibc_2.3.2.ds1-11.dsc
  to pool/main/g/glibc/glibc_2.3.2.ds1-11.dsc
libc-udeb_2.3.2.ds1-11_i386.udeb
  to pool/main/g/glibc/libc-udeb_2.3.2.ds1-11_i386.udeb
libc6-dbg_2.3.2.ds1-11_i386.deb
  to pool/main/g/glibc/libc6-dbg_2.3.2.ds1-11_i386.deb
libc6-dev_2.3.2.ds1-11_i386.deb
  to pool/main/g/glibc/libc6-dev_2.3.2.ds1-11_i386.deb
libc6-i686_2.3.2.ds1-11_i386.deb
  to pool/main/g/glibc/libc6-i686_2.3.2.ds1-11_i386.deb
libc6-pic_2.3.2.ds1-11_i386.deb
  to pool/main/g/glibc/libc6-pic_2.3.2.ds1-11_i386.deb
libc6-prof_2.3.2.ds1-11_i386.deb
  to pool/main/g/glibc/libc6-prof_2.3.2.ds1-11_i386.deb
libc6_2.3.2.ds1-11_i386.deb
  to pool/main/g/glibc/libc6_2.3.2.ds1-11_i386.deb
locales_2.3.2.ds1-11_all.deb
  to pool/main/g/glibc/locales_2.3.2.ds1-11_all.deb
nscd_2.3.2.ds1-11_i386.deb
  to pool/main/g/glibc/nscd_2.3.2.ds1-11_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 225466@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Jacobowitz <dan@debian.org> (supplier of updated glibc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 20 Jan 2004 09:41:48 -0500
Source: glibc
Binary: libc6.1-prof libc6-i686 libc1 libc0.3-pic locales glibc-doc libc6-pic libc-udeb libc1-prof libc0.3 libc0.3-dbg libc6.1-dev libc1-pic libc6-s390x libc6-prof libc1-dbg libc6-dev-sparc64 libc6 libc0.3-dev libc6-dbg nscd libc6.1-dbg libc6.1-pic libc6-sparc64 libc6-dev libc0.3-prof libc6-sparcv9 libc6.1 libc6-dev-s390x libc1-dev
Architecture: source i386 all
Version: 2.3.2.ds1-11
Distribution: unstable
Urgency: low
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Changed-By: Daniel Jacobowitz <dan@debian.org>
Description: 
 glibc-doc  - GNU C Library: Documentation
 libc-udeb  - GNU C Library: Shared libraries and Timezone data - udeb (udeb)
 libc6      - GNU C Library: Shared libraries and Timezone data
 libc6-dbg  - GNU C Library: Libraries with debugging symbols
 libc6-dev  - GNU C Library: Development Libraries and Header Files
 libc6-i686 - GNU C Library: Shared libraries [i686 optimized]
 libc6-pic  - GNU C Library: PIC archive library
 libc6-prof - GNU C Library: Profiling Libraries
 locales    - GNU C Library: National Language (locale) data [support]
 nscd       - GNU C Library: Name Service Cache Daemon
Closes: 218131 218717 219839 220693 220983 221010 221317 222886 223241 223769 223891 224744 225466 225601 226483 226688
Changes: 
 glibc (2.3.2.ds1-11) unstable; urgency=low
 .
   * Jeff Bailey <jbailey@nisa.net>
 .
    - debian/control.in/s390x: Remove -dev dependency on gcc-3.2.
    - debian/sysdeps/s390.mk: Add missing )
    - debian/rules: Fixes for cross-compiling
    - debian/patches/90_glibc233_tcsetaddr.dpatch: LSB Fix for tcgetattr
      (Closes: #218131)
    - debian/sysdeps/depflags.pl: Update wine conflicts.
      (Closes: #218717)
    - debian/sysdeps/depflags.pl: Update cyrus-imapd conflicts.
      (Closes: #220983)
    - debian/sysdeps/sparc.mk: Force -m32 when building sparcv9
    - debian/patches/glibc-sparc-timing.dpatch: New file to let sparcv9 works.
      (Closes: #222886)
    - debian/patches/nptl-page-align.dpatch: New file to fix page
      alignment troubles.  (Closes: #223241, #225466)
 .
    - debian/patches/hurd-exit-attr-hidden.dpatch: New file to fix
      compilation on gcc-3.3 and hurd-i386
    - debian/patches/hurd-i386-hwcap.dpatch: New file to give the needed
      i386 HWCAP defines on hurd-i386
    - debian/patches/hurd-libc-lock.dpatch: New file to fix FTBFS on hurd-i386
    - debian/patches/hurd-utmp-file.dpatch: New file to fix FTBFS on
      non-Linux.
    - debian/patches/glibc23-cmov.dpatch: Update for moved i386 HWCAP
      definitions.
    - debian/patches/glibc23-sse-oldkernel.dpatch: Updated for
      severelly munged sysdeps/unix/sysv/linux/i386/dl-procinfo.h
      Thanks to Barry deFreese for helping get these in order.
 .
    - debian/patches/00list: Update
 .
    - debian/debhelper.in/libc.preinst: For Linux kernels of the form
      x.y.z-n, fail the install if z >= 255. (Closes: #226688)
      Thanks to James Morrison and Kevin Everets for help on the wording
      of the error message.
 .
    - debian/sysdeps/sparc.mk: Revert Ben's change of '-mcpu=v8
      -mtune=ultrasparc'.  This was misleading because it was always
      overridden by the glibc Makefile and had no effect.
 .
   * Phil Blundell <pb@debian.org>
 .
    - Require linux-kernel-headers >= 2.5.999-test7-bk-9 to avoid module-
      related problems on ARM.
 .
   * Ben Collins <bcollins@debian.org>
 .
     - Bump sparcv9 back to -mcpu=v8 -mtune=ultrasparc.  Should fix sparcv9.
 .
   * Daniel Jacobowitz <dan@debian.org>
 .
     - Pass CC to configure; should fix sparc64.
     - Suppress the errno warning message for now.  Update to point to
       README.Debian.gz.
       - debian/patches/glibc23-errno-hack.dpatch, debian/FAQ
     - Redirect dpkg -s sysvinit's stderr to /dev/null (Closes: #225601).
     - Fix <bits/syscall.h> on MIPS targets.  Thanks to Guido Guenther
       for testing and improvements to the patch (Closes: #223891, #226483).
       - debian/patches/mips-asm-unistd.dpatch
     - Fix for GCC <sgidefs.h> changes from Thiemo Seufer (Closes: #224744).
       - debian/patches/mips-sgidefs.dpatch
     - Fix i386-linux build failure.
       - debian/patches/glibc23-sse-oldkernel.dpatch
     - Quote a backslash in libc.preinst
 .
   * GOTO Masanori  <gotom@debian.org>
 .
     - debian/debhelper.in/glibc-doc.links: add missing links for
       pthread_mutex_*(), pthread_mutexattr_*(), pthread_cond_*(), and
       pthread_condattr_*().
     - debian/control.in/main: remove Build-Depends-Indep: latex2html.
       (Closes: #221317)
 .
     - debian/local/etc_init.d/devpts.sh: rename to mountkernfs.
     - debian/local/etc_init.d/mountkernfs: rename from devpts.sh, for
       adding to mount tmpfs(shmfs), sysfs, and usbfs.
     - debian/local/etc_default/tmpfs: add to control tmpfs upper limit size.
     - debian/debhelper.in/libc.dirs: add to make /sys.
     - debian/debhelper.in/libc.install: add mountkernfs and tmpfs,
       remove devpts.sh.
     - debian/debhelper.in/libc.postrm: rename devpts.sh to mountkernfs.
     - debian/debhelper.in/libc.postinst: likewise.
     - debian/local/etc_init.d/mountkernfs: fix devpts_mounted to check
       its pathname is exactly started from the top directory.
 .
     - debian/debhelper.in/libc.preinst: fix preinst does not stop
       on mips even if it's kernel version is < 2.4.22.  (Closes: #223769)
 .
     - debian/po/pt_BR.po: Update pt_BR debconf template translation.
       Patched by Andre Luis Lopes <andrelop@debian.org>.  (Closes: #219839)
     - debian/po/nl.po: Update nl debconf template translation.
       Patched by cobaco <cobaco@linux.be>.  (Closes: #220693)
 .
   * Carlos O'Donell <carlos@baldric.uwo.ca>
 .
     - debian/patches/51_glibc232-hppa-dist.dpatch: Add entry.h to dist.
     - debian/patches/51_glibc232-hppa-profiling.dpatch: Fix profile support.
       (Closes: #221010)
Files: 
 a7d0a1e213579c1ac94e257cfd4fc438 1577 libs required glibc_2.3.2.ds1-11.dsc
 2951fde13e9ba21d70d8c7e580849730 1997696 libs required glibc_2.3.2.ds1-11.diff.gz
 60d66debc535c92a8befbb8c018d2fac 3835002 doc optional glibc-doc_2.3.2.ds1-11_all.deb
 134c9042d724ac3b53a82f2f53f31f7a 3926206 base standard locales_2.3.2.ds1-11_all.deb
 16f54fa73150feaf89e35e8aecc7a711 4877886 base required libc6_2.3.2.ds1-11_i386.deb
 3b3d413a21b08607a38be4f056b4d22d 2529614 libdevel standard libc6-dev_2.3.2.ds1-11_i386.deb
 e09bc6000a235304faa06d26de4dcee6 9271346 libdevel extra libc6-dbg_2.3.2.ds1-11_i386.deb
 1068f6d4a422e0faaffac29adc2f03de 2003672 libdevel extra libc6-prof_2.3.2.ds1-11_i386.deb
 24f3d82b56dcaf6c624312b1439a5a4a 1030058 libdevel optional libc6-pic_2.3.2.ds1-11_i386.deb
 70f8bf263ba30b9da67e10069d8475e6 963466 libs extra libc6-i686_2.3.2.ds1-11_i386.deb
 1b282dafb51e60120035f5cd7c71dd6d 85512 admin optional nscd_2.3.2.ds1-11_i386.deb
 73949fc7bdd845a7811736b033d5d4c9 714370 debian-installer required libc-udeb_2.3.2.ds1-11_i386.udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFADZsabgOPXuCjg3cRAg1dAKCNxhYzTsx2Yrq7J3CtTXVHmWHgEgCePQR/
AYlWhz6SooByzDfBo3lKlbc=
=i8TV
-----END PGP SIGNATURE-----



Reply to: