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

Bug#380504: marked as done (libc6: segfault in ctermid(NULL))



Your message dated Wed, 16 Aug 2006 16:32:15 -0700
with message-id <E1GDUrv-0008N3-HJ@spohr.debian.org>
and subject line Bug#383362: fixed in glibc 2.3.6.ds1-2
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)

--- Begin Message ---
Package: libc6
Version: 2.3.6-16
Severity: normal

Hello!

This simple program:

$ cat ctermid_broken.c
#include <stdio.h>

int main(int argc, char** argv)
{
	char* s;
	s = ctermid(NULL);
	return 0;
}

gets SIGSEGV:

$ gcc -O0 -g -o ctermid_broken ctermid_broken.c
$ ./ctermid_broken 
Segmentation fault (core dumped)

$ LD_LIBRARY_PATH=/usr/lib/debug gdb --silent ./ctermid_broken 
Using host libthread_db library "/usr/lib/debug/libthread_db.so.1".
(gdb) run
Starting program: /home/pc7135/varg/tmp/ctermid_broken 

Program received signal SIGSEGV, Segmentation fault.
ctermid (s=0x0) at ../sysdeps/posix/ctermid.c:35
35      ../sysdeps/posix/ctermid.c: No such file or directory.
        in ../sysdeps/posix/ctermid.c
(gdb) frame 0
#0  ctermid (s=0x0) at ../sysdeps/posix/ctermid.c:35
35      in ../sysdeps/posix/ctermid.c
(gdb) bt
#0  ctermid (s=0x0) at ../sysdeps/posix/ctermid.c:35
#1  0x08048371 in main () at ctermid_broken.c:7


libc6 packages version 2.3.6-15 (and earlier) don't have such a bug
(feature?).


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.4.32-grsec-acl-hf32.6-i686-smp
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)

Versions of packages libc6 depends on:
ii  tzdata                        2006g-2    Time Zone and Daylight Saving Time

libc6 recommends no packages.

-- no debconf information

Best regards,
 Alexei.

-- 
All science is either physics or stamp collecting.

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: glibc
Source-Version: 2.3.6.ds1-2

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.6.ds1-2_all.deb
  to pool/main/g/glibc/glibc-doc_2.3.6.ds1-2_all.deb
glibc_2.3.6.ds1-2.diff.gz
  to pool/main/g/glibc/glibc_2.3.6.ds1-2.diff.gz
glibc_2.3.6.ds1-2.dsc
  to pool/main/g/glibc/glibc_2.3.6.ds1-2.dsc
libc6-dbg_2.3.6.ds1-2_amd64.deb
  to pool/main/g/glibc/libc6-dbg_2.3.6.ds1-2_amd64.deb
libc6-dev-i386_2.3.6.ds1-2_amd64.deb
  to pool/main/g/glibc/libc6-dev-i386_2.3.6.ds1-2_amd64.deb
libc6-dev_2.3.6.ds1-2_amd64.deb
  to pool/main/g/glibc/libc6-dev_2.3.6.ds1-2_amd64.deb
libc6-i386_2.3.6.ds1-2_amd64.deb
  to pool/main/g/glibc/libc6-i386_2.3.6.ds1-2_amd64.deb
libc6-pic_2.3.6.ds1-2_amd64.deb
  to pool/main/g/glibc/libc6-pic_2.3.6.ds1-2_amd64.deb
libc6-prof_2.3.6.ds1-2_amd64.deb
  to pool/main/g/glibc/libc6-prof_2.3.6.ds1-2_amd64.deb
libc6-udeb_2.3.6.ds1-2_amd64.udeb
  to pool/main/g/glibc/libc6-udeb_2.3.6.ds1-2_amd64.udeb
libc6_2.3.6.ds1-2_amd64.deb
  to pool/main/g/glibc/libc6_2.3.6.ds1-2_amd64.deb
libnss-dns-udeb_2.3.6.ds1-2_amd64.udeb
  to pool/main/g/glibc/libnss-dns-udeb_2.3.6.ds1-2_amd64.udeb
libnss-files-udeb_2.3.6.ds1-2_amd64.udeb
  to pool/main/g/glibc/libnss-files-udeb_2.3.6.ds1-2_amd64.udeb
locales-all_2.3.6.ds1-2_amd64.deb
  to pool/main/g/glibc/locales-all_2.3.6.ds1-2_amd64.deb
locales_2.3.6.ds1-2_all.deb
  to pool/main/g/glibc/locales_2.3.6.ds1-2_all.deb
nscd_2.3.6.ds1-2_amd64.deb
  to pool/main/g/glibc/nscd_2.3.6.ds1-2_amd64.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 383362@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aurelien Jarno <aurel32@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: Thu, 17 Aug 2006 00:32:25 +0200
Source: glibc
Binary: libc0.1-prof libc6-dev-amd64 locales-all libc6-i686 libc6-dev-ppc64 libc0.3-pic glibc-doc libc0.3 libc0.1-i686 libc6.1-dev libc6-s390x libnss-files-udeb libc6-dev-sparc64 libc6-i386 libc0.3-dev libc6-udeb libc6-dbg libc6.1-pic libc6-dev libc0.3-prof libc6-sparcv9 libc0.1-udeb libc6-dev-i386 libc6.1-prof libc0.1-dev locales libc6-pic libc0.3-udeb libc6-dev-powerpc libc0.1-pic libc6-ppc64 libc0.3-dbg libc0.1-dbg libc6-amd64 libc0.1 libc6-prof libc6-xen libc6-powerpc libc6 libc6-sparcv9b libc6.1-udeb libc6.1-dbg nscd libc6-sparc64 libnss-dns-udeb libc6.1 libc6-dev-s390x
Architecture: source amd64 all
Version: 2.3.6.ds1-2
Distribution: unstable
Urgency: low
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Changed-By: Aurelien Jarno <aurel32@debian.org>
Description: 
 glibc-doc  - GNU C Library: Documentation
 libc6      - GNU C Library: Shared libraries
 libc6-dbg  - GNU C Library: Libraries with debugging symbols
 libc6-dev  - GNU C Library: Development Libraries and Header Files
 libc6-dev-i386 - GNU C Library: 32bit development libraries for AMD64
 libc6-i386 - GNU C Library: 32bit shared libraries for AMD64
 libc6-pic  - GNU C Library: PIC archive library
 libc6-prof - GNU C Library: Profiling Libraries
 libc6-udeb - GNU C Library: Shared libraries - udeb (udeb)
 libnss-dns-udeb - GNU C Library: NSS helper for DNS - udeb (udeb)
 libnss-files-udeb - GNU C Library: NSS helper for files - udeb (udeb)
 locales    - GNU C Library: National Language (locale) data [support]
 locales-all - GNU C Library: Precompiled locale data
 nscd       - GNU C Library: Name Service Cache Daemon
Closes: 380504 383276 383362
Changes: 
 glibc (2.3.6.ds1-2) unstable; urgency=low
 .
   [ Aurelien Jarno ]
   * rules.d/build.mk: removed the call to texi2html.  (Closes: #383276).
   * New debian/patches/any/cvs-ctermid.diff from upstream to fix a segfault in
     ctermid(NULL).  Thanks Denis for the hint.  (Closes: #380504, #383362).
   * New debian/patches/localedata/reverted-for-etch.diff: revert a few
     locales changes done in 2.3.6.ds1-1 and refused by the release managers:
     - locales/vi_VN: Various fixes
     - locales/ru_RU: Use U2002 for thousands_sep and mon_throusands_sep.
 .
   [ Denis Barbier ]
   * debian/patches/localedata/cvs-localedata.diff: A new test target
     tst-strfmon1 was previously added into localedata/Makefile,
     so add localedata/tst-strfmon1.c to really perform this test.
Files: 
 3d68448f415b9ffe536d7ee8117cafdf 2111 libs required glibc_2.3.6.ds1-2.dsc
 b66076f13542efca110972e5d8689b1c 875693 libs required glibc_2.3.6.ds1-2.diff.gz
 61691ce8f0a16e5a7530fb351ef491e9 1477320 doc optional glibc-doc_2.3.6.ds1-2_all.deb
 0156f993d9950b0c195d1167079e3176 3953104 libs standard locales_2.3.6.ds1-2_all.deb
 57a9aed412b8bad812f13f20597d9b13 4069868 libs required libc6_2.3.6.ds1-2_amd64.deb
 ec2c3baa7a3ec9ab5888a7214053a2e3 2107036 libdevel standard libc6-dev_2.3.6.ds1-2_amd64.deb
 23094e2e9e7d7de68fe768aaa0854834 1576028 libdevel extra libc6-prof_2.3.6.ds1-2_amd64.deb
 ba995d3886d3de015a5024470bbab999 1402340 libdevel optional libc6-pic_2.3.6.ds1-2_amd64.deb
 bc67a1557f04bda956d7bacb10e4748e 6098648 libs extra locales-all_2.3.6.ds1-2_amd64.deb
 8dcba7850349797029c5382037f184a1 2969986 libs standard libc6-i386_2.3.6.ds1-2_amd64.deb
 6fa7fd7efc6d54f0c7f49b079158f7c6 1569072 libdevel optional libc6-dev-i386_2.3.6.ds1-2_amd64.deb
 41a463551e524203912954d2e5e290d6 143726 admin optional nscd_2.3.6.ds1-2_amd64.deb
 692f534b149d5352ef27c77c97f7e3f6 2345404 libdevel extra libc6-dbg_2.3.6.ds1-2_amd64.deb
 27a1c675ee5f0fa50e74937952574d62 1042616 debian-installer extra libc6-udeb_2.3.6.ds1-2_amd64.udeb
 a35d801330f42cf8da3a8575309090ef 9542 debian-installer extra libnss-dns-udeb_2.3.6.ds1-2_amd64.udeb
 fcfa598641094398d5875aaea77ffef8 17280 debian-installer extra libnss-files-udeb_2.3.6.ds1-2_amd64.udeb
Package-Type: udeb

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

iD4DBQFE46W5w3ao2vG823MRAuryAJiZOgAZxt67XIeL391yXOkXCk2VAJ9RCyl3
hE8Ds9JvrCtFMVsf5JSGOw==
=uQFd
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: