From bug-request at octave dot org Wed Aug 24 07:47:45 2005 Subject: Re: segmentation violation -- stopping myself... x=(1:2(1:2)) From: David Bateman To: eramnak at ws3072 dot rnd dot ki dot sw dot ericsson dot se Cc: bug-octave at bevo dot che dot wisc dot edu Date: Wed, 24 Aug 2005 14:42:08 +0200 eramnak at ws3072 dot rnd dot ki dot sw dot ericsson dot se wrote: >Bug report for Octave 2.1.57 configured for sparc-sun-solaris2.8 > >Description: >----------- > >Segmentation violation when doing >x=(1:2(1:2)) >Don't know why I whanted to make that command. >But it segfault everytime. > > > I don't think this is specific to Solaris as its parsing issue and how the syntax error is treated. On my linux machine it seems to be fixed in recent versions. I tested 2.1.64 and 2.9.3 CVS and got octave:1> x=(1:2(1:2)) error: invalid vector index = 2 error: invalid limit value in colon expression error: evaluating colon expression near line 1 column 4 error: evaluating assignment expression near line 1, column 2 Can only suggest you update your version of octave... Regards David -- David Bateman David dot Bateman at motorola dot com Motorola Labs - Paris +33 1 69 35 48 04 (Ph) Parc Les Algorithmes, Commune de St Aubin +33 1 69 35 77 01 (Fax) 91193 Gif-Sur-Yvette FRANCE The information contained in this communication has been classified as: [x] General Business Information [ ] Motorola Internal Use Only [ ] Motorola Confidential Proprietary ------------------------------------------------------------- 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 -------------------------------------------------------------