help-octave
[Top][All Lists]
Advanced

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

Re: Known segmentation fault with new build


From: Alexander Barth
Subject: Re: Known segmentation fault with new build
Date: Tue, 11 Jul 2006 11:03:19 -0400
User-agent: Thunderbird 1.5.0.2 (X11/20060501)

Bob Fletcher wrote:
On Mon, 2006-07-10 at 16:26 -0400, Alexander Barth wrote:
  
It seems that you have the experimental libstdc++.so.7 installed. 
Perhaps some part of the octave use the (stable) libstdc++.so.6.0.8 and 
some use the experimental library. You can try to remove the 
experimental library with:

rpm -e libstdc++so7

and recompile octave. Since you are new to Linux, you find it probably 
easier to install the pre-compiled octave package included in Fedora extras:
    

Alex,

Thanks for your suggestion.
I removed the libstdc++so7 package and then started all over with a
fresh un-tarred directory, executing
	./configure
	make
	make check
Unfortunately, I again had the same problem, with the output as shown:

  src/DLD-FUNCTIONS/cellfun.cc ........................... PASS    2/2
  src/DLD-FUNCTIONS/conv2.cc ............................. PASS    1/1
  src/DLD-FUNCTIONS/dispatch.cc .......................... PASS   13/13
  src/DLD-FUNCTIONS/luinc.cc .............................panic:
Segmentation fault -- stopping myself...
make[2]: *** [check] Segmentation fault
make[2]: Leaving directory `/home/bob/downloads/octave-2.9.6/test'
make[1]: *** [check] Error 2
make[1]: Leaving directory `/home/bob/downloads/octave-2.9.6'
make: *** [check] Error 2

I am not sure what is going on; I have not had this problem with other
builds. (Notice that I did the 'make check' before doing a 'make
install'. I assume this is OK since I did not want to mess up my working
version of Octave.)

  
Fedora includes currently octave version 2.9.5.
    

Yes, I know. I have been experimenting with it, but I really wanted to
complete a successful build - just to make sure I know I am doing.
Apparently, I do NOT know what I am doing, so I guess I will just have
to move on to other things.

Thanks very much for your help. If you do have any other suggestions, I
would certainly welcome them.

Bob


  
Bob,
Please keep the discussion on octave-help mailing list.

I'm also using octave-2.9.6 on FC5 (but x86_64 not i386). I didn't run "make check" when I installed octave-2.9.6, but now after a "make check" I'm seeing the error in luinc.cc that you described as well. It seems to be related to the fact that UMFPACK is not installed:

octave:1> a=sparse([1,2,0,0;0,1,2,0;1e-14,0,3,0;0,0,0,1]);
octave:2> [l,u]=luinc(a,1e-10);
error: UMFPACK not installed
panic: Segmentation fault -- stopping myself...
attempting to save variables to `octave-core'...
save to `octave-core' complete
Segmentation fault (core dumped)

Probably luinc should only be compiled if UMFPACK is installed. I copied David ( author of luinc.cc) in Cc to see what he thinks.

Alex


-- 
_______________________________________________________________

  Alexander Barth

  Ocean Circulation Group
  University of South Florida
  College of Marine Science
  140 Seventh Avenue South 
  St. Petersburg, Florida  33701
  USA

  Phone: +1-727-553-3508     FAX:   +1-727-553-1189

_______________________________________________________________

reply via email to

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