Csound Csound-dev Csound-tekno Search About

[Cs-dev] segmentation violation with arrays

Date2014-06-18 09:56
FromOeyvind Brandtsegg
Subject[Cs-dev] segmentation violation with arrays
Hi,
I get a segmentation violation with simple array statements like this:

instr 1
iArr[] array 1, 2, 3
;iArr[0] = iArr[0] + 10         ; Segmentation violation on windows if
this line is uncommented
prints "   iArr[0] = %d\n\n", iArr[0]
;itest   = iArr[0]               ; this one also give segmentation violation
endin

Has it been recently fixed (since 6.03)?

-- 

Oeyvind Brandtsegg
Professor of Music Technology
NTNU
7491 Trondheim
Norway
Cell: +47 92 203 205

http://flyndresang.no/
http://www.partikkelaudio.com/
http://soundcloud.com/brandtsegg
http://soundcloud.com/t-emp

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-06-18 11:20
FromVictor Lazzarini
SubjectRe: [Cs-dev] segmentation violation with arrays
No problem on OSX with the latest GIT. Need to test on Windows.
========================
Dr Victor Lazzarini
Senior Lecturer
NUI Maynooth, Ireland
victor dot lazzarini at nuim dot ie




On 18 Jun 2014, at 09:56, Oeyvind Brandtsegg  wrote:

> Hi,
> I get a segmentation violation with simple array statements like this:
> 
> instr 1
> iArr[] array 1, 2, 3
> ;iArr[0] = iArr[0] + 10         ; Segmentation violation on windows if
> this line is uncommented
> prints "   iArr[0] = %d\n\n", iArr[0]
> ;itest   = iArr[0]               ; this one also give segmentation violation
> endin
> 
> Has it been recently fixed (since 6.03)?
> 
> -- 
> 
> Oeyvind Brandtsegg
> Professor of Music Technology
> NTNU
> 7491 Trondheim
> Norway
> Cell: +47 92 203 205
> 
> http://flyndresang.no/
> http://www.partikkelaudio.com/
> http://soundcloud.com/brandtsegg
> http://soundcloud.com/t-emp
> 
> ------------------------------------------------------------------------------
> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> Find What Matters Most in Your Big Data with HPCC Systems
> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> http://p.sf.net/sfu/hpccsystems
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net