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

Bug#165412: marked as done (libc6: SIGRTMIN defined as -1 with libc 2.3.1, as 32 with 2.2.5)



Your message dated Mon, 18 Nov 2002 12:33:00 -0500
with message-id <E18Dplc-0004RT-00@auric.debian.org>
and subject line Bug#165412: fixed in glibc 2.3.1-4
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; 18 Oct 2002 21:14:24 +0000
>From oskar@osk.mine.nu Fri Oct 18 16:14:24 2002
Return-path: <oskar@osk.mine.nu>
Received: from as2-1-6.lh.m.bonet.se (alpha) [194.236.130.162] (mail)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 182eRr-0006tK-00; Fri, 18 Oct 2002 16:14:24 -0500
Received: from oskar ([192.168.1.2] ident=mail)
	by alpha with esmtp (Exim 3.36 #1 (Debian))
	id 182eO9-00083A-00
	for <submit@bugs.debian.org>; Fri, 18 Oct 2002 23:10:33 +0200
Received: from usel by oskar with local (Exim 3.36 #1 (Debian))
	id 182eRn-0001Pz-00; Fri, 18 Oct 2002 23:14:19 +0200
From: Oskar Liljeblad <oskar@osk.mine.nu>
Subject: libc6: SIGRTMIN defined as -1 with libc 2.3.1, as 32 with 2.2.5
To: submit@bugs.debian.org
X-Mailer: bug 3.3.10.2
Message-Id: <E182eRn-0001Pz-00@oskar>
Date: Fri, 18 Oct 2002 23:14:19 +0200
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=0.6 required=5.0
	tests=SPAM_PHRASE_00_01
	version=2.41
X-Spam-Level: 

Package: libc6
Version: 2.3.1-1
Severity: important

(I consider this important as it breaks all programs using this
signal entirely. I wouldn't blame you for lowing the severity
though...)

Ok, SIGRTMIN evaluates to -1 with libc6 2.3.1. With libc6 2.2.5
it would evaluate to 32.

SIGRTMIN is defined glibc-2.3.1/sysdeps/unix/sysv/{arch}/bits/signum.h
as:

  #define SIGRTMIN        (__libc_current_sigrtmin ())

The function __libc_current_sigrtmin is defined in
glibc-2.3.1/sysdeps/generic/allocrtsig.c like this:

  int
  __libc_current_sigrtmin (void)
  {
  #ifdef __SIGRTMIN
    if (!initialized)
      init ();
  #endif
    return current_rtmin;
  }

__SIGRTMIN is also defined in the signum.h file specified above,
like this:

  #define __SIGRTMIN      32

The init function is defined like this:

  static void
  init (void)
  {  
    if (!kernel_has_rtsig ())
      {
        current_rtmin = -1;
        current_rtmax = -1;
      }
    else
      {
        current_rtmin = __SIGRTMIN;
        current_rtmax = __SIGRTMAX;
      }
    initialized = 1;
  }

And kernel_has_rtsig is defined in two places, sysdeps/generic/testrtsig.h
and sysdeps/unix/sysv/linux/testrtsig.h. In the former, it is defined
like this:

  static int
  kernel_has_rtsig (void)
  {
    return 0;
  }

And in the latter:

  static int
  kernel_has_rtsig (void)
  {
  #if __ASSUME_REALTIME_SIGNALS
    return 1;
  #else
    struct utsname name;

    return uname (&name) == 0 && __strverscmp (name.release, "2.1.70") >= 0;
  #endif
  }

Maybe the problem is that when glibc-2.3.1/sysdeps/generic/allocrtsig.c
includes testrtsig.h, it does it like this:

  #include "testrtsig.h"

and the wrong file is used. I don't know...

Oskar Liljeblad (oskar@osk.mine.nu)

-- System Information
Debian Release: testing/unstable
Kernel Version: Linux oskar 2.4.19 #3 Fri Oct 4 17:30:42 CEST 2002 i686 unknown unknown GNU/Linux

Versions of the packages libc6 depends on:
ii  libdb1-compat  2.1.3-6        The Berkeley database routines [glibc 2.0/2.

---------------------------------------
Received: (at 165412-close) by bugs.debian.org; 18 Nov 2002 17:39:24 +0000
>From katie@auric.debian.org Mon Nov 18 11:39:23 2002
Return-path: <katie@auric.debian.org>
Received: from auric.debian.org [206.246.226.45] (mail)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18Dprn-0003JI-00; Mon, 18 Nov 2002 11:39:23 -0600
Received: from katie by auric.debian.org with local (Exim 3.35 1 (Debian))
	id 18Dplc-0004RT-00; Mon, 18 Nov 2002 12:33:00 -0500
From: Jeff Bailey <jbailey@nisa.net>
To: 165412-close@bugs.debian.org
X-Katie: $Revision: 1.28 $
Subject: Bug#165412: fixed in glibc 2.3.1-4
Message-Id: <E18Dplc-0004RT-00@auric.debian.org>
Sender: Archive Administrator <katie@auric.debian.org>
Date: Mon, 18 Nov 2002 12:33:00 -0500
Delivered-To: 165412-close@bugs.debian.org

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.1-4_all.deb
  to pool/main/g/glibc/glibc-doc_2.3.1-4_all.deb
glibc_2.3.1-4.diff.gz
  to pool/main/g/glibc/glibc_2.3.1-4.diff.gz
glibc_2.3.1-4.dsc
  to pool/main/g/glibc/glibc_2.3.1-4.dsc
libc-udeb_2.3.1-4_i386.udeb
  to pool/main/g/glibc/libc-udeb_2.3.1-4_i386.udeb
libc6-dbg_2.3.1-4_i386.deb
  to pool/main/g/glibc/libc6-dbg_2.3.1-4_i386.deb
libc6-dev_2.3.1-4_i386.deb
  to pool/main/g/glibc/libc6-dev_2.3.1-4_i386.deb
libc6-pic_2.3.1-4_i386.deb
  to pool/main/g/glibc/libc6-pic_2.3.1-4_i386.deb
libc6-prof_2.3.1-4_i386.deb
  to pool/main/g/glibc/libc6-prof_2.3.1-4_i386.deb
libc6_2.3.1-4_i386.deb
  to pool/main/g/glibc/libc6_2.3.1-4_i386.deb
locales_2.3.1-4_all.deb
  to pool/main/g/glibc/locales_2.3.1-4_all.deb
nscd_2.3.1-4_i386.deb
  to pool/main/g/glibc/nscd_2.3.1-4_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 165412@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jeff Bailey <jbailey@nisa.net> (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: Mon, 18 Nov 2002 09:29:37 -0500
Source: glibc
Binary: libc6.1-prof 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.1 libc6-dev-s390x libc1-dev
Architecture: source i386 all
Version: 2.3.1-4
Distribution: unstable
Urgency: low
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Changed-By: Jeff Bailey <jbailey@nisa.net>
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-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: 140054 162414 163260 165412 165892 165959 166450 168890 169176
Changes: 
 glibc (2.3.1-4) unstable; urgency=low
 .
   * Daniel Jacobowitz <dan@debian.org>
     - debian/patches/cvs.patch: Fix RCS ID tags.
     - debian/rules, debian/sysdeps/sysdeps.mk: Move i386 optimization
       hack out of the rules file and put debugging information back in
       libc6-dbg for i386 (Closes: #165892).
     - debian/patches/crypt.dpatch: Fix initialization in crypt_r
       (Closes: #163260).
     - debian/patches/rtsig.dpatch: Fix the value of SIGRTMIN in non-threaded
       applications (Closes: #165412).
     - debian/rules, debian/packages.d/libc-dev.mk,
       debian/packages.d/libc-udeb.mk: Don't use '{}' wildcards, to fix
       building with /bin/sh -> ash.
 .
   * GOTO Masanori <gotom@debian.or.jp>
     - debian/libc/DEBIAN/postinst: add more NSS services:
         samba, courier-authdaemon
     - debian/packages.d/sparc64.mk: fix build error.
     - debian/libc/DEBIAN/postinst: modify apache2 service,
       apache2 ships its init script in apache2-common, but the script
       is in apache2. So replace from apach2-common to apach2 is needed.
       Closes: #165959
     - debian/patches/cvs.patch: Hurd trailing slash handling fixed.
       Closes: #162414
     - debian/patches/locales-stuff.dpatch: Fixed error generating de_CH,
       it's caused by typo. Closes: #140054
 .
   * Jeff Bailey <jbailey@nisa.net>
     - debian/patches/cvs.dpatch: New file.
     - debian/patches/0list: Update
     - debian/sysdeps/depflags.pl: Conflict against libnss-db <= 2.2-6
       Thanks to Ryan Murray for the patch.  Closes: #168890
 .
     - debian/patches/s390x-lib64.dpatch: New file.
     - debian/control.in/s390x: New file.
     - debian/libc-s390x/postinst: New file.
     - debian/packages.d/libc-dev.mk: Handle asm-s390x
     - debian/packages.d/s390x.mk: New file.
     - debian/rules: Include s390x files.
     - debian/rules.d/control.mk: Add s390x to control_deps, and include
       control.in/s390x
     - debian/sysdeps/linux.mk: Add s390x support.
 .
     Thanks to Gerhard Tonn.  Closes: #169176, #166450.
 .
     - debian/control.in/main: Update Standards-Version to 3.5.7.0
 .
     - debian/patches/glibc22-hppa-fcntl.dpatch: Remove File
     - debian/patches/glibc22-hppa-fcntl-lfs.dpatch: Remove File
     - debian/patches/glibc22-hppa-mcontext.dpatch: Remove File
     - debian/patches/glibc22-hppa-pthreads.dpatch: Remove File
     - debian/patches/glibc22-hppa-rela.dpatch: Remove File
     - debian/patches/glibc22-hppa-tests.dpatch: Remove File
     - debian/patches/glibc22-hppa-unwind.dpatch: Remove File
 .
     - debian/patches/hurd-fork-fix.dpath: New File.
 .
     Note: CVS patch disabled for this upload
Files: 
 eb050893c4d607337a7be8487e674999 1505 libs required glibc_2.3.1-4.dsc
 b4a5617c7a06cabcc71d001c1851c198 831070 libs required glibc_2.3.1-4.diff.gz
 18ebcefb31e9f5edb07b83f8746e4e1c 3188484 base required libc6_2.3.1-4_i386.deb
 1dabba675fa74321da4c6585466161c0 519292 debian-installer required libc-udeb_2.3.1-4_i386.udeb
 5da4c7c0e8705c0357e42dce013aa16e 2386238 devel standard libc6-dev_2.3.1-4_i386.deb
 06a823df6a048054551310f2a08569be 890672 devel extra libc6-prof_2.3.1-4_i386.deb
 2de7036e46b532153a9a8e62acf1e5bb 5234642 devel extra libc6-dbg_2.3.1-4_i386.deb
 78e59c6f9b9c62b8dfa27790e713865f 826328 devel optional libc6-pic_2.3.1-4_i386.deb
 d8fab923504934c9548a726c05e96d5f 62602 admin optional nscd_2.3.1-4_i386.deb
 82621266178440939ecc2195d861ab2e 3686034 base standard locales_2.3.1-4_all.deb
 b0d66ede715d0424c8402029997def0e 2953854 doc optional glibc-doc_2.3.1-4_all.deb

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

iD8DBQE92Qtv5M5hmdCYCpkRArN3AJ43+bw0cL9qAn0UQS6GMqlmHYIwMwCeMdrV
dG21BaFhe6By19rOS3ijOak=
=OEHM
-----END PGP SIGNATURE-----



Reply to: