[Help-nano] Segfault using nano 2.0.6 on Linux over a putty terminal
From:
Charles-Henri d'Adhémar
Subject:
[Help-nano] Segfault using nano 2.0.6 on Linux over a putty terminal
Date:
Mon, 22 Oct 2007 14:46:56 +0200
Hello all,
I have a major issue using nano and I am wondering if anybody here could help me ?
I have compiled (gcc 3.4.2) from the sources and installed nano 2.0.6 in my home directory on a Linux 64 system :
uname -a : Linux ncegcolnx68 2.6.5-7.244-smp #1 SMP Mon Dec 12 18:32:25 UTC 2005 x86_64 x86_64 x86_64 GNU/Linux
I have created a very simple file :
echo "toto\ntiti" > toto
I openned the file with nano.
When I perform a basic search for the word titi I have the following segfault :
#0 0x0000002a9583ccb3 in malloc_consolidate () from /lib64/tls/libc.so.6 #1 0x0000002a9583ea62 in _int_malloc () from /lib64/tls/libc.so.6
#2 0x0000002a95840179 in malloc () from /lib64/tls/libc.so.6 #3 0x00000000004196a6 in nmalloc (howmuch=1280) at utils.c:364 #4 0x000000000041afc8 in display_string (buf=0x5c9120 "titi", start_col=0, len=40) at
winio.c:1933 #5 0x0000000000415bda in search_init (replacing=false, use_answer=false) at search.c:160 #6 0x0000000000415524 in do_search () at search.c:428 #7 0x0000000000410311 in do_input (meta_key=0x7fbfffe33b, func_key=0x7fbfffe33c, s_or_t=0x7fbfffe33d,
ran_func=0x7fbfffe33e, finished=0x7fbfffe33f, allow_funcs=true) at nano.c:1468 #8 0x0000000000410c76 in main (argc=1, argv=0x7fbfffe928) at nano.c:2258
I have to say that I use a Putty terminal on a MS Windows system to log on my Linux box through SSH.
This is so a basic feature that there must be something wrong in my configuration ! Can anyone help here ?