[Top][All Lists]

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

[Bug-zile] Abort trap on 2.4.4 under FreeBSD

From: Frederic Culot
Subject: [Bug-zile] Abort trap on 2.4.4 under FreeBSD
Date: Mon, 6 Feb 2012 10:13:09 +0000
User-agent: Mutt/

Hi all,

I am the FreeBSD port maintainer for zile and I run into an issue when
trying to package version 2.4.4. Indeed, whenever I try to delete a
character in a file I am editing (using either ctrl-d or backspace keys),
I get the following error:

Assertion failed: (size <= as->len - pos), function astr_replace_nstr,
file src/astr.c, line 110.

The backtrace found in the core file is as follows:

#0  0x28250257 in kill () from /lib/libc.so.7
#1  0x28250176 in raise () from /lib/libc.so.7
#2  0x2824ebfa in abort () from /lib/libc.so.7
#3  0x282372c6 in __assert () from /lib/libc.so.7
#4  0x080568b1 in astr_replace_nstr (as=0x28405040, pos=8, s=0x2867f600 "efjew 
fe", size=2057) at src/astr.c:110
#5  0x08057665 in estr_replace_estr (es={as = 0x28405040, eol = 0x807ea76 
"\n"}, pos=8, src={as = 0x28405040, eol = 0x807ea76 "\n"}) at src/estr.c:144
#6  0x0804c9ea in replace_estr (del=1, es={as = 0x28405040, eol = 0x807ea76 
"\n"}) at src/buffer.c:169
#7  0x0804cc39 in delete_char () at src/buffer.c:281
#8  0x08052228 in backward_delete_char () at src/line.c:205
#9  0x0804d1f3 in execute_with_uniarg (undo=true, uniarg=1, forward=0x80521f0 
<backward_delete_char>, backward=0x804cbe0 <delete_char>) at src/eval.c:201
#10 0x080523ef in F_backward_delete_char (uniarg=1, is_uniarg=false, 
arglist=0x0) at src/line.c:227
#11 0x0804af2f in call_command (f=0x8052320 <F_backward_delete_char>, uniarg=1, 
uniflag=Variable "uniflag" is not available.
) at src/bind.c:265
#12 0x0804b61e in get_and_run_command () at src/bind.c:290
#13 0x08059e28 in main (argc=1, argv=0xbfbfec00) at src/main.c:344

In frame 4, here is what is stored inside 'as':

(gdb) p *as
$2 = {text = 0x2867f600 "efjew fe", len = 2057, maxlen = 2073}

This happens under FreeBSD, both on i386 and amd64 architectures.
If you need me to setup a similar environment for you to test this
issue, please let me know and I will give you access to a FreeBSD
jail with the latest zile-2.4.4 installed.

Kind regards,

reply via email to

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