Subject: pkg/32248: some builds of nvi-m17n core dump on startup
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <cjs@cynic.net>
List: pkgsrc-bugs
Date: 12/05/2005 03:15:01
>Number:         32248
>Category:       pkg
>Synopsis:       some builds of nvi-m17n core dump on startup
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 05 03:15:01 +0000 2005
>Originator:     Curt Sampson
>Release:        NetBSD 3.0_BETA
>Organization:
>Environment:
System: NetBSD cjs.tabemo.com 3.0_BETA NetBSD 3.0_BETA (GENERIC) #0: Mon Oct 17 17:51:16 JST 2005 cjs@cjs.tabemo.com:/u/netbsd/build/i386-3.2005-10-17/obj/u/netbsd/src-3/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:

    Some builds of nvi-m17n core dump during startup, whereas others,
    apparently similar, do not. If it does core dump, it prints something
    along the lines of

	+=+=+=+=+=+=+=+
	No redraw edit option specified.
	Modifications not recoverable if the session fails.
	/tmp/vi.17578b: new file: line 1
	Press any key to continue: Memory fault (core dumped) 

    The backtrace is

	#0  0xbdb6490f in strchr () from /usr/lib/libc.so.12
	#1  0x080b0800 in ?? ()
	#2  0x08086a47 in multi_keyinput ()
	#3  0x0804b67c in cl_multi_conv ()
	#4  0x0804b798 in cl_event ()
	#5  0x080644fb in v_event_get ()
	#6  0x0807f47b in vs_wait ()
	#7  0x0807f1f0 in vs_resolve ()
	#8  0x0807ad92 in vi ()
	#9  0x08066411 in editor ()
	#10 0x0804aff0 in main ()
	#11 0x08049ff6 in ___start ()

>How-To-Repeat:

    Build on one of cjs's machines.

>Fix:

    Unknown at this time. I can provide a broken package and the work
    directory from which it's made, or given the same for a working
    build, I could attempt to debug this.