Crash in dcigettext.c when selecting a file/dir



Hello there,


I recently had to install mc from the sources (2006-08-12 snapshot) on
a - don't laugh - Redhat 7.0 system. mc crashes in dcigettext.c on each
[INS] keystroke (to select a dir or file). I could easily get rid of
the crash by recompiling with --disable-nls. I didn't encounter such
problems building mc (same snapshot) on various more recent GNU/Linux
systems, even including few RH7.0.

You'll find below a quick backtrace from gdb and the summary
from ./configure.

Is that something to care about (I can leave w/o NLS support)? Is that
a known issue or would you need more detail about the configuration?


Configuration:

  Source code location:       .
  Compiler:                   gcc
  Compiler flags:             -g -O2 -Wall
  File system:                Midnight Commander Virtual File System
                              cpiofs, extfs, tarfs, ftpfs, fish, smbfs
  Screen library:             S-Lang library (installed on the system)
  Mouse support:              gpm and xterm
  X11 events support:         yes
  With subshell support:      yes
  Internal editor:            yes
  Support for charset:


Backtrace:

#0  0x400d5f6c in __dcigettext (domainname=0x8119618 "mc", msgid1=0x80e37bc "%s byte",
    msgid2=0x80e37b3 "%s bytes", plural=1, n=0, category=5) at dcigettext.c:559
        domain = (struct loaded_l10nfile *) 0x8124e50
        binding = (struct binding *) 0x8119600
        categoryname = 0x0
        categoryvalue = 0xbffffd3f ""
        dirname = 0x811b7e0 "/home/gst-comp/local/share/locale"
        xdomainname = 0xbfffe400 "LC_MESSAGES/mc.mo"
        single_locale = 0xbfffe3f0 "en_US"
        retval = 0xbfffe490 ""
        saved_errno = 22
        search = (struct known_translation_t *) 0x0
        foundp = (struct known_translation_t **) 0x0
        msgid_len = 8
        domainname_len = 2
        path_max = 3221218408
        domain = (struct loaded_l10nfile *) 0x8124e50
        binding = (struct binding *) 0x8119600
        categoryvalue = 0xbffffd3f ""
        dirname = 0x811b7e0 "/home/gst-comp/local/share/locale"
        xdomainname = 0xbfffe400 "LC_MESSAGES/mc.mo"
        single_locale = 0xbfffe3f0 "en_US"
        retval = 0xbfffe490 ""
        saved_errno = 22
        foundp = (struct known_translation_t **) 0x0
        msgid_len = 8
        domainname_len = 2
        index = 0
        newp = (struct known_translation_t *) 0x400460ec
        path_max = 3221218408
#1  0x400d7071 in __dcngettext (domainname=0x0, msgid1=0x80e37bc "%s byte", msgid2=0x80e37b3 "%s bytes",
    n=0, category=5) at dcngettext.c:55
No locals.
#2  0x808464d in ?? ()
No symbol table info available.
#3  0x8084c74 in ?? ()
No symbol table info available.
#4  0x8084d08 in ?? ()
No symbol table info available.
#5  0x807c775 in ?? ()
No symbol table info available.
#6  0x8065299 in ?? ()
No symbol table info available.
#7  0x8065419 in ?? ()
No symbol table info available.
#8  0x80655a6 in ?? ()
No symbol table info available.
#9  0x807caa9 in ?? ()
No symbol table info available.
#10 0x807cc8a in ?? ()
No symbol table info available.
#11 0x807d766 in ?? ()
No symbol table info available.
#12 0x400cab65 in __libc_start_main (main=0x807d480, argc=1, ubp_av=0xbffff7e4, init=0x8057e48,
    fini=0x80dcf40, rtld_fini=0x4000df24 <_dl_fini>, stack_end=0xbffff7dc)
    at ../sysdeps/generic/libc-start.c:111
        ubp_av = (char **) 0x812a220
        fini = (void (*)()) 0x35
        rtld_fini = (void (*)()) 0x1
        ubp_ev = (char **) 0xbffff7ec


Regards,

-- 
wwp

Attachment: signature.asc
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]