9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "andrey mirtchovski" <mirtchovski@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net>
Subject: Re: [9fans] Announcing Vim for Plan 9
Date: Thu, 13 Mar 2008 12:24:29 -0600	[thread overview]
Message-ID: <14ec7b180803131124g5a1447f1x522f345f8c938c32@mail.gmail.com> (raw)
In-Reply-To: <a30bf87087f6a47e4a60b3153862e48d@yourdomain.dom>

[-- Attachment #1: Type: text/plain, Size: 233 bytes --]

i thought :colorscheme only worked for vim -g :)

oh well, here's a reproducible bug:

start vim, type :colorscheme ron (or whatever you like from
/lib/vim/vimfiles/color/), hit 'i', try to type some text. crash log
attached.

[-- Attachment #2: crash.txt --]
[-- Type: text/plain, Size: 2578 bytes --]

parr% vim
vim 383: suicide: sys: trap: fault read addr=0x4 pc=0x0014181e
parr% acid 383
/proc/383/text:386 plan 9 executable

/sys/lib/acid/port
/sys/lib/acid/386
acid: lstk()
_string(f=0x1b2c18,s=0x17a2bd,r=0x171e52,len=0x1,dst=0x1b0ec0,op=0xb,bg=0x0,src=0x0,pt=0x15c,clipr=0x15c,sp=0x0,bgp=0x0,.ret=0x179890)+0x1c7 /sys/src/libdraw/string.c:102
	sptr=0xdfffeab0
	rptr=0x0
	sf=0x0
	cbuf=0x34
	wid=0x9
	subfontname=0x0
	n=0x1
stringnbg(dst=0x1b0ec0,.ret=0x179890,pt=0x15c,src=0x0,sp=0x0,f=0x1b2c18,s=0x17a2bc,len=0x1,bg=0x0,bgp=0x0)+0x95 /sys/src/libdraw/stringbg.c:20
write_str(len=0x1,p=0x17a2bc)+0x121 /tmp/vim/vim71/src/os_plan9.c:563
	nbytes=0x1
	n=0x1
	m=0x1
mch_write(len=0x1,p=0x17a2bc)+0x41 /tmp/vim/vim71/src/os_plan9.c:591
ui_write(s=0x17a2b8,len=0x5)+0x66 /tmp/vim/vim71/src/ui.c:54
	tofree=0x0
out_flush()+0x29 /tmp/vim/vim71/src/term.c:2584
inchar(wait_time=0xffffffff,buf=0x17b124,maxlen=0xe8,tb_change_cnt=0x21)+0x243 /tmp/vim/vim71/src/getchar.c:2814
	len=0x0
	retesc=0x0
	script_char=0x1a5938
	dum=0x40000
vgetorpeek(advance=0x1)+0x4cc /tmp/vim/vim71/src/getchar.c:2689
	mp_match_len=0x0
	timedout=0x0
	mapdepth=0x0
	mode_deleted=0x0
	local_State=0x10
	keylen=0x0
	c=0x1a0fd0
	mp=0x0
	max_mlen=0x0
	c1=0x0
	mp2=0x0
	mp_match=0x0
	mlen=0x1
	save_vgetc_busy=0x1a5938
	tabuf=0x7e
	s=0x3e7
	i=0x0
	new_wcol=0x1
	new_wrow=0x0
	col=0x2
	old_wcol=0x2
	old_wrow=0x1
	vcol=0x0
	ptr=0x1
	wait_tb_len=0x0
vgetc()+0x7e /tmp/vim/vim71/src/getchar.c:1540
	save_allow_keys=0xa5a9d
	c2=0x0
	n=0x0
	buf=0xa5eda00
	i=0x1a5938
	c=0xa5ec7
safe_vgetc()+0x8 /tmp/vim/vim71/src/getchar.c:1737
edit(cmdchar=0x69,startln=0x0,count=0x1)+0x401 /tmp/vim/vim71/src/edit.c:708
	c=0x74
	did_backspace=0x0
	line_is_white=0x0
	old_topline=0x1
	old_topfill=0x0
	inserted_space=0x0
	replaceState=0x50
	nomove=0x0
	ptr=0x1b7f08
	mincol=0x0
	lastc=0x74
invoke_edit(repl=0x0,cmd=0x69,startln=0x0,cap=0xdfffee28)+0x45 /tmp/vim/vim71/src/normal.c:8726
	restart_edit_save=0x0
nv_edit(cap=0xdfffee28)+0xee /tmp/vim/vim71/src/normal.c:8699
	save_State=0xa
normal_cmd(oap=0xdfffee80,toplevel=0x1)+0x711 /tmp/vim/vim71/src/normal.c:1136
	ctrl_w=0x0
	old_col=0x0
	ca=0xdfffee80
	mapped_len=0x0
	c=0x69
	need_flushbuf=0x0
	idx=0x6a
	repl=0x17d5ce
	lit=0x12320f
	langmap_active=0x0
	cp=0x0
	lang=0x48
	towait=0x1231c2
	old_pos=0x1
	save_State=0x0
	kmsg=0x17d5ce
main_loop(cmdwin=0x0,noexmode=0x0)+0x13c /tmp/vim/vim71/src/main.c:992
	oa=0x0
	p=0x46028
main(argc=0x1,argv=0xdfffefbc)+0x6c9 /tmp/vim/vim71/src/main.c:941
	fname=0x0
	params=0x1
	wp=0x17ce44
_main+0x26 /sys/src/ape/lib/ap/386/main9.s:12
acid: 

  reply	other threads:[~2008-03-13 18:24 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-13 16:33 stefanha
2008-03-13 16:55 ` andrey mirtchovski
2008-03-13 16:56 ` erik quanstrom
2008-03-13 17:15   ` andrey mirtchovski
2008-03-13 17:37     ` Federico G. Benavento
2008-03-13 18:24       ` andrey mirtchovski [this message]
2008-03-13 20:34         ` Iruata Souza
2008-03-13 22:16           ` andrey mirtchovski
2008-03-14  4:52             ` lucio
2008-03-14  5:06               ` ron minnich
2008-03-14  5:19                 ` andrey mirtchovski
2008-03-17  9:49         ` [9fans] [plan9mod] " stefanha
2008-03-17  9:49     ` [9fans] " stefanha
2008-03-14  3:20 ` Hongzheng Wang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=14ec7b180803131124g5a1447f1x522f345f8c938c32@mail.gmail.com \
    --to=mirtchovski@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).