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: Jesper Angelo <guru@borsen.dk>
Date: Fri, 10 Jul 1998 10:33:00 UTC
Severity: normal
Merged with 24414
Found in version 2.0.7r-5
Fixed in version glibc/2.2-6
Done: Ben Collins <bcollins@debian.org>
Bug is archived. No further changes may be made.
View this report as an mbox folder, status mbox, maintainer mbox
Acknowledgement sent to Jesper Angelo <guru@borsen.dk>
:
New bug report received and forwarded.
Your message didn't have a Package: line at the start (in the pseudo-header following the real mail header), or didn't have a psuedo-header at all.
This makes it much harder for us to categorise and deal with your problem report; please ensure that you say which package(s) and version(s) the problem is with next time. Some time in the future the problem reports system may start rejecting such messages.
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
================================ [ PROBLEM ] ================================ Package: libc6 Version: 2.0.7r-5 Severity: Seriuos After upgrading to libc6 version 2.0.7r-5 (from 2.0.7r-2), our mysql database started hanging/failing with the error 'Out of thread space/memory'. Testing several versions of mysql (Debian dist., binary release from tcx, source compiled on system), in different versions, we have ruled out that mySql is the problem. (Also, it *was* running smoothly yesterday...on the previous release of libc6) Our server is running on a Dual 300MHz Pentium II (Dell PowerEdge 4200). We have also found the problem on a single 2333 MHz Pentium II system (Dell OptiPlex GXa). We have not (yet?) been able to provoke the error on an older single processor 133 MHz Pentium (586). The problem seem to be directly caused by a total large number of thread operations from one application (aprx. 15.000-20.000), as done by mySql... Restarting the mySql server every 10.000 operation (5 min on our server) helps. The easiest way to demonstrate this fault is with the mySql benchmark program. First and second (sometimes third time) this is run, it completes with no errors. After this, libc6 "gets tired", and the benchmark program produces: # ./run-all-tests Benchmark DBD suit: 1.2 Date of test: 1998-07-10 11:11:22 Running tests on: Linux 2.0.34 i686 Arguments: Comments: Limits from: Got error: 'Out of thread space/memory' when connecting to DBI:mysql:test:localhost with user: '' password: '' at /usr/lib/mysql/sql-bench/server-cfg line 150. guru:/usr/lib/mysql/sql-bench# ./run-all-tests Benchmark DBD suit: 1.2 Date of test: 1998-07-10 11:13:30 Running tests on: Linux 2.0.34 i686 Arguments: Comments: Limits from: Server version: MySQL 3.21.31 ATIS: Total time: 74 secs (13.22 usr 4.61 sys = 17.83 cpu) big-tables: Total time: 27 secs ( 2.26 usr 1.58 sys = 3.84 cpu) connect: Can't execute connect. Check the 'output' directory After the 'Out of thread space/memory' error, the server is still running, but its impossible to both connect to it as to kill it with anything else than kill -9 <pid of mysql root process>. Following the process with "watch mysqladmin status" shows that crash typically (but not always) happens after aprx. 15000 mysql database requests. The number of simultanous threads never got past 5. ================================ [ INFO BLOCK ] ================================ Debian version: 2.0 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Kernel: Linux 2.0.34 #3 Tue Jul 7 11:09:18 CEST 1998 i686 unknown ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ libc versions ------------- # ls -l /lib/libc* -rwxr-xr-x 1 root root 650904 Jul 4 20:53 /lib/libc-2.0.7.so lrwxrwxrwx 1 root root 14 Jul 2 10:13 /lib/libc.so.5 -> libc.so.5.4.38 -rwxr-xr-x 1 root root 584776 Jun 7 14:09 /lib/libc.so.5.4.38 lrwxrwxrwx 1 root root 13 Jul 9 11:04 /lib/libc.so.6 -> libc-2.0.7.so ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ libc6 package information ------------------------- # dpkg --list libc6 Desired=Unknown/Install/Remove/Purge | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-===============-==============-============================================ ii libc6 2.0.7r-5 The GNU C library version 2 (run-time files) # dpkg --status libc6 Package: libc6 Status: install ok installed Priority: required Section: base Installed-Size: 1502 Maintainer: Dale Scheetz <dwarf@polaris.net> Source: glibc Version: 2.0.7r-5 Pre-Depends: ldso (>= 1.8.10-1) Conflicts: libc5 (<< 5.4.33-7), libpthread0 (<< 0.7-10) Description: The GNU C library version 2 (run-time files). Includes shared libraries needed to run programs. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Hardware -------- # cat /proc/cpuinfo processor : 0 cpu : 686 model : 3 vendor_id : GenuineIntel stepping : 4 fdiv_bug : no hlt_bug : no f00f_bug : no fpu : yes fpu_exception : yes cpuid : yes wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic 11 mtrr pge mca cmov mmx bogomips : 299.01 processor : 1 cpu : 686 model : 3 vendor_id : GenuineIntel stepping : 4 fdiv_bug : no hlt_bug : no f00f_bug : no fpu : yes fpu_exception : yes cpuid : yes wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic 11 mtrr pge mca cmov mmx bogomips : 298.19 # cat /proc/meminfo total: used: free: shared: buffers: cached: Mem: 263393280 256016384 7376896 83283968 85561344 77365248 Swap: 131567616 0 131567616 MemTotal: 257220 kB MemFree: 7204 kB MemShared: 81332 kB Buffers: 83556 kB Cached: 75552 kB SwapTotal: 128484 kB SwapFree: 128484 kB ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Webserver --------- Apache Server Status for atlas.borsen.dk Server Version: Apache/1.3.0 (Unix) Debian/GNU PHP/3.0 Server Built: Jun 11 1998 12:47:25 Current Time: Friday, 10-Jul-1998 11:48:25 CEST Restart Time: Friday, 10-Jul-1998 10:29:03 CEST Server uptime: 1 hour 19 minutes 22 seconds Total accesses: 21155 - Total Traffic: 34.3 MB CPU Usage: u14.56 s21.21 cu1.02 cs2.62 - .828% CPU load 4.44 requests/sec - 7.4 kB/second - 1701 B/request 18 requests currently being processed, 13 idle servers WK__KKW_.K_KK_.KK.W...WKK_.K_KK__.___..K_....................... ................................................................ ................................................................ ................................................................ Scoreboard Key: "_" Waiting for Connection, "S" Starting up, "R" Reading Request, "W" Sending Reply, "K" Keepalive (read), "D" DNS Lookup, "L" Logging, "G" Gracefully finishing, "." Open slot with no current process Srv PID Acc M CPU SS Req Conn Child Slot Host VHost Request 0 32567 1/4/585 W 0.20 1 373 0.0 0.000 0.81 152.73.42.122 www.borsen.dk ... <...snip 60 more entries...> Srv Server number PID OS process ID Acc Number of accesses this connection / this child / this slot M Mode of operation CPU CPU usage, number of seconds SS Seconds since beginning of most recent request Req Milliseconds required to process most recent request Conn Kilobytes transferred this connection Child Megabytes transferred this child Slot Total megabytes transferred this slot
Bug assigned to package `libc6'.
Request was from jdassen@wi.leidenuniv.nl
to control@bugs.debian.org
.
(full text, mbox, link).
Severity set to `normal'.
Request was from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>
to control@bugs.debian.org
.
(full text, mbox, link).
Merged 24412 24414.
Request was from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>
to control@bugs.debian.org
.
(full text, mbox, link).
Reply sent to Ben Collins <bcollins@debian.org>
:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Jesper Angelo <guru@borsen.dk>
:
Bug acknowledged by developer.
(full text, mbox, link).
Message #16 received at 24414-close@bugs.debian.org (full text, mbox, reply):
We believe that the bug you reported is fixed in the latest version of glibc, which has been installed in the Debian FTP archive: libc6-dev_2.2-6_powerpc.deb to pool/main/g/glibc/libc6-dev_2.2-6_powerpc.deb locales_2.2-6_all.deb to pool/main/g/glibc/locales_2.2-6_all.deb libc6-prof_2.2-6_sparc.deb to pool/main/g/glibc/libc6-prof_2.2-6_sparc.deb nscd_2.2-6_powerpc.deb to pool/main/g/glibc/nscd_2.2-6_powerpc.deb libc6-dbg_2.2-6_sparc.deb to pool/main/g/glibc/libc6-dbg_2.2-6_sparc.deb nscd_2.2-6_i386.deb to pool/main/g/glibc/nscd_2.2-6_i386.deb i18ndata_2.2-6_all.deb to pool/main/g/glibc/i18ndata_2.2-6_all.deb libc6-prof_2.2-6_powerpc.deb to pool/main/g/glibc/libc6-prof_2.2-6_powerpc.deb libc6-i686_2.2-6_i386.deb to pool/main/g/glibc/libc6-i686_2.2-6_i386.deb libc6-dbg_2.2-6_i386.deb to pool/main/g/glibc/libc6-dbg_2.2-6_i386.deb libc6-pic_2.2-6_sparc.deb to pool/main/g/glibc/libc6-pic_2.2-6_sparc.deb libc6_2.2-6_i386.deb to pool/main/g/glibc/libc6_2.2-6_i386.deb glibc_2.2-6.diff.gz to pool/main/g/glibc/glibc_2.2-6.diff.gz libc6-dev_2.2-6_i386.deb to pool/main/g/glibc/libc6-dev_2.2-6_i386.deb libc6-pic_2.2-6_i386.deb to pool/main/g/glibc/libc6-pic_2.2-6_i386.deb glibc_2.2-6.dsc to pool/main/g/glibc/glibc_2.2-6.dsc libc6_2.2-6_sparc.deb to pool/main/g/glibc/libc6_2.2-6_sparc.deb libc6-prof_2.2-6_i386.deb to pool/main/g/glibc/libc6-prof_2.2-6_i386.deb nscd_2.2-6_sparc.deb to pool/main/g/glibc/nscd_2.2-6_sparc.deb glibc-doc_2.2-6_all.deb to pool/main/g/glibc/glibc-doc_2.2-6_all.deb libc6-pic_2.2-6_powerpc.deb to pool/main/g/glibc/libc6-pic_2.2-6_powerpc.deb libc6-dbg_2.2-6_powerpc.deb to pool/main/g/glibc/libc6-dbg_2.2-6_powerpc.deb libc6-dev_2.2-6_sparc.deb to pool/main/g/glibc/libc6-dev_2.2-6_sparc.deb libc6-v9_2.2-6_sparc.deb to pool/main/g/glibc/libc6-v9_2.2-6_sparc.deb libc6_2.2-6_powerpc.deb to pool/main/g/glibc/libc6_2.2-6_powerpc.deb libc6-i586_2.2-6_i386.deb to pool/main/g/glibc/libc6-i586_2.2-6_i386.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 24414@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Ben Collins <bcollins@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: Fri, 15 Dec 2000 15:30:16 -0500 Source: glibc Binary: locales libc0.2-dbg glibc-doc nscd libc6-i586 libc6.1-dbg libc6-i686 libc0.2 libc6-dbg libc6-v9 libc0.2-prof libc6.1 libc6 libc0.2-pic libc6.1-prof libc6-prof libc0.2-dev libc6.1-pic libc6-pic i18ndata libc6.1-dev libc6-dev Architecture: source all sparc powerpc i386 Version: 2.2-6 Distribution: unstable Urgency: low Maintainer: Ben Collins <bcollins@debian.org> Changed-By: Ben Collins <bcollins@debian.org> Description: glibc-doc - GNU C Library: Documentation i18ndata - GNU C Library: National Language (locale) data [source] libc6 - GNU C Library: Shared libraries and Timezone data libc6-dbg - GNU C Library: Libraries with debugging symbols libc6-dev - GNU C Library: Development Libraries and Header Files. libc6-pic - GNU C Library: PIC archive library libc6-prof - GNU C Library: Profiling Libraries. libc6-v9 - GNU C Library: Shared libraries [v9 optimized] libc6-i586 - GNU C Library: Shared libraries [i586 optimized] libc6-i686 - GNU C Library: Shared libraries [i686 optimized] locales - GNU C Library: National Language (locale) data [support] nscd - GNU C Library: Name Service Cache Daemon Closes: 10689 17528 19168 20988 21272 23547 24414 24652 25773 26226 27227 29675 30427 31465 31502 33197 34442 35089 35123 35624 35644 36139 36498 37296 37409 37681 38028 39077 39080 39562 39578 39582 39585 39693 39705 40053 40184 41455 41800 41917 41947 41952 42088 42135 42512 42912 42944 46173 48476 52420 52914 53748 57101 57729 58713 59429 59622 60743 61154 64074 64878 65634 66138 66757 70012 70658 74164 74945 75473 75865 77170 78495 78881 78937 79221 79224 Changes: glibc (2.2-6) unstable; urgency=low . * Added m68k lchown fixes, plus removed conflict for libstdc++2.10-dev on m68k. Bug/patch provided by Michael Fedrowitz <michael.fedrowitz@informatik.uni-ulm.de>, closes: #78937 * libc-opt: added memprof to the death list of packages that don't work with our optimized libraries, closes: #79224 * Added Provides: glibc2.2 to libc6/libc6.1/libc0.2 so I can make locales dep on it, closes: #78495 * CVS sync as of 2000-12-15 * Fixed previously: closes: #75865, #77170, #75473 * Added a "." counter while checking services for install, closes: #78881 * %hhn works as expected in i386 in this version of glibc, closes: #79221 * Looks like this is resolved, closes: #59429 * The libc info page says not to use fgets on streams that may have NULL char's, which sockets might, closes: #57729 * This is probably fixed, if not reopen it please, closes: #24414 * Well this bug report has no report in the BTS, I am going to assume from the age and type of the title, that it is fixed, closes: #21272 * Old ld.so issue, most likely resolved in hamm, closes: #46173 * This bug is a simple programming mistake. For one the child never fills the buffer in certain cases, so it's contents are never flushed. If the program called fflush after every output, then it works fine, closes: #26226 * The new upgrade code in libc postint should resolve this, closes: #64074 * This is a compilation error. libc.so.6 does not contain fxstat (libc-nonshared.a does), so if you don't link properly (like with gcc), you will miss some symbols, closes: #36139 * Similar to the above, also resolved, closes: #30427 * Old ld.so bug, fixed, closes: #70658 * Current localedef doesn't seem to segv on improper input, closes: #65634, #64878 * YAOLDSOB (Yet Another LDSO Bug), closes: #42944 * Lack of useful info in the BTS ("I suspect glibc" doesn't cut it), closes: #36498 * Someone needs to read release notes, closes: #41455 * Uh, tzconfig works. Tzselect is not for changing timezones, but for querying what the available ones are. From tzselect(1): . Note that tzselect will not actually change the timezone for you. Use the tzconfig(8) utility to achieve this. . So you see, this is how it's meant to be, closes: #37409 * Fixed in glibc 2.2, closes: #42512 * a) all init scripts need to support restart b) postinst uses stop/start now anyway c) postinst fails much better now when things go wrong . closes: #52914 * getaddrinfo does DNS lookups regardless because of the nature of the function. Also it handles ipv4/ipv6 better now, closes: #60743 * I don't see why libc6 needs to create /etc/rcS.d/ when dpkg does it so closes: #66138 * strstr seems pretty fast now, closes: #10689 * Latest emacs/libc6 is working fine, closes: #48476 * YAOLDSOB, closes: #42135 * libstdc++-v3/glibc2.2 compiles fine together, closes: #66757 * strerror() with maxerror+1 works as expected now, closes: #40184 * No other info, and no similar reports. Assuming user error, closes: #31465 * Old ssh-nonfree getting a sigsegv is not a bug in libc6, but sshd, closes: #41800 * Restarting woffle already, closes: #74164 * I believe this was due to some old nss1 issues, which are now resolved during upgrades, closes: #35089 * This is something libc6 itself cannot fix. Either way, rsh/rlogin is broken by nature, closes: #19168 * Well, I can't retroactively go back to hamm and add a stub for setresuid(), closes: #29675 * Fixed upstream a long time ago, closes: #39693 * From unix/getlogin.c: . /* Get name of tty connected to fd 0. Return NULL if not a tty or if fd 0 isn't open. Note that a lot of documentation says that getlogin() is based on the controlling terminal---what they really mean is "the terminal connected to standard input". The getlogin() implementation of DEC Unix, SunOS, Solaris, HP-UX all return NULL if fd 0 has been closed, so this is the compatible thing to do. Note that ttyname(open("/dev/tty")) on those systems returns /dev/tty, so that is not a possible solution for getlogin(). */ . So basically, closes: #17528 * Current nis/nss-compat code looks like it handles this right, closes: #33197 * libc6 cannot compensate for broken coding, closes: #42912 * nprocs is fixed in 2.2, closes: #57101 * libdb.so.2 does have shlibs now, closes: #39578 * getcwd now returns NULL in the case shown in this bug report, so there is no suprise if the program checks the return correctly, closes: #27227 * Adduser now restarts nscd as needed, closes: #37296 * getaddrinfo fixes for ipv4/ipv6 fixes this, closes: #58713 * Programs using libc5/libc6 at the same time via dynamically loading libc5 apps from a libc6 apps) simply does not work, closes: #42088 * getaddrinfo fix, closes: #70012 * libc-64 was never meant to work right, closes: #53748 * libNoVersion.so.1 is gone, closes: #37681 * libc/postinst is file-rc friendly now, closes: #40053 * libdb2 is no longer a reference for libdb stuff, closes: #61154 * ld.so/ldconfig now have man pages, closes: #41917 * Bah, libtricks is old and gone, closes: #39080 * /var/state/glibc is gone, closes: #39562, #39705 * glibc no longer includes db/db2, so look for docs in those seperate packages, closes: #23547 * scsi/scsi.h is there, closes: #31502 * linux/joystick.h is there, closes: #38028 * db.h is no longer in libc6-dev, closes: #39077, #74945 * nprocs works on sparc now, closes: #52420 * ldd now supports libc5 better, closes: #35644 * Unreproducable, closes: #39582, #25773, #35624, #35123 * /var/lib/misc/Makefile does not refer to /var/db, closes: #41947 * llseek is obsolete, use lseek64 now, closes: #20988 * Actually this looks like an error in the program, closes: #41952 * Hmm, I would guess that libc6/libc5.4.38 is correct, and libc5.4.17 is wrong, close: #21839 * Fixed in the Before Time, during the Great Long-Long Ago, closes: #39585, #34442, #59622, #24652 * That's all for now... Files: d3f54e6f043aa7553347577e3309c740 1069 libs required glibc_2.2-6.dsc 3d6939d2bb7f0a89f02a1e24753e538d 556928 libs required glibc_2.2-6.diff.gz e140e92c90f0098b0addb515062068e9 3401834 base required libc6_2.2-6_sparc.deb 900ce8aeeec887856055b43bce16f5e5 2330376 devel standard libc6-dev_2.2-6_sparc.deb 300208e4b121c50d5c81d1fc9474a543 971026 devel extra libc6-prof_2.2-6_sparc.deb 285945a50567f8d255cb2af743b83694 2824524 devel extra libc6-dbg_2.2-6_sparc.deb fdec002e9f2388322f68042ceaeb3a4b 850026 devel extra libc6-pic_2.2-6_sparc.deb c1951c98aec054b4c386a44b1d903b3a 902314 libs extra libc6-v9_2.2-6_sparc.deb 746b27236f339608ae15cd316a3fa40b 40946 admin optional nscd_2.2-6_sparc.deb b75f644d33a1e4da03762ec621a7ff0c 576598 admin standard locales_2.2-6_all.deb b2b2914a04b057d293d1c0f281cc7d1f 2403278 admin extra i18ndata_2.2-6_all.deb e0a827139c11f580bf8d2e86d14fc9d4 2500616 doc optional glibc-doc_2.2-6_all.deb 2d6871f7f7ba478d7bc840abccfe51d7 3055550 base required libc6_2.2-6_i386.deb d4f7686f9c53d9eeada0fc0222b685a5 2174674 devel standard libc6-dev_2.2-6_i386.deb e23322ffa892918c5400123b3096d7ef 882864 devel extra libc6-prof_2.2-6_i386.deb ae37b4c99b6589b8e1531712ab5a40e0 2574304 devel extra libc6-dbg_2.2-6_i386.deb c01aa3292df57d381a609ade98b63bda 780074 devel extra libc6-pic_2.2-6_i386.deb d012076eac70e9422bd20aad2e1237a8 917116 libs extra libc6-i586_2.2-6_i386.deb 965a609bac8e3bacf0785e67b474a4f7 916004 libs extra libc6-i686_2.2-6_i386.deb 4f28bf9425bfb1f020c1193c0c28ba5b 40802 admin optional nscd_2.2-6_i386.deb 4786d4647af7cdcc6c73eef721f72a2b 3535288 base required libc6_2.2-6_powerpc.deb cd97a92d129322beb45bb808ac45b262 2162178 devel standard libc6-dev_2.2-6_powerpc.deb 318311d43eb65e8b4b0c8926c63b3af9 1052058 devel extra libc6-prof_2.2-6_powerpc.deb 9ca47cdca8776c6a0f3955f6069e6cfa 2865738 devel extra libc6-dbg_2.2-6_powerpc.deb 8c258a50112dbd55ce472a9e4d150b0a 866318 devel extra libc6-pic_2.2-6_powerpc.deb 750e6d7254851571b076285eeaaa0e19 41634 admin optional nscd_2.2-6_powerpc.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.1 (GNU/Linux) Comment: Ben Collins <bcollins@debian.org> iD8DBQE6PGMJfNc/ZB4E7C0RAhzBAJ92ZIFAtcJA0/Sc2YXoZurzY+HkcQCgorow WjEpa3xO76P2zwix5wMm18w= =TRsD -----END PGP SIGNATURE-----
Send a report that this bug log contains spam.
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.