Segmentation fault on 4.3-1

Bug #1648733 reported by Evgeny Li.
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
joe (Ubuntu)
New
Undecided
Unassigned

Bug Description

joe 4.3-1 crashes with Segmentation fault(core dumped)
on string containing \\ and UTF-8 chars
(to reproduce, open supplied 'crash.rb' file)

NOTE: joe 4.2 haven't this bug!

gdb output:

GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
...
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x080963e9 in parse (syntax=0x445, line=0x82a5f58, h_state=...,
    charmap=0x82a0fb8) at syntax.c:162
162 h = (stack ? stack->syntax : syntax)->states[h_state.state];
(gdb) where
#0 0x080963e9 in parse (syntax=0x445, line=0x82a5f58, h_state=...,
    charmap=0x82a0fb8) at syntax.c:162
#1 0x0809d2ea in lattr_get (db=0x87085b0, y=0x445, p=0x82a5e68, line=8)
    at lattr.c:303
#2 0x080728b1 in get_context (bw=0x835a508, bw=0x835a508) at tw.c:72
#3 stagen (stalin=0x835d9a8 "\\i^[ I A ~/dev/i/crash.rb (ruby) ",
    bw=0x835a508, s=0x829476b "x", fill=32 ' ') at tw.c:231
#4 0x08072c82 in disptw (w=0x8916928, flg=1) at tw.c:599
#5 0x0805d79e in edupd (flg=1) at main.c:67
#6 0x0805d91e in edloop (flg=0) at main.c:134
#7 0x0804a898 in main (argc=2, real_argv=0xbfbc1fb4, envv=0xbfbc1fc0)
    at main.c:678

Revision history for this message
Evgeny Li. (evgeny.li.) wrote :
Evgeny Li. (evgeny.li.)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.