crash searching for /$ in empty buffer

  • From: Bill Trost <trost-fl@xxxxxxxxxxxxxx>
  • To: wilyfans@xxxxxxxxxxxxx
  • Date: Fri, 30 Apr 2004 06:18:21 -0700

Under wily 0.13.36 on FreeBSD, if I run "wily /tmp/blurfl" (a
nonexistent file) and then type ":/$" and hit enter in the tag, wily
crashes. I've captured a stack trace:

Program received signal SIGSEGV, Segmentation fault.
0x08054ed5 in text_expand (t=0x80bc380, r={p0 = 65, p1 = 3217014352}, 
    s=0x805e3dc "!#%&'()*;=?@`[\\]^{|}") at wily/click.c:85
85                      r.p0--;
(gdb) where
#0  0x08054ed5 in text_expand (t=0x80bc380, r={p0 = 65, p1 = 3217014352}, 
    s=0x805e3dc "!#%&'()*;=?@`[\\]^{|}") at wily/click.c:85
#1  0x0804a8a6 in openinclude (v=0x80ab400, r={p0 = 65, p1 = 3217014352})
    at wily/include.c:27
#2  0x0804c964 in b3 (v=0x80ab400, r={p0 = 65, p1 = 3217014352})
    at wily/vsearch.c:101
#3  0x0804ee0a in tag_cr (v=0x80ab300) at wily/keyboard.c:60
#4  0x0804ed9b in dokeyboard (v=0x80bc380, r=0) at wily/keyboard.c:35
#5  0x0804f4b5 in mainloop () at wily/wily.c:163
#6  0x0804f5a8 in main (argc=1, argv=0xbfbfe854, envp=0xbfbfe85c)
    at wily/wily.c:189
#7  0x0804a505 in _start ()

Other related posts: