From bug-octave-request at bevo dot che dot wisc dot edu Wed Oct 18 13:32:48 1995 Subject: Mysterious segmentation fault From: John Eaton To: Eyal Doron Cc: bug-octave at che dot utexas dot edu Date: Wed, 18 Oct 1995 13:32:22 -0500 Eyal Doron wrote: : Repeat-By: : --------- : : octave:8> sJa=139; Ja=zeros(sJa,sJa)*(1+I);ledge=60+zeros(8,1);offset=101; S=rand(201,201)*(1+I);N=61;sd=8; lvec=sd+(1:2*N+1); : octave:9> Ja(1:sd,lvec)=S(offset-ledge,offset+(-N:N)); : error: Segmentation fault -- stopping myself... : attempting to save variables to `octave-core'... : save to `octave-core' complete I am able to reproduce this with version 1.1.1, but this bug doesn't seem to appear in my current sources. After these operations, Ja is a 139x139 element complex matrix with 984 nonzero elements. : By the way, the save to "octave-core" doesn't work, it creates a 36-byte : file. It does seem to work here for me, at least for the signals I have tried. I'll take a look at it, but I don't think there is any guarantee that a program will be able to do anything useful after a segfault, so I doubt that I can make it always succeed. jwe