Package: mc
Version: 1:4.6.0-4.6.1-pre4-1
Severity: normal

MC segfaults when I try to start it:
% mc
zsh: segmentation fault  mc

Trying to run in gdb:
% gdb mc
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or 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.
This GDB was configured as "i386-linux"...(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) run
Starting program: /usr/bin/mc 
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.
0xb7bd55f8 in _nss_compat_initgroups_dyn () from
/lib/tls/libnss_compat.so.2
(gdb) bt
#0  0xb7bd55f8 in _nss_compat_initgroups_dyn () from
/lib/tls/libnss_compat.so.2
#1  0xb7bd51e6 in _nss_compat_initgroups_dyn () from
/lib/tls/libnss_compat.so.2
#2  0xb7bd4c14 in _nss_compat_initgroups_dyn () from
/lib/tls/libnss_compat.so.2
#3  0xb7e2db54 in initgroups () from /lib/tls/libc.so.6
#4  0xb7e2d963 in getgrouplist () from /lib/tls/libc.so.6
#5  0x08090c9a in init_groups ()
#6  0x0807cc26 in main ()
(gdb) 




This only happens when running with my regular user account, 
which is associated with a lot of NIS groups. Running as root is OK.

Searching the debian BTS turned up a couple of other bugs which is
probably related:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=246288
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=245029

I wasn't sure if I should file a bug on libc6 or mc, but since 'mc' has
worked fine for a very long time until today, I figured that would be
the most appropriate package to report a problem for. If that's wrong,
I'm sorry - perhaps whoever reads this report can re-file it to the
proper place.

Also, the workaround mentioned in one of the other related bugs
(changing "group: compat" to "group: files nis" in /etc/nsswitch.conf)
seems to have fixed the issue.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11
Locale: LANG=C, LC_CTYPE=no_NO.ISO8859-1 (charmap=ISO-8859-1)

Versions of packages mc depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libglib2.0-0                2.6.5-1      The GLib library of C routines
ii  libgpmg1                    1.19.6-20    General Purpose Mouse - shared lib
ii  slang1                      1.4.9dbs-8   The S-Lang programming library - r

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to