From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,3c45867f09323f03,start X-Google-Attributes: gidfee84,public From: Yingwei Peng Subject: Re: A Problem of Porting Programs from Sun Solaris 2.x to OSF1 Date: 1998/10/24 Message-ID: <363258D4.EE0C901@math.mun.ca>#1/1 X-Deja-AN: 404720489 Content-Transfer-Encoding: 7bit Organization: Memorial University of Newfoundland Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 A few days ago I posted a question with regard to port programs from Solaris to OSF1. I have got two replies and both directed me to a document "Sun Solaris to DIGITAL UNIX Porting Guide". I have checked my programs following the guidelines in the document. However my problem is still there. I found that the problem relates to the following function. int cholesky(double **matrix, int n) { ... ... } Whenever this function is called, my program stops and prints a message "System terminating: bad address". I can print values stored in "matrix" and "n" variables before the function call. So I couldn't see why the program stops. Is there any body who has experience with this type of problem? Please give me a clue to help me out. Thanks a lot. Paul. Note: the program runs well on Solaris and Intel-based PCs.