nano-devel
[Top][All Lists]
Advanced

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

[Nano-devel] Crash report - segfault reproduceable


From: Nick Warne
Subject: [Nano-devel] Crash report - segfault reproduceable
Date: Sun, 29 Jan 2006 18:47:28 +0000
User-agent: KMail/1.9

Hi all,

I reported this once bfore but never could get it to happen again - today it 
happened again and I saw what causes it.

I also upgraded to 1.3.10 today, and get the same result.

Build info:
./configure --enable-nanorc --disable-mouse --disable-color --disable-nls



Crash report:
(gdb) bt
#0  0x400dec35 in mallopt () from /lib/libc.so.6
#1  0x400dda2f in free () from /lib/libc.so.6
#2  0x0805da46 in update_line (fileptr=0x80d1940, index=1075402252) at 
winio.c:2607
#3  0x08051c66 in do_up () at move.c:537
#4  0x080537ae in do_input (meta_key=0x0, func_key=0xbfeeae44, 
s_or_t=0xbfeeae45, ran_func=0xbfeeae46,
    finished=0xbfeeae47, allow_funcs=true) at nano.c:1390
#5  0x080540d5 in main (argc=1, argv=0xbfeeb0c4) at nano.c:2144
(gdb) list
2144            do_input(&meta_key, &func_key, &s_or_t, &ran_func, &finished,
2145                    TRUE);
2146        }
2147
2148        /* We should never get here. */
2149        assert(FALSE);
2150    }
(gdb) finish
Run till exit from #0  0x400dec35 in mallopt () from /lib/libc.so.6

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.


As you can see, &meta_key is NULL.

I have attached the file that my test file that causes this - just load it 
into nano, and move around with the arrow keys.  The problem line is all the 
extra tabs at one end of the middle line.

Nick
-- 
"Person who say it cannot be done should not interrupt person doing it."
-Chinese Proverb

Attachment: coretest
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]