Subject: Re: Trouble compiling ncftp, ncurses (fwd)
To: NetBSD \"Port-VAX\" Mailing List <port-vax@netbsd.org>
From: Douglas Meade <inforum@umd5.umd.edu>
List: port-vax
Date: 02/05/2001 17:46:10
On Mon, 29 Jan 2001, Chuck McManis wrote:

> As long as you are recompiling them why not compile them -g and then have 
> gdb tell you where they are dumping? I'm guessing it is in some of the 
> compatibility code but that is only a guess.

ncftp2 is dying with "Illegal instruction, core dumped" in Bookmark.c\491
at the line:

if(rename(path2,pathName)==0) 

at this point, running as root, the values for me were:
path2="/root/.ncftp/hosts"
pathName="/root/.ncftp/bookmarks"

these are both declared as type string, which is a 256 byte char array. 

The program bombs in libposix.

Anyone else seeing this?

Doug