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

Bug#586098: marked as done (libc6: simple prog in C crash on strcmp before main when linked with dbus)



Your message dated Thu, 24 Jun 2010 21:34:33 +0000
with message-id <E1ORu49-0005EG-0J@ries.debian.org>
and subject line Bug#585937: fixed in eglibc 2.11.2-2
has caused the Debian Bug report #585937,
regarding libc6: simple prog in C crash on strcmp before main when linked with dbus
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
585937: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=585937
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libc6
Version: 2.11.1-3
Severity: important


After upgrading to libc6  2.11.1-3, my prog crash when linked with libdbus-1 

DBus:
ii  libdbus-1-3                               1.2.1-5+lenny1              simple interprocess messaging system
ii  libdbus-1-dev                             1.2.1-5+lenny1              simple interprocess messaging system (development headers)


Example with a.c :
/* vim: set ts=2 sw=2 expandtab: */

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

int toto( char *titi ) { 
    char * member = "toto";
    
    if ( strcmp( member, "NameAcquired" ) == 0 ) {
    return 0;
    }
  return 0;
}

int main() {
  printf("Good\n\n\n");
  return 0;
}

with $ gcc a.c -o a.out -g -Wall  && ./a.out
Good

and with $ gcc a.c -o a.out -g -Wall -ldbus-1  && ./a.out 
Erreur de segmentation ( coredump )

Backtrace with gdb: $ gdb ./a.out 
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
(gdb) run
Starting program: /home/murlock/perso/ks363913/linux/dbus-prog/client-server/a.out 

Program received signal SIGSEGV, Segmentation fault.
0x00000000006009c0 in strcmp@@GLIBC_2.2.5 ()
(gdb) bt
#0  0x00000000006009c0 in strcmp@@GLIBC_2.2.5 ()
#1  0x00007f3c372db671 in ?? () from /lib64/ld-linux-x86-64.so.2
#2  0x00007f3c372d3980 in ?? () from /lib64/ld-linux-x86-64.so.2
#3  0x00007f3c372e4767 in ?? () from /lib64/ld-linux-x86-64.so.2
#4  0x00007f3c372d1423 in ?? () from /lib64/ld-linux-x86-64.so.2
#5  0x00007f3c372d0af8 in ?? () from /lib64/ld-linux-x86-64.so.2
#6  0x0000000000000001 in ?? ()
#7  0x00007fff553eb569 in ?? ()
#8  0x0000000000000000 in ?? ()
(gdb)


-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (900, 'stable'), (100, 'testing'), (10, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libc6 depends on:
ii  libc-bin                      2.11.1-3   Embedded GNU C Library: Binaries
ii  libgcc1                       1:4.4.4-1  GCC support library

libc6 recommends no packages.

Versions of packages libc6 suggests:
ii  debconf [debconf-2.0]         1.5.24     Debian configuration management sy
pn  glibc-doc                     <none>     (no description available)
ii  locales                       2.11.1-3   Embedded GNU C Library: National L

-- debconf information:
* glibc/upgrade: true
  glibc/disable-screensaver:
  glibc/restart-failed:
* glibc/restart-services: gdm ssh samba openbsd-inetd exim4 cups cron



--- End Message ---
--- Begin Message ---
Source: eglibc
Source-Version: 2.11.2-2

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

eglibc-source_2.11.2-2_all.deb
  to main/e/eglibc/eglibc-source_2.11.2-2_all.deb
eglibc_2.11.2-2.diff.gz
  to main/e/eglibc/eglibc_2.11.2-2.diff.gz
eglibc_2.11.2-2.dsc
  to main/e/eglibc/eglibc_2.11.2-2.dsc
glibc-doc_2.11.2-2_all.deb
  to main/e/eglibc/glibc-doc_2.11.2-2_all.deb
libc-bin_2.11.2-2_amd64.deb
  to main/e/eglibc/libc-bin_2.11.2-2_amd64.deb
libc-dev-bin_2.11.2-2_amd64.deb
  to main/e/eglibc/libc-dev-bin_2.11.2-2_amd64.deb
libc6-dbg_2.11.2-2_amd64.deb
  to main/e/eglibc/libc6-dbg_2.11.2-2_amd64.deb
libc6-dev-i386_2.11.2-2_amd64.deb
  to main/e/eglibc/libc6-dev-i386_2.11.2-2_amd64.deb
libc6-dev_2.11.2-2_amd64.deb
  to main/e/eglibc/libc6-dev_2.11.2-2_amd64.deb
libc6-i386_2.11.2-2_amd64.deb
  to main/e/eglibc/libc6-i386_2.11.2-2_amd64.deb
libc6-pic_2.11.2-2_amd64.deb
  to main/e/eglibc/libc6-pic_2.11.2-2_amd64.deb
libc6-prof_2.11.2-2_amd64.deb
  to main/e/eglibc/libc6-prof_2.11.2-2_amd64.deb
libc6-udeb_2.11.2-2_amd64.udeb
  to main/e/eglibc/libc6-udeb_2.11.2-2_amd64.udeb
libc6_2.11.2-2_amd64.deb
  to main/e/eglibc/libc6_2.11.2-2_amd64.deb
libnss-dns-udeb_2.11.2-2_amd64.udeb
  to main/e/eglibc/libnss-dns-udeb_2.11.2-2_amd64.udeb
libnss-files-udeb_2.11.2-2_amd64.udeb
  to main/e/eglibc/libnss-files-udeb_2.11.2-2_amd64.udeb
locales-all_2.11.2-2_amd64.deb
  to main/e/eglibc/locales-all_2.11.2-2_amd64.deb
locales_2.11.2-2_all.deb
  to main/e/eglibc/locales_2.11.2-2_all.deb
nscd_2.11.2-2_amd64.deb
  to main/e/eglibc/nscd_2.11.2-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 585937@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 eglibc 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.8
Date: Thu, 24 Jun 2010 21:03:55 +0200
Source: eglibc
Binary: libc-bin libc-dev-bin glibc-doc eglibc-source locales locales-all nscd libc6 libc6-dev libc6-dbg libc6-prof libc6-pic libc6-udeb libc6.1 libc6.1-dev libc6.1-dbg libc6.1-prof libc6.1-pic libc6.1-udeb libc0.3 libc0.3-dev libc0.3-dbg libc0.3-prof libc0.3-pic libc0.3-udeb libc0.1 libc0.1-dev libc0.1-dbg libc0.1-prof libc0.1-pic libc0.1-udeb libc6-i386 libc6-dev-i386 libc6-sparc64 libc6-dev-sparc64 libc6-s390x libc6-dev-s390x libc6-amd64 libc6-dev-amd64 libc6-powerpc libc6-dev-powerpc libc6-ppc64 libc6-dev-ppc64 libc6-mipsn32 libc6-dev-mipsn32 libc6-mips64 libc6-dev-mips64 libc0.1-i386 libc0.1-dev-i386 libc6-sparcv9b libc6-i686 libc6-xen libc0.1-i686 libc6.1-alphaev67 libnss-dns-udeb libnss-files-udeb
Architecture: source all amd64
Version: 2.11.2-2
Distribution: unstable
Urgency: medium
Maintainer: Aurelien Jarno <aurel32@debian.org>
Changed-By: Aurelien Jarno <aurel32@debian.org>
Description: 
 eglibc-source - Embedded GNU C Library: sources
 glibc-doc  - Embedded GNU C Library: Documentation
 libc-bin   - Embedded GNU C Library: Binaries
 libc-dev-bin - Embedded GNU C Library: Development binaries
 libc0.1    - Embedded GNU C Library: Shared libraries
 libc0.1-dbg - Embedded GNU C Library: detached debugging symbols
 libc0.1-dev - Embedded GNU C Library: Development Libraries and Header Files
 libc0.1-dev-i386 - GNU C Library: 32bit development libraries for AMD64
 libc0.1-i386 - GNU C Library: 32bit shared libraries for AMD64
 libc0.1-i686 - GNU C Library: Shared libraries [i686 optimized]
 libc0.1-pic - Embedded GNU C Library: PIC archive library
 libc0.1-prof - Embedded GNU C Library: Profiling Libraries
 libc0.1-udeb - Embedded GNU C Library: Shared libraries - udeb (udeb)
 libc0.3    - Embedded GNU C Library: Shared libraries
 libc0.3-dbg - Embedded GNU C Library: detached debugging symbols
 libc0.3-dev - Embedded GNU C Library: Development Libraries and Header Files
 libc0.3-pic - Embedded GNU C Library: PIC archive library
 libc0.3-prof - Embedded GNU C Library: Profiling Libraries
 libc0.3-udeb - Embedded GNU C Library: Shared libraries - udeb (udeb)
 libc6      - Embedded GNU C Library: Shared libraries
 libc6-amd64 - GNU C Library: 64bit Shared libraries for AMD64
 libc6-dbg  - Embedded GNU C Library: detached debugging symbols
 libc6-dev  - Embedded GNU C Library: Development Libraries and Header Files
 libc6-dev-amd64 - GNU C Library: 64bit Development Libraries for AMD64
 libc6-dev-i386 - GNU C Library: 32-bit development libraries for AMD64
 libc6-dev-mips64 - GNU C Library: 64bit Development Libraries for MIPS64
 libc6-dev-mipsn32 - GNU C Library: n32 Development Libraries for MIPS64
 libc6-dev-powerpc - GNU C Library: 32bit powerpc development libraries for ppc64
 libc6-dev-ppc64 - GNU C Library: 64bit Development Libraries for PowerPC64
 libc6-dev-s390x - GNU C Library: 64bit Development Libraries for IBM zSeries
 libc6-dev-sparc64 - GNU C Library: 64bit Development Libraries for UltraSPARC
 libc6-i386 - GNU C Library: 32-bit shared libraries for AMD64
 libc6-i686 - GNU C Library: Shared libraries [i686 optimized]
 libc6-mips64 - GNU C Library: 64bit Shared libraries for MIPS64
 libc6-mipsn32 - GNU C Library: n32 Shared libraries for MIPS64
 libc6-pic  - Embedded GNU C Library: PIC archive library
 libc6-powerpc - GNU C Library: 32bit powerpc shared libraries for ppc64
 libc6-ppc64 - GNU C Library: 64bit Shared libraries for PowerPC64
 libc6-prof - Embedded GNU C Library: Profiling Libraries
 libc6-s390x - GNU C Library: 64bit Shared libraries for IBM zSeries
 libc6-sparc64 - GNU C Library: 64bit Shared libraries for UltraSPARC
 libc6-sparcv9b - GNU C Library: Shared libraries [v9b optimized]
 libc6-udeb - Embedded GNU C Library: Shared libraries - udeb (udeb)
 libc6-xen  - GNU C Library: Shared libraries [Xen version]
 libc6.1    - Embedded GNU C Library: Shared libraries
 libc6.1-alphaev67 - GNU C Library: Shared libraries (EV67 optimized)
 libc6.1-dbg - Embedded GNU C Library: detached debugging symbols
 libc6.1-dev - Embedded GNU C Library: Development Libraries and Header Files
 libc6.1-pic - Embedded GNU C Library: PIC archive library
 libc6.1-prof - Embedded GNU C Library: Profiling Libraries
 libc6.1-udeb - Embedded 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    - Embedded GNU C Library: National Language (locale) data [support]
 locales-all - Embedded GNU C Library: Precompiled locale data
 nscd       - Embedded GNU C Library: Name Service Cache Daemon
Closes: 585937 586241
Changes: 
 eglibc (2.11.2-2) unstable; urgency=medium
 .
   [ Aurelien Jarno ]
   * control.in/libc: update the Conflicts on binutils to (<< 2.20.1-1)
     and add a Conflicts on binutils-gold (<< 2.20.1-11). Closes: #585937.
   * Replace patches/alpha/local-longjmp-chk.diff by upstream version
     patches/alpha/cvs-longjmp-chk.diff.
   * Add patches/any/cvs-redirect-throw.diff to fix some header files
     with regard to C++.
   * Add patches/any/cvs-flush-cache-textrels.diff to fix random crashes
     on ARM, if the executable or shared library has TEXTREL.
   * Add patches/any/cvs-__block.diff from upstream to not conflict with
     clang.
   * script.in/nohwcap.sh: consider all packages not in status "n" (not
     installed) and not in status "c" (conf-files) as installed.  Closes:
     bug#586241.
 .
   [ Samuel Thibault ]
   * patches/hurd-i386/local-pthread_posix-option.diff: Avoid letting glibc try
     to install its own headers for libpthread.
 .
   [ Carlos O'Donell]
   * Add patches/hppa/cvs-vfork.diff to fix stack frame creating during
     vfork in multithreaded environments.
Checksums-Sha1: 
 d5ae482b2c8162bdf0c9b33402d0891ff1424e5f 2699 eglibc_2.11.2-2.dsc
 66365c50e6e7a2e19704d25f88d75095a650d3cb 802959 eglibc_2.11.2-2.diff.gz
 1f3e45af9eb5376e7441727134bbf2a21358bad7 1842584 glibc-doc_2.11.2-2_all.deb
 d598ecd77a0864cd519ffeac0e5617214da7a1a0 11058418 eglibc-source_2.11.2-2_all.deb
 dcb23d515e15d9420307af4c00d15965a1bb5ba7 4755088 locales_2.11.2-2_all.deb
 170feac33574b6555c360e9bea9a27a9d6a9d38b 4259134 libc6_2.11.2-2_amd64.deb
 e19ed3d3702326f3c59455f899e0e6bc938f0009 2587692 libc6-dev_2.11.2-2_amd64.deb
 56bd2fdf8e3f6142d356d9ba2c852710f3a9f74d 2031406 libc6-prof_2.11.2-2_amd64.deb
 dec380be3cdbca3e6f1526128c5811ef1dbd6842 1545048 libc6-pic_2.11.2-2_amd64.deb
 bb519879975adbb0ae3aa6e60e4cfa52209a8897 744414 libc-bin_2.11.2-2_amd64.deb
 44d3acc1aad701476adcdd34ea7ecfc8a1db6e8f 205676 libc-dev-bin_2.11.2-2_amd64.deb
 27ad1e6d20c890e24a86ebf527d77e68ebfb7b09 3783850 locales-all_2.11.2-2_amd64.deb
 f6ced68bc7529f8c63c6f0b142aee86e75aa2ada 3801538 libc6-i386_2.11.2-2_amd64.deb
 75146361615a692d27c8a859811980cb264406fd 1522384 libc6-dev-i386_2.11.2-2_amd64.deb
 0140ecb38a7171b388b3e8128b4053e1cdfe0f8e 194756 nscd_2.11.2-2_amd64.deb
 1b9f398985764c9cbeb51530d898dd28cb43b10d 10393750 libc6-dbg_2.11.2-2_amd64.deb
 7bb27fba42e6c8aa9afe889a44fde6e58d3a44d2 1150664 libc6-udeb_2.11.2-2_amd64.udeb
 77f38bb669842f8917b4474dad613ceccb00e97e 11120 libnss-dns-udeb_2.11.2-2_amd64.udeb
 13e08fbbdd09427bdc7dc241530d89c9f08a41a6 19676 libnss-files-udeb_2.11.2-2_amd64.udeb
Checksums-Sha256: 
 08f7f3f474e942c91b88c7da42e142be405baecffe6418b24a56a7cef1742215 2699 eglibc_2.11.2-2.dsc
 94940e04d7116582656e99e049e3229808f8896ec07414ffb8b6a460f51a8978 802959 eglibc_2.11.2-2.diff.gz
 bfcb5f77688ae4a79a865fb82e6a6e16c2381ef9441d79de4441e1350d2c9c9f 1842584 glibc-doc_2.11.2-2_all.deb
 2c01a2d76008b80fca687800d7d9dfbec015c07e686c156161b39b7bd6116523 11058418 eglibc-source_2.11.2-2_all.deb
 501a2bbb181271f14ee7605a973ac93cd332d31546c73bd8844c162d79058d68 4755088 locales_2.11.2-2_all.deb
 6fba060954add61b9c7bd5d4aa6dcdf5df00542380eb686b148bdba0fcfb9ba2 4259134 libc6_2.11.2-2_amd64.deb
 5b5ce0a961e8b741cf80e3dd4bf25727b2fd57c786092b27364eacd775cfb41d 2587692 libc6-dev_2.11.2-2_amd64.deb
 374a55eba8568df931e1a6e4f6e262662161bc3f3d1ca2c643106218a38f421c 2031406 libc6-prof_2.11.2-2_amd64.deb
 995761d06fd3ba467d27fd14664a9239f6c7e0ebbd55111ed2a785c1e19f29fb 1545048 libc6-pic_2.11.2-2_amd64.deb
 861ca383ba6a5b9f6ab664bf8544089dff6dbd9af8bedf4b917c85c818ada152 744414 libc-bin_2.11.2-2_amd64.deb
 15c32c9eb27ca460c9033138cfff7575995d93cc0173561b411f90361422afb4 205676 libc-dev-bin_2.11.2-2_amd64.deb
 6c00ff53f46c0d633fb1bac6f209f11b28266b10ddc355dc2416707c10aee5b6 3783850 locales-all_2.11.2-2_amd64.deb
 4c1dc209afa707237c6ccb8e76950009e7c0aeb4dc68bf21a9b2fb08c7db3658 3801538 libc6-i386_2.11.2-2_amd64.deb
 618887d45fb8cb5ed3602c9a63489c80da8487e65b298212071ede741c0d741c 1522384 libc6-dev-i386_2.11.2-2_amd64.deb
 7a463e63f4ff696502c1071643f3102cbc632852383846d64d1b3acf2e221b06 194756 nscd_2.11.2-2_amd64.deb
 c2113fbcca21d3da787f6c1cc38bc5517737a37e883ff551f80a045102c86d5e 10393750 libc6-dbg_2.11.2-2_amd64.deb
 0701579d6ba5cce982f1732c5f38fef9790ce4337b7167d11f5cc2981d45ad1e 1150664 libc6-udeb_2.11.2-2_amd64.udeb
 9e526df451f5349c8f1f5b781684e63f8ed51a7cc702df6108c676e919985f85 11120 libnss-dns-udeb_2.11.2-2_amd64.udeb
 ffb50cd969610cfc06e7f2d7aaddc75d8957543fdb70efa2a1b5193bf48a0b5d 19676 libnss-files-udeb_2.11.2-2_amd64.udeb
Files: 
 9a3be61b6dbdaf7367970e7dd80cacdf 2699 libs required eglibc_2.11.2-2.dsc
 d3794fd0b0f4ce1344b55297bb2fecd8 802959 libs required eglibc_2.11.2-2.diff.gz
 4913c3c65727455c35e283e0b03f70d5 1842584 doc optional glibc-doc_2.11.2-2_all.deb
 aafec613de9ee8d56dff4b1ec000d51b 11058418 devel optional eglibc-source_2.11.2-2_all.deb
 87203786c7cced220ea86d4dcb071fb5 4755088 localization standard locales_2.11.2-2_all.deb
 1213a7700540fc9a10b38a4772f52776 4259134 libs required libc6_2.11.2-2_amd64.deb
 9c468ddf492789531d3582de9f15e958 2587692 libdevel optional libc6-dev_2.11.2-2_amd64.deb
 c316bed9674da1d63431c7feda2a428d 2031406 libdevel extra libc6-prof_2.11.2-2_amd64.deb
 037b5deaf272c0ca1303541eddaefee9 1545048 libdevel optional libc6-pic_2.11.2-2_amd64.deb
 12fcec335580dfccac9c37e5f60fd01d 744414 libs required libc-bin_2.11.2-2_amd64.deb
 7103b38774d2e2381e4b1e1b4780b466 205676 libdevel optional libc-dev-bin_2.11.2-2_amd64.deb
 47ce972df97323c9f99f3ef927e97c54 3783850 localization extra locales-all_2.11.2-2_amd64.deb
 28c6bd9dc0249a82c0336b5e7ea9a0c1 3801538 libs optional libc6-i386_2.11.2-2_amd64.deb
 d373152a33694b44c1e5b3999b39c844 1522384 libdevel optional libc6-dev-i386_2.11.2-2_amd64.deb
 89b8d6a9072c84dffed59c2802093800 194756 admin optional nscd_2.11.2-2_amd64.deb
 9fdb3d5146d495696d7e61fb1196ee63 10393750 debug extra libc6-dbg_2.11.2-2_amd64.deb
 8a0c5f27573afc7bfb82160159ac43aa 1150664 debian-installer extra libc6-udeb_2.11.2-2_amd64.udeb
 94c1a90a4e09c5fb2638bcfe9f815f6f 11120 debian-installer extra libnss-dns-udeb_2.11.2-2_amd64.udeb
 f6b99c27d8f0479f3e9fac4d6b6e800f 19676 debian-installer extra libnss-files-udeb_2.11.2-2_amd64.udeb
Package-Type: udeb

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

iD8DBQFMI8VGw3ao2vG823MRAvhIAJ95rUItzh0w37RZHB78BVshcc1zHACfWbyT
q2dNDfepVIvK8u/0NkN4aTE=
=Kaev
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: