Debian Bug report logs - #17610
sprintf segfaults

version graph

Package: libc6; Maintainer for libc6 is GNU Libc Maintainers <debian-glibc@lists.debian.org>; Source for libc6 is src:glibc (PTS, buildd, popcon).

Reported by: J M Dent <cszjmd@scs.leeds.ac.uk>

Date: Thu, 29 Jan 1998 12:18:01 UTC

Severity: normal

Found in version 2.0.6

Done: Joel Klecker <jk@espy.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Dale Scheetz <dwarf@polaris.net>:
Bug#17610; Package libc6. (full text, mbox, link).


Acknowledgement sent to J M Dent <cszjmd@scs.leeds.ac.uk>:
New bug report received and forwarded. Copy sent to Dale Scheetz <dwarf@polaris.net>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: J M Dent <cszjmd@scs.leeds.ac.uk>
To: submit@bugs.debian.org
Subject: sprintf segfaults
Date: Thu, 29 Jan 1998 11:53:22 GMT
Package: libc6
Version: 2.0.6

When linked with -lpthread, sprintf() segfaults when called. It faults
in pthread_mutex_lock() indicating a lock pointer is wrong or
uninitialised; when not linked with -lpthread it is fine.

The bug seems to be confined to sprintf() as fprintf, printf and
others all seem to behave okay.

Originally discovered when using omniORB2. Get the omniORB2 ORB and
run the omniNames program. Even if the omniORB2 package is recompiled,
omniNames segfaults inside of pthread_mutex_lock() which is called
from sprintf().

denty.

-- 
Denty                        http://www.charmed.demon.co.uk/
University of Leeds, LEEDS, UK. +44 976 767741

``Do you have to let it linger?''
        -- Cranberries


Message sent on to J M Dent <cszjmd@scs.leeds.ac.uk>:
Bug#17610. (full text, mbox, link).


Message #8 received at 17610-submitter@bugs.debian.org (full text, mbox, reply):

From: Joel Klecker <jk@espy.org>
To: 17610-submitter@bugs.debian.org
Subject: Please confirm this bug.
Date: Sun, 14 Feb 1999 11:01:03 -0800
Is this bug still present in the current libc6?

Here's what you wrote:
<<
Package: libc6
Version: 2.0.6

When linked with -lpthread, sprintf() segfaults when called. It faults
in pthread_mutex_lock() indicating a lock pointer is wrong or
uninitialised; when not linked with -lpthread it is fine.

The bug seems to be confined to sprintf() as fprintf, printf and
others all seem to behave okay.

Originally discovered when using omniORB2. Get the omniORB2 ORB and
run the omniNames program. Even if the omniORB2 package is recompiled,
omniNames segfaults inside of pthread_mutex_lock() which is called
from sprintf().

denty.

--
Denty                        http://www.charmed.demon.co.uk/
University of Leeds, LEEDS, UK. +44 976 767741
>>
--
Joel Klecker (aka Espy)                     <URL:http://web.espy.org/>
<URL:mailto:jk@espy.org>                  <URL:mailto:espy@debian.org>
Debian GNU/Linux PowerPC -- <URL:http://www.debian.org/ports/powerpc/>


Reply sent to Joel Klecker <jk@espy.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to J M Dent <cszjmd@scs.leeds.ac.uk>:
Bug acknowledged by developer. (full text, mbox, link).


Message #13 received at 17610-done@bugs.debian.org (full text, mbox, reply):

From: Joel Klecker <jk@espy.org>
To: 17610-done@bugs.debian.org
Subject: Closing due to lack of response.
Date: Fri, 17 Sep 1999 12:29:06 -0700
If this bug still exists, reopen it.
-- 
Joel Klecker (aka Espy)                    Debian GNU/Linux Developer
<URL:mailto:jk@espy.org>                 <URL:mailto:espy@debian.org>
<URL:http://web.espy.org/>               <URL:http://www.debian.org/>


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Apr 24 22:16:27 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.