Debian bug report logs - #1211 libc __nis_getgrnam() segfaults for dpkg when using NIS Package: libc ; Reported by: Anders Chrigstrom ; 85 days old . ----------------------------------------------------------------------- Message received at debian-bugs: From netg.se!ac Mon Aug 7 01:50:48 1995 Return-Path: Received: from pixar.com by mongo.pixar.com with smtp (Smail3.1.28.1 #15) id m0sfNtX-00061qC; Mon, 7 Aug 95 01:50 PDT Received: from fram.netg.se by pixar.com with SMTP id AA23593 (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Mon, 7 Aug 1995 01:50:41 -0700 Received: (from ac@localhost) by fram.netg.se id KAA19969 (8.6.12/IDA-1.6); Mon, 7 Aug 1995 10:50:36 +0200 Date: Mon, 7 Aug 1995 10:50:36 +0200 (MET DST) From: Anders Chrigstrom To: Debian bugs Subject: libc __nis_getgrnam() segfaults for dpkg when using NIS Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Package: libc Version: 4.6.27-5 When unpackaing packages with dpkg an NIS is turned on for groups ('+:::' entry last in /etc/group) __nis_getgrnam() will segfault on line grp/getgrnam.c:121. Transcript from gdb follows: ----- bash# gdb ~ac/dpkg GDB is free software and you are welcome to distribute copies of it under certain conditions; type "show copying" to see the conditions. There is absolutely no warranty for GDB; type "show warranty" for details. GDB 4.14 (i486-debian-linux), Copyright 1995 Free Software Foundation, Inc... (gdb) run -i es-0.84-1.deb Starting program: /home/ac/dpkg -i es-0.84-1.deb (Reading database ... dpkg: serious warning: files list file for package `bison' missing, assuming pac kage has no files currently installed. 8671 files and directories currently installed.) Preparing to replace es (using es-0.84-1.deb) ... Unpacking replacement es ... Program received signal SIGSEGV, Segmentation fault. 0x1db22 in __nis_getgrnam (name=0x5ee01 "", more_members=0x4aec0, info=0x4aee0) at getgrnam.c:121 getgrnam.c:121: No such file or directory. (gdb) bt #0 0x1db22 in __nis_getgrnam (name=0x5ee01 "", more_members=0x4aec0, info=0x4aee0) at getgrnam.c:121 #1 0x1d961 in getgrnam (name=0xbffff801 "") at getgrnam.c:68 #2 0x18440 in DecodeTarHeader (block=0xbffff6d8 "", d=0xbffff6b4) at tarfn.c:61 #3 0x1866b in TarExtractor (userData=0x3ce2c, functions=0x6dcc) at tarfn.c:110 #4 0x8915 in process_archive (filename=0xbffffeb5 "es-0.84-1.deb") at processarc.c:423 #5 0x6cbe in archivefiles (argv=0xbffffe58) at archives.c:513 #6 0x24dd in main (argc=3, argv=0xbffffe58) at main.c:262 (gdb) quit The program is running. Quit anyway (and kill it)? (y or n) y bash# ----- dpkg-0.93.67 was compiled with debugging and without optimization. -- Anders Chrigstrom Email: ac@netg.se TerraTel AB Tfn: +46 31 28 03 73 ----------------------------------------------------------------------- Acknowledgement sent to Anders Chrigstrom : New bug report received and forwarded. Full text available. ----------------------------------------------------------------------- Report forwarded to debian-devel@pixar.com : Bug#1211 ; Package libc . Full text available. ----------------------------------------------------------------------- Ian Jackson / iwj10@thor.cam.ac.uk , with the debian-bugs tracking mechanism This page last modified 07:43:01 GMT Wed 01 Nov