From help-request at octave dot org Fri Jun 17 14:32:25 2005 Subject: Re: panic segment fault error From: lciotti at twcny dot rr dot com To: help at octave dot org Date: Fri, 17 Jun 2005 15:31:37 -0400 I looked for the core dump, but could not find one... I know the SW is old, but it is the only binary available for Win32... I have tried to get cygwin to work on this pc (works computer so I have limited controll over what I can do to it), but I just have been able to get it up and running as of yet. I will try the script on my Linux box at home running the latest version of octave and see if it still crashes.. Lou ----- Original Message ----- From: "Robert A. Macy" Date: Friday, June 17, 2005 1:15 pm Subject: Re: panic segment fault error > THAT'S OLD SW ! No support. Having said that... > > I had the same problem both on the Win98 and WinXP system > running the binary octave 2.1.50a-inst.exe. BUT got it > fixed. > > Somewhere there is a "core dump" of octave. I think it > appears in the \octave_files in the root. > > You may have a problem that can't be fixed. However, in my > case, I simply ran out of allocated memory with octave not > liking that. Adding memory using Cygwin control statements > fixed the problem. You can search the email archive for > the discussion that insued. > > - Robert - > > On Fri, 17 Jun 2005 12:54:13 -0400 > lciotti at twcny dot rr dot com wrote: > > I get this message when running a script file using the > > Win32 binary > > of Octave 2.1.50. > > > > I have traced it to one of the following commands: > > > > if nl > 0 > > fda=sparse(repmat(all_list(L,1),1,3), ... > > repmat(all_list(L,1),1,3)+repmat([-1 0 1],nl,1), ... > > repmat([1 -2 1], nl,1),nm,nm); > > else > > fda=spalloc(n*m,n*m,size(all_list,1)*5); > > endif > > > > When the segment fault happens the octave windows closes > > immediately > > so I just see the message flash on the screen and then it > > is gone. > > How can I debug this problem?? > > > > Thanks > > > > Lou > > > > > ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------