nano-devel
[Top][All Lists]
Advanced

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

[Nano-devel] Bug in Syntax highlighting


From: Robert D. Goulding
Subject: [Nano-devel] Bug in Syntax highlighting
Date: Tue, 15 Oct 2002 01:20:00 -0400 (EDT)

nano-1.1.11 with the nanomiscbugs-patch.txt applied, on RH 7.2, i686.

nano -V:

 Compiled options: --enable-extra --disable-mouse --enable-color
--enable-multibuffer --enable-nanorc

segfault when a .c file is loaded (but no other file type; this occurs if
I use the nanorc.sample and only the c-file syntax uncommented, or my own
.nanorc with several other filetypes added).

gdb gives:

Program received signal SIGSEGV, Segmentation fault.
0x40139066 in re_match_2_internal () at regex.c:7114


Backtrace:

#0  0x40139066 in re_match_2_internal () at regex.c:7114
#1  0x40135ef4 in __re_search_2 (bufp=0xbffff410, string1=0x0, size1=0,
    string2=0x806c4c0 "", size2=0, startpos=0, range=0, regs=0xbffff430,
    stop=0) at regex.c:5078
#2  0x40139d6f in __regexec (preg=0xbffff4d0, string=0x806c4c0 "",
nmatch=1,
    pmatch=0xbffff4a8, eflags=0) at regex.c:4942
#3  0x0805766e in edit_add (fileptr=0x806f0e0, yval=3, start=0,
    virt_mark_beginx=0, virt_cur_x=0) at winio.c:645
#4  0x08057cdd in update_line (fileptr=0x806f0e0, index=0) at winio.c:954
#5  0x08057e31 in edit_refresh () at winio.c:1015
#6  0x0804fea6 in do_page_down () at move.c:125
#7  0x0805401f in main (argc=1, argv=0xbffff85c) at nano.c:3473
#8  0x40086177 in __libc_start_main (main=0x8053684 <main>, argc=1,
    ubp_av=0xbffff85c, init=0x8049934 <_init>, fini=0x8058e10 <_fini>,
    rtld_fini=0x4000e184 <_dl_fini>, stack_end=0xbffff84c)
    at ../sysdeps/generic/libc-start.c:129


Robert.

-- 
Robert Goulding
Society of Fellows
Joseph Henry House
Princeton NJ 08544





reply via email to

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