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

Bug#41051: marked as done (Threads problem (libpthread.so.0) with libc6_2.1.1-12)



Your message dated Tue, 1 Aug 2000 19:08:15 -0400
with message-id <20000801190815.S2696@visi.net>
and subject line submitter claims it is fixed
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.)

Darren Benham
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 9 Jul 1999 14:32:38 +0000
Received: (qmail 21981 invoked from network); 9 Jul 1999 14:32:38 -0000
Received: from cegt201.bradley.edu (root@136.176.30.101)
  by master.debian.org with SMTP; 9 Jul 1999 14:32:38 -0000
Received: from wolfsbane (joda@alibaba-1.slip.bradley.edu [136.176.9.11])
	by cegt201.bradley.edu (8.9.1/8.9.1) with SMTP id JAA08631
	for <submit@bugs.debian.org>; Fri, 9 Jul 1999 09:24:26 -0500 (CDT)
Sender: joda@cegt201.bradley.edu
Message-ID: <378607E0.659ED52F@rhf.bradley.edu>
Date: Fri, 09 Jul 1999 09:32:00 -0500
From: "J.D." <jodaman@rhf.bradley.edu>
X-Mailer: Mozilla 3.04Gold (X11; I; Linux 2.0.36 i586)
MIME-Version: 1.0
To: submit@bugs.debian.org
Subject: Threads problem (libpthread.so.0) with libc6_2.1.1-12
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Package: libc6
Version: 2.1.1-12

The following problem occured after updating to the above mentioned
debian package in a Debian 2.1 environment.  Executing a binary that
uses pthreads, compiled in Debian 2.0 or 2.1, results in the following
error:
Segmentation fault

Recompilation of my program fixed the problem.  However, 
recompilation should not be necessary.  Following are the library
dependencies for the program that exposed the problem:

:~/bin$ ldd test
        libpthread.so.0 => /lib/libpthread.so.0 (0x40006000)
        libc.so.6 => /lib/libc.so.6 (0x40017000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00000000)

The binaries and source of the test program are available at
http://ee1.bradley.edu/~jodaman/deb/libc6_2.1.1-12.bugdemo.tgz

My first guess of the problem is broken binary compatibility between the
shared libraries, libpthread-0.7.so (in Debian 2.0 
and Debian 2.1) and libpthread-0.8.so (only in the libc6_2.1.1
package).  However, as far as I know, it could be glibc's fault, as I
found the following dependencies of libpthread:

:~$ ldd /lib/libpthread-0.8.so 
        libc.so.6 => /lib/libc.so.6 (0x40015000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00000000)

After replacing libpthread-0.8.so with libpthread-0.7.so again, I got
the same problem (Segmentation fault) with the old binary. (The new
binary now also fails, as expected).  This suggests a potential problem
with glibc that conflicts with information in the glibc FAQ (included in
libc6_2.1.1-12.deb):

  2.27.   What needs to be recompiled when upgrading from
          glibc 2.0 to glibc 2.1?

          {AJ,CG} If you just upgrade the glibc from 2.0.x
          (x <= 7) to 2.1, binaries that have been linked
          against glibc 2.0 will continue to work.

Debian 2.0 and 2.1 use glibc 2.0.7, and so the above statement
applies.  By this, glibc (libc.so.6) or it's dynamic linker
(ld-linux.so.2) in libc6_2.1.1-12.deb violates the desired behavior.

Test environment:
Debian 2.1 (i386) + libc6_2.1.1-12 + libc6-dev_2.1.1-12,
Linux 2.0.36.

Please let me know if you have any questions, comments, or 
especially solutions.

Regards,

- John
(jodaman@ee1.bradley.edu)
---------------------------------------
Received: (at 41051-done) by bugs.debian.org; 1 Aug 2000 23:09:08 +0000
>From bmc@visi.net Tue Aug 01 18:09:08 2000
Return-path: <bmc@visi.net>
Received: from ppp19.ts7-2.newportnews.visi.net (blimpo.internal.net) [209.8.197.19] 
	by master.debian.org with esmtp (Exim 3.12 2 (Debian))
	id 13Jl9j-0001Yl-00; Tue, 01 Aug 2000 18:09:08 -0500
Received: from bmc by blimpo.internal.net with local (Exim 3.12 #1 (Debian))
	id 13Jl8x-0001TA-00
	for <41051-done@bugs.debian.org>; Tue, 01 Aug 2000 19:08:15 -0400
Date: Tue, 1 Aug 2000 19:08:15 -0400
From: Ben Collins <bcollins@debian.org>
To: 41051-done@bugs.debian.org
Subject: submitter claims it is fixed
Message-ID: <20000801190815.S2696@visi.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Mutt/1.0.1i
Sender: Ben Collins <bmc@visi.net>
Delivered-To: 41051-done@bugs.debian.org

Closing

-- 
 -----------=======-=-======-=========-----------=====------------=-=------
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'



Reply to: