SIGSEGV in the inernal viewer when in hex mode



        Hello Devel Team,
        I just have installed last stable release of MC-4.5.55 with the
following features: 
        " --enable-charset --with-samba --with-tm-x-support".
       I've got "Segmentation fault" when I tried to search text in quotes
with the internal file viewer when in HEX MODE. This error has occured
when: 
1. You're viewing some file with the internal viewer.
2. You're viewing file in hex mode.
3. You're trying to enter search string.
3. You're entering quoted text in search field.
4. You've forgot enclosing double-quote. 

     For expample, if you have to find string "str" in hex mode of the
internal viewer and you've just typed:
                "str
and then press Enter, your MC will crashes in 100%. But if you type 
                str"
you'll get the error message.
   
    Bellow I put the text generated by `gdb mc core', but seems to me,
you'll find the error without this output.

========================cut here=====================================
    (no debugging symbols found)...
Core was generated by `/usr/bin/mc -P'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libgpm.so.1...(no debugging symbols
found)...
done.
Reading symbols from /usr/lib/libglib-1.2.so.0...
(no debugging symbols found)...done.
Reading symbols from /usr/X11R6/lib/libSM.so.6...
(no debugging symbols found)...done.
Reading symbols from /usr/X11R6/lib/libICE.so.6...
(no debugging symbols found)...done.
Reading symbols from /usr/X11R6/lib/libX11.so.6...
(no debugging symbols found)...done.
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libncurses.so.4...(no debugging symbols
found)...
done.
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols
found)...done.
Reading symbols from /lib/libnss_db.so.2...(no debugging symbols
found)...done.
Reading symbols from /lib/libdb.so.3...(no debugging symbols
found)...done.
Reading symbols from /lib/libnss_files.so.2...(no debugging symbols
found)...
done.
#0  0x8065549 in strcpy ()
(gdb) where
#0  0x8065549 in strcpy ()
#1  0x8164160 in ?? ()
#2  0x806655c in strcpy ()
#3  0x80683b4 in strcpy ()
#4  0x8072c6d in strcpy ()
#5  0x806bc33 in strcpy ()
#6  0x806bda9 in strcpy ()
#7  0x806c211 in strcpy ()
#8  0x8068657 in strcpy ()
#9  0x80693f9 in strcpy ()
#10 0x806a49f in strcpy ()
#11 0x8087fef in vline ()
#12 0x8088391 in vline ()
#13 0x808b8f6 in vline ()
#14 0x8072c6d in strcpy ()
#15 0x806bc33 in strcpy ()
#16 0x806bda9 in strcpy ()
#17 0x806c211 in strcpy ()
#18 0x808db1b in vline ()
#19 0x808dddb in vline ()
#20 0x808ec92 in vline ()
#21 0x40139639 in __libc_start_main () from /lib/libc.so.6
#22 0xb in ?? ()
#23 0xbffffb14 in ?? ()
#24 0x4e45504f in ?? ()
Cannot access memory at address 0x5353454c.
(gdb)
========================cut here=============================

                Best regards,
                        Quantum Leap.






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