Package: mc
Version: 1:4.6.0-4.6.1-pre4-1
Followup-For: Bug #313401

Hi,

workaround changing "group: compat" to "group: files nis" in /etc/nsswitch.conf
works here too, but mc crashes in strcmp rather than init_groups:

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

Program received signal SIGSEGV, Segmentation fault.
0x401b1980 in strcmp () from /lib/libc.so.6



ltrace gives:

$ ltrace mc
__libc_start_main(0x807cbe0, 1, 0xbffff5e4, 0x80da350, 0x80da3b0 <unfinished 
...>
setlocale(6, "")                                                          = 
"en_GB"
bindtextdomain("mc", "/usr/share/locale")                                 = 
"/usr/share/locale"
textdomain("mc")                                                          = "mc"
getuid()                                                                  = 508
getpwuid(508, 0x40255cc0, 0xbffff568, 0x40163a64, 0x80df48b)              = 
0x4026dc60
g_tree_new(0x8090bc0, 0x40255cc0, 0xbffff568, 0x40163a64, 0x80df48b)      = 
0x8115da8
getgrgid(150, 0x40255cc0, 0xbffff568, 0x40163a64, 0x80df48b)              = 
0x4026db2c
g_strdup(0x8115dc8, 0x40255cc0, 0xbffff568, 0x40163a64, 0x80df48b)        = 
0x8115d08
g_tree_insert(0x8115da8, 150, 0x8115d08, 0x40163a64, 0x80df48b)           = 
0x81161e8
g_malloc(4, 150, 0x8115d08, 0x40163a64, 0x80df48b)                        = 
0x8115d50
getgrouplist(0x8114890, 150, 0x8115d50, 0xbffff558, 0x80df48b <unfinished ...>
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++


Could you please elaborate on your void function comment?

Andreas


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (50, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.25-scsi-p3-smp
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1) (ignored: LC_ALL set to 
en_GB)

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.4-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