Bug#426000: it's a problem with errno...
I've investigated in this annoying bug, and found that it was a bad interaction between sscanf() code and errno : the problem arises in sscanf() when it's called with errno set to EINTR. I've updated the testcase accordingly, it's joined to this e-mail. The problem doesn't exist in Woody, appeared in Sarge, exists in Etch but seems fixed in Lenny/Sid, I've tested it on a Sid with libc6 2.6-2. Fred. /* Test case for a possible glibc bug. Frédéric Boiteux [EMAIL PROTECTED] Scan two times the same word with a sscanf(). Between them, set the errno to EINTR (instead of a real fonction, to simplify testcase) ; The second scan fails, the '%n' converter isn't honoured ! Tested on i386 architecture : O.K.on Debian GNU/Linux 3.0 (Woody), libc6 version 2.2.5-11.8 Problem on Debian GNU/Linux 3.1 (Sarge), libc6 version 2.3.2.ds1-22sarge6 Problem on Debian GNU/Linux 3.0 (Etch), libc6 version 2.3.6.ds1-13 Sample output : string='Hello', res=1, word='Hello', n=5 string='Hello', res=1, word='Hello', n=-1 *Problem!* */ #include errno.h #include stdio.h void scan(char *string) { int n, res; char word[100]; n = -1; res = sscanf(string, %s %n, word, n); printf(string='%s', res=%d, word='%s', n=%d, string, res, word, n); if ((res == 1) (n 0)) printf( *Problem!*\n); else putchar('\n'); } int main(void) { scan(Hello); // success // success, expected result : // string='Hello', res=1, word='Hello', n=5 // a function call would set the errno to EINTR... errno = EINTR; // uncomment following line to get correct behaviour : // errno = 0; scan(Hello); // fails, 'n' isn't set... return 0; }
Processed: bug 426000 is forwarded to http://sourceware.org/bugzilla/show_bug.cgi?id=4745
Processing commands for [EMAIL PROTECTED]: # Automatically generated email from bts, devscripts version 2.10.6 forwarded 426000 http://sourceware.org/bugzilla/show_bug.cgi?id=4745 Bug#426000: libc6: an interrupted msgrcv() call seems to corrupt sscanf behaviour Noted your statement that Bug has been forwarded to http://sourceware.org/bugzilla/show_bug.cgi?id=4745. End of message, stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#433500: libc6-dev uninstallable
Package: libc6-dev Severity: grave Justification: renders package unusable After having upgraded Debian, libc6-dev got uninstalled. Now I can't install it. Apt reports the following: Package libc6-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: linux-kernel-headers E: Package libc6-dev has no installation candidate -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.20-1-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages libc6-dev depends on: ii libc6 2.6-2 GNU C Library: Shared libraries ii linux-kernel-headers 2.6.18-7 Linux Kernel Headers for developme Versions of packages libc6-dev recommends: ii gcc-3.4 [c-compiler] 3.4.6-5The GNU C compiler ii gcc-4.0 [c-compiler] 4.0.3-7The GNU C compiler ii gcc-4.2 [c-compiler] 4.2-20070712-1 The GNU C compiler -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#433500: marked as done (libc6-dev uninstallable)
Your message dated Tue, 17 Jul 2007 18:06:07 +0200 with message-id [EMAIL PROTECTED] and subject line Bug#433500: libc6-dev uninstallable 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) ---BeginMessage--- Package: libc6-dev Severity: grave Justification: renders package unusable After having upgraded Debian, libc6-dev got uninstalled. Now I can't install it. Apt reports the following: Package libc6-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: linux-kernel-headers E: Package libc6-dev has no installation candidate -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.20-1-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages libc6-dev depends on: ii libc6 2.6-2 GNU C Library: Shared libraries ii linux-kernel-headers 2.6.18-7 Linux Kernel Headers for developme Versions of packages libc6-dev recommends: ii gcc-3.4 [c-compiler] 3.4.6-5The GNU C compiler ii gcc-4.0 [c-compiler] 4.0.3-7The GNU C compiler ii gcc-4.2 [c-compiler] 4.2-20070712-1 The GNU C compiler ---End Message--- ---BeginMessage--- On Tue, Jul 17, 2007 at 04:28:54PM +0100, Claudio Saavedra wrote: Package: libc6-dev Severity: grave Justification: renders package unusable After having upgraded Debian, libc6-dev got uninstalled. Now I can't install it. Apt reports the following: use apt-get dist-upgrade and not upgrade. Package libc6-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: linux-kernel-headers E: Package libc6-dev has no installation candidate -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.20-1-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages libc6-dev depends on: ii libc6 2.6-2 GNU C Library: Shared libraries ii linux-kernel-headers 2.6.18-7 Linux Kernel Headers for developme Versions of packages libc6-dev recommends: ii gcc-3.4 [c-compiler] 3.4.6-5The GNU C compiler ii gcc-4.0 [c-compiler] 4.0.3-7The GNU C compiler ii gcc-4.2 [c-compiler] 4.2-20070712-1 The GNU C compiler -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- ·O· Pierre Habouzit ··O[EMAIL PROTECTED] OOOhttp://www.madism.org pgpafUUK0ihks.pgp Description: PGP signature ---End Message---
Bug#433500: libc6-dev uninstallable
On Tue, 2007-07-17 at 18:06 +0200, Pierre Habouzit wrote: On Tue, Jul 17, 2007 at 04:28:54PM +0100, Claudio Saavedra wrote: Package: libc6-dev Severity: grave Justification: renders package unusable After having upgraded Debian, libc6-dev got uninstalled. Now I can't install it. Apt reports the following: use apt-get dist-upgrade and not upgrade. FYI, that's what I did *before* reporting the bug. It doesn't really fix it and it is still uninstallable. -- Claudio Saavedra [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#433500: libc6-dev uninstallable
On Tue, Jul 17, 2007 at 05:21:22PM +0100, Claudio Saavedra wrote: On Tue, 2007-07-17 at 18:06 +0200, Pierre Habouzit wrote: On Tue, Jul 17, 2007 at 04:28:54PM +0100, Claudio Saavedra wrote: Package: libc6-dev Severity: grave Justification: renders package unusable After having upgraded Debian, libc6-dev got uninstalled. Now I can't install it. Apt reports the following: use apt-get dist-upgrade and not upgrade. FYI, that's what I did *before* reporting the bug. It doesn't really fix it and it is still uninstallable. linux-kernel-headers does not exists, you have to install linux-libc-dev now. Maybe sth is not resolved properly by your apt for one reason or the other, but the package is definitely installable on my machine. ┌─(18:44) └[artemis] dpkg -l libc6-dev linux-libc-dev Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ NameVersion Description +++-===-=-== ii libc6-dev 2.6-2 GNU C Library: Development Libraries and Header Files ii linux-libc-dev 2.6.22-1 Linux Kernel Headers for development libc6-dev 2.6-2 is built on all archs, and there is at least. so what can I say ... there is nothing to fix. -- ·O· Pierre Habouzit ··O[EMAIL PROTECTED] OOOhttp://www.madism.org pgpapmEXyC3ho.pgp Description: PGP signature
Bug#433500: libc6-dev uninstallable
On Tue, 2007-07-17 at 18:48 +0200, Pierre Habouzit wrote: linux-kernel-headers does not exists, you have to install linux-libc-dev now. Maybe sth is not resolved properly by your apt for one reason or the other, but the package is definitely installable on my machine. Installed linux-libc-dev which uninstalled linux-kernel-headers. However, libc6-dev is still not installable. Reason: no installation candidate. If you need more information to triage this please ask. Claudio -- Claudio Saavedra [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#433500: libc6-dev uninstallable
On Tue, Jul 17, 2007 at 06:04:17PM +0100, Claudio Saavedra wrote: On Tue, 2007-07-17 at 18:48 +0200, Pierre Habouzit wrote: linux-kernel-headers does not exists, you have to install linux-libc-dev now. Maybe sth is not resolved properly by your apt for one reason or the other, but the package is definitely installable on my machine. Installed linux-libc-dev which uninstalled linux-kernel-headers. However, libc6-dev is still not installable. Reason: no installation candidate. ┌─(19:25) └[artemis] apt-cache policy libc6-dev libc6-dev: Installed: 2.6-2 Candidate: 2.6-2 Version table: *** 2.6-2 0 500 ftp://mad sid/main Packages 500 ftp://mad lenny/main Packages 100 /var/lib/dpkg/status 2.3.6.ds1-13 0 500 ftp://mad etch/main Packages Again, it works here, I have a libc6-dev. I don't know what you did with your system, but the problem is definitely on _your_ end. You may have hold a package, or tweaked /etc/apt/preferences I don't know, but as you can see, there _is_ a libc6-dev and it's installed here. -- ·O· Pierre Habouzit ··O[EMAIL PROTECTED] OOOhttp://www.madism.org pgp7qe2BsYGNB.pgp Description: PGP signature
Processed: [bts-link] source package glibc
Processing commands for [EMAIL PROTECTED]: # # bts-link upstream status pull for source package glibc # see http://lists.debian.org/debian-devel-announce/2006/05/msg1.html # user [EMAIL PROTECTED] Setting user to [EMAIL PROTECTED] (was [EMAIL PROTECTED]). # remote status report for #426000 # * http://sourceware.org/bugzilla/show_bug.cgi?id=4745 # * remote status changed: (?) - RESOLVED # * remote resolution changed: (?) - FIXED # * closed upstream tags 426000 + fixed-upstream Bug#426000: libc6: an interrupted msgrcv() call seems to corrupt sscanf behaviour There were no tags set. Tags added: fixed-upstream usertags 426000 + status-RESOLVED resolution-FIXED Bug#426000: libc6: an interrupted msgrcv() call seems to corrupt sscanf behaviour There were no usertags set. Usertags are now: resolution-FIXED status-RESOLVED. thanks Stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
[bts-link] source package glibc
# # bts-link upstream status pull for source package glibc # see http://lists.debian.org/debian-devel-announce/2006/05/msg1.html # user [EMAIL PROTECTED] # remote status report for #426000 # * http://sourceware.org/bugzilla/show_bug.cgi?id=4745 # * remote status changed: (?) - RESOLVED # * remote resolution changed: (?) - FIXED # * closed upstream tags 426000 + fixed-upstream usertags 426000 + status-RESOLVED resolution-FIXED thanks
Bug#180065: Weekly Newsletter
Have you wished for a high dollar watch or piece of fine Jewerly? We have the problem solved for you! We provide all the big names for a low fraction of the expense. www.qasswe.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#84169: Weekly Newsletter
Have you wanted a high dollar watch or piece of fine Jewerly? We have the answer for you! We provide all the big names for a low precentage of the price. www.animmkw.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]