Csound Csound-dev Csound-tekno Search About

[Csnd-dev] more on subinstr

Date2018-10-19 12:31
FromJohn
Subject[Csnd-dev] more on subinstr
This code from insert.c lines about 1044-1050 is clearly involved.
The complaint is that the auxchfree is freeing memory already freed in
the call to csound->Free earlier.  No idea about subinstr but it looks
as if it s the culprit

          if (ip->auxchp != NULL)
            auxchfree(csound, ip);
          free_instr_var_memory(csound, ip);
          if ((nxtip = ip->nxtinstance) != NULL)
            nxtip->prvinstance = prvip;
          *prvnxtloc = nxtip;
          csound->Free(csound, (char *)ip);
        }


Date2018-10-19 12:36
FromMauro Giubileo
SubjectRe: [Csnd-dev] more on subinstr

Yes, I found that too with the VS debugger. But I have absolutely no idea what code could have made that memory be freed before the auxchfree function...

Mauro


Il 2018-10-19 13:31 John ha scritto:

This code from insert.c lines about 1044-1050 is clearly involved.
The complaint is that the auxchfree is freeing memory already freed in
the call to csound->Free earlier.  No idea about subinstr but it looks
as if it s the culprit

          if (ip->auxchp != NULL)
            auxchfree(csound, ip);
          free_instr_var_memory(csound, ip);
          if ((nxtip = ip->nxtinstance) != NULL)
            nxtip->prvinstance = prvip;
          *prvnxtloc = nxtip;
          csound->Free(csound, (char *)ip);
        }


==John ffitch

Date2018-10-19 12:36
FromVictor Lazzarini
SubjectRe: [Csnd-dev] more on subinstr
That code seems OK, wondering how Free got called then.
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 19 Oct 2018, at 12:31, John  wrote:
> 
> This code from insert.c lines about 1044-1050 is clearly involved.
> The complaint is that the auxchfree is freeing memory already freed in
> the call to csound->Free earlier.  No idea about subinstr but it looks
> as if it s the culprit
> 
>          if (ip->auxchp != NULL)
>            auxchfree(csound, ip);
>          free_instr_var_memory(csound, ip);
>          if ((nxtip = ip->nxtinstance) != NULL)
>            nxtip->prvinstance = prvip;
>          *prvnxtloc = nxtip;
>          csound->Free(csound, (char *)ip);
>        }
> 
> 

Date2018-10-19 12:52
FromVictor Lazzarini
SubjectRe: [Csnd-dev] more on subinstr
Well it doesn’t crash here, but that’s not really saying anything. However,  running with -v I get reports from auxchfree, but none
concerning instr 2 (meaning it’s not being called):

auxlist for instr corda [201] (0x7f942788dc20):
	auxch at 0x7f9427896f98: size 1344, auxp 0x7f9427897a20, endp 0x7f9427897f60
	auxch at 0x7f9427896e80: size 48, auxp 0x7f94275b4210, endp 0x7f94275b4240
auxlist for instr corda [201] (0x7f942788dc20):
auxlist for instr corda [201] (0x7f94278af220):
	auxch at 0x7f94278b8598: size 1208, auxp 0x7f94278b9020, endp 0x7f94278b94d8
	auxch at 0x7f94278b8480: size 48, auxp 0x7f94275b5990, endp 0x7f94275b59c0
auxlist for instr corda [201] (0x7f94278af220):
auxlist for instr corda [201] (0x7f94278d0820):
	auxch at 0x7f94278d9b98: size 1032, auxp 0x7f94278da620, endp 0x7f94278daa28
	auxch at 0x7f94278d9a80: size 48, auxp 0x7f94275b71d0, endp 0x7f94275b7200
auxlist for instr corda [201] (0x7f94278d0820):
auxlist for instr corda [201] (0x7f94278f1e20):
	auxch at 0x7f94278fb198: size 896, auxp 0x7f94275b5440, endp 0x7f94275b57c0
	auxch at 0x7f94278fb080: size 48, auxp 0x7f942753dad0, endp 0x7f942753db00
auxlist for instr corda [201] (0x7f94278f1e20):
auxlist for instr corda [201] (0x7f9427912e20):
	auxch at 0x7f942791c198: size 816, auxp 0x7f94275b7a00, endp 0x7f94275b7d30
	auxch at 0x7f942791c080: size 48, auxp 0x7f942753dc90, endp 0x7f942753dcc0
auxlist for instr corda [201] (0x7f9427912e20):
auxlist for instr corda [201] (0x7f9427933e20):
	auxch at 0x7f942793d198: size 720, auxp 0x7f94275b4a60, endp 0x7f94275b4d30
	auxch at 0x7f942793d080: size 48, auxp 0x7f94275b7d50, endp 0x7f94275b7d80
auxlist for instr corda [201] (0x7f9427933e20):
auxlist for instr corda [201] (0x7f9427954e20):
	auxch at 0x7f942795e198: size 1344, auxp 0x7f942795ec20, endp 0x7f942795f160
	auxch at 0x7f942795e080: size 48, auxp 0x7f94275b5f30, endp 0x7f94275b5f60
auxlist for instr corda [201] (0x7f9427954e20):
auxlist for instr corda [201] (0x7f9427976420):
	auxch at 0x7f942797f798: size 1208, auxp 0x7f9427980220, endp 0x7f94279806d8
	auxch at 0x7f942797f680: size 48, auxp 0x7f94275b60f0, endp 0x7f94275b6120
auxlist for instr corda [201] (0x7f9427976420):
auxlist for instr corda [201] (0x7f9429817220):
	auxch at 0x7f9429820598: size 1032, auxp 0x7f9429821020, endp 0x7f9429821428
	auxch at 0x7f9429820480: size 48, auxp 0x7f94289001c0, endp 0x7f94289001f0
auxlist for instr corda [201] (0x7f9429817220):
auxlist for instr corda [201] (0x7f942a017220):
	auxch at 0x7f942a020598: size 896, auxp 0x7f94288005f0, endp 0x7f9428800970
	auxch at 0x7f942a020480: size 48, auxp 0x7f94288004e0, endp 0x7f9428800510
auxlist for instr corda [201] (0x7f942a017220):
auxlist for instr corda [201] (0x7f942a038220):
	auxch at 0x7f942a041598: size 816, auxp 0x7f9428800a90, endp 0x7f9428800dc0
	auxch at 0x7f942a041480: size 48, auxp 0x7f9428800a40, endp 0x7f9428800a70
auxlist for instr corda [201] (0x7f942a038220):
auxlist for instr corda [201] (0x7f942a059220):
	auxch at 0x7f942a062598: size 1032, auxp 0x7f942a063020, endp 0x7f942a063428
	auxch at 0x7f942a062480: size 48, auxp 0x7f9428800f50, endp 0x7f9428800f80
auxlist for instr corda [201] (0x7f942a059220):
auxlist for instr corda [201] (0x7f942a07a820):
	auxch at 0x7f942a083b98: size 720, auxp 0x7f9428801160, endp 0x7f9428801430
	auxch at 0x7f942a083a80: size 48, auxp 0x7f9428801110, endp 0x7f9428801140
auxlist for instr corda [201] (0x7f942a07a820):
auxlist for instr corda [201] (0x7f942a09b820):
	auxch at 0x7f942a0a4b98: size 1344, auxp 0x7f942a0a5620, endp 0x7f942a0a5b60
	auxch at 0x7f942a0a4a80: size 48, auxp 0x7f94288015c0, endp 0x7f94288015f0
auxlist for instr corda [201] (0x7f942a09b820):
auxlist for instr corda [201] (0x7f942a0bce20):
	auxch at 0x7f942a0c6198: size 1208, auxp 0x7f942a0c6c20, endp 0x7f942a0c70d8
	auxch at 0x7f942a0c6080: size 48, auxp 0x7f9428801780, endp 0x7f94288017b0
auxlist for instr corda [201] (0x7f942a0bce20):
auxlist for instr corda [201] (0x7f942a0de420):
	auxch at 0x7f942a0e7798: size 1032, auxp 0x7f942a0e8220, endp 0x7f942a0e8628
	auxch at 0x7f942a0e7680: size 48, auxp 0x7f9428801940, endp 0x7f9428801970
auxlist for instr corda [201] (0x7f942a0de420):
auxlist for instr corda [201] (0x7f942a0ffa20):
	auxch at 0x7f942a108d98: size 896, auxp 0x7f9428801b50, endp 0x7f9428801ed0
	auxch at 0x7f942a108c80: size 48, auxp 0x7f9428801b00, endp 0x7f9428801b30
auxlist for instr corda [201] (0x7f942a0ffa20):
auxlist for instr corda [201] (0x7f942a817220):
	auxch at 0x7f942a820598: size 816, auxp 0x7f9428a001a0, endp 0x7f9428a004d0
	auxch at 0x7f942a820480: size 48, auxp 0x7f9428a00150, endp 0x7f9428a00180
auxlist for instr corda [201] (0x7f942a817220):
auxlist for instr corda [201] (0x7f942a120a20):
	auxch at 0x7f942a129d98: size 720, auxp 0x7f94288020b0, endp 0x7f9428802380
	auxch at 0x7f942a129c80: size 48, auxp 0x7f9428802060, endp 0x7f9428802090
auxlist for instr corda [201] (0x7f942a120a20):
auxlist for instr corda [201] (0x7f942a141a20):
	auxch at 0x7f942a14ad98: size 1344, auxp 0x7f942a14b820, endp 0x7f942a14bd60
	auxch at 0x7f942a14ac80: size 48, auxp 0x7f9428802510, endp 0x7f9428802540
auxlist for instr corda [201] (0x7f942a141a20):
auxlist for instr corda [201] (0x7f942a163020):
	auxch at 0x7f942a16c398: size 1208, auxp 0x7f942a16ce20, endp 0x7f942a16d2d8
	auxch at 0x7f942a16c280: size 48, auxp 0x7f94288026d0, endp 0x7f9428802700
auxlist for instr corda [201] (0x7f942a163020):
auxlist for instr corda [201] (0x7f942a184620):
	auxch at 0x7f942a18d998: size 896, auxp 0x7f94288028e0, endp 0x7f9428802c60
	auxch at 0x7f942a18d880: size 48, auxp 0x7f9428802890, endp 0x7f94288028c0
auxlist for instr corda [201] (0x7f942a184620):
auxlist for instr corda [201] (0x7f942a1a5620):
	auxch at 0x7f942a1ae998: size 816, auxp 0x7f9427700c90, endp 0x7f9427700fc0
	auxch at 0x7f942a1ae880: size 48, auxp 0x7f9427704b50, endp 0x7f9427704b80
auxlist for instr corda [201] (0x7f942a1a5620):
auxlist for instr corda [201] (0x7f942901a620):
	auxch at 0x7f9429023998: size 720, auxp 0x7f9427704310, endp 0x7f94277045e0
	auxch at 0x7f9429023880: size 48, auxp 0x7f9427704be0, endp 0x7f9427704c10
auxlist for instr corda [201] (0x7f942901a620):
auxlist for instr 1 (0x7f9427876a20):
	auxch at 0x7f942787fde8: size 96, auxp 0x7f94275b76b0, endp 0x7f94275b7710
	auxch at 0x7f9427888a90: size 32, auxp 0x7f94275b6d90, endp 0x7f94275b6db0
	auxch at 0x7f942787be70: size 4096, auxp 0x7f942788ca20, endp 0x7f942788da20
auxlist for instr 1 (0x7f9427876a20):
auxlist for instr 1 (0x7f9427898020):
	auxch at 0x7f94278a13e8: size 96, auxp 0x7f94275b59e0, endp 0x7f94275b5a40
	auxch at 0x7f94278aa090: size 32, auxp 0x7f94275b9640, endp 0x7f94275b9660
	auxch at 0x7f942789d470: size 4096, auxp 0x7f94278ae020, endp 0x7f94278af020
auxlist for instr 1 (0x7f9427898020):
auxlist for instr 1 (0x7f94278b9620):
	auxch at 0x7f94278c29e8: size 96, auxp 0x7f94275b7220, endp 0x7f94275b7280
	auxch at 0x7f94278cb690: size 32, auxp 0x7f94275b7730, endp 0x7f94275b7750
	auxch at 0x7f94278bea70: size 4096, auxp 0x7f94278cf620, endp 0x7f94278d0620
auxlist for instr 1 (0x7f94278b9620):
auxlist for instr 1 (0x7f94278dac20):
	auxch at 0x7f94278e3fe8: size 96, auxp 0x7f942753db20, endp 0x7f942753db80
	auxch at 0x7f94278ecc90: size 32, auxp 0x7f94275b5a60, endp 0x7f94275b5a80
	auxch at 0x7f94278e0070: size 4096, auxp 0x7f94278f0c20, endp 0x7f94278f1c20
auxlist for instr 1 (0x7f94278dac20):
auxlist for instr 1 (0x7f94278fbc20):
	auxch at 0x7f9427904fe8: size 96, auxp 0x7f94275b6810, endp 0x7f94275b6870
	auxch at 0x7f942790dc90: size 32, auxp 0x7f94275b72a0, endp 0x7f94275b72c0
	auxch at 0x7f9427901070: size 4096, auxp 0x7f9427911c20, endp 0x7f9427912c20
auxlist for instr 1 (0x7f94278fbc20):
auxlist for instr 1 (0x7f942791cc20):
	auxch at 0x7f9427925fe8: size 96, auxp 0x7f94275b6940, endp 0x7f94275b69a0
	auxch at 0x7f942792ec90: size 32, auxp 0x7f942753dba0, endp 0x7f942753dbc0
	auxch at 0x7f9427922070: size 4096, auxp 0x7f9427932c20, endp 0x7f9427933c20
auxlist for instr 1 (0x7f942791cc20):
auxlist for instr 1 (0x7f942793dc20):
	auxch at 0x7f9427946fe8: size 96, auxp 0x7f94275b5f80, endp 0x7f94275b5fe0
	auxch at 0x7f942794fc90: size 32, auxp 0x7f942753dce0, endp 0x7f942753dd00
	auxch at 0x7f9427943070: size 4096, auxp 0x7f9427953c20, endp 0x7f9427954c20
auxlist for instr 1 (0x7f942793dc20):
auxlist for instr 1 (0x7f942795f220):
	auxch at 0x7f94279685e8: size 96, auxp 0x7f94275b6140, endp 0x7f94275b61a0
	auxch at 0x7f9427971290: size 32, auxp 0x7f94275b69c0, endp 0x7f94275b69e0
	auxch at 0x7f9427964670: size 4096, auxp 0x7f9427975220, endp 0x7f9427976220
auxlist for instr 1 (0x7f942795f220):
auxlist for instr 1 (0x7f9429800020):
	auxch at 0x7f94298093e8: size 96, auxp 0x7f9428900210, endp 0x7f9428900270
	auxch at 0x7f9429812090: size 32, auxp 0x7f9428900090, endp 0x7f94289000b0
	auxch at 0x7f9429805470: size 4096, auxp 0x7f9429816020, endp 0x7f9429817020
auxlist for instr 1 (0x7f9429800020):
auxlist for instr 1 (0x7f942a000020):
	auxch at 0x7f942a0093e8: size 96, auxp 0x7f9428800530, endp 0x7f9428800590
	auxch at 0x7f942a012090: size 32, auxp 0x7f94288003b0, endp 0x7f94288003d0
	auxch at 0x7f942a005470: size 4096, auxp 0x7f942a016020, endp 0x7f942a017020
auxlist for instr 1 (0x7f942a000020):
auxlist for instr 1 (0x7f942a021020):
	auxch at 0x7f942a02a3e8: size 96, auxp 0x7f9428800de0, endp 0x7f9428800e40
	auxch at 0x7f942a033090: size 32, auxp 0x7f94288003f0, endp 0x7f9428800410
	auxch at 0x7f942a026470: size 4096, auxp 0x7f942a037020, endp 0x7f942a038020
auxlist for instr 1 (0x7f942a021020):
auxlist for instr 1 (0x7f942a042020):
	auxch at 0x7f942a04b3e8: size 96, auxp 0x7f9428800fa0, endp 0x7f9428801000
	auxch at 0x7f942a054090: size 32, auxp 0x7f94288005b0, endp 0x7f94288005d0
	auxch at 0x7f942a047470: size 4096, auxp 0x7f942a058020, endp 0x7f942a059020
auxlist for instr 1 (0x7f942a042020):
auxlist for instr 1 (0x7f942a063620):
	auxch at 0x7f942a06c9e8: size 96, auxp 0x7f9428801450, endp 0x7f94288014b0
	auxch at 0x7f942a075690: size 32, auxp 0x7f9428800e60, endp 0x7f9428800e80
	auxch at 0x7f942a068a70: size 4096, auxp 0x7f942a079620, endp 0x7f942a07a620
auxlist for instr 1 (0x7f942a063620):
auxlist for instr 1 (0x7f942a084620):
	auxch at 0x7f942a08d9e8: size 96, auxp 0x7f9428801610, endp 0x7f9428801670
	auxch at 0x7f942a096690: size 32, auxp 0x7f9428801020, endp 0x7f9428801040
	auxch at 0x7f942a089a70: size 4096, auxp 0x7f942a09a620, endp 0x7f942a09b620
auxlist for instr 1 (0x7f942a084620):
auxlist for instr 1 (0x7f942a0a5c20):
	auxch at 0x7f942a0aefe8: size 96, auxp 0x7f94288017d0, endp 0x7f9428801830
	auxch at 0x7f942a0b7c90: size 32, auxp 0x7f94288014d0, endp 0x7f94288014f0
	auxch at 0x7f942a0ab070: size 4096, auxp 0x7f942a0bbc20, endp 0x7f942a0bcc20
auxlist for instr 1 (0x7f942a0a5c20):
auxlist for instr 1 (0x7f942a0c7220):
	auxch at 0x7f942a0d05e8: size 96, auxp 0x7f9428801990, endp 0x7f94288019f0
	auxch at 0x7f942a0d9290: size 32, auxp 0x7f9428801690, endp 0x7f94288016b0
	auxch at 0x7f942a0cc670: size 4096, auxp 0x7f942a0dd220, endp 0x7f942a0de220
auxlist for instr 1 (0x7f942a0c7220):
auxlist for instr 1 (0x7f942a0e8820):
	auxch at 0x7f942a0f1be8: size 96, auxp 0x7f9428801ef0, endp 0x7f9428801f50
	auxch at 0x7f942a0fa890: size 32, auxp 0x7f9428801850, endp 0x7f9428801870
	auxch at 0x7f942a0edc70: size 4096, auxp 0x7f942a0fe820, endp 0x7f942a0ff820
auxlist for instr 1 (0x7f942a0e8820):
auxlist for instr 1 (0x7f942a800020):
	auxch at 0x7f942a8093e8: size 96, auxp 0x7f9428a004f0, endp 0x7f9428a00550
	auxch at 0x7f942a812090: size 32, auxp 0x7f9428a00020, endp 0x7f9428a00040
	auxch at 0x7f942a805470: size 4096, auxp 0x7f942a816020, endp 0x7f942a817020
auxlist for instr 1 (0x7f942a800020):
auxlist for instr 1 (0x7f942a109820):
	auxch at 0x7f942a112be8: size 96, auxp 0x7f94288023a0, endp 0x7f9428802400
	auxch at 0x7f942a11b890: size 32, auxp 0x7f9428801a10, endp 0x7f9428801a30
	auxch at 0x7f942a10ec70: size 4096, auxp 0x7f942a11f820, endp 0x7f942a120820
auxlist for instr 1 (0x7f942a109820):
auxlist for instr 1 (0x7f942a12a820):
	auxch at 0x7f942a133be8: size 96, auxp 0x7f9428802560, endp 0x7f94288025c0
	auxch at 0x7f942a13c890: size 32, auxp 0x7f9428801f70, endp 0x7f9428801f90
	auxch at 0x7f942a12fc70: size 4096, auxp 0x7f942a140820, endp 0x7f942a141820
auxlist for instr 1 (0x7f942a12a820):
auxlist for instr 1 (0x7f942a14be20):
	auxch at 0x7f942a1551e8: size 96, auxp 0x7f9428802720, endp 0x7f9428802780
	auxch at 0x7f942a15de90: size 32, auxp 0x7f9428802420, endp 0x7f9428802440
	auxch at 0x7f942a151270: size 4096, auxp 0x7f942a161e20, endp 0x7f942a162e20
auxlist for instr 1 (0x7f942a14be20):
auxlist for instr 1 (0x7f942a16d420):
	auxch at 0x7f942a1767e8: size 96, auxp 0x7f9428802c80, endp 0x7f9428802ce0
	auxch at 0x7f942a17f490: size 32, auxp 0x7f94288025e0, endp 0x7f9428802600
	auxch at 0x7f942a172870: size 4096, auxp 0x7f942a183420, endp 0x7f942a184420
auxlist for instr 1 (0x7f942a16d420):
auxlist for instr 1 (0x7f942a18e420):
	auxch at 0x7f942a1977e8: size 96, auxp 0x7f9427700fe0, endp 0x7f9427701040
	auxch at 0x7f942a1a0490: size 32, auxp 0x7f94288027a0, endp 0x7f94288027c0
	auxch at 0x7f942a193870: size 4096, auxp 0x7f942a1a4420, endp 0x7f942a1a5420
auxlist for instr 1 (0x7f942a18e420):
auxlist for instr 1 (0x7f9429000620):
	auxch at 0x7f94290099e8: size 96, auxp 0x7f94277046a0, endp 0x7f9427704700
	auxch at 0x7f9429016690: size 32, auxp 0x7f9427704100, endp 0x7f9427704120
	auxch at 0x7f9429005a70: size 4096, auxp 0x7f942900da20, endp 0x7f942900ea20
auxlist for instr 1 (0x7f9429000620):

========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 19 Oct 2018, at 12:36, Victor Lazzarini  wrote:
> 
> That code seems OK, wondering how Free got called then.
> ========================
> Prof. Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952 
> 
>> On 19 Oct 2018, at 12:31, John  wrote:
>> 
>> This code from insert.c lines about 1044-1050 is clearly involved.
>> The complaint is that the auxchfree is freeing memory already freed in
>> the call to csound->Free earlier.  No idea about subinstr but it looks
>> as if it s the culprit
>> 
>>         if (ip->auxchp != NULL)
>>           auxchfree(csound, ip);
>>         free_instr_var_memory(csound, ip);
>>         if ((nxtip = ip->nxtinstance) != NULL)
>>           nxtip->prvinstance = prvip;
>>         *prvnxtloc = nxtip;
>>         csound->Free(csound, (char *)ip);
>>       }
>> 
>> 
>> =

Date2018-10-19 12:57
FromVictor Lazzarini
SubjectRe: [Csnd-dev] more on subinstr
However, if I add a score line

i2 0 1 440 120

then auxchfree is called for that instrument

auxlist for instr 2 (0x7fb038045220):
	auxch at 0x7fb038049e90: size 32, auxp 0x7fb036900560, endp 0x7fb036900580
auxlist for instr 2 (0x7fb038045220):


========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 19 Oct 2018, at 12:52, Victor Lazzarini  wrote:
> 
> Well it doesn’t crash here, but that’s not really saying anything. However,  running with -v I get reports from auxchfree, but none
> concerning instr 2 (meaning it’s not being called):
> 
> auxlist for instr corda [201] (0x7f942788dc20):
> 	auxch at 0x7f9427896f98: size 1344, auxp 0x7f9427897a20, endp 0x7f9427897f60
> 	auxch at 0x7f9427896e80: size 48, auxp 0x7f94275b4210, endp 0x7f94275b4240
> auxlist for instr corda [201] (0x7f942788dc20):
> auxlist for instr corda [201] (0x7f94278af220):
> 	auxch at 0x7f94278b8598: size 1208, auxp 0x7f94278b9020, endp 0x7f94278b94d8
> 	auxch at 0x7f94278b8480: size 48, auxp 0x7f94275b5990, endp 0x7f94275b59c0
> auxlist for instr corda [201] (0x7f94278af220):
> auxlist for instr corda [201] (0x7f94278d0820):
> 	auxch at 0x7f94278d9b98: size 1032, auxp 0x7f94278da620, endp 0x7f94278daa28
> 	auxch at 0x7f94278d9a80: size 48, auxp 0x7f94275b71d0, endp 0x7f94275b7200
> auxlist for instr corda [201] (0x7f94278d0820):
> auxlist for instr corda [201] (0x7f94278f1e20):
> 	auxch at 0x7f94278fb198: size 896, auxp 0x7f94275b5440, endp 0x7f94275b57c0
> 	auxch at 0x7f94278fb080: size 48, auxp 0x7f942753dad0, endp 0x7f942753db00
> auxlist for instr corda [201] (0x7f94278f1e20):
> auxlist for instr corda [201] (0x7f9427912e20):
> 	auxch at 0x7f942791c198: size 816, auxp 0x7f94275b7a00, endp 0x7f94275b7d30
> 	auxch at 0x7f942791c080: size 48, auxp 0x7f942753dc90, endp 0x7f942753dcc0
> auxlist for instr corda [201] (0x7f9427912e20):
> auxlist for instr corda [201] (0x7f9427933e20):
> 	auxch at 0x7f942793d198: size 720, auxp 0x7f94275b4a60, endp 0x7f94275b4d30
> 	auxch at 0x7f942793d080: size 48, auxp 0x7f94275b7d50, endp 0x7f94275b7d80
> auxlist for instr corda [201] (0x7f9427933e20):
> auxlist for instr corda [201] (0x7f9427954e20):
> 	auxch at 0x7f942795e198: size 1344, auxp 0x7f942795ec20, endp 0x7f942795f160
> 	auxch at 0x7f942795e080: size 48, auxp 0x7f94275b5f30, endp 0x7f94275b5f60
> auxlist for instr corda [201] (0x7f9427954e20):
> auxlist for instr corda [201] (0x7f9427976420):
> 	auxch at 0x7f942797f798: size 1208, auxp 0x7f9427980220, endp 0x7f94279806d8
> 	auxch at 0x7f942797f680: size 48, auxp 0x7f94275b60f0, endp 0x7f94275b6120
> auxlist for instr corda [201] (0x7f9427976420):
> auxlist for instr corda [201] (0x7f9429817220):
> 	auxch at 0x7f9429820598: size 1032, auxp 0x7f9429821020, endp 0x7f9429821428
> 	auxch at 0x7f9429820480: size 48, auxp 0x7f94289001c0, endp 0x7f94289001f0
> auxlist for instr corda [201] (0x7f9429817220):
> auxlist for instr corda [201] (0x7f942a017220):
> 	auxch at 0x7f942a020598: size 896, auxp 0x7f94288005f0, endp 0x7f9428800970
> 	auxch at 0x7f942a020480: size 48, auxp 0x7f94288004e0, endp 0x7f9428800510
> auxlist for instr corda [201] (0x7f942a017220):
> auxlist for instr corda [201] (0x7f942a038220):
> 	auxch at 0x7f942a041598: size 816, auxp 0x7f9428800a90, endp 0x7f9428800dc0
> 	auxch at 0x7f942a041480: size 48, auxp 0x7f9428800a40, endp 0x7f9428800a70
> auxlist for instr corda [201] (0x7f942a038220):
> auxlist for instr corda [201] (0x7f942a059220):
> 	auxch at 0x7f942a062598: size 1032, auxp 0x7f942a063020, endp 0x7f942a063428
> 	auxch at 0x7f942a062480: size 48, auxp 0x7f9428800f50, endp 0x7f9428800f80
> auxlist for instr corda [201] (0x7f942a059220):
> auxlist for instr corda [201] (0x7f942a07a820):
> 	auxch at 0x7f942a083b98: size 720, auxp 0x7f9428801160, endp 0x7f9428801430
> 	auxch at 0x7f942a083a80: size 48, auxp 0x7f9428801110, endp 0x7f9428801140
> auxlist for instr corda [201] (0x7f942a07a820):
> auxlist for instr corda [201] (0x7f942a09b820):
> 	auxch at 0x7f942a0a4b98: size 1344, auxp 0x7f942a0a5620, endp 0x7f942a0a5b60
> 	auxch at 0x7f942a0a4a80: size 48, auxp 0x7f94288015c0, endp 0x7f94288015f0
> auxlist for instr corda [201] (0x7f942a09b820):
> auxlist for instr corda [201] (0x7f942a0bce20):
> 	auxch at 0x7f942a0c6198: size 1208, auxp 0x7f942a0c6c20, endp 0x7f942a0c70d8
> 	auxch at 0x7f942a0c6080: size 48, auxp 0x7f9428801780, endp 0x7f94288017b0
> auxlist for instr corda [201] (0x7f942a0bce20):
> auxlist for instr corda [201] (0x7f942a0de420):
> 	auxch at 0x7f942a0e7798: size 1032, auxp 0x7f942a0e8220, endp 0x7f942a0e8628
> 	auxch at 0x7f942a0e7680: size 48, auxp 0x7f9428801940, endp 0x7f9428801970
> auxlist for instr corda [201] (0x7f942a0de420):
> auxlist for instr corda [201] (0x7f942a0ffa20):
> 	auxch at 0x7f942a108d98: size 896, auxp 0x7f9428801b50, endp 0x7f9428801ed0
> 	auxch at 0x7f942a108c80: size 48, auxp 0x7f9428801b00, endp 0x7f9428801b30
> auxlist for instr corda [201] (0x7f942a0ffa20):
> auxlist for instr corda [201] (0x7f942a817220):
> 	auxch at 0x7f942a820598: size 816, auxp 0x7f9428a001a0, endp 0x7f9428a004d0
> 	auxch at 0x7f942a820480: size 48, auxp 0x7f9428a00150, endp 0x7f9428a00180
> auxlist for instr corda [201] (0x7f942a817220):
> auxlist for instr corda [201] (0x7f942a120a20):
> 	auxch at 0x7f942a129d98: size 720, auxp 0x7f94288020b0, endp 0x7f9428802380
> 	auxch at 0x7f942a129c80: size 48, auxp 0x7f9428802060, endp 0x7f9428802090
> auxlist for instr corda [201] (0x7f942a120a20):
> auxlist for instr corda [201] (0x7f942a141a20):
> 	auxch at 0x7f942a14ad98: size 1344, auxp 0x7f942a14b820, endp 0x7f942a14bd60
> 	auxch at 0x7f942a14ac80: size 48, auxp 0x7f9428802510, endp 0x7f9428802540
> auxlist for instr corda [201] (0x7f942a141a20):
> auxlist for instr corda [201] (0x7f942a163020):
> 	auxch at 0x7f942a16c398: size 1208, auxp 0x7f942a16ce20, endp 0x7f942a16d2d8
> 	auxch at 0x7f942a16c280: size 48, auxp 0x7f94288026d0, endp 0x7f9428802700
> auxlist for instr corda [201] (0x7f942a163020):
> auxlist for instr corda [201] (0x7f942a184620):
> 	auxch at 0x7f942a18d998: size 896, auxp 0x7f94288028e0, endp 0x7f9428802c60
> 	auxch at 0x7f942a18d880: size 48, auxp 0x7f9428802890, endp 0x7f94288028c0
> auxlist for instr corda [201] (0x7f942a184620):
> auxlist for instr corda [201] (0x7f942a1a5620):
> 	auxch at 0x7f942a1ae998: size 816, auxp 0x7f9427700c90, endp 0x7f9427700fc0
> 	auxch at 0x7f942a1ae880: size 48, auxp 0x7f9427704b50, endp 0x7f9427704b80
> auxlist for instr corda [201] (0x7f942a1a5620):
> auxlist for instr corda [201] (0x7f942901a620):
> 	auxch at 0x7f9429023998: size 720, auxp 0x7f9427704310, endp 0x7f94277045e0
> 	auxch at 0x7f9429023880: size 48, auxp 0x7f9427704be0, endp 0x7f9427704c10
> auxlist for instr corda [201] (0x7f942901a620):
> auxlist for instr 1 (0x7f9427876a20):
> 	auxch at 0x7f942787fde8: size 96, auxp 0x7f94275b76b0, endp 0x7f94275b7710
> 	auxch at 0x7f9427888a90: size 32, auxp 0x7f94275b6d90, endp 0x7f94275b6db0
> 	auxch at 0x7f942787be70: size 4096, auxp 0x7f942788ca20, endp 0x7f942788da20
> auxlist for instr 1 (0x7f9427876a20):
> auxlist for instr 1 (0x7f9427898020):
> 	auxch at 0x7f94278a13e8: size 96, auxp 0x7f94275b59e0, endp 0x7f94275b5a40
> 	auxch at 0x7f94278aa090: size 32, auxp 0x7f94275b9640, endp 0x7f94275b9660
> 	auxch at 0x7f942789d470: size 4096, auxp 0x7f94278ae020, endp 0x7f94278af020
> auxlist for instr 1 (0x7f9427898020):
> auxlist for instr 1 (0x7f94278b9620):
> 	auxch at 0x7f94278c29e8: size 96, auxp 0x7f94275b7220, endp 0x7f94275b7280
> 	auxch at 0x7f94278cb690: size 32, auxp 0x7f94275b7730, endp 0x7f94275b7750
> 	auxch at 0x7f94278bea70: size 4096, auxp 0x7f94278cf620, endp 0x7f94278d0620
> auxlist for instr 1 (0x7f94278b9620):
> auxlist for instr 1 (0x7f94278dac20):
> 	auxch at 0x7f94278e3fe8: size 96, auxp 0x7f942753db20, endp 0x7f942753db80
> 	auxch at 0x7f94278ecc90: size 32, auxp 0x7f94275b5a60, endp 0x7f94275b5a80
> 	auxch at 0x7f94278e0070: size 4096, auxp 0x7f94278f0c20, endp 0x7f94278f1c20
> auxlist for instr 1 (0x7f94278dac20):
> auxlist for instr 1 (0x7f94278fbc20):
> 	auxch at 0x7f9427904fe8: size 96, auxp 0x7f94275b6810, endp 0x7f94275b6870
> 	auxch at 0x7f942790dc90: size 32, auxp 0x7f94275b72a0, endp 0x7f94275b72c0
> 	auxch at 0x7f9427901070: size 4096, auxp 0x7f9427911c20, endp 0x7f9427912c20
> auxlist for instr 1 (0x7f94278fbc20):
> auxlist for instr 1 (0x7f942791cc20):
> 	auxch at 0x7f9427925fe8: size 96, auxp 0x7f94275b6940, endp 0x7f94275b69a0
> 	auxch at 0x7f942792ec90: size 32, auxp 0x7f942753dba0, endp 0x7f942753dbc0
> 	auxch at 0x7f9427922070: size 4096, auxp 0x7f9427932c20, endp 0x7f9427933c20
> auxlist for instr 1 (0x7f942791cc20):
> auxlist for instr 1 (0x7f942793dc20):
> 	auxch at 0x7f9427946fe8: size 96, auxp 0x7f94275b5f80, endp 0x7f94275b5fe0
> 	auxch at 0x7f942794fc90: size 32, auxp 0x7f942753dce0, endp 0x7f942753dd00
> 	auxch at 0x7f9427943070: size 4096, auxp 0x7f9427953c20, endp 0x7f9427954c20
> auxlist for instr 1 (0x7f942793dc20):
> auxlist for instr 1 (0x7f942795f220):
> 	auxch at 0x7f94279685e8: size 96, auxp 0x7f94275b6140, endp 0x7f94275b61a0
> 	auxch at 0x7f9427971290: size 32, auxp 0x7f94275b69c0, endp 0x7f94275b69e0
> 	auxch at 0x7f9427964670: size 4096, auxp 0x7f9427975220, endp 0x7f9427976220
> auxlist for instr 1 (0x7f942795f220):
> auxlist for instr 1 (0x7f9429800020):
> 	auxch at 0x7f94298093e8: size 96, auxp 0x7f9428900210, endp 0x7f9428900270
> 	auxch at 0x7f9429812090: size 32, auxp 0x7f9428900090, endp 0x7f94289000b0
> 	auxch at 0x7f9429805470: size 4096, auxp 0x7f9429816020, endp 0x7f9429817020
> auxlist for instr 1 (0x7f9429800020):
> auxlist for instr 1 (0x7f942a000020):
> 	auxch at 0x7f942a0093e8: size 96, auxp 0x7f9428800530, endp 0x7f9428800590
> 	auxch at 0x7f942a012090: size 32, auxp 0x7f94288003b0, endp 0x7f94288003d0
> 	auxch at 0x7f942a005470: size 4096, auxp 0x7f942a016020, endp 0x7f942a017020
> auxlist for instr 1 (0x7f942a000020):
> auxlist for instr 1 (0x7f942a021020):
> 	auxch at 0x7f942a02a3e8: size 96, auxp 0x7f9428800de0, endp 0x7f9428800e40
> 	auxch at 0x7f942a033090: size 32, auxp 0x7f94288003f0, endp 0x7f9428800410
> 	auxch at 0x7f942a026470: size 4096, auxp 0x7f942a037020, endp 0x7f942a038020
> auxlist for instr 1 (0x7f942a021020):
> auxlist for instr 1 (0x7f942a042020):
> 	auxch at 0x7f942a04b3e8: size 96, auxp 0x7f9428800fa0, endp 0x7f9428801000
> 	auxch at 0x7f942a054090: size 32, auxp 0x7f94288005b0, endp 0x7f94288005d0
> 	auxch at 0x7f942a047470: size 4096, auxp 0x7f942a058020, endp 0x7f942a059020
> auxlist for instr 1 (0x7f942a042020):
> auxlist for instr 1 (0x7f942a063620):
> 	auxch at 0x7f942a06c9e8: size 96, auxp 0x7f9428801450, endp 0x7f94288014b0
> 	auxch at 0x7f942a075690: size 32, auxp 0x7f9428800e60, endp 0x7f9428800e80
> 	auxch at 0x7f942a068a70: size 4096, auxp 0x7f942a079620, endp 0x7f942a07a620
> auxlist for instr 1 (0x7f942a063620):
> auxlist for instr 1 (0x7f942a084620):
> 	auxch at 0x7f942a08d9e8: size 96, auxp 0x7f9428801610, endp 0x7f9428801670
> 	auxch at 0x7f942a096690: size 32, auxp 0x7f9428801020, endp 0x7f9428801040
> 	auxch at 0x7f942a089a70: size 4096, auxp 0x7f942a09a620, endp 0x7f942a09b620
> auxlist for instr 1 (0x7f942a084620):
> auxlist for instr 1 (0x7f942a0a5c20):
> 	auxch at 0x7f942a0aefe8: size 96, auxp 0x7f94288017d0, endp 0x7f9428801830
> 	auxch at 0x7f942a0b7c90: size 32, auxp 0x7f94288014d0, endp 0x7f94288014f0
> 	auxch at 0x7f942a0ab070: size 4096, auxp 0x7f942a0bbc20, endp 0x7f942a0bcc20
> auxlist for instr 1 (0x7f942a0a5c20):
> auxlist for instr 1 (0x7f942a0c7220):
> 	auxch at 0x7f942a0d05e8: size 96, auxp 0x7f9428801990, endp 0x7f94288019f0
> 	auxch at 0x7f942a0d9290: size 32, auxp 0x7f9428801690, endp 0x7f94288016b0
> 	auxch at 0x7f942a0cc670: size 4096, auxp 0x7f942a0dd220, endp 0x7f942a0de220
> auxlist for instr 1 (0x7f942a0c7220):
> auxlist for instr 1 (0x7f942a0e8820):
> 	auxch at 0x7f942a0f1be8: size 96, auxp 0x7f9428801ef0, endp 0x7f9428801f50
> 	auxch at 0x7f942a0fa890: size 32, auxp 0x7f9428801850, endp 0x7f9428801870
> 	auxch at 0x7f942a0edc70: size 4096, auxp 0x7f942a0fe820, endp 0x7f942a0ff820
> auxlist for instr 1 (0x7f942a0e8820):
> auxlist for instr 1 (0x7f942a800020):
> 	auxch at 0x7f942a8093e8: size 96, auxp 0x7f9428a004f0, endp 0x7f9428a00550
> 	auxch at 0x7f942a812090: size 32, auxp 0x7f9428a00020, endp 0x7f9428a00040
> 	auxch at 0x7f942a805470: size 4096, auxp 0x7f942a816020, endp 0x7f942a817020
> auxlist for instr 1 (0x7f942a800020):
> auxlist for instr 1 (0x7f942a109820):
> 	auxch at 0x7f942a112be8: size 96, auxp 0x7f94288023a0, endp 0x7f9428802400
> 	auxch at 0x7f942a11b890: size 32, auxp 0x7f9428801a10, endp 0x7f9428801a30
> 	auxch at 0x7f942a10ec70: size 4096, auxp 0x7f942a11f820, endp 0x7f942a120820
> auxlist for instr 1 (0x7f942a109820):
> auxlist for instr 1 (0x7f942a12a820):
> 	auxch at 0x7f942a133be8: size 96, auxp 0x7f9428802560, endp 0x7f94288025c0
> 	auxch at 0x7f942a13c890: size 32, auxp 0x7f9428801f70, endp 0x7f9428801f90
> 	auxch at 0x7f942a12fc70: size 4096, auxp 0x7f942a140820, endp 0x7f942a141820
> auxlist for instr 1 (0x7f942a12a820):
> auxlist for instr 1 (0x7f942a14be20):
> 	auxch at 0x7f942a1551e8: size 96, auxp 0x7f9428802720, endp 0x7f9428802780
> 	auxch at 0x7f942a15de90: size 32, auxp 0x7f9428802420, endp 0x7f9428802440
> 	auxch at 0x7f942a151270: size 4096, auxp 0x7f942a161e20, endp 0x7f942a162e20
> auxlist for instr 1 (0x7f942a14be20):
> auxlist for instr 1 (0x7f942a16d420):
> 	auxch at 0x7f942a1767e8: size 96, auxp 0x7f9428802c80, endp 0x7f9428802ce0
> 	auxch at 0x7f942a17f490: size 32, auxp 0x7f94288025e0, endp 0x7f9428802600
> 	auxch at 0x7f942a172870: size 4096, auxp 0x7f942a183420, endp 0x7f942a184420
> auxlist for instr 1 (0x7f942a16d420):
> auxlist for instr 1 (0x7f942a18e420):
> 	auxch at 0x7f942a1977e8: size 96, auxp 0x7f9427700fe0, endp 0x7f9427701040
> 	auxch at 0x7f942a1a0490: size 32, auxp 0x7f94288027a0, endp 0x7f94288027c0
> 	auxch at 0x7f942a193870: size 4096, auxp 0x7f942a1a4420, endp 0x7f942a1a5420
> auxlist for instr 1 (0x7f942a18e420):
> auxlist for instr 1 (0x7f9429000620):
> 	auxch at 0x7f94290099e8: size 96, auxp 0x7f94277046a0, endp 0x7f9427704700
> 	auxch at 0x7f9429016690: size 32, auxp 0x7f9427704100, endp 0x7f9427704120
> 	auxch at 0x7f9429005a70: size 4096, auxp 0x7f942900da20, endp 0x7f942900ea20
> auxlist for instr 1 (0x7f9429000620):
> 
> ========================
> Prof. Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952 
> 
>> On 19 Oct 2018, at 12:36, Victor Lazzarini  wrote:
>> 
>> That code seems OK, wondering how Free got called then.
>> ========================
>> Prof. Victor Lazzarini
>> Dean of Arts, Celtic Studies, and Philosophy,
>> Maynooth University,
>> Maynooth, Co Kildare, Ireland
>> Tel: 00 353 7086936
>> Fax: 00 353 1 7086952 
>> 
>>> On 19 Oct 2018, at 12:31, John  wrote:
>>> 
>>> This code from insert.c lines about 1044-1050 is clearly involved.
>>> The complaint is that the auxchfree is freeing memory already freed in
>>> the call to csound->Free earlier.  No idea about subinstr but it looks
>>> as if it s the culprit
>>> 
>>>        if (ip->auxchp != NULL)
>>>          auxchfree(csound, ip);
>>>        free_instr_var_memory(csound, ip);
>>>        if ((nxtip = ip->nxtinstance) != NULL)
>>>          nxtip->prvinstance = prvip;
>>>        *prvnxtloc = nxtip;
>>>        csound->Free(csound, (char *)ip);
>>>      }
>>> 
>>> 
>>> ==John ffitc

Date2018-10-19 13:32
FromMauro Giubileo
SubjectRe: [Csnd-dev] more on subinstr

This is my auxlist output with -v from a Windows machine:

auxlist for instr corda [201] (000001F1ABF5D180):
        auxch at 000001F1ABF664F8: size 1344, auxp 000001F1ABF66F60, endp 000001F1ABF674A0
        auxch at 000001F1ABF663E0: size 48, auxp 000001F1ABE49800, endp 000001F1ABE49830
auxlist for instr corda [201] (000001F1ABF5D180):
auxlist for instr corda [201] (000001F1ABF7F5A0):
        auxch at 000001F1ABF88918: size 1208, auxp 000001F1ABF89380, endp 000001F1ABF89838
        auxch at 000001F1ABF88800: size 48, auxp 000001F1ABE48C60, endp 000001F1ABE48C90
auxlist for instr corda [201] (000001F1ABF7F5A0):
auxlist for instr corda [201] (000001F1ABFA1840):
        auxch at 000001F1ABFAABB8: size 1032, auxp 000001F1ABFAB620, endp 000001F1ABFABA28
        auxch at 000001F1ABFAAAA0: size 48, auxp 000001F1ABE49020, endp 000001F1ABE49050
auxlist for instr corda [201] (000001F1ABFA1840):
auxlist for instr corda [201] (000001F1ABFC29D0):
        auxch at 000001F1ABFCBD48: size 896, auxp 000001F1ABFCC7B0, endp 000001F1ABFCCB30
        auxch at 000001F1ABFCBC30: size 48, auxp 000001F1ABE49080, endp 000001F1ABE490B0
auxlist for instr corda [201] (000001F1ABFC29D0):
auxlist for instr corda [201] (000001F1ACDA9C00):
        auxch at 000001F1ACDB2F78: size 816, auxp 000001F1ACDB39E0, endp 000001F1ACDB3D10
        auxch at 000001F1ACDB2E60: size 48, auxp 000001F1ABE4A400, endp 000001F1ABE4A430
auxlist for instr corda [201] (000001F1ACDA9C00):
auxlist for instr corda [201] (000001F1ACDCACC0):
        auxch at 000001F1ACDD4038: size 720, auxp 000001F1ACDD4AA0, endp 000001F1ACDD4D70
        auxch at 000001F1ACDD3F20: size 48, auxp 000001F1ABE4AC40, endp 000001F1ABE4AC70
auxlist for instr corda [201] (000001F1ACDCACC0):
auxlist for instr corda [201] (000001F1ACDEBD20):
        auxch at 000001F1ACDF5098: size 1344, auxp 000001F1ABFDAED0, endp 000001F1ABFDB410
        auxch at 000001F1ACDF4F80: size 48, auxp 000001F1ABE4A9A0, endp 000001F1ABE4A9D0
auxlist for instr corda [201] (000001F1ACDEBD20):
auxlist for instr corda [201] (000001F1ACE0CA80):
        auxch at 000001F1ACE15DF8: size 1208, auxp 000001F1ACE16860, endp 000001F1ACE16D18
        auxch at 000001F1ACE15CE0: size 48, auxp 000001F1ABE49980, endp 000001F1ABE499B0
auxlist for instr corda [201] (000001F1ACE0CA80):
auxlist for instr corda [201] (000001F1ACE2DCC0):
        auxch at 000001F1ACE37038: size 1032, auxp 000001F1ACE37AA0, endp 000001F1ACE37EA8
        auxch at 000001F1ACE36F20: size 48, auxp 000001F1ABE49FE0, endp 000001F1ABE4A010
auxlist for instr corda [201] (000001F1ACE2DCC0):
auxlist for instr corda [201] (000001F1ACE4EE50):
        auxch at 000001F1ACE581C8: size 896, auxp 000001F1ACE58C30, endp 000001F1ACE58FB0
        auxch at 000001F1ACE580B0: size 48, auxp 000001F1ABE4A2E0, endp 000001F1ABE4A310
auxlist for instr corda [201] (000001F1ACE4EE50):
auxlist for instr corda [201] (000001F1ACE6FF70):
        auxch at 000001F1ACE792E8: size 816, auxp 000001F1ABFDD450, endp 000001F1ABFDD780
        auxch at 000001F1ACE791D0: size 48, auxp 000001F1ABE4AA00, endp 000001F1ABE4AA30
auxlist for instr corda [201] (000001F1ACE6FF70):
auxlist for instr corda [201] (000001F1ACE90CD0):
        auxch at 000001F1ACE9A048: size 1032, auxp 000001F1ACE9AAB0, endp 000001F1ACE9AEB8
        auxch at 000001F1ACE99F30: size 48, auxp 000001F1ABE4B000, endp 000001F1ABE4B030
auxlist for instr corda [201] (000001F1ACE90CD0):
auxlist for instr corda [201] (000001F1ACEB1E60):
        auxch at 000001F1ACEBB1D8: size 720, auxp 000001F1ACEBBC40, endp 000001F1ACEBBF10
        auxch at 000001F1ACEBB0C0: size 48, auxp 000001F1ABE4AF40, endp 000001F1ABE4AF70
auxlist for instr corda [201] (000001F1ACEB1E60):
auxlist for instr corda [201] (000001F1ACEE1EA0):
        auxch at 000001F1ACEEB218: size 1344, auxp 000001F1ABFDD7B0, endp 000001F1ABFDDCF0
        auxch at 000001F1ACEEB100: size 48, auxp 000001F1ABE4AFA0, endp 000001F1ABE4AFD0
auxlist for instr corda [201] (000001F1ACEE1EA0):
auxlist for instr corda [201] (000001F1ACF01BD0):
        auxch at 000001F1ACF0AF48: size 1208, auxp 000001F1ABFDDD20, endp 000001F1ABFDE1D8
        auxch at 000001F1ACF0AE30: size 48, auxp 000001F1ABE4B0C0, endp 000001F1ABE4B0F0
auxlist for instr corda [201] (000001F1ACF01BD0):
auxlist for instr corda [201] (000001F1ACF23910):
        auxch at 000001F1ACF2CC88: size 1032, auxp 000001F1ABFDE200, endp 000001F1ABFDE608
        auxch at 000001F1ACF2CB70: size 48, auxp 000001F1ABE49920, endp 000001F1ABE49950
auxlist for instr corda [201] (000001F1ACF23910):
auxlist for instr corda [201] (000001F1ACF43640):
        auxch at 000001F1ACF4C9B8: size 896, auxp 000001F1ABFDE630, endp 000001F1ABFDE9B0
        auxch at 000001F1ACF4C8A0: size 48, auxp 000001F1ABE4A520, endp 000001F1ABE4A550
auxlist for instr corda [201] (000001F1ACF43640):
auxlist for instr corda [201] (000001F1ACF63370):
        auxch at 000001F1ACF6C6E8: size 816, auxp 000001F1ABFDE9E0, endp 000001F1ABFDED10
        auxch at 000001F1ACF6C5D0: size 48, auxp 000001F1ABE4AE20, endp 000001F1ABE4AE50
auxlist for instr corda [201] (000001F1ACF63370):
auxlist for instr corda [201] (000001F1ACF830A0):
        auxch at 000001F1ACF8C418: size 720, auxp 000001F1ACF8CE80, endp 000001F1ACF8D150
        auxch at 000001F1ACF8C300: size 48, auxp 000001F1ABE4A460, endp 000001F1ABE4A490
auxlist for instr corda [201] (000001F1ACF830A0):
auxlist for instr corda [201] (000001F1ACFA30D0):
        auxch at 000001F1ACFAC448: size 1344, auxp 000001F1ACFACEB0, endp 000001F1ACFAD3F0
        auxch at 000001F1ACFAC330: size 48, auxp 000001F1ABE499E0, endp 000001F1ABE49A10
auxlist for instr corda [201] (000001F1ACFA30D0):
auxlist for instr corda [201] (000001F1ACFC3370):
        auxch at 000001F1ACFCC6E8: size 1208, auxp 000001F1ACFCD150, endp 000001F1ACFCD608
        auxch at 000001F1ACFCC5D0: size 48, auxp 000001F1ABE4A640, endp 000001F1ABE4A670
auxlist for instr corda [201] (000001F1ACFC3370):
auxlist for instr corda [201] (000001F1ACFE3580):
        auxch at 000001F1ACFEC8F8: size 896, auxp 000001F1ACFED360, endp 000001F1ACFED6E0
        auxch at 000001F1ACFEC7E0: size 48, auxp 000001F1ABE4A4C0, endp 000001F1ABE4A4F0
auxlist for instr corda [201] (000001F1ACFE3580):
auxlist for instr corda [201] (000001F1AD003660):
        auxch at 000001F1AD00C9D8: size 816, auxp 000001F1AD00D440, endp 000001F1AD00D770
        auxch at 000001F1AD00C8C0: size 48, auxp 000001F1ABE49D40, endp 000001F1ABE49D70
auxlist for instr corda [201] (000001F1AD003660):
auxlist for instr corda [201] (000001F1AD0236F0):
        auxch at 000001F1AD02CA68: size 720, auxp 000001F1AD02D4D0, endp 000001F1AD02D7A0
        auxch at 000001F1AD02C950: size 48, auxp 000001F1ABE49A40, endp 000001F1ABE49A70
auxlist for instr corda [201] (000001F1AD0236F0):
auxlist for instr 1 (000001F1ABF46200):
        auxch at 000001F1ABF4F5C8: size 96, auxp 000001F1AA023DC0, endp 000001F1AA023E20

csound command: Segmentation violation

And here it crashes... From what Rory Walsh told me, on the Mac there are no crashes, but on Windows it does. A very strange problem.

Regards,
Mauro


Il 2018-10-19 13:52 Victor Lazzarini ha scritto:

Well it doesn't crash here, but that's not really saying anything. However,  running with -v I get reports from auxchfree, but none
concerning instr 2 (meaning it's not being called):

auxlist for instr corda [201] (0x7f942788dc20):
    auxch at 0x7f9427896f98: size 1344, auxp 0x7f9427897a20, endp 0x7f9427897f60
    auxch at 0x7f9427896e80: size 48, auxp 0x7f94275b4210, endp 0x7f94275b4240
auxlist for instr corda [201] (0x7f942788dc20):
auxlist for instr corda [201] (0x7f94278af220):
    auxch at 0x7f94278b8598: size 1208, auxp 0x7f94278b9020, endp 0x7f94278b94d8
    auxch at 0x7f94278b8480: size 48, auxp 0x7f94275b5990, endp 0x7f94275b59c0
auxlist for instr corda [201] (0x7f94278af220):
auxlist for instr corda [201] (0x7f94278d0820):
    auxch at 0x7f94278d9b98: size 1032, auxp 0x7f94278da620, endp 0x7f94278daa28
    auxch at 0x7f94278d9a80: size 48, auxp 0x7f94275b71d0, endp 0x7f94275b7200
auxlist for instr corda [201] (0x7f94278d0820):
auxlist for instr corda [201] (0x7f94278f1e20):
    auxch at 0x7f94278fb198: size 896, auxp 0x7f94275b5440, endp 0x7f94275b57c0
    auxch at 0x7f94278fb080: size 48, auxp 0x7f942753dad0, endp 0x7f942753db00
auxlist for instr corda [201] (0x7f94278f1e20):
auxlist for instr corda [201] (0x7f9427912e20):
    auxch at 0x7f942791c198: size 816, auxp 0x7f94275b7a00, endp 0x7f94275b7d30
    auxch at 0x7f942791c080: size 48, auxp 0x7f942753dc90, endp 0x7f942753dcc0
auxlist for instr corda [201] (0x7f9427912e20):
auxlist for instr corda [201] (0x7f9427933e20):
    auxch at 0x7f942793d198: size 720, auxp 0x7f94275b4a60, endp 0x7f94275b4d30
    auxch at 0x7f942793d080: size 48, auxp 0x7f94275b7d50, endp 0x7f94275b7d80
auxlist for instr corda [201] (0x7f9427933e20):
auxlist for instr corda [201] (0x7f9427954e20):
    auxch at 0x7f942795e198: size 1344, auxp 0x7f942795ec20, endp 0x7f942795f160
    auxch at 0x7f942795e080: size 48, auxp 0x7f94275b5f30, endp 0x7f94275b5f60
auxlist for instr corda [201] (0x7f9427954e20):
auxlist for instr corda [201] (0x7f9427976420):
    auxch at 0x7f942797f798: size 1208, auxp 0x7f9427980220, endp 0x7f94279806d8
    auxch at 0x7f942797f680: size 48, auxp 0x7f94275b60f0, endp 0x7f94275b6120
auxlist for instr corda [201] (0x7f9427976420):
auxlist for instr corda [201] (0x7f9429817220):
    auxch at 0x7f9429820598: size 1032, auxp 0x7f9429821020, endp 0x7f9429821428
    auxch at 0x7f9429820480: size 48, auxp 0x7f94289001c0, endp 0x7f94289001f0
auxlist for instr corda [201] (0x7f9429817220):
auxlist for instr corda [201] (0x7f942a017220):
    auxch at 0x7f942a020598: size 896, auxp 0x7f94288005f0, endp 0x7f9428800970
    auxch at 0x7f942a020480: size 48, auxp 0x7f94288004e0, endp 0x7f9428800510
auxlist for instr corda [201] (0x7f942a017220):
auxlist for instr corda [201] (0x7f942a038220):
    auxch at 0x7f942a041598: size 816, auxp 0x7f9428800a90, endp 0x7f9428800dc0
    auxch at 0x7f942a041480: size 48, auxp 0x7f9428800a40, endp 0x7f9428800a70
auxlist for instr corda [201] (0x7f942a038220):
auxlist for instr corda [201] (0x7f942a059220):
    auxch at 0x7f942a062598: size 1032, auxp 0x7f942a063020, endp 0x7f942a063428
    auxch at 0x7f942a062480: size 48, auxp 0x7f9428800f50, endp 0x7f9428800f80
auxlist for instr corda [201] (0x7f942a059220):
auxlist for instr corda [201] (0x7f942a07a820):
    auxch at 0x7f942a083b98: size 720, auxp 0x7f9428801160, endp 0x7f9428801430
    auxch at 0x7f942a083a80: size 48, auxp 0x7f9428801110, endp 0x7f9428801140
auxlist for instr corda [201] (0x7f942a07a820):
auxlist for instr corda [201] (0x7f942a09b820):
    auxch at 0x7f942a0a4b98: size 1344, auxp 0x7f942a0a5620, endp 0x7f942a0a5b60
    auxch at 0x7f942a0a4a80: size 48, auxp 0x7f94288015c0, endp 0x7f94288015f0
auxlist for instr corda [201] (0x7f942a09b820):
auxlist for instr corda [201] (0x7f942a0bce20):
    auxch at 0x7f942a0c6198: size 1208, auxp 0x7f942a0c6c20, endp 0x7f942a0c70d8
    auxch at 0x7f942a0c6080: size 48, auxp 0x7f9428801780, endp 0x7f94288017b0
auxlist for instr corda [201] (0x7f942a0bce20):
auxlist for instr corda [201] (0x7f942a0de420):
    auxch at 0x7f942a0e7798: size 1032, auxp 0x7f942a0e8220, endp 0x7f942a0e8628
    auxch at 0x7f942a0e7680: size 48, auxp 0x7f9428801940, endp 0x7f9428801970
auxlist for instr corda [201] (0x7f942a0de420):
auxlist for instr corda [201] (0x7f942a0ffa20):
    auxch at 0x7f942a108d98: size 896, auxp 0x7f9428801b50, endp 0x7f9428801ed0
    auxch at 0x7f942a108c80: size 48, auxp 0x7f9428801b00, endp 0x7f9428801b30
auxlist for instr corda [201] (0x7f942a0ffa20):
auxlist for instr corda [201] (0x7f942a817220):
    auxch at 0x7f942a820598: size 816, auxp 0x7f9428a001a0, endp 0x7f9428a004d0
    auxch at 0x7f942a820480: size 48, auxp 0x7f9428a00150, endp 0x7f9428a00180
auxlist for instr corda [201] (0x7f942a817220):
auxlist for instr corda [201] (0x7f942a120a20):
    auxch at 0x7f942a129d98: size 720, auxp 0x7f94288020b0, endp 0x7f9428802380
    auxch at 0x7f942a129c80: size 48, auxp 0x7f9428802060, endp 0x7f9428802090
auxlist for instr corda [201] (0x7f942a120a20):
auxlist for instr corda [201] (0x7f942a141a20):
    auxch at 0x7f942a14ad98: size 1344, auxp 0x7f942a14b820, endp 0x7f942a14bd60
    auxch at 0x7f942a14ac80: size 48, auxp 0x7f9428802510, endp 0x7f9428802540
auxlist for instr corda [201] (0x7f942a141a20):
auxlist for instr corda [201] (0x7f942a163020):
    auxch at 0x7f942a16c398: size 1208, auxp 0x7f942a16ce20, endp 0x7f942a16d2d8
    auxch at 0x7f942a16c280: size 48, auxp 0x7f94288026d0, endp 0x7f9428802700
auxlist for instr corda [201] (0x7f942a163020):
auxlist for instr corda [201] (0x7f942a184620):
    auxch at 0x7f942a18d998: size 896, auxp 0x7f94288028e0, endp 0x7f9428802c60
    auxch at 0x7f942a18d880: size 48, auxp 0x7f9428802890, endp 0x7f94288028c0
auxlist for instr corda [201] (0x7f942a184620):
auxlist for instr corda [201] (0x7f942a1a5620):
    auxch at 0x7f942a1ae998: size 816, auxp 0x7f9427700c90, endp 0x7f9427700fc0
    auxch at 0x7f942a1ae880: size 48, auxp 0x7f9427704b50, endp 0x7f9427704b80
auxlist for instr corda [201] (0x7f942a1a5620):
auxlist for instr corda [201] (0x7f942901a620):
    auxch at 0x7f9429023998: size 720, auxp 0x7f9427704310, endp 0x7f94277045e0
    auxch at 0x7f9429023880: size 48, auxp 0x7f9427704be0, endp 0x7f9427704c10
auxlist for instr corda [201] (0x7f942901a620):
auxlist for instr 1 (0x7f9427876a20):
    auxch at 0x7f942787fde8: size 96, auxp 0x7f94275b76b0, endp 0x7f94275b7710
    auxch at 0x7f9427888a90: size 32, auxp 0x7f94275b6d90, endp 0x7f94275b6db0
    auxch at 0x7f942787be70: size 4096, auxp 0x7f942788ca20, endp 0x7f942788da20
auxlist for instr 1 (0x7f9427876a20):
auxlist for instr 1 (0x7f9427898020):
    auxch at 0x7f94278a13e8: size 96, auxp 0x7f94275b59e0, endp 0x7f94275b5a40
    auxch at 0x7f94278aa090: size 32, auxp 0x7f94275b9640, endp 0x7f94275b9660
    auxch at 0x7f942789d470: size 4096, auxp 0x7f94278ae020, endp 0x7f94278af020
auxlist for instr 1 (0x7f9427898020):
auxlist for instr 1 (0x7f94278b9620):
    auxch at 0x7f94278c29e8: size 96, auxp 0x7f94275b7220, endp 0x7f94275b7280
    auxch at 0x7f94278cb690: size 32, auxp 0x7f94275b7730, endp 0x7f94275b7750
    auxch at 0x7f94278bea70: size 4096, auxp 0x7f94278cf620, endp 0x7f94278d0620
auxlist for instr 1 (0x7f94278b9620):
auxlist for instr 1 (0x7f94278dac20):
    auxch at 0x7f94278e3fe8: size 96, auxp 0x7f942753db20, endp 0x7f942753db80
    auxch at 0x7f94278ecc90: size 32, auxp 0x7f94275b5a60, endp 0x7f94275b5a80
    auxch at 0x7f94278e0070: size 4096, auxp 0x7f94278f0c20, endp 0x7f94278f1c20
auxlist for instr 1 (0x7f94278dac20):
auxlist for instr 1 (0x7f94278fbc20):
    auxch at 0x7f9427904fe8: size 96, auxp 0x7f94275b6810, endp 0x7f94275b6870
    auxch at 0x7f942790dc90: size 32, auxp 0x7f94275b72a0, endp 0x7f94275b72c0
    auxch at 0x7f9427901070: size 4096, auxp 0x7f9427911c20, endp 0x7f9427912c20
auxlist for instr 1 (0x7f94278fbc20):
auxlist for instr 1 (0x7f942791cc20):
    auxch at 0x7f9427925fe8: size 96, auxp 0x7f94275b6940, endp 0x7f94275b69a0
    auxch at 0x7f942792ec90: size 32, auxp 0x7f942753dba0, endp 0x7f942753dbc0
    auxch at 0x7f9427922070: size 4096, auxp 0x7f9427932c20, endp 0x7f9427933c20
auxlist for instr 1 (0x7f942791cc20):
auxlist for instr 1 (0x7f942793dc20):
    auxch at 0x7f9427946fe8: size 96, auxp 0x7f94275b5f80, endp 0x7f94275b5fe0
    auxch at 0x7f942794fc90: size 32, auxp 0x7f942753dce0, endp 0x7f942753dd00
    auxch at 0x7f9427943070: size 4096, auxp 0x7f9427953c20, endp 0x7f9427954c20
auxlist for instr 1 (0x7f942793dc20):
auxlist for instr 1 (0x7f942795f220):
    auxch at 0x7f94279685e8: size 96, auxp 0x7f94275b6140, endp 0x7f94275b61a0
    auxch at 0x7f9427971290: size 32, auxp 0x7f94275b69c0, endp 0x7f94275b69e0
    auxch at 0x7f9427964670: size 4096, auxp 0x7f9427975220, endp 0x7f9427976220
auxlist for instr 1 (0x7f942795f220):
auxlist for instr 1 (0x7f9429800020):
    auxch at 0x7f94298093e8: size 96, auxp 0x7f9428900210, endp 0x7f9428900270
    auxch at 0x7f9429812090: size 32, auxp 0x7f9428900090, endp 0x7f94289000b0
    auxch at 0x7f9429805470: size 4096, auxp 0x7f9429816020, endp 0x7f9429817020
auxlist for instr 1 (0x7f9429800020):
auxlist for instr 1 (0x7f942a000020):
    auxch at 0x7f942a0093e8: size 96, auxp 0x7f9428800530, endp 0x7f9428800590
    auxch at 0x7f942a012090: size 32, auxp 0x7f94288003b0, endp 0x7f94288003d0
    auxch at 0x7f942a005470: size 4096, auxp 0x7f942a016020, endp 0x7f942a017020
auxlist for instr 1 (0x7f942a000020):
auxlist for instr 1 (0x7f942a021020):
    auxch at 0x7f942a02a3e8: size 96, auxp 0x7f9428800de0, endp 0x7f9428800e40
    auxch at 0x7f942a033090: size 32, auxp 0x7f94288003f0, endp 0x7f9428800410
    auxch at 0x7f942a026470: size 4096, auxp 0x7f942a037020, endp 0x7f942a038020
auxlist for instr 1 (0x7f942a021020):
auxlist for instr 1 (0x7f942a042020):
    auxch at 0x7f942a04b3e8: size 96, auxp 0x7f9428800fa0, endp 0x7f9428801000
    auxch at 0x7f942a054090: size 32, auxp 0x7f94288005b0, endp 0x7f94288005d0
    auxch at 0x7f942a047470: size 4096, auxp 0x7f942a058020, endp 0x7f942a059020
auxlist for instr 1 (0x7f942a042020):
auxlist for instr 1 (0x7f942a063620):
    auxch at 0x7f942a06c9e8: size 96, auxp 0x7f9428801450, endp 0x7f94288014b0
    auxch at 0x7f942a075690: size 32, auxp 0x7f9428800e60, endp 0x7f9428800e80
    auxch at 0x7f942a068a70: size 4096, auxp 0x7f942a079620, endp 0x7f942a07a620
auxlist for instr 1 (0x7f942a063620):
auxlist for instr 1 (0x7f942a084620):
    auxch at 0x7f942a08d9e8: size 96, auxp 0x7f9428801610, endp 0x7f9428801670
    auxch at 0x7f942a096690: size 32, auxp 0x7f9428801020, endp 0x7f9428801040
    auxch at 0x7f942a089a70: size 4096, auxp 0x7f942a09a620, endp 0x7f942a09b620
auxlist for instr 1 (0x7f942a084620):
auxlist for instr 1 (0x7f942a0a5c20):
    auxch at 0x7f942a0aefe8: size 96, auxp 0x7f94288017d0, endp 0x7f9428801830
    auxch at 0x7f942a0b7c90: size 32, auxp 0x7f94288014d0, endp 0x7f94288014f0
    auxch at 0x7f942a0ab070: size 4096, auxp 0x7f942a0bbc20, endp 0x7f942a0bcc20
auxlist for instr 1 (0x7f942a0a5c20):
auxlist for instr 1 (0x7f942a0c7220):
    auxch at 0x7f942a0d05e8: size 96, auxp 0x7f9428801990, endp 0x7f94288019f0
    auxch at 0x7f942a0d9290: size 32, auxp 0x7f9428801690, endp 0x7f94288016b0
    auxch at 0x7f942a0cc670: size 4096, auxp 0x7f942a0dd220, endp 0x7f942a0de220
auxlist for instr 1 (0x7f942a0c7220):
auxlist for instr 1 (0x7f942a0e8820):
    auxch at 0x7f942a0f1be8: size 96, auxp 0x7f9428801ef0, endp 0x7f9428801f50
    auxch at 0x7f942a0fa890: size 32, auxp 0x7f9428801850, endp 0x7f9428801870
    auxch at 0x7f942a0edc70: size 4096, auxp 0x7f942a0fe820, endp 0x7f942a0ff820
auxlist for instr 1 (0x7f942a0e8820):
auxlist for instr 1 (0x7f942a800020):
    auxch at 0x7f942a8093e8: size 96, auxp 0x7f9428a004f0, endp 0x7f9428a00550
    auxch at 0x7f942a812090: size 32, auxp 0x7f9428a00020, endp 0x7f9428a00040
    auxch at 0x7f942a805470: size 4096, auxp 0x7f942a816020, endp 0x7f942a817020
auxlist for instr 1 (0x7f942a800020):
auxlist for instr 1 (0x7f942a109820):
    auxch at 0x7f942a112be8: size 96, auxp 0x7f94288023a0, endp 0x7f9428802400
    auxch at 0x7f942a11b890: size 32, auxp 0x7f9428801a10, endp 0x7f9428801a30
    auxch at 0x7f942a10ec70: size 4096, auxp 0x7f942a11f820, endp 0x7f942a120820
auxlist for instr 1 (0x7f942a109820):
auxlist for instr 1 (0x7f942a12a820):
    auxch at 0x7f942a133be8: size 96, auxp 0x7f9428802560, endp 0x7f94288025c0
    auxch at 0x7f942a13c890: size 32, auxp 0x7f9428801f70, endp 0x7f9428801f90
    auxch at 0x7f942a12fc70: size 4096, auxp 0x7f942a140820, endp 0x7f942a141820
auxlist for instr 1 (0x7f942a12a820):
auxlist for instr 1 (0x7f942a14be20):
    auxch at 0x7f942a1551e8: size 96, auxp 0x7f9428802720, endp 0x7f9428802780
    auxch at 0x7f942a15de90: size 32, auxp 0x7f9428802420, endp 0x7f9428802440
    auxch at 0x7f942a151270: size 4096, auxp 0x7f942a161e20, endp 0x7f942a162e20
auxlist for instr 1 (0x7f942a14be20):
auxlist for instr 1 (0x7f942a16d420):
    auxch at 0x7f942a1767e8: size 96, auxp 0x7f9428802c80, endp 0x7f9428802ce0
    auxch at 0x7f942a17f490: size 32, auxp 0x7f94288025e0, endp 0x7f9428802600
    auxch at 0x7f942a172870: size 4096, auxp 0x7f942a183420, endp 0x7f942a184420
auxlist for instr 1 (0x7f942a16d420):
auxlist for instr 1 (0x7f942a18e420):
    auxch at 0x7f942a1977e8: size 96, auxp 0x7f9427700fe0, endp 0x7f9427701040
    auxch at 0x7f942a1a0490: size 32, auxp 0x7f94288027a0, endp 0x7f94288027c0
    auxch at 0x7f942a193870: size 4096, auxp 0x7f942a1a4420, endp 0x7f942a1a5420
auxlist for instr 1 (0x7f942a18e420):
auxlist for instr 1 (0x7f9429000620):
    auxch at 0x7f94290099e8: size 96, auxp 0x7f94277046a0, endp 0x7f9427704700
    auxch at 0x7f9429016690: size 32, auxp 0x7f9427704100, endp 0x7f9427704120
    auxch at 0x7f9429005a70: size 4096, auxp 0x7f942900da20, endp 0x7f942900ea20
auxlist for instr 1 (0x7f9429000620):

========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

On 19 Oct 2018, at 12:36, Victor Lazzarini <Victor.Lazzarini@MU.IE> wrote:

That code seems OK, wondering how Free got called then.
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

On 19 Oct 2018, at 12:31, John <jpff@CODEMIST.CO.UK> wrote:

This code from insert.c lines about 1044-1050 is clearly involved.
The complaint is that the auxchfree is freeing memory already freed in
the call to csound->Free earlier.  No idea about subinstr but it looks
as if it s the culprit

        if (ip->auxchp != NULL)
          auxchfree(csound, ip);
        free_instr_var_memory(csound, ip);
        if ((nxtip = ip->nxtinstance) != NULL)
          nxtip->prvinstance = prvip;
        *prvnxtloc = nxtip;
        csound->Free(csound, (char *)ip);
      }


==John ffitch

Date2018-10-19 13:34
FromVictor Lazzarini
SubjectRe: [Csnd-dev] more on subinstr
It doesn’t crash on my mac
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 19 Oct 2018, at 13:32, Mauro Giubileo  wrote:
> 
> This is my auxlist output with -v from a Windows machine:
> 
> auxlist for instr corda [201] (000001F1ABF5D180):
>         auxch at 000001F1ABF664F8: size 1344, auxp 000001F1ABF66F60, endp 000001F1ABF674A0
>         auxch at 000001F1ABF663E0: size 48, auxp 000001F1ABE49800, endp 000001F1ABE49830
> auxlist for instr corda [201] (000001F1ABF5D180):
> auxlist for instr corda [201] (000001F1ABF7F5A0):
>         auxch at 000001F1ABF88918: size 1208, auxp 000001F1ABF89380, endp 000001F1ABF89838
>         auxch at 000001F1ABF88800: size 48, auxp 000001F1ABE48C60, endp 000001F1ABE48C90
> auxlist for instr corda [201] (000001F1ABF7F5A0):
> auxlist for instr corda [201] (000001F1ABFA1840):
>         auxch at 000001F1ABFAABB8: size 1032, auxp 000001F1ABFAB620, endp 000001F1ABFABA28
>         auxch at 000001F1ABFAAAA0: size 48, auxp 000001F1ABE49020, endp 000001F1ABE49050
> auxlist for instr corda [201] (000001F1ABFA1840):
> auxlist for instr corda [201] (000001F1ABFC29D0):
>         auxch at 000001F1ABFCBD48: size 896, auxp 000001F1ABFCC7B0, endp 000001F1ABFCCB30
>         auxch at 000001F1ABFCBC30: size 48, auxp 000001F1ABE49080, endp 000001F1ABE490B0
> auxlist for instr corda [201] (000001F1ABFC29D0):
> auxlist for instr corda [201] (000001F1ACDA9C00):
>         auxch at 000001F1ACDB2F78: size 816, auxp 000001F1ACDB39E0, endp 000001F1ACDB3D10
>         auxch at 000001F1ACDB2E60: size 48, auxp 000001F1ABE4A400, endp 000001F1ABE4A430
> auxlist for instr corda [201] (000001F1ACDA9C00):
> auxlist for instr corda [201] (000001F1ACDCACC0):
>         auxch at 000001F1ACDD4038: size 720, auxp 000001F1ACDD4AA0, endp 000001F1ACDD4D70
>         auxch at 000001F1ACDD3F20: size 48, auxp 000001F1ABE4AC40, endp 000001F1ABE4AC70
> auxlist for instr corda [201] (000001F1ACDCACC0):
> auxlist for instr corda [201] (000001F1ACDEBD20):
>         auxch at 000001F1ACDF5098: size 1344, auxp 000001F1ABFDAED0, endp 000001F1ABFDB410
>         auxch at 000001F1ACDF4F80: size 48, auxp 000001F1ABE4A9A0, endp 000001F1ABE4A9D0
> auxlist for instr corda [201] (000001F1ACDEBD20):
> auxlist for instr corda [201] (000001F1ACE0CA80):
>         auxch at 000001F1ACE15DF8: size 1208, auxp 000001F1ACE16860, endp 000001F1ACE16D18
>         auxch at 000001F1ACE15CE0: size 48, auxp 000001F1ABE49980, endp 000001F1ABE499B0
> auxlist for instr corda [201] (000001F1ACE0CA80):
> auxlist for instr corda [201] (000001F1ACE2DCC0):
>         auxch at 000001F1ACE37038: size 1032, auxp 000001F1ACE37AA0, endp 000001F1ACE37EA8
>         auxch at 000001F1ACE36F20: size 48, auxp 000001F1ABE49FE0, endp 000001F1ABE4A010
> auxlist for instr corda [201] (000001F1ACE2DCC0):
> auxlist for instr corda [201] (000001F1ACE4EE50):
>         auxch at 000001F1ACE581C8: size 896, auxp 000001F1ACE58C30, endp 000001F1ACE58FB0
>         auxch at 000001F1ACE580B0: size 48, auxp 000001F1ABE4A2E0, endp 000001F1ABE4A310
> auxlist for instr corda [201] (000001F1ACE4EE50):
> auxlist for instr corda [201] (000001F1ACE6FF70):
>         auxch at 000001F1ACE792E8: size 816, auxp 000001F1ABFDD450, endp 000001F1ABFDD780
>         auxch at 000001F1ACE791D0: size 48, auxp 000001F1ABE4AA00, endp 000001F1ABE4AA30
> auxlist for instr corda [201] (000001F1ACE6FF70):
> auxlist for instr corda [201] (000001F1ACE90CD0):
>         auxch at 000001F1ACE9A048: size 1032, auxp 000001F1ACE9AAB0, endp 000001F1ACE9AEB8
>         auxch at 000001F1ACE99F30: size 48, auxp 000001F1ABE4B000, endp 000001F1ABE4B030
> auxlist for instr corda [201] (000001F1ACE90CD0):
> auxlist for instr corda [201] (000001F1ACEB1E60):
>         auxch at 000001F1ACEBB1D8: size 720, auxp 000001F1ACEBBC40, endp 000001F1ACEBBF10
>         auxch at 000001F1ACEBB0C0: size 48, auxp 000001F1ABE4AF40, endp 000001F1ABE4AF70
> auxlist for instr corda [201] (000001F1ACEB1E60):
> auxlist for instr corda [201] (000001F1ACEE1EA0):
>         auxch at 000001F1ACEEB218: size 1344, auxp 000001F1ABFDD7B0, endp 000001F1ABFDDCF0
>         auxch at 000001F1ACEEB100: size 48, auxp 000001F1ABE4AFA0, endp 000001F1ABE4AFD0
> auxlist for instr corda [201] (000001F1ACEE1EA0):
> auxlist for instr corda [201] (000001F1ACF01BD0):
>         auxch at 000001F1ACF0AF48: size 1208, auxp 000001F1ABFDDD20, endp 000001F1ABFDE1D8
>         auxch at 000001F1ACF0AE30: size 48, auxp 000001F1ABE4B0C0, endp 000001F1ABE4B0F0
> auxlist for instr corda [201] (000001F1ACF01BD0):
> auxlist for instr corda [201] (000001F1ACF23910):
>         auxch at 000001F1ACF2CC88: size 1032, auxp 000001F1ABFDE200, endp 000001F1ABFDE608
>         auxch at 000001F1ACF2CB70: size 48, auxp 000001F1ABE49920, endp 000001F1ABE49950
> auxlist for instr corda [201] (000001F1ACF23910):
> auxlist for instr corda [201] (000001F1ACF43640):
>         auxch at 000001F1ACF4C9B8: size 896, auxp 000001F1ABFDE630, endp 000001F1ABFDE9B0
>         auxch at 000001F1ACF4C8A0: size 48, auxp 000001F1ABE4A520, endp 000001F1ABE4A550
> auxlist for instr corda [201] (000001F1ACF43640):
> auxlist for instr corda [201] (000001F1ACF63370):
>         auxch at 000001F1ACF6C6E8: size 816, auxp 000001F1ABFDE9E0, endp 000001F1ABFDED10
>         auxch at 000001F1ACF6C5D0: size 48, auxp 000001F1ABE4AE20, endp 000001F1ABE4AE50
> auxlist for instr corda [201] (000001F1ACF63370):
> auxlist for instr corda [201] (000001F1ACF830A0):
>         auxch at 000001F1ACF8C418: size 720, auxp 000001F1ACF8CE80, endp 000001F1ACF8D150
>         auxch at 000001F1ACF8C300: size 48, auxp 000001F1ABE4A460, endp 000001F1ABE4A490
> auxlist for instr corda [201] (000001F1ACF830A0):
> auxlist for instr corda [201] (000001F1ACFA30D0):
>         auxch at 000001F1ACFAC448: size 1344, auxp 000001F1ACFACEB0, endp 000001F1ACFAD3F0
>         auxch at 000001F1ACFAC330: size 48, auxp 000001F1ABE499E0, endp 000001F1ABE49A10
> auxlist for instr corda [201] (000001F1ACFA30D0):
> auxlist for instr corda [201] (000001F1ACFC3370):
>         auxch at 000001F1ACFCC6E8: size 1208, auxp 000001F1ACFCD150, endp 000001F1ACFCD608
>         auxch at 000001F1ACFCC5D0: size 48, auxp 000001F1ABE4A640, endp 000001F1ABE4A670
> auxlist for instr corda [201] (000001F1ACFC3370):
> auxlist for instr corda [201] (000001F1ACFE3580):
>         auxch at 000001F1ACFEC8F8: size 896, auxp 000001F1ACFED360, endp 000001F1ACFED6E0
>         auxch at 000001F1ACFEC7E0: size 48, auxp 000001F1ABE4A4C0, endp 000001F1ABE4A4F0
> auxlist for instr corda [201] (000001F1ACFE3580):
> auxlist for instr corda [201] (000001F1AD003660):
>         auxch at 000001F1AD00C9D8: size 816, auxp 000001F1AD00D440, endp 000001F1AD00D770
>         auxch at 000001F1AD00C8C0: size 48, auxp 000001F1ABE49D40, endp 000001F1ABE49D70
> auxlist for instr corda [201] (000001F1AD003660):
> auxlist for instr corda [201] (000001F1AD0236F0):
>         auxch at 000001F1AD02CA68: size 720, auxp 000001F1AD02D4D0, endp 000001F1AD02D7A0
>         auxch at 000001F1AD02C950: size 48, auxp 000001F1ABE49A40, endp 000001F1ABE49A70
> auxlist for instr corda [201] (000001F1AD0236F0):
> auxlist for instr 1 (000001F1ABF46200):
>         auxch at 000001F1ABF4F5C8: size 96, auxp 000001F1AA023DC0, endp 000001F1AA023E20
> 
> csound command: Segmentation violation
> 
> And here it crashes... From what Rory Walsh told me, on the Mac there are no crashes, but on Windows it does. A very strange problem.
> 
> Regards,
> Mauro
> 
> 
> 
> Il 2018-10-19 13:52 Victor Lazzarini ha scritto:
> 
>> Well it doesn't crash here, but that's not really saying anything. However,  running with -v I get reports from auxchfree, but none
>> concerning instr 2 (meaning it's not being called):
>> 
>> auxlist for instr corda [201] (0x7f942788dc20):
>>     auxch at 0x7f9427896f98: size 1344, auxp 0x7f9427897a20, endp 0x7f9427897f60
>>     auxch at 0x7f9427896e80: size 48, auxp 0x7f94275b4210, endp 0x7f94275b4240
>> auxlist for instr corda [201] (0x7f942788dc20):
>> auxlist for instr corda [201] (0x7f94278af220):
>>     auxch at 0x7f94278b8598: size 1208, auxp 0x7f94278b9020, endp 0x7f94278b94d8
>>     auxch at 0x7f94278b8480: size 48, auxp 0x7f94275b5990, endp 0x7f94275b59c0
>> auxlist for instr corda [201] (0x7f94278af220):
>> auxlist for instr corda [201] (0x7f94278d0820):
>>     auxch at 0x7f94278d9b98: size 1032, auxp 0x7f94278da620, endp 0x7f94278daa28
>>     auxch at 0x7f94278d9a80: size 48, auxp 0x7f94275b71d0, endp 0x7f94275b7200
>> auxlist for instr corda [201] (0x7f94278d0820):
>> auxlist for instr corda [201] (0x7f94278f1e20):
>>     auxch at 0x7f94278fb198: size 896, auxp 0x7f94275b5440, endp 0x7f94275b57c0
>>     auxch at 0x7f94278fb080: size 48, auxp 0x7f942753dad0, endp 0x7f942753db00
>> auxlist for instr corda [201] (0x7f94278f1e20):
>> auxlist for instr corda [201] (0x7f9427912e20):
>>     auxch at 0x7f942791c198: size 816, auxp 0x7f94275b7a00, endp 0x7f94275b7d30
>>     auxch at 0x7f942791c080: size 48, auxp 0x7f942753dc90, endp 0x7f942753dcc0
>> auxlist for instr corda [201] (0x7f9427912e20):
>> auxlist for instr corda [201] (0x7f9427933e20):
>>     auxch at 0x7f942793d198: size 720, auxp 0x7f94275b4a60, endp 0x7f94275b4d30
>>     auxch at 0x7f942793d080: size 48, auxp 0x7f94275b7d50, endp 0x7f94275b7d80
>> auxlist for instr corda [201] (0x7f9427933e20):
>> auxlist for instr corda [201] (0x7f9427954e20):
>>     auxch at 0x7f942795e198: size 1344, auxp 0x7f942795ec20, endp 0x7f942795f160
>>     auxch at 0x7f942795e080: size 48, auxp 0x7f94275b5f30, endp 0x7f94275b5f60
>> auxlist for instr corda [201] (0x7f9427954e20):
>> auxlist for instr corda [201] (0x7f9427976420):
>>     auxch at 0x7f942797f798: size 1208, auxp 0x7f9427980220, endp 0x7f94279806d8
>>     auxch at 0x7f942797f680: size 48, auxp 0x7f94275b60f0, endp 0x7f94275b6120
>> auxlist for instr corda [201] (0x7f9427976420):
>> auxlist for instr corda [201] (0x7f9429817220):
>>     auxch at 0x7f9429820598: size 1032, auxp 0x7f9429821020, endp 0x7f9429821428
>>     auxch at 0x7f9429820480: size 48, auxp 0x7f94289001c0, endp 0x7f94289001f0
>> auxlist for instr corda [201] (0x7f9429817220):
>> auxlist for instr corda [201] (0x7f942a017220):
>>     auxch at 0x7f942a020598: size 896, auxp 0x7f94288005f0, endp 0x7f9428800970
>>     auxch at 0x7f942a020480: size 48, auxp 0x7f94288004e0, endp 0x7f9428800510
>> auxlist for instr corda [201] (0x7f942a017220):
>> auxlist for instr corda [201] (0x7f942a038220):
>>     auxch at 0x7f942a041598: size 816, auxp 0x7f9428800a90, endp 0x7f9428800dc0
>>     auxch at 0x7f942a041480: size 48, auxp 0x7f9428800a40, endp 0x7f9428800a70
>> auxlist for instr corda [201] (0x7f942a038220):
>> auxlist for instr corda [201] (0x7f942a059220):
>>     auxch at 0x7f942a062598: size 1032, auxp 0x7f942a063020, endp 0x7f942a063428
>>     auxch at 0x7f942a062480: size 48, auxp 0x7f9428800f50, endp 0x7f9428800f80
>> auxlist for instr corda [201] (0x7f942a059220):
>> auxlist for instr corda [201] (0x7f942a07a820):
>>     auxch at 0x7f942a083b98: size 720, auxp 0x7f9428801160, endp 0x7f9428801430
>>     auxch at 0x7f942a083a80: size 48, auxp 0x7f9428801110, endp 0x7f9428801140
>> auxlist for instr corda [201] (0x7f942a07a820):
>> auxlist for instr corda [201] (0x7f942a09b820):
>>     auxch at 0x7f942a0a4b98: size 1344, auxp 0x7f942a0a5620, endp 0x7f942a0a5b60
>>     auxch at 0x7f942a0a4a80: size 48, auxp 0x7f94288015c0, endp 0x7f94288015f0
>> auxlist for instr corda [201] (0x7f942a09b820):
>> auxlist for instr corda [201] (0x7f942a0bce20):
>>     auxch at 0x7f942a0c6198: size 1208, auxp 0x7f942a0c6c20, endp 0x7f942a0c70d8
>>     auxch at 0x7f942a0c6080: size 48, auxp 0x7f9428801780, endp 0x7f94288017b0
>> auxlist for instr corda [201] (0x7f942a0bce20):
>> auxlist for instr corda [201] (0x7f942a0de420):
>>     auxch at 0x7f942a0e7798: size 1032, auxp 0x7f942a0e8220, endp 0x7f942a0e8628
>>     auxch at 0x7f942a0e7680: size 48, auxp 0x7f9428801940, endp 0x7f9428801970
>> auxlist for instr corda [201] (0x7f942a0de420):
>> auxlist for instr corda [201] (0x7f942a0ffa20):
>>     auxch at 0x7f942a108d98: size 896, auxp 0x7f9428801b50, endp 0x7f9428801ed0
>>     auxch at 0x7f942a108c80: size 48, auxp 0x7f9428801b00, endp 0x7f9428801b30
>> auxlist for instr corda [201] (0x7f942a0ffa20):
>> auxlist for instr corda [201] (0x7f942a817220):
>>     auxch at 0x7f942a820598: size 816, auxp 0x7f9428a001a0, endp 0x7f9428a004d0
>>     auxch at 0x7f942a820480: size 48, auxp 0x7f9428a00150, endp 0x7f9428a00180
>> auxlist for instr corda [201] (0x7f942a817220):
>> auxlist for instr corda [201] (0x7f942a120a20):
>>     auxch at 0x7f942a129d98: size 720, auxp 0x7f94288020b0, endp 0x7f9428802380
>>     auxch at 0x7f942a129c80: size 48, auxp 0x7f9428802060, endp 0x7f9428802090
>> auxlist for instr corda [201] (0x7f942a120a20):
>> auxlist for instr corda [201] (0x7f942a141a20):
>>     auxch at 0x7f942a14ad98: size 1344, auxp 0x7f942a14b820, endp 0x7f942a14bd60
>>     auxch at 0x7f942a14ac80: size 48, auxp 0x7f9428802510, endp 0x7f9428802540
>> auxlist for instr corda [201] (0x7f942a141a20):
>> auxlist for instr corda [201] (0x7f942a163020):
>>     auxch at 0x7f942a16c398: size 1208, auxp 0x7f942a16ce20, endp 0x7f942a16d2d8
>>     auxch at 0x7f942a16c280: size 48, auxp 0x7f94288026d0, endp 0x7f9428802700
>> auxlist for instr corda [201] (0x7f942a163020):
>> auxlist for instr corda [201] (0x7f942a184620):
>>     auxch at 0x7f942a18d998: size 896, auxp 0x7f94288028e0, endp 0x7f9428802c60
>>     auxch at 0x7f942a18d880: size 48, auxp 0x7f9428802890, endp 0x7f94288028c0
>> auxlist for instr corda [201] (0x7f942a184620):
>> auxlist for instr corda [201] (0x7f942a1a5620):
>>     auxch at 0x7f942a1ae998: size 816, auxp 0x7f9427700c90, endp 0x7f9427700fc0
>>     auxch at 0x7f942a1ae880: size 48, auxp 0x7f9427704b50, endp 0x7f9427704b80
>> auxlist for instr corda [201] (0x7f942a1a5620):
>> auxlist for instr corda [201] (0x7f942901a620):
>>     auxch at 0x7f9429023998: size 720, auxp 0x7f9427704310, endp 0x7f94277045e0
>>     auxch at 0x7f9429023880: size 48, auxp 0x7f9427704be0, endp 0x7f9427704c10
>> auxlist for instr corda [201] (0x7f942901a620):
>> auxlist for instr 1 (0x7f9427876a20):
>>     auxch at 0x7f942787fde8: size 96, auxp 0x7f94275b76b0, endp 0x7f94275b7710
>>     auxch at 0x7f9427888a90: size 32, auxp 0x7f94275b6d90, endp 0x7f94275b6db0
>>     auxch at 0x7f942787be70: size 4096, auxp 0x7f942788ca20, endp 0x7f942788da20
>> auxlist for instr 1 (0x7f9427876a20):
>> auxlist for instr 1 (0x7f9427898020):
>>     auxch at 0x7f94278a13e8: size 96, auxp 0x7f94275b59e0, endp 0x7f94275b5a40
>>     auxch at 0x7f94278aa090: size 32, auxp 0x7f94275b9640, endp 0x7f94275b9660
>>     auxch at 0x7f942789d470: size 4096, auxp 0x7f94278ae020, endp 0x7f94278af020
>> auxlist for instr 1 (0x7f9427898020):
>> auxlist for instr 1 (0x7f94278b9620):
>>     auxch at 0x7f94278c29e8: size 96, auxp 0x7f94275b7220, endp 0x7f94275b7280
>>     auxch at 0x7f94278cb690: size 32, auxp 0x7f94275b7730, endp 0x7f94275b7750
>>     auxch at 0x7f94278bea70: size 4096, auxp 0x7f94278cf620, endp 0x7f94278d0620
>> auxlist for instr 1 (0x7f94278b9620):
>> auxlist for instr 1 (0x7f94278dac20):
>>     auxch at 0x7f94278e3fe8: size 96, auxp 0x7f942753db20, endp 0x7f942753db80
>>     auxch at 0x7f94278ecc90: size 32, auxp 0x7f94275b5a60, endp 0x7f94275b5a80
>>     auxch at 0x7f94278e0070: size 4096, auxp 0x7f94278f0c20, endp 0x7f94278f1c20
>> auxlist for instr 1 (0x7f94278dac20):
>> auxlist for instr 1 (0x7f94278fbc20):
>>     auxch at 0x7f9427904fe8: size 96, auxp 0x7f94275b6810, endp 0x7f94275b6870
>>     auxch at 0x7f942790dc90: size 32, auxp 0x7f94275b72a0, endp 0x7f94275b72c0
>>     auxch at 0x7f9427901070: size 4096, auxp 0x7f9427911c20, endp 0x7f9427912c20
>> auxlist for instr 1 (0x7f94278fbc20):
>> auxlist for instr 1 (0x7f942791cc20):
>>     auxch at 0x7f9427925fe8: size 96, auxp 0x7f94275b6940, endp 0x7f94275b69a0
>>     auxch at 0x7f942792ec90: size 32, auxp 0x7f942753dba0, endp 0x7f942753dbc0
>>     auxch at 0x7f9427922070: size 4096, auxp 0x7f9427932c20, endp 0x7f9427933c20
>> auxlist for instr 1 (0x7f942791cc20):
>> auxlist for instr 1 (0x7f942793dc20):
>>     auxch at 0x7f9427946fe8: size 96, auxp 0x7f94275b5f80, endp 0x7f94275b5fe0
>>     auxch at 0x7f942794fc90: size 32, auxp 0x7f942753dce0, endp 0x7f942753dd00
>>     auxch at 0x7f9427943070: size 4096, auxp 0x7f9427953c20, endp 0x7f9427954c20
>> auxlist for instr 1 (0x7f942793dc20):
>> auxlist for instr 1 (0x7f942795f220):
>>     auxch at 0x7f94279685e8: size 96, auxp 0x7f94275b6140, endp 0x7f94275b61a0
>>     auxch at 0x7f9427971290: size 32, auxp 0x7f94275b69c0, endp 0x7f94275b69e0
>>     auxch at 0x7f9427964670: size 4096, auxp 0x7f9427975220, endp 0x7f9427976220
>> auxlist for instr 1 (0x7f942795f220):
>> auxlist for instr 1 (0x7f9429800020):
>>     auxch at 0x7f94298093e8: size 96, auxp 0x7f9428900210, endp 0x7f9428900270
>>     auxch at 0x7f9429812090: size 32, auxp 0x7f9428900090, endp 0x7f94289000b0
>>     auxch at 0x7f9429805470: size 4096, auxp 0x7f9429816020, endp 0x7f9429817020
>> auxlist for instr 1 (0x7f9429800020):
>> auxlist for instr 1 (0x7f942a000020):
>>     auxch at 0x7f942a0093e8: size 96, auxp 0x7f9428800530, endp 0x7f9428800590
>>     auxch at 0x7f942a012090: size 32, auxp 0x7f94288003b0, endp 0x7f94288003d0
>>     auxch at 0x7f942a005470: size 4096, auxp 0x7f942a016020, endp 0x7f942a017020
>> auxlist for instr 1 (0x7f942a000020):
>> auxlist for instr 1 (0x7f942a021020):
>>     auxch at 0x7f942a02a3e8: size 96, auxp 0x7f9428800de0, endp 0x7f9428800e40
>>     auxch at 0x7f942a033090: size 32, auxp 0x7f94288003f0, endp 0x7f9428800410
>>     auxch at 0x7f942a026470: size 4096, auxp 0x7f942a037020, endp 0x7f942a038020
>> auxlist for instr 1 (0x7f942a021020):
>> auxlist for instr 1 (0x7f942a042020):
>>     auxch at 0x7f942a04b3e8: size 96, auxp 0x7f9428800fa0, endp 0x7f9428801000
>>     auxch at 0x7f942a054090: size 32, auxp 0x7f94288005b0, endp 0x7f94288005d0
>>     auxch at 0x7f942a047470: size 4096, auxp 0x7f942a058020, endp 0x7f942a059020
>> auxlist for instr 1 (0x7f942a042020):
>> auxlist for instr 1 (0x7f942a063620):
>>     auxch at 0x7f942a06c9e8: size 96, auxp 0x7f9428801450, endp 0x7f94288014b0
>>     auxch at 0x7f942a075690: size 32, auxp 0x7f9428800e60, endp 0x7f9428800e80
>>     auxch at 0x7f942a068a70: size 4096, auxp 0x7f942a079620, endp 0x7f942a07a620
>> auxlist for instr 1 (0x7f942a063620):
>> auxlist for instr 1 (0x7f942a084620):
>>     auxch at 0x7f942a08d9e8: size 96, auxp 0x7f9428801610, endp 0x7f9428801670
>>     auxch at 0x7f942a096690: size 32, auxp 0x7f9428801020, endp 0x7f9428801040
>>     auxch at 0x7f942a089a70: size 4096, auxp 0x7f942a09a620, endp 0x7f942a09b620
>> auxlist for instr 1 (0x7f942a084620):
>> auxlist for instr 1 (0x7f942a0a5c20):
>>     auxch at 0x7f942a0aefe8: size 96, auxp 0x7f94288017d0, endp 0x7f9428801830
>>     auxch at 0x7f942a0b7c90: size 32, auxp 0x7f94288014d0, endp 0x7f94288014f0
>>     auxch at 0x7f942a0ab070: size 4096, auxp 0x7f942a0bbc20, endp 0x7f942a0bcc20
>> auxlist for instr 1 (0x7f942a0a5c20):
>> auxlist for instr 1 (0x7f942a0c7220):
>>     auxch at 0x7f942a0d05e8: size 96, auxp 0x7f9428801990, endp 0x7f94288019f0
>>     auxch at 0x7f942a0d9290: size 32, auxp 0x7f9428801690, endp 0x7f94288016b0
>>     auxch at 0x7f942a0cc670: size 4096, auxp 0x7f942a0dd220, endp 0x7f942a0de220
>> auxlist for instr 1 (0x7f942a0c7220):
>> auxlist for instr 1 (0x7f942a0e8820):
>>     auxch at 0x7f942a0f1be8: size 96, auxp 0x7f9428801ef0, endp 0x7f9428801f50
>>     auxch at 0x7f942a0fa890: size 32, auxp 0x7f9428801850, endp 0x7f9428801870
>>     auxch at 0x7f942a0edc70: size 4096, auxp 0x7f942a0fe820, endp 0x7f942a0ff820
>> auxlist for instr 1 (0x7f942a0e8820):
>> auxlist for instr 1 (0x7f942a800020):
>>     auxch at 0x7f942a8093e8: size 96, auxp 0x7f9428a004f0, endp 0x7f9428a00550
>>     auxch at 0x7f942a812090: size 32, auxp 0x7f9428a00020, endp 0x7f9428a00040
>>     auxch at 0x7f942a805470: size 4096, auxp 0x7f942a816020, endp 0x7f942a817020
>> auxlist for instr 1 (0x7f942a800020):
>> auxlist for instr 1 (0x7f942a109820):
>>     auxch at 0x7f942a112be8: size 96, auxp 0x7f94288023a0, endp 0x7f9428802400
>>     auxch at 0x7f942a11b890: size 32, auxp 0x7f9428801a10, endp 0x7f9428801a30
>>     auxch at 0x7f942a10ec70: size 4096, auxp 0x7f942a11f820, endp 0x7f942a120820
>> auxlist for instr 1 (0x7f942a109820):
>> auxlist for instr 1 (0x7f942a12a820):
>>     auxch at 0x7f942a133be8: size 96, auxp 0x7f9428802560, endp 0x7f94288025c0
>>     auxch at 0x7f942a13c890: size 32, auxp 0x7f9428801f70, endp 0x7f9428801f90
>>     auxch at 0x7f942a12fc70: size 4096, auxp 0x7f942a140820, endp 0x7f942a141820
>> auxlist for instr 1 (0x7f942a12a820):
>> auxlist for instr 1 (0x7f942a14be20):
>>     auxch at 0x7f942a1551e8: size 96, auxp 0x7f9428802720, endp 0x7f9428802780
>>     auxch at 0x7f942a15de90: size 32, auxp 0x7f9428802420, endp 0x7f9428802440
>>     auxch at 0x7f942a151270: size 4096, auxp 0x7f942a161e20, endp 0x7f942a162e20
>> auxlist for instr 1 (0x7f942a14be20):
>> auxlist for instr 1 (0x7f942a16d420):
>>     auxch at 0x7f942a1767e8: size 96, auxp 0x7f9428802c80, endp 0x7f9428802ce0
>>     auxch at 0x7f942a17f490: size 32, auxp 0x7f94288025e0, endp 0x7f9428802600
>>     auxch at 0x7f942a172870: size 4096, auxp 0x7f942a183420, endp 0x7f942a184420
>> auxlist for instr 1 (0x7f942a16d420):
>> auxlist for instr 1 (0x7f942a18e420):
>>     auxch at 0x7f942a1977e8: size 96, auxp 0x7f9427700fe0, endp 0x7f9427701040
>>     auxch at 0x7f942a1a0490: size 32, auxp 0x7f94288027a0, endp 0x7f94288027c0
>>     auxch at 0x7f942a193870: size 4096, auxp 0x7f942a1a4420, endp 0x7f942a1a5420
>> auxlist for instr 1 (0x7f942a18e420):
>> auxlist for instr 1 (0x7f9429000620):
>>     auxch at 0x7f94290099e8: size 96, auxp 0x7f94277046a0, endp 0x7f9427704700
>>     auxch at 0x7f9429016690: size 32, auxp 0x7f9427704100, endp 0x7f9427704120
>>     auxch at 0x7f9429005a70: size 4096, auxp 0x7f942900da20, endp 0x7f942900ea20
>> auxlist for instr 1 (0x7f9429000620):
>> 
>> ========================
>> Prof. Victor Lazzarini
>> Dean of Arts, Celtic Studies, and Philosophy,
>> Maynooth University,
>> Maynooth, Co Kildare, Ireland
>> Tel: 00 353 7086936
>> Fax: 00 353 1 7086952 
>> 
>>> On 19 Oct 2018, at 12:36, Victor Lazzarini  wrote:
>>> 
>>> That code seems OK, wondering how Free got called then.
>>> ========================
>>> Prof. Victor Lazzarini
>>> Dean of Arts, Celtic Studies, and Philosophy,
>>> Maynooth University,
>>> Maynooth, Co Kildare, Ireland
>>> Tel: 00 353 7086936
>>> Fax: 00 353 1 7086952 
>>> 
>>>> On 19 Oct 2018, at 12:31, John  wrote:
>>>> 
>>>> This code from insert.c lines about 1044-1050 is clearly involved.
>>>> The complaint is that the auxchfree is freeing memory already freed in
>>>> the call to csound->Free earlier.  No idea about subinstr but it looks
>>>> as if it s the culprit
>>>> 
>>>>         if (ip->auxchp != NULL)
>>>>           auxchfree(csound, ip);
>>>>         free_instr_var_memory(csound, ip);
>>>>         if ((nxtip = ip->nxtinstance) != NULL)
>>>>           nxtip->prvinstance = prvip;
>>>>         *prvnxtloc = nxtip;
>>>>         csound->Free(csound, (char *)ip);
>>>>       }
>>>> 
>>>> 
>>>> ==John f

Date2018-10-19 13:35
FromVictor Lazzarini
SubjectRe: [Csnd-dev] more on subinstr
Can you run with 1 score event only, so we have a shorter list?
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 19 Oct 2018, at 13:32, Mauro Giubileo  wrote:
> 
> This is my auxlist output with -v from a Windows machine:
> 
> auxlist for instr corda [201] (000001F1ABF5D180):
>         auxch at 000001F1ABF664F8: size 1344, auxp 000001F1ABF66F60, endp 000001F1ABF674A0
>         auxch at 000001F1ABF663E0: size 48, auxp 000001F1ABE49800, endp 000001F1ABE49830
> auxlist for instr corda [201] (000001F1ABF5D180):
> auxlist for instr corda [201] (000001F1ABF7F5A0):
>         auxch at 000001F1ABF88918: size 1208, auxp 000001F1ABF89380, endp 000001F1ABF89838
>         auxch at 000001F1ABF88800: size 48, auxp 000001F1ABE48C60, endp 000001F1ABE48C90
> auxlist for instr corda [201] (000001F1ABF7F5A0):
> auxlist for instr corda [201] (000001F1ABFA1840):
>         auxch at 000001F1ABFAABB8: size 1032, auxp 000001F1ABFAB620, endp 000001F1ABFABA28
>         auxch at 000001F1ABFAAAA0: size 48, auxp 000001F1ABE49020, endp 000001F1ABE49050
> auxlist for instr corda [201] (000001F1ABFA1840):
> auxlist for instr corda [201] (000001F1ABFC29D0):
>         auxch at 000001F1ABFCBD48: size 896, auxp 000001F1ABFCC7B0, endp 000001F1ABFCCB30
>         auxch at 000001F1ABFCBC30: size 48, auxp 000001F1ABE49080, endp 000001F1ABE490B0
> auxlist for instr corda [201] (000001F1ABFC29D0):
> auxlist for instr corda [201] (000001F1ACDA9C00):
>         auxch at 000001F1ACDB2F78: size 816, auxp 000001F1ACDB39E0, endp 000001F1ACDB3D10
>         auxch at 000001F1ACDB2E60: size 48, auxp 000001F1ABE4A400, endp 000001F1ABE4A430
> auxlist for instr corda [201] (000001F1ACDA9C00):
> auxlist for instr corda [201] (000001F1ACDCACC0):
>         auxch at 000001F1ACDD4038: size 720, auxp 000001F1ACDD4AA0, endp 000001F1ACDD4D70
>         auxch at 000001F1ACDD3F20: size 48, auxp 000001F1ABE4AC40, endp 000001F1ABE4AC70
> auxlist for instr corda [201] (000001F1ACDCACC0):
> auxlist for instr corda [201] (000001F1ACDEBD20):
>         auxch at 000001F1ACDF5098: size 1344, auxp 000001F1ABFDAED0, endp 000001F1ABFDB410
>         auxch at 000001F1ACDF4F80: size 48, auxp 000001F1ABE4A9A0, endp 000001F1ABE4A9D0
> auxlist for instr corda [201] (000001F1ACDEBD20):
> auxlist for instr corda [201] (000001F1ACE0CA80):
>         auxch at 000001F1ACE15DF8: size 1208, auxp 000001F1ACE16860, endp 000001F1ACE16D18
>         auxch at 000001F1ACE15CE0: size 48, auxp 000001F1ABE49980, endp 000001F1ABE499B0
> auxlist for instr corda [201] (000001F1ACE0CA80):
> auxlist for instr corda [201] (000001F1ACE2DCC0):
>         auxch at 000001F1ACE37038: size 1032, auxp 000001F1ACE37AA0, endp 000001F1ACE37EA8
>         auxch at 000001F1ACE36F20: size 48, auxp 000001F1ABE49FE0, endp 000001F1ABE4A010
> auxlist for instr corda [201] (000001F1ACE2DCC0):
> auxlist for instr corda [201] (000001F1ACE4EE50):
>         auxch at 000001F1ACE581C8: size 896, auxp 000001F1ACE58C30, endp 000001F1ACE58FB0
>         auxch at 000001F1ACE580B0: size 48, auxp 000001F1ABE4A2E0, endp 000001F1ABE4A310
> auxlist for instr corda [201] (000001F1ACE4EE50):
> auxlist for instr corda [201] (000001F1ACE6FF70):
>         auxch at 000001F1ACE792E8: size 816, auxp 000001F1ABFDD450, endp 000001F1ABFDD780
>         auxch at 000001F1ACE791D0: size 48, auxp 000001F1ABE4AA00, endp 000001F1ABE4AA30
> auxlist for instr corda [201] (000001F1ACE6FF70):
> auxlist for instr corda [201] (000001F1ACE90CD0):
>         auxch at 000001F1ACE9A048: size 1032, auxp 000001F1ACE9AAB0, endp 000001F1ACE9AEB8
>         auxch at 000001F1ACE99F30: size 48, auxp 000001F1ABE4B000, endp 000001F1ABE4B030
> auxlist for instr corda [201] (000001F1ACE90CD0):
> auxlist for instr corda [201] (000001F1ACEB1E60):
>         auxch at 000001F1ACEBB1D8: size 720, auxp 000001F1ACEBBC40, endp 000001F1ACEBBF10
>         auxch at 000001F1ACEBB0C0: size 48, auxp 000001F1ABE4AF40, endp 000001F1ABE4AF70
> auxlist for instr corda [201] (000001F1ACEB1E60):
> auxlist for instr corda [201] (000001F1ACEE1EA0):
>         auxch at 000001F1ACEEB218: size 1344, auxp 000001F1ABFDD7B0, endp 000001F1ABFDDCF0
>         auxch at 000001F1ACEEB100: size 48, auxp 000001F1ABE4AFA0, endp 000001F1ABE4AFD0
> auxlist for instr corda [201] (000001F1ACEE1EA0):
> auxlist for instr corda [201] (000001F1ACF01BD0):
>         auxch at 000001F1ACF0AF48: size 1208, auxp 000001F1ABFDDD20, endp 000001F1ABFDE1D8
>         auxch at 000001F1ACF0AE30: size 48, auxp 000001F1ABE4B0C0, endp 000001F1ABE4B0F0
> auxlist for instr corda [201] (000001F1ACF01BD0):
> auxlist for instr corda [201] (000001F1ACF23910):
>         auxch at 000001F1ACF2CC88: size 1032, auxp 000001F1ABFDE200, endp 000001F1ABFDE608
>         auxch at 000001F1ACF2CB70: size 48, auxp 000001F1ABE49920, endp 000001F1ABE49950
> auxlist for instr corda [201] (000001F1ACF23910):
> auxlist for instr corda [201] (000001F1ACF43640):
>         auxch at 000001F1ACF4C9B8: size 896, auxp 000001F1ABFDE630, endp 000001F1ABFDE9B0
>         auxch at 000001F1ACF4C8A0: size 48, auxp 000001F1ABE4A520, endp 000001F1ABE4A550
> auxlist for instr corda [201] (000001F1ACF43640):
> auxlist for instr corda [201] (000001F1ACF63370):
>         auxch at 000001F1ACF6C6E8: size 816, auxp 000001F1ABFDE9E0, endp 000001F1ABFDED10
>         auxch at 000001F1ACF6C5D0: size 48, auxp 000001F1ABE4AE20, endp 000001F1ABE4AE50
> auxlist for instr corda [201] (000001F1ACF63370):
> auxlist for instr corda [201] (000001F1ACF830A0):
>         auxch at 000001F1ACF8C418: size 720, auxp 000001F1ACF8CE80, endp 000001F1ACF8D150
>         auxch at 000001F1ACF8C300: size 48, auxp 000001F1ABE4A460, endp 000001F1ABE4A490
> auxlist for instr corda [201] (000001F1ACF830A0):
> auxlist for instr corda [201] (000001F1ACFA30D0):
>         auxch at 000001F1ACFAC448: size 1344, auxp 000001F1ACFACEB0, endp 000001F1ACFAD3F0
>         auxch at 000001F1ACFAC330: size 48, auxp 000001F1ABE499E0, endp 000001F1ABE49A10
> auxlist for instr corda [201] (000001F1ACFA30D0):
> auxlist for instr corda [201] (000001F1ACFC3370):
>         auxch at 000001F1ACFCC6E8: size 1208, auxp 000001F1ACFCD150, endp 000001F1ACFCD608
>         auxch at 000001F1ACFCC5D0: size 48, auxp 000001F1ABE4A640, endp 000001F1ABE4A670
> auxlist for instr corda [201] (000001F1ACFC3370):
> auxlist for instr corda [201] (000001F1ACFE3580):
>         auxch at 000001F1ACFEC8F8: size 896, auxp 000001F1ACFED360, endp 000001F1ACFED6E0
>         auxch at 000001F1ACFEC7E0: size 48, auxp 000001F1ABE4A4C0, endp 000001F1ABE4A4F0
> auxlist for instr corda [201] (000001F1ACFE3580):
> auxlist for instr corda [201] (000001F1AD003660):
>         auxch at 000001F1AD00C9D8: size 816, auxp 000001F1AD00D440, endp 000001F1AD00D770
>         auxch at 000001F1AD00C8C0: size 48, auxp 000001F1ABE49D40, endp 000001F1ABE49D70
> auxlist for instr corda [201] (000001F1AD003660):
> auxlist for instr corda [201] (000001F1AD0236F0):
>         auxch at 000001F1AD02CA68: size 720, auxp 000001F1AD02D4D0, endp 000001F1AD02D7A0
>         auxch at 000001F1AD02C950: size 48, auxp 000001F1ABE49A40, endp 000001F1ABE49A70
> auxlist for instr corda [201] (000001F1AD0236F0):
> auxlist for instr 1 (000001F1ABF46200):
>         auxch at 000001F1ABF4F5C8: size 96, auxp 000001F1AA023DC0, endp 000001F1AA023E20
> 
> csound command: Segmentation violation
> 
> And here it crashes... From what Rory Walsh told me, on the Mac there are no crashes, but on Windows it does. A very strange problem.
> 
> Regards,
> Mauro
> 
> 
> 
> Il 2018-10-19 13:52 Victor Lazzarini ha scritto:
> 
>> Well it doesn't crash here, but that's not really saying anything. However,  running with -v I get reports from auxchfree, but none
>> concerning instr 2 (meaning it's not being called):
>> 
>> auxlist for instr corda [201] (0x7f942788dc20):
>>     auxch at 0x7f9427896f98: size 1344, auxp 0x7f9427897a20, endp 0x7f9427897f60
>>     auxch at 0x7f9427896e80: size 48, auxp 0x7f94275b4210, endp 0x7f94275b4240
>> auxlist for instr corda [201] (0x7f942788dc20):
>> auxlist for instr corda [201] (0x7f94278af220):
>>     auxch at 0x7f94278b8598: size 1208, auxp 0x7f94278b9020, endp 0x7f94278b94d8
>>     auxch at 0x7f94278b8480: size 48, auxp 0x7f94275b5990, endp 0x7f94275b59c0
>> auxlist for instr corda [201] (0x7f94278af220):
>> auxlist for instr corda [201] (0x7f94278d0820):
>>     auxch at 0x7f94278d9b98: size 1032, auxp 0x7f94278da620, endp 0x7f94278daa28
>>     auxch at 0x7f94278d9a80: size 48, auxp 0x7f94275b71d0, endp 0x7f94275b7200
>> auxlist for instr corda [201] (0x7f94278d0820):
>> auxlist for instr corda [201] (0x7f94278f1e20):
>>     auxch at 0x7f94278fb198: size 896, auxp 0x7f94275b5440, endp 0x7f94275b57c0
>>     auxch at 0x7f94278fb080: size 48, auxp 0x7f942753dad0, endp 0x7f942753db00
>> auxlist for instr corda [201] (0x7f94278f1e20):
>> auxlist for instr corda [201] (0x7f9427912e20):
>>     auxch at 0x7f942791c198: size 816, auxp 0x7f94275b7a00, endp 0x7f94275b7d30
>>     auxch at 0x7f942791c080: size 48, auxp 0x7f942753dc90, endp 0x7f942753dcc0
>> auxlist for instr corda [201] (0x7f9427912e20):
>> auxlist for instr corda [201] (0x7f9427933e20):
>>     auxch at 0x7f942793d198: size 720, auxp 0x7f94275b4a60, endp 0x7f94275b4d30
>>     auxch at 0x7f942793d080: size 48, auxp 0x7f94275b7d50, endp 0x7f94275b7d80
>> auxlist for instr corda [201] (0x7f9427933e20):
>> auxlist for instr corda [201] (0x7f9427954e20):
>>     auxch at 0x7f942795e198: size 1344, auxp 0x7f942795ec20, endp 0x7f942795f160
>>     auxch at 0x7f942795e080: size 48, auxp 0x7f94275b5f30, endp 0x7f94275b5f60
>> auxlist for instr corda [201] (0x7f9427954e20):
>> auxlist for instr corda [201] (0x7f9427976420):
>>     auxch at 0x7f942797f798: size 1208, auxp 0x7f9427980220, endp 0x7f94279806d8
>>     auxch at 0x7f942797f680: size 48, auxp 0x7f94275b60f0, endp 0x7f94275b6120
>> auxlist for instr corda [201] (0x7f9427976420):
>> auxlist for instr corda [201] (0x7f9429817220):
>>     auxch at 0x7f9429820598: size 1032, auxp 0x7f9429821020, endp 0x7f9429821428
>>     auxch at 0x7f9429820480: size 48, auxp 0x7f94289001c0, endp 0x7f94289001f0
>> auxlist for instr corda [201] (0x7f9429817220):
>> auxlist for instr corda [201] (0x7f942a017220):
>>     auxch at 0x7f942a020598: size 896, auxp 0x7f94288005f0, endp 0x7f9428800970
>>     auxch at 0x7f942a020480: size 48, auxp 0x7f94288004e0, endp 0x7f9428800510
>> auxlist for instr corda [201] (0x7f942a017220):
>> auxlist for instr corda [201] (0x7f942a038220):
>>     auxch at 0x7f942a041598: size 816, auxp 0x7f9428800a90, endp 0x7f9428800dc0
>>     auxch at 0x7f942a041480: size 48, auxp 0x7f9428800a40, endp 0x7f9428800a70
>> auxlist for instr corda [201] (0x7f942a038220):
>> auxlist for instr corda [201] (0x7f942a059220):
>>     auxch at 0x7f942a062598: size 1032, auxp 0x7f942a063020, endp 0x7f942a063428
>>     auxch at 0x7f942a062480: size 48, auxp 0x7f9428800f50, endp 0x7f9428800f80
>> auxlist for instr corda [201] (0x7f942a059220):
>> auxlist for instr corda [201] (0x7f942a07a820):
>>     auxch at 0x7f942a083b98: size 720, auxp 0x7f9428801160, endp 0x7f9428801430
>>     auxch at 0x7f942a083a80: size 48, auxp 0x7f9428801110, endp 0x7f9428801140
>> auxlist for instr corda [201] (0x7f942a07a820):
>> auxlist for instr corda [201] (0x7f942a09b820):
>>     auxch at 0x7f942a0a4b98: size 1344, auxp 0x7f942a0a5620, endp 0x7f942a0a5b60
>>     auxch at 0x7f942a0a4a80: size 48, auxp 0x7f94288015c0, endp 0x7f94288015f0
>> auxlist for instr corda [201] (0x7f942a09b820):
>> auxlist for instr corda [201] (0x7f942a0bce20):
>>     auxch at 0x7f942a0c6198: size 1208, auxp 0x7f942a0c6c20, endp 0x7f942a0c70d8
>>     auxch at 0x7f942a0c6080: size 48, auxp 0x7f9428801780, endp 0x7f94288017b0
>> auxlist for instr corda [201] (0x7f942a0bce20):
>> auxlist for instr corda [201] (0x7f942a0de420):
>>     auxch at 0x7f942a0e7798: size 1032, auxp 0x7f942a0e8220, endp 0x7f942a0e8628
>>     auxch at 0x7f942a0e7680: size 48, auxp 0x7f9428801940, endp 0x7f9428801970
>> auxlist for instr corda [201] (0x7f942a0de420):
>> auxlist for instr corda [201] (0x7f942a0ffa20):
>>     auxch at 0x7f942a108d98: size 896, auxp 0x7f9428801b50, endp 0x7f9428801ed0
>>     auxch at 0x7f942a108c80: size 48, auxp 0x7f9428801b00, endp 0x7f9428801b30
>> auxlist for instr corda [201] (0x7f942a0ffa20):
>> auxlist for instr corda [201] (0x7f942a817220):
>>     auxch at 0x7f942a820598: size 816, auxp 0x7f9428a001a0, endp 0x7f9428a004d0
>>     auxch at 0x7f942a820480: size 48, auxp 0x7f9428a00150, endp 0x7f9428a00180
>> auxlist for instr corda [201] (0x7f942a817220):
>> auxlist for instr corda [201] (0x7f942a120a20):
>>     auxch at 0x7f942a129d98: size 720, auxp 0x7f94288020b0, endp 0x7f9428802380
>>     auxch at 0x7f942a129c80: size 48, auxp 0x7f9428802060, endp 0x7f9428802090
>> auxlist for instr corda [201] (0x7f942a120a20):
>> auxlist for instr corda [201] (0x7f942a141a20):
>>     auxch at 0x7f942a14ad98: size 1344, auxp 0x7f942a14b820, endp 0x7f942a14bd60
>>     auxch at 0x7f942a14ac80: size 48, auxp 0x7f9428802510, endp 0x7f9428802540
>> auxlist for instr corda [201] (0x7f942a141a20):
>> auxlist for instr corda [201] (0x7f942a163020):
>>     auxch at 0x7f942a16c398: size 1208, auxp 0x7f942a16ce20, endp 0x7f942a16d2d8
>>     auxch at 0x7f942a16c280: size 48, auxp 0x7f94288026d0, endp 0x7f9428802700
>> auxlist for instr corda [201] (0x7f942a163020):
>> auxlist for instr corda [201] (0x7f942a184620):
>>     auxch at 0x7f942a18d998: size 896, auxp 0x7f94288028e0, endp 0x7f9428802c60
>>     auxch at 0x7f942a18d880: size 48, auxp 0x7f9428802890, endp 0x7f94288028c0
>> auxlist for instr corda [201] (0x7f942a184620):
>> auxlist for instr corda [201] (0x7f942a1a5620):
>>     auxch at 0x7f942a1ae998: size 816, auxp 0x7f9427700c90, endp 0x7f9427700fc0
>>     auxch at 0x7f942a1ae880: size 48, auxp 0x7f9427704b50, endp 0x7f9427704b80
>> auxlist for instr corda [201] (0x7f942a1a5620):
>> auxlist for instr corda [201] (0x7f942901a620):
>>     auxch at 0x7f9429023998: size 720, auxp 0x7f9427704310, endp 0x7f94277045e0
>>     auxch at 0x7f9429023880: size 48, auxp 0x7f9427704be0, endp 0x7f9427704c10
>> auxlist for instr corda [201] (0x7f942901a620):
>> auxlist for instr 1 (0x7f9427876a20):
>>     auxch at 0x7f942787fde8: size 96, auxp 0x7f94275b76b0, endp 0x7f94275b7710
>>     auxch at 0x7f9427888a90: size 32, auxp 0x7f94275b6d90, endp 0x7f94275b6db0
>>     auxch at 0x7f942787be70: size 4096, auxp 0x7f942788ca20, endp 0x7f942788da20
>> auxlist for instr 1 (0x7f9427876a20):
>> auxlist for instr 1 (0x7f9427898020):
>>     auxch at 0x7f94278a13e8: size 96, auxp 0x7f94275b59e0, endp 0x7f94275b5a40
>>     auxch at 0x7f94278aa090: size 32, auxp 0x7f94275b9640, endp 0x7f94275b9660
>>     auxch at 0x7f942789d470: size 4096, auxp 0x7f94278ae020, endp 0x7f94278af020
>> auxlist for instr 1 (0x7f9427898020):
>> auxlist for instr 1 (0x7f94278b9620):
>>     auxch at 0x7f94278c29e8: size 96, auxp 0x7f94275b7220, endp 0x7f94275b7280
>>     auxch at 0x7f94278cb690: size 32, auxp 0x7f94275b7730, endp 0x7f94275b7750
>>     auxch at 0x7f94278bea70: size 4096, auxp 0x7f94278cf620, endp 0x7f94278d0620
>> auxlist for instr 1 (0x7f94278b9620):
>> auxlist for instr 1 (0x7f94278dac20):
>>     auxch at 0x7f94278e3fe8: size 96, auxp 0x7f942753db20, endp 0x7f942753db80
>>     auxch at 0x7f94278ecc90: size 32, auxp 0x7f94275b5a60, endp 0x7f94275b5a80
>>     auxch at 0x7f94278e0070: size 4096, auxp 0x7f94278f0c20, endp 0x7f94278f1c20
>> auxlist for instr 1 (0x7f94278dac20):
>> auxlist for instr 1 (0x7f94278fbc20):
>>     auxch at 0x7f9427904fe8: size 96, auxp 0x7f94275b6810, endp 0x7f94275b6870
>>     auxch at 0x7f942790dc90: size 32, auxp 0x7f94275b72a0, endp 0x7f94275b72c0
>>     auxch at 0x7f9427901070: size 4096, auxp 0x7f9427911c20, endp 0x7f9427912c20
>> auxlist for instr 1 (0x7f94278fbc20):
>> auxlist for instr 1 (0x7f942791cc20):
>>     auxch at 0x7f9427925fe8: size 96, auxp 0x7f94275b6940, endp 0x7f94275b69a0
>>     auxch at 0x7f942792ec90: size 32, auxp 0x7f942753dba0, endp 0x7f942753dbc0
>>     auxch at 0x7f9427922070: size 4096, auxp 0x7f9427932c20, endp 0x7f9427933c20
>> auxlist for instr 1 (0x7f942791cc20):
>> auxlist for instr 1 (0x7f942793dc20):
>>     auxch at 0x7f9427946fe8: size 96, auxp 0x7f94275b5f80, endp 0x7f94275b5fe0
>>     auxch at 0x7f942794fc90: size 32, auxp 0x7f942753dce0, endp 0x7f942753dd00
>>     auxch at 0x7f9427943070: size 4096, auxp 0x7f9427953c20, endp 0x7f9427954c20
>> auxlist for instr 1 (0x7f942793dc20):
>> auxlist for instr 1 (0x7f942795f220):
>>     auxch at 0x7f94279685e8: size 96, auxp 0x7f94275b6140, endp 0x7f94275b61a0
>>     auxch at 0x7f9427971290: size 32, auxp 0x7f94275b69c0, endp 0x7f94275b69e0
>>     auxch at 0x7f9427964670: size 4096, auxp 0x7f9427975220, endp 0x7f9427976220
>> auxlist for instr 1 (0x7f942795f220):
>> auxlist for instr 1 (0x7f9429800020):
>>     auxch at 0x7f94298093e8: size 96, auxp 0x7f9428900210, endp 0x7f9428900270
>>     auxch at 0x7f9429812090: size 32, auxp 0x7f9428900090, endp 0x7f94289000b0
>>     auxch at 0x7f9429805470: size 4096, auxp 0x7f9429816020, endp 0x7f9429817020
>> auxlist for instr 1 (0x7f9429800020):
>> auxlist for instr 1 (0x7f942a000020):
>>     auxch at 0x7f942a0093e8: size 96, auxp 0x7f9428800530, endp 0x7f9428800590
>>     auxch at 0x7f942a012090: size 32, auxp 0x7f94288003b0, endp 0x7f94288003d0
>>     auxch at 0x7f942a005470: size 4096, auxp 0x7f942a016020, endp 0x7f942a017020
>> auxlist for instr 1 (0x7f942a000020):
>> auxlist for instr 1 (0x7f942a021020):
>>     auxch at 0x7f942a02a3e8: size 96, auxp 0x7f9428800de0, endp 0x7f9428800e40
>>     auxch at 0x7f942a033090: size 32, auxp 0x7f94288003f0, endp 0x7f9428800410
>>     auxch at 0x7f942a026470: size 4096, auxp 0x7f942a037020, endp 0x7f942a038020
>> auxlist for instr 1 (0x7f942a021020):
>> auxlist for instr 1 (0x7f942a042020):
>>     auxch at 0x7f942a04b3e8: size 96, auxp 0x7f9428800fa0, endp 0x7f9428801000
>>     auxch at 0x7f942a054090: size 32, auxp 0x7f94288005b0, endp 0x7f94288005d0
>>     auxch at 0x7f942a047470: size 4096, auxp 0x7f942a058020, endp 0x7f942a059020
>> auxlist for instr 1 (0x7f942a042020):
>> auxlist for instr 1 (0x7f942a063620):
>>     auxch at 0x7f942a06c9e8: size 96, auxp 0x7f9428801450, endp 0x7f94288014b0
>>     auxch at 0x7f942a075690: size 32, auxp 0x7f9428800e60, endp 0x7f9428800e80
>>     auxch at 0x7f942a068a70: size 4096, auxp 0x7f942a079620, endp 0x7f942a07a620
>> auxlist for instr 1 (0x7f942a063620):
>> auxlist for instr 1 (0x7f942a084620):
>>     auxch at 0x7f942a08d9e8: size 96, auxp 0x7f9428801610, endp 0x7f9428801670
>>     auxch at 0x7f942a096690: size 32, auxp 0x7f9428801020, endp 0x7f9428801040
>>     auxch at 0x7f942a089a70: size 4096, auxp 0x7f942a09a620, endp 0x7f942a09b620
>> auxlist for instr 1 (0x7f942a084620):
>> auxlist for instr 1 (0x7f942a0a5c20):
>>     auxch at 0x7f942a0aefe8: size 96, auxp 0x7f94288017d0, endp 0x7f9428801830
>>     auxch at 0x7f942a0b7c90: size 32, auxp 0x7f94288014d0, endp 0x7f94288014f0
>>     auxch at 0x7f942a0ab070: size 4096, auxp 0x7f942a0bbc20, endp 0x7f942a0bcc20
>> auxlist for instr 1 (0x7f942a0a5c20):
>> auxlist for instr 1 (0x7f942a0c7220):
>>     auxch at 0x7f942a0d05e8: size 96, auxp 0x7f9428801990, endp 0x7f94288019f0
>>     auxch at 0x7f942a0d9290: size 32, auxp 0x7f9428801690, endp 0x7f94288016b0
>>     auxch at 0x7f942a0cc670: size 4096, auxp 0x7f942a0dd220, endp 0x7f942a0de220
>> auxlist for instr 1 (0x7f942a0c7220):
>> auxlist for instr 1 (0x7f942a0e8820):
>>     auxch at 0x7f942a0f1be8: size 96, auxp 0x7f9428801ef0, endp 0x7f9428801f50
>>     auxch at 0x7f942a0fa890: size 32, auxp 0x7f9428801850, endp 0x7f9428801870
>>     auxch at 0x7f942a0edc70: size 4096, auxp 0x7f942a0fe820, endp 0x7f942a0ff820
>> auxlist for instr 1 (0x7f942a0e8820):
>> auxlist for instr 1 (0x7f942a800020):
>>     auxch at 0x7f942a8093e8: size 96, auxp 0x7f9428a004f0, endp 0x7f9428a00550
>>     auxch at 0x7f942a812090: size 32, auxp 0x7f9428a00020, endp 0x7f9428a00040
>>     auxch at 0x7f942a805470: size 4096, auxp 0x7f942a816020, endp 0x7f942a817020
>> auxlist for instr 1 (0x7f942a800020):
>> auxlist for instr 1 (0x7f942a109820):
>>     auxch at 0x7f942a112be8: size 96, auxp 0x7f94288023a0, endp 0x7f9428802400
>>     auxch at 0x7f942a11b890: size 32, auxp 0x7f9428801a10, endp 0x7f9428801a30
>>     auxch at 0x7f942a10ec70: size 4096, auxp 0x7f942a11f820, endp 0x7f942a120820
>> auxlist for instr 1 (0x7f942a109820):
>> auxlist for instr 1 (0x7f942a12a820):
>>     auxch at 0x7f942a133be8: size 96, auxp 0x7f9428802560, endp 0x7f94288025c0
>>     auxch at 0x7f942a13c890: size 32, auxp 0x7f9428801f70, endp 0x7f9428801f90
>>     auxch at 0x7f942a12fc70: size 4096, auxp 0x7f942a140820, endp 0x7f942a141820
>> auxlist for instr 1 (0x7f942a12a820):
>> auxlist for instr 1 (0x7f942a14be20):
>>     auxch at 0x7f942a1551e8: size 96, auxp 0x7f9428802720, endp 0x7f9428802780
>>     auxch at 0x7f942a15de90: size 32, auxp 0x7f9428802420, endp 0x7f9428802440
>>     auxch at 0x7f942a151270: size 4096, auxp 0x7f942a161e20, endp 0x7f942a162e20
>> auxlist for instr 1 (0x7f942a14be20):
>> auxlist for instr 1 (0x7f942a16d420):
>>     auxch at 0x7f942a1767e8: size 96, auxp 0x7f9428802c80, endp 0x7f9428802ce0
>>     auxch at 0x7f942a17f490: size 32, auxp 0x7f94288025e0, endp 0x7f9428802600
>>     auxch at 0x7f942a172870: size 4096, auxp 0x7f942a183420, endp 0x7f942a184420
>> auxlist for instr 1 (0x7f942a16d420):
>> auxlist for instr 1 (0x7f942a18e420):
>>     auxch at 0x7f942a1977e8: size 96, auxp 0x7f9427700fe0, endp 0x7f9427701040
>>     auxch at 0x7f942a1a0490: size 32, auxp 0x7f94288027a0, endp 0x7f94288027c0
>>     auxch at 0x7f942a193870: size 4096, auxp 0x7f942a1a4420, endp 0x7f942a1a5420
>> auxlist for instr 1 (0x7f942a18e420):
>> auxlist for instr 1 (0x7f9429000620):
>>     auxch at 0x7f94290099e8: size 96, auxp 0x7f94277046a0, endp 0x7f9427704700
>>     auxch at 0x7f9429016690: size 32, auxp 0x7f9427704100, endp 0x7f9427704120
>>     auxch at 0x7f9429005a70: size 4096, auxp 0x7f942900da20, endp 0x7f942900ea20
>> auxlist for instr 1 (0x7f9429000620):
>> 
>> ========================
>> Prof. Victor Lazzarini
>> Dean of Arts, Celtic Studies, and Philosophy,
>> Maynooth University,
>> Maynooth, Co Kildare, Ireland
>> Tel: 00 353 7086936
>> Fax: 00 353 1 7086952 
>> 
>>> On 19 Oct 2018, at 12:36, Victor Lazzarini  wrote:
>>> 
>>> That code seems OK, wondering how Free got called then.
>>> ========================
>>> Prof. Victor Lazzarini
>>> Dean of Arts, Celtic Studies, and Philosophy,
>>> Maynooth University,
>>> Maynooth, Co Kildare, Ireland
>>> Tel: 00 353 7086936
>>> Fax: 00 353 1 7086952 
>>> 
>>>> On 19 Oct 2018, at 12:31, John  wrote:
>>>> 
>>>> This code from insert.c lines about 1044-1050 is clearly involved.
>>>> The complaint is that the auxchfree is freeing memory already freed in
>>>> the call to csound->Free earlier.  No idea about subinstr but it looks
>>>> as if it s the culprit
>>>> 
>>>>         if (ip->auxchp != NULL)
>>>>           auxchfree(csound, ip);
>>>>         free_instr_var_memory(csound, ip);
>>>>         if ((nxtip = ip->nxtinstance) != NULL)
>>>>           nxtip->prvinstance = prvip;
>>>>         *prvnxtloc = nxtip;
>>>>         csound->Free(csound, (char *)ip);
>>>>       }
>>>> 
>>>> 

Date2018-10-19 13:45
FromMauro Giubileo
SubjectRe: [Csnd-dev] more on subinstr

I noticed that to make it crash there should be at least 3 score events for Instr 1. With 1 or 2 'i1' events it doesn't crash. With this score:

<CsScore>
i1 0   1 262 0.25
i1 0.1 1 292 0.25
i1 0.2 1 342 0.25
</CsScore>

The output with -v is this:

auxlist for instr corda [201] (000001791AE37190):
        auxch at 000001791AE40508: size 1344, auxp 000001791AE40F70, endp 000001791AE414B0
        auxch at 000001791AE403F0: size 48, auxp 000001791AD199C0, endp 000001791AD199F0
auxlist for instr corda [201] (000001791AE37190):
auxlist for instr corda [201] (000001791AE58460):
        auxch at 000001791AE617D8: size 1208, auxp 000001791AE62240, endp 000001791AE626F8
        auxch at 000001791AE616C0: size 48, auxp 000001791AD19A20, endp 000001791AD19A50
auxlist for instr corda [201] (000001791AE58460):
auxlist for instr corda [201] (000001791AE796A0):
        auxch at 000001791AE82A18: size 1032, auxp 000001791AE83480, endp 000001791AE83888
        auxch at 000001791AE82900: size 48, auxp 000001791AD19AE0, endp 000001791AD19B10
auxlist for instr corda [201] (000001791AE796A0):
auxlist for instr 1 (000001791AE20210):
        auxch at 000001791AE295D8: size 96, auxp 0000017918DE5E00, endp 0000017918DE5E60
        auxch at 000001791AE321C0: size 32, auxp 000001791ADD8D60, endp 000001791ADD8D80
        auxch at 000001791AE25660: size 4096, auxp 000001791AE36160, endp 000001791AE37160
auxlist for instr 1 (000001791AE20210):
auxlist for instr 1 (000001791AE414E0):
        auxch at 000001791AE4A8A8: size 96, auxp 0000017918DE5470, endp 0000017918DE54D0

csound command: Segmentation violation


Regards,
Mauro


Il 2018-10-19 14:35 Victor Lazzarini ha scritto:

Can you run with 1 score event only, so we have a shorter list?
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

On 19 Oct 2018, at 13:32, Mauro Giubileo <mgiubileo@COMPUTERALTAFED.IT> wrote:

This is my auxlist output with -v from a Windows machine:

auxlist for instr corda [201] (000001F1ABF5D180):
        auxch at 000001F1ABF664F8: size 1344, auxp 000001F1ABF66F60, endp 000001F1ABF674A0
        auxch at 000001F1ABF663E0: size 48, auxp 000001F1ABE49800, endp 000001F1ABE49830
auxlist for instr corda [201] (000001F1ABF5D180):
auxlist for instr corda [201] (000001F1ABF7F5A0):
        auxch at 000001F1ABF88918: size 1208, auxp 000001F1ABF89380, endp 000001F1ABF89838
        auxch at 000001F1ABF88800: size 48, auxp 000001F1ABE48C60, endp 000001F1ABE48C90
auxlist for instr corda [201] (000001F1ABF7F5A0):
auxlist for instr corda [201] (000001F1ABFA1840):
        auxch at 000001F1ABFAABB8: size 1032, auxp 000001F1ABFAB620, endp 000001F1ABFABA28
        auxch at 000001F1ABFAAAA0: size 48, auxp 000001F1ABE49020, endp 000001F1ABE49050
auxlist for instr corda [201] (000001F1ABFA1840):
auxlist for instr corda [201] (000001F1ABFC29D0):
        auxch at 000001F1ABFCBD48: size 896, auxp 000001F1ABFCC7B0, endp 000001F1ABFCCB30
        auxch at 000001F1ABFCBC30: size 48, auxp 000001F1ABE49080, endp 000001F1ABE490B0
auxlist for instr corda [201] (000001F1ABFC29D0):
auxlist for instr corda [201] (000001F1ACDA9C00):
        auxch at 000001F1ACDB2F78: size 816, auxp 000001F1ACDB39E0, endp 000001F1ACDB3D10
        auxch at 000001F1ACDB2E60: size 48, auxp 000001F1ABE4A400, endp 000001F1ABE4A430
auxlist for instr corda [201] (000001F1ACDA9C00):
auxlist for instr corda [201] (000001F1ACDCACC0):
        auxch at 000001F1ACDD4038: size 720, auxp 000001F1ACDD4AA0, endp 000001F1ACDD4D70
        auxch at 000001F1ACDD3F20: size 48, auxp 000001F1ABE4AC40, endp 000001F1ABE4AC70
auxlist for instr corda [201] (000001F1ACDCACC0):
auxlist for instr corda [201] (000001F1ACDEBD20):
        auxch at 000001F1ACDF5098: size 1344, auxp 000001F1ABFDAED0, endp 000001F1ABFDB410
        auxch at 000001F1ACDF4F80: size 48, auxp 000001F1ABE4A9A0, endp 000001F1ABE4A9D0
auxlist for instr corda [201] (000001F1ACDEBD20):
auxlist for instr corda [201] (000001F1ACE0CA80):
        auxch at 000001F1ACE15DF8: size 1208, auxp 000001F1ACE16860, endp 000001F1ACE16D18
        auxch at 000001F1ACE15CE0: size 48, auxp 000001F1ABE49980, endp 000001F1ABE499B0
auxlist for instr corda [201] (000001F1ACE0CA80):
auxlist for instr corda [201] (000001F1ACE2DCC0):
        auxch at 000001F1ACE37038: size 1032, auxp 000001F1ACE37AA0, endp 000001F1ACE37EA8
        auxch at 000001F1ACE36F20: size 48, auxp 000001F1ABE49FE0, endp 000001F1ABE4A010
auxlist for instr corda [201] (000001F1ACE2DCC0):
auxlist for instr corda [201] (000001F1ACE4EE50):
        auxch at 000001F1ACE581C8: size 896, auxp 000001F1ACE58C30, endp 000001F1ACE58FB0
        auxch at 000001F1ACE580B0: size 48, auxp 000001F1ABE4A2E0, endp 000001F1ABE4A310
auxlist for instr corda [201] (000001F1ACE4EE50):
auxlist for instr corda [201] (000001F1ACE6FF70):
        auxch at 000001F1ACE792E8: size 816, auxp 000001F1ABFDD450, endp 000001F1ABFDD780
        auxch at 000001F1ACE791D0: size 48, auxp 000001F1ABE4AA00, endp 000001F1ABE4AA30
auxlist for instr corda [201] (000001F1ACE6FF70):
auxlist for instr corda [201] (000001F1ACE90CD0):
        auxch at 000001F1ACE9A048: size 1032, auxp 000001F1ACE9AAB0, endp 000001F1ACE9AEB8
        auxch at 000001F1ACE99F30: size 48, auxp 000001F1ABE4B000, endp 000001F1ABE4B030
auxlist for instr corda [201] (000001F1ACE90CD0):
auxlist for instr corda [201] (000001F1ACEB1E60):
        auxch at 000001F1ACEBB1D8: size 720, auxp 000001F1ACEBBC40, endp 000001F1ACEBBF10
        auxch at 000001F1ACEBB0C0: size 48, auxp 000001F1ABE4AF40, endp 000001F1ABE4AF70
auxlist for instr corda [201] (000001F1ACEB1E60):
auxlist for instr corda [201] (000001F1ACEE1EA0):
        auxch at 000001F1ACEEB218: size 1344, auxp 000001F1ABFDD7B0, endp 000001F1ABFDDCF0
        auxch at 000001F1ACEEB100: size 48, auxp 000001F1ABE4AFA0, endp 000001F1ABE4AFD0
auxlist for instr corda [201] (000001F1ACEE1EA0):
auxlist for instr corda [201] (000001F1ACF01BD0):
        auxch at 000001F1ACF0AF48: size 1208, auxp 000001F1ABFDDD20, endp 000001F1ABFDE1D8
        auxch at 000001F1ACF0AE30: size 48, auxp 000001F1ABE4B0C0, endp 000001F1ABE4B0F0
auxlist for instr corda [201] (000001F1ACF01BD0):
auxlist for instr corda [201] (000001F1ACF23910):
        auxch at 000001F1ACF2CC88: size 1032, auxp 000001F1ABFDE200, endp 000001F1ABFDE608
        auxch at 000001F1ACF2CB70: size 48, auxp 000001F1ABE49920, endp 000001F1ABE49950
auxlist for instr corda [201] (000001F1ACF23910):
auxlist for instr corda [201] (000001F1ACF43640):
        auxch at 000001F1ACF4C9B8: size 896, auxp 000001F1ABFDE630, endp 000001F1ABFDE9B0
        auxch at 000001F1ACF4C8A0: size 48, auxp 000001F1ABE4A520, endp 000001F1ABE4A550
auxlist for instr corda [201] (000001F1ACF43640):
auxlist for instr corda [201] (000001F1ACF63370):
        auxch at 000001F1ACF6C6E8: size 816, auxp 000001F1ABFDE9E0, endp 000001F1ABFDED10
        auxch at 000001F1ACF6C5D0: size 48, auxp 000001F1ABE4AE20, endp 000001F1ABE4AE50
auxlist for instr corda [201] (000001F1ACF63370):
auxlist for instr corda [201] (000001F1ACF830A0):
        auxch at 000001F1ACF8C418: size 720, auxp 000001F1ACF8CE80, endp 000001F1ACF8D150
        auxch at 000001F1ACF8C300: size 48, auxp 000001F1ABE4A460, endp 000001F1ABE4A490
auxlist for instr corda [201] (000001F1ACF830A0):
auxlist for instr corda [201] (000001F1ACFA30D0):
        auxch at 000001F1ACFAC448: size 1344, auxp 000001F1ACFACEB0, endp 000001F1ACFAD3F0
        auxch at 000001F1ACFAC330: size 48, auxp 000001F1ABE499E0, endp 000001F1ABE49A10
auxlist for instr corda [201] (000001F1ACFA30D0):
auxlist for instr corda [201] (000001F1ACFC3370):
        auxch at 000001F1ACFCC6E8: size 1208, auxp 000001F1ACFCD150, endp 000001F1ACFCD608
        auxch at 000001F1ACFCC5D0: size 48, auxp 000001F1ABE4A640, endp 000001F1ABE4A670
auxlist for instr corda [201] (000001F1ACFC3370):
auxlist for instr corda [201] (000001F1ACFE3580):
        auxch at 000001F1ACFEC8F8: size 896, auxp 000001F1ACFED360, endp 000001F1ACFED6E0
        auxch at 000001F1ACFEC7E0: size 48, auxp 000001F1ABE4A4C0, endp 000001F1ABE4A4F0
auxlist for instr corda [201] (000001F1ACFE3580):
auxlist for instr corda [201] (000001F1AD003660):
        auxch at 000001F1AD00C9D8: size 816, auxp 000001F1AD00D440, endp 000001F1AD00D770
        auxch at 000001F1AD00C8C0: size 48, auxp 000001F1ABE49D40, endp 000001F1ABE49D70
auxlist for instr corda [201] (000001F1AD003660):
auxlist for instr corda [201] (000001F1AD0236F0):
        auxch at 000001F1AD02CA68: size 720, auxp 000001F1AD02D4D0, endp 000001F1AD02D7A0
        auxch at 000001F1AD02C950: size 48, auxp 000001F1ABE49A40, endp 000001F1ABE49A70
auxlist for instr corda [201] (000001F1AD0236F0):
auxlist for instr 1 (000001F1ABF46200):
        auxch at 000001F1ABF4F5C8: size 96, auxp 000001F1AA023DC0, endp 000001F1AA023E20

csound command: Segmentation violation

And here it crashes... From what Rory Walsh told me, on the Mac there are no crashes, but on Windows it does. A very strange problem.

Regards,
Mauro



Il 2018-10-19 13:52 Victor Lazzarini ha scritto:

Well it doesn't crash here, but that's not really saying anything. However,  running with -v I get reports from auxchfree, but none
concerning instr 2 (meaning it's not being called):

auxlist for instr corda [201] (0x7f942788dc20):
    auxch at 0x7f9427896f98: size 1344, auxp 0x7f9427897a20, endp 0x7f9427897f60
    auxch at 0x7f9427896e80: size 48, auxp 0x7f94275b4210, endp 0x7f94275b4240
auxlist for instr corda [201] (0x7f942788dc20):
auxlist for instr corda [201] (0x7f94278af220):
    auxch at 0x7f94278b8598: size 1208, auxp 0x7f94278b9020, endp 0x7f94278b94d8
    auxch at 0x7f94278b8480: size 48, auxp 0x7f94275b5990, endp 0x7f94275b59c0
auxlist for instr corda [201] (0x7f94278af220):
auxlist for instr corda [201] (0x7f94278d0820):
    auxch at 0x7f94278d9b98: size 1032, auxp 0x7f94278da620, endp 0x7f94278daa28
    auxch at 0x7f94278d9a80: size 48, auxp 0x7f94275b71d0, endp 0x7f94275b7200
auxlist for instr corda [201] (0x7f94278d0820):
auxlist for instr corda [201] (0x7f94278f1e20):
    auxch at 0x7f94278fb198: size 896, auxp 0x7f94275b5440, endp 0x7f94275b57c0
    auxch at 0x7f94278fb080: size 48, auxp 0x7f942753dad0, endp 0x7f942753db00
auxlist for instr corda [201] (0x7f94278f1e20):
auxlist for instr corda [201] (0x7f9427912e20):
    auxch at 0x7f942791c198: size 816, auxp 0x7f94275b7a00, endp 0x7f94275b7d30
    auxch at 0x7f942791c080: size 48, auxp 0x7f942753dc90, endp 0x7f942753dcc0
auxlist for instr corda [201] (0x7f9427912e20):
auxlist for instr corda [201] (0x7f9427933e20):
    auxch at 0x7f942793d198: size 720, auxp 0x7f94275b4a60, endp 0x7f94275b4d30
    auxch at 0x7f942793d080: size 48, auxp 0x7f94275b7d50, endp 0x7f94275b7d80
auxlist for instr corda [201] (0x7f9427933e20):
auxlist for instr corda [201] (0x7f9427954e20):
    auxch at 0x7f942795e198: size 1344, auxp 0x7f942795ec20, endp 0x7f942795f160
    auxch at 0x7f942795e080: size 48, auxp 0x7f94275b5f30, endp 0x7f94275b5f60
auxlist for instr corda [201] (0x7f9427954e20):
auxlist for instr corda [201] (0x7f9427976420):
    auxch at 0x7f942797f798: size 1208, auxp 0x7f9427980220, endp 0x7f94279806d8
    auxch at 0x7f942797f680: size 48, auxp 0x7f94275b60f0, endp 0x7f94275b6120
auxlist for instr corda [201] (0x7f9427976420):
auxlist for instr corda [201] (0x7f9429817220):
    auxch at 0x7f9429820598: size 1032, auxp 0x7f9429821020, endp 0x7f9429821428
    auxch at 0x7f9429820480: size 48, auxp 0x7f94289001c0, endp 0x7f94289001f0
auxlist for instr corda [201] (0x7f9429817220):
auxlist for instr corda [201] (0x7f942a017220):
    auxch at 0x7f942a020598: size 896, auxp 0x7f94288005f0, endp 0x7f9428800970
    auxch at 0x7f942a020480: size 48, auxp 0x7f94288004e0, endp 0x7f9428800510
auxlist for instr corda [201] (0x7f942a017220):
auxlist for instr corda [201] (0x7f942a038220):
    auxch at 0x7f942a041598: size 816, auxp 0x7f9428800a90, endp 0x7f9428800dc0
    auxch at 0x7f942a041480: size 48, auxp 0x7f9428800a40, endp 0x7f9428800a70
auxlist for instr corda [201] (0x7f942a038220):
auxlist for instr corda [201] (0x7f942a059220):
    auxch at 0x7f942a062598: size 1032, auxp 0x7f942a063020, endp 0x7f942a063428
    auxch at 0x7f942a062480: size 48, auxp 0x7f9428800f50, endp 0x7f9428800f80
auxlist for instr corda [201] (0x7f942a059220):
auxlist for instr corda [201] (0x7f942a07a820):
    auxch at 0x7f942a083b98: size 720, auxp 0x7f9428801160, endp 0x7f9428801430
    auxch at 0x7f942a083a80: size 48, auxp 0x7f9428801110, endp 0x7f9428801140
auxlist for instr corda [201] (0x7f942a07a820):
auxlist for instr corda [201] (0x7f942a09b820):
    auxch at 0x7f942a0a4b98: size 1344, auxp 0x7f942a0a5620, endp 0x7f942a0a5b60
    auxch at 0x7f942a0a4a80: size 48, auxp 0x7f94288015c0, endp 0x7f94288015f0
auxlist for instr corda [201] (0x7f942a09b820):
auxlist for instr corda [201] (0x7f942a0bce20):
    auxch at 0x7f942a0c6198: size 1208, auxp 0x7f942a0c6c20, endp 0x7f942a0c70d8
    auxch at 0x7f942a0c6080: size 48, auxp 0x7f9428801780, endp 0x7f94288017b0
auxlist for instr corda [201] (0x7f942a0bce20):
auxlist for instr corda [201] (0x7f942a0de420):
    auxch at 0x7f942a0e7798: size 1032, auxp 0x7f942a0e8220, endp 0x7f942a0e8628
    auxch at 0x7f942a0e7680: size 48, auxp 0x7f9428801940, endp 0x7f9428801970
auxlist for instr corda [201] (0x7f942a0de420):
auxlist for instr corda [201] (0x7f942a0ffa20):
    auxch at 0x7f942a108d98: size 896, auxp 0x7f9428801b50, endp 0x7f9428801ed0
    auxch at 0x7f942a108c80: size 48, auxp 0x7f9428801b00, endp 0x7f9428801b30
auxlist for instr corda [201] (0x7f942a0ffa20):
auxlist for instr corda [201] (0x7f942a817220):
    auxch at 0x7f942a820598: size 816, auxp 0x7f9428a001a0, endp 0x7f9428a004d0
    auxch at 0x7f942a820480: size 48, auxp 0x7f9428a00150, endp 0x7f9428a00180
auxlist for instr corda [201] (0x7f942a817220):
auxlist for instr corda [201] (0x7f942a120a20):
    auxch at 0x7f942a129d98: size 720, auxp 0x7f94288020b0, endp 0x7f9428802380
    auxch at 0x7f942a129c80: size 48, auxp 0x7f9428802060, endp 0x7f9428802090
auxlist for instr corda [201] (0x7f942a120a20):
auxlist for instr corda [201] (0x7f942a141a20):
    auxch at 0x7f942a14ad98: size 1344, auxp 0x7f942a14b820, endp 0x7f942a14bd60
    auxch at 0x7f942a14ac80: size 48, auxp 0x7f9428802510, endp 0x7f9428802540
auxlist for instr corda [201] (0x7f942a141a20):
auxlist for instr corda [201] (0x7f942a163020):
    auxch at 0x7f942a16c398: size 1208, auxp 0x7f942a16ce20, endp 0x7f942a16d2d8
    auxch at 0x7f942a16c280: size 48, auxp 0x7f94288026d0, endp 0x7f9428802700
auxlist for instr corda [201] (0x7f942a163020):
auxlist for instr corda [201] (0x7f942a184620):
    auxch at 0x7f942a18d998: size 896, auxp 0x7f94288028e0, endp 0x7f9428802c60
    auxch at 0x7f942a18d880: size 48, auxp 0x7f9428802890, endp 0x7f94288028c0
auxlist for instr corda [201] (0x7f942a184620):
auxlist for instr corda [201] (0x7f942a1a5620):
    auxch at 0x7f942a1ae998: size 816, auxp 0x7f9427700c90, endp 0x7f9427700fc0
    auxch at 0x7f942a1ae880: size 48, auxp 0x7f9427704b50, endp 0x7f9427704b80
auxlist for instr corda [201] (0x7f942a1a5620):
auxlist for instr corda [201] (0x7f942901a620):
    auxch at 0x7f9429023998: size 720, auxp 0x7f9427704310, endp 0x7f94277045e0
    auxch at 0x7f9429023880: size 48, auxp 0x7f9427704be0, endp 0x7f9427704c10
auxlist for instr corda [201] (0x7f942901a620):
auxlist for instr 1 (0x7f9427876a20):
    auxch at 0x7f942787fde8: size 96, auxp 0x7f94275b76b0, endp 0x7f94275b7710
    auxch at 0x7f9427888a90: size 32, auxp 0x7f94275b6d90, endp 0x7f94275b6db0
    auxch at 0x7f942787be70: size 4096, auxp 0x7f942788ca20, endp 0x7f942788da20
auxlist for instr 1 (0x7f9427876a20):
auxlist for instr 1 (0x7f9427898020):
    auxch at 0x7f94278a13e8: size 96, auxp 0x7f94275b59e0, endp 0x7f94275b5a40
    auxch at 0x7f94278aa090: size 32, auxp 0x7f94275b9640, endp 0x7f94275b9660
    auxch at 0x7f942789d470: size 4096, auxp 0x7f94278ae020, endp 0x7f94278af020
auxlist for instr 1 (0x7f9427898020):
auxlist for instr 1 (0x7f94278b9620):
    auxch at 0x7f94278c29e8: size 96, auxp 0x7f94275b7220, endp 0x7f94275b7280
    auxch at 0x7f94278cb690: size 32, auxp 0x7f94275b7730, endp 0x7f94275b7750
    auxch at 0x7f94278bea70: size 4096, auxp 0x7f94278cf620, endp 0x7f94278d0620
auxlist for instr 1 (0x7f94278b9620):
auxlist for instr 1 (0x7f94278dac20):
    auxch at 0x7f94278e3fe8: size 96, auxp 0x7f942753db20, endp 0x7f942753db80
    auxch at 0x7f94278ecc90: size 32, auxp 0x7f94275b5a60, endp 0x7f94275b5a80
    auxch at 0x7f94278e0070: size 4096, auxp 0x7f94278f0c20, endp 0x7f94278f1c20
auxlist for instr 1 (0x7f94278dac20):
auxlist for instr 1 (0x7f94278fbc20):
    auxch at 0x7f9427904fe8: size 96, auxp 0x7f94275b6810, endp 0x7f94275b6870
    auxch at 0x7f942790dc90: size 32, auxp 0x7f94275b72a0, endp 0x7f94275b72c0
    auxch at 0x7f9427901070: size 4096, auxp 0x7f9427911c20, endp 0x7f9427912c20
auxlist for instr 1 (0x7f94278fbc20):
auxlist for instr 1 (0x7f942791cc20):
    auxch at 0x7f9427925fe8: size 96, auxp 0x7f94275b6940, endp 0x7f94275b69a0
    auxch at 0x7f942792ec90: size 32, auxp 0x7f942753dba0, endp 0x7f942753dbc0
    auxch at 0x7f9427922070: size 4096, auxp 0x7f9427932c20, endp 0x7f9427933c20
auxlist for instr 1 (0x7f942791cc20):
auxlist for instr 1 (0x7f942793dc20):
    auxch at 0x7f9427946fe8: size 96, auxp 0x7f94275b5f80, endp 0x7f94275b5fe0
    auxch at 0x7f942794fc90: size 32, auxp 0x7f942753dce0, endp 0x7f942753dd00
    auxch at 0x7f9427943070: size 4096, auxp 0x7f9427953c20, endp 0x7f9427954c20
auxlist for instr 1 (0x7f942793dc20):
auxlist for instr 1 (0x7f942795f220):
    auxch at 0x7f94279685e8: size 96, auxp 0x7f94275b6140, endp 0x7f94275b61a0
    auxch at 0x7f9427971290: size 32, auxp 0x7f94275b69c0, endp 0x7f94275b69e0
    auxch at 0x7f9427964670: size 4096, auxp 0x7f9427975220, endp 0x7f9427976220
auxlist for instr 1 (0x7f942795f220):
auxlist for instr 1 (0x7f9429800020):
    auxch at 0x7f94298093e8: size 96, auxp 0x7f9428900210, endp 0x7f9428900270
    auxch at 0x7f9429812090: size 32, auxp 0x7f9428900090, endp 0x7f94289000b0
    auxch at 0x7f9429805470: size 4096, auxp 0x7f9429816020, endp 0x7f9429817020
auxlist for instr 1 (0x7f9429800020):
auxlist for instr 1 (0x7f942a000020):
    auxch at 0x7f942a0093e8: size 96, auxp 0x7f9428800530, endp 0x7f9428800590
    auxch at 0x7f942a012090: size 32, auxp 0x7f94288003b0, endp 0x7f94288003d0
    auxch at 0x7f942a005470: size 4096, auxp 0x7f942a016020, endp 0x7f942a017020
auxlist for instr 1 (0x7f942a000020):
auxlist for instr 1 (0x7f942a021020):
    auxch at 0x7f942a02a3e8: size 96, auxp 0x7f9428800de0, endp 0x7f9428800e40
    auxch at 0x7f942a033090: size 32, auxp 0x7f94288003f0, endp 0x7f9428800410
    auxch at 0x7f942a026470: size 4096, auxp 0x7f942a037020, endp 0x7f942a038020
auxlist for instr 1 (0x7f942a021020):
auxlist for instr 1 (0x7f942a042020):
    auxch at 0x7f942a04b3e8: size 96, auxp 0x7f9428800fa0, endp 0x7f9428801000
    auxch at 0x7f942a054090: size 32, auxp 0x7f94288005b0, endp 0x7f94288005d0
    auxch at 0x7f942a047470: size 4096, auxp 0x7f942a058020, endp 0x7f942a059020
auxlist for instr 1 (0x7f942a042020):
auxlist for instr 1 (0x7f942a063620):
    auxch at 0x7f942a06c9e8: size 96, auxp 0x7f9428801450, endp 0x7f94288014b0
    auxch at 0x7f942a075690: size 32, auxp 0x7f9428800e60, endp 0x7f9428800e80
    auxch at 0x7f942a068a70: size 4096, auxp 0x7f942a079620, endp 0x7f942a07a620
auxlist for instr 1 (0x7f942a063620):
auxlist for instr 1 (0x7f942a084620):
    auxch at 0x7f942a08d9e8: size 96, auxp 0x7f9428801610, endp 0x7f9428801670
    auxch at 0x7f942a096690: size 32, auxp 0x7f9428801020, endp 0x7f9428801040
    auxch at 0x7f942a089a70: size 4096, auxp 0x7f942a09a620, endp 0x7f942a09b620
auxlist for instr 1 (0x7f942a084620):
auxlist for instr 1 (0x7f942a0a5c20):
    auxch at 0x7f942a0aefe8: size 96, auxp 0x7f94288017d0, endp 0x7f9428801830
    auxch at 0x7f942a0b7c90: size 32, auxp 0x7f94288014d0, endp 0x7f94288014f0
    auxch at 0x7f942a0ab070: size 4096, auxp 0x7f942a0bbc20, endp 0x7f942a0bcc20
auxlist for instr 1 (0x7f942a0a5c20):
auxlist for instr 1 (0x7f942a0c7220):
    auxch at 0x7f942a0d05e8: size 96, auxp 0x7f9428801990, endp 0x7f94288019f0
    auxch at 0x7f942a0d9290: size 32, auxp 0x7f9428801690, endp 0x7f94288016b0
    auxch at 0x7f942a0cc670: size 4096, auxp 0x7f942a0dd220, endp 0x7f942a0de220
auxlist for instr 1 (0x7f942a0c7220):
auxlist for instr 1 (0x7f942a0e8820):
    auxch at 0x7f942a0f1be8: size 96, auxp 0x7f9428801ef0, endp 0x7f9428801f50
    auxch at 0x7f942a0fa890: size 32, auxp 0x7f9428801850, endp 0x7f9428801870
    auxch at 0x7f942a0edc70: size 4096, auxp 0x7f942a0fe820, endp 0x7f942a0ff820
auxlist for instr 1 (0x7f942a0e8820):
auxlist for instr 1 (0x7f942a800020):
    auxch at 0x7f942a8093e8: size 96, auxp 0x7f9428a004f0, endp 0x7f9428a00550
    auxch at 0x7f942a812090: size 32, auxp 0x7f9428a00020, endp 0x7f9428a00040
    auxch at 0x7f942a805470: size 4096, auxp 0x7f942a816020, endp 0x7f942a817020
auxlist for instr 1 (0x7f942a800020):
auxlist for instr 1 (0x7f942a109820):
    auxch at 0x7f942a112be8: size 96, auxp 0x7f94288023a0, endp 0x7f9428802400
    auxch at 0x7f942a11b890: size 32, auxp 0x7f9428801a10, endp 0x7f9428801a30
    auxch at 0x7f942a10ec70: size 4096, auxp 0x7f942a11f820, endp 0x7f942a120820
auxlist for instr 1 (0x7f942a109820):
auxlist for instr 1 (0x7f942a12a820):
    auxch at 0x7f942a133be8: size 96, auxp 0x7f9428802560, endp 0x7f94288025c0
    auxch at 0x7f942a13c890: size 32, auxp 0x7f9428801f70, endp 0x7f9428801f90
    auxch at 0x7f942a12fc70: size 4096, auxp 0x7f942a140820, endp 0x7f942a141820
auxlist for instr 1 (0x7f942a12a820):
auxlist for instr 1 (0x7f942a14be20):
    auxch at 0x7f942a1551e8: size 96, auxp 0x7f9428802720, endp 0x7f9428802780
    auxch at 0x7f942a15de90: size 32, auxp 0x7f9428802420, endp 0x7f9428802440
    auxch at 0x7f942a151270: size 4096, auxp 0x7f942a161e20, endp 0x7f942a162e20
auxlist for instr 1 (0x7f942a14be20):
auxlist for instr 1 (0x7f942a16d420):
    auxch at 0x7f942a1767e8: size 96, auxp 0x7f9428802c80, endp 0x7f9428802ce0
    auxch at 0x7f942a17f490: size 32, auxp 0x7f94288025e0, endp 0x7f9428802600
    auxch at 0x7f942a172870: size 4096, auxp 0x7f942a183420, endp 0x7f942a184420
auxlist for instr 1 (0x7f942a16d420):
auxlist for instr 1 (0x7f942a18e420):
    auxch at 0x7f942a1977e8: size 96, auxp 0x7f9427700fe0, endp 0x7f9427701040
    auxch at 0x7f942a1a0490: size 32, auxp 0x7f94288027a0, endp 0x7f94288027c0
    auxch at 0x7f942a193870: size 4096, auxp 0x7f942a1a4420, endp 0x7f942a1a5420
auxlist for instr 1 (0x7f942a18e420):
auxlist for instr 1 (0x7f9429000620):
    auxch at 0x7f94290099e8: size 96, auxp 0x7f94277046a0, endp 0x7f9427704700
    auxch at 0x7f9429016690: size 32, auxp 0x7f9427704100, endp 0x7f9427704120
    auxch at 0x7f9429005a70: size 4096, auxp 0x7f942900da20, endp 0x7f942900ea20
auxlist for instr 1 (0x7f9429000620):

========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

On 19 Oct 2018, at 12:36, Victor Lazzarini <Victor.Lazzarini@MU.IE> wrote:

That code seems OK, wondering how Free got called then.
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

On 19 Oct 2018, at 12:31, John <jpff@CODEMIST.CO.UK> wrote:

This code from insert.c lines about 1044-1050 is clearly involved.
The complaint is that the auxchfree is freeing memory already freed in
the call to csound->Free earlier.  No idea about subinstr but it looks
as if it s the culprit

        if (ip->auxchp != NULL)
          auxchfree(csound, ip);
        free_instr_var_memory(csound, ip);
        if ((nxtip = ip->nxtinstance) != NULL)
          nxtip->prvinstance = prvip;
        *prvnxtloc = nxtip;
        csound->Free(csound, (char *)ip);
      }


==John ffitch

Date2018-10-19 14:07
FromRory Walsh
SubjectRe: [Csnd-dev] more on subinstr
For what it's worth, this doesn't crash on Linux or Mac. Seems like a windows issue for sure. 

On Fri, 19 Oct 2018 at 13:45, Mauro Giubileo <mgiubileo@computeraltafed.it> wrote:

I noticed that to make it crash there should be at least 3 score events for Instr 1. With 1 or 2 'i1' events it doesn't crash. With this score:

<CsScore>
i1 0   1 262 0.25
i1 0.1 1 292 0.25
i1 0.2 1 342 0.25
</CsScore>

The output with -v is this:

auxlist for instr corda [201] (000001791AE37190):
        auxch at 000001791AE40508: size 1344, auxp 000001791AE40F70, endp 000001791AE414B0
        auxch at 000001791AE403F0: size 48, auxp 000001791AD199C0, endp 000001791AD199F0
auxlist for instr corda [201] (000001791AE37190):
auxlist for instr corda [201] (000001791AE58460):
        auxch at 000001791AE617D8: size 1208, auxp 000001791AE62240, endp 000001791AE626F8
        auxch at 000001791AE616C0: size 48, auxp 000001791AD19A20, endp 000001791AD19A50
auxlist for instr corda [201] (000001791AE58460):
auxlist for instr corda [201] (000001791AE796A0):
        auxch at 000001791AE82A18: size 1032, auxp 000001791AE83480, endp 000001791AE83888
        auxch at 000001791AE82900: size 48, auxp 000001791AD19AE0, endp 000001791AD19B10
auxlist for instr corda [201] (000001791AE796A0):
auxlist for instr 1 (000001791AE20210):
        auxch at 000001791AE295D8: size 96, auxp 0000017918DE5E00, endp 0000017918DE5E60
        auxch at 000001791AE321C0: size 32, auxp 000001791ADD8D60, endp 000001791ADD8D80
        auxch at 000001791AE25660: size 4096, auxp 000001791AE36160, endp 000001791AE37160
auxlist for instr 1 (000001791AE20210):
auxlist for instr 1 (000001791AE414E0):
        auxch at 000001791AE4A8A8: size 96, auxp 0000017918DE5470, endp 0000017918DE54D0

csound command: Segmentation violation


Regards,
Mauro


Il 2018-10-19 14:35 Victor Lazzarini ha scritto:

Can you run with 1 score event only, so we have a shorter list?
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

On 19 Oct 2018, at 13:32, Mauro Giubileo <mgiubileo@COMPUTERALTAFED.IT> wrote:

This is my auxlist output with -v from a Windows machine:

auxlist for instr corda [201] (000001F1ABF5D180):
        auxch at 000001F1ABF664F8: size 1344, auxp 000001F1ABF66F60, endp 000001F1ABF674A0
        auxch at 000001F1ABF663E0: size 48, auxp 000001F1ABE49800, endp 000001F1ABE49830
auxlist for instr corda [201] (000001F1ABF5D180):
auxlist for instr corda [201] (000001F1ABF7F5A0):
        auxch at 000001F1ABF88918: size 1208, auxp 000001F1ABF89380, endp 000001F1ABF89838
        auxch at 000001F1ABF88800: size 48, auxp 000001F1ABE48C60, endp 000001F1ABE48C90
auxlist for instr corda [201] (000001F1ABF7F5A0):
auxlist for instr corda [201] (000001F1ABFA1840):
        auxch at 000001F1ABFAABB8: size 1032, auxp 000001F1ABFAB620, endp 000001F1ABFABA28
        auxch at 000001F1ABFAAAA0: size 48, auxp 000001F1ABE49020, endp 000001F1ABE49050
auxlist for instr corda [201] (000001F1ABFA1840):
auxlist for instr corda [201] (000001F1ABFC29D0):
        auxch at 000001F1ABFCBD48: size 896, auxp 000001F1ABFCC7B0, endp 000001F1ABFCCB30
        auxch at 000001F1ABFCBC30: size 48, auxp 000001F1ABE49080, endp 000001F1ABE490B0
auxlist for instr corda [201] (000001F1ABFC29D0):
auxlist for instr corda [201] (000001F1ACDA9C00):
        auxch at 000001F1ACDB2F78: size 816, auxp 000001F1ACDB39E0, endp 000001F1ACDB3D10
        auxch at 000001F1ACDB2E60: size 48, auxp 000001F1ABE4A400, endp 000001F1ABE4A430
auxlist for instr corda [201] (000001F1ACDA9C00):
auxlist for instr corda [201] (000001F1ACDCACC0):
        auxch at 000001F1ACDD4038: size 720, auxp 000001F1ACDD4AA0, endp 000001F1ACDD4D70
        auxch at 000001F1ACDD3F20: size 48, auxp 000001F1ABE4AC40, endp 000001F1ABE4AC70
auxlist for instr corda [201] (000001F1ACDCACC0):
auxlist for instr corda [201] (000001F1ACDEBD20):
        auxch at 000001F1ACDF5098: size 1344, auxp 000001F1ABFDAED0, endp 000001F1ABFDB410
        auxch at 000001F1ACDF4F80: size 48, auxp 000001F1ABE4A9A0, endp 000001F1ABE4A9D0
auxlist for instr corda [201] (000001F1ACDEBD20):
auxlist for instr corda [201] (000001F1ACE0CA80):
        auxch at 000001F1ACE15DF8: size 1208, auxp 000001F1ACE16860, endp 000001F1ACE16D18
        auxch at 000001F1ACE15CE0: size 48, auxp 000001F1ABE49980, endp 000001F1ABE499B0
auxlist for instr corda [201] (000001F1ACE0CA80):
auxlist for instr corda [201] (000001F1ACE2DCC0):
        auxch at 000001F1ACE37038: size 1032, auxp 000001F1ACE37AA0, endp 000001F1ACE37EA8
        auxch at 000001F1ACE36F20: size 48, auxp 000001F1ABE49FE0, endp 000001F1ABE4A010
auxlist for instr corda [201] (000001F1ACE2DCC0):
auxlist for instr corda [201] (000001F1ACE4EE50):
        auxch at 000001F1ACE581C8: size 896, auxp 000001F1ACE58C30, endp 000001F1ACE58FB0
        auxch at 000001F1ACE580B0: size 48, auxp 000001F1ABE4A2E0, endp 000001F1ABE4A310
auxlist for instr corda [201] (000001F1ACE4EE50):
auxlist for instr corda [201] (000001F1ACE6FF70):
        auxch at 000001F1ACE792E8: size 816, auxp 000001F1ABFDD450, endp 000001F1ABFDD780
        auxch at 000001F1ACE791D0: size 48, auxp 000001F1ABE4AA00, endp 000001F1ABE4AA30
auxlist for instr corda [201] (000001F1ACE6FF70):
auxlist for instr corda [201] (000001F1ACE90CD0):
        auxch at 000001F1ACE9A048: size 1032, auxp 000001F1ACE9AAB0, endp 000001F1ACE9AEB8
        auxch at 000001F1ACE99F30: size 48, auxp 000001F1ABE4B000, endp 000001F1ABE4B030
auxlist for instr corda [201] (000001F1ACE90CD0):
auxlist for instr corda [201] (000001F1ACEB1E60):
        auxch at 000001F1ACEBB1D8: size 720, auxp 000001F1ACEBBC40, endp 000001F1ACEBBF10
        auxch at 000001F1ACEBB0C0: size 48, auxp 000001F1ABE4AF40, endp 000001F1ABE4AF70
auxlist for instr corda [201] (000001F1ACEB1E60):
auxlist for instr corda [201] (000001F1ACEE1EA0):
        auxch at 000001F1ACEEB218: size 1344, auxp 000001F1ABFDD7B0, endp 000001F1ABFDDCF0
        auxch at 000001F1ACEEB100: size 48, auxp 000001F1ABE4AFA0, endp 000001F1ABE4AFD0
auxlist for instr corda [201] (000001F1ACEE1EA0):
auxlist for instr corda [201] (000001F1ACF01BD0):
        auxch at 000001F1ACF0AF48: size 1208, auxp 000001F1ABFDDD20, endp 000001F1ABFDE1D8
        auxch at 000001F1ACF0AE30: size 48, auxp 000001F1ABE4B0C0, endp 000001F1ABE4B0F0
auxlist for instr corda [201] (000001F1ACF01BD0):
auxlist for instr corda [201] (000001F1ACF23910):
        auxch at 000001F1ACF2CC88: size 1032, auxp 000001F1ABFDE200, endp 000001F1ABFDE608
        auxch at 000001F1ACF2CB70: size 48, auxp 000001F1ABE49920, endp 000001F1ABE49950
auxlist for instr corda [201] (000001F1ACF23910):
auxlist for instr corda [201] (000001F1ACF43640):
        auxch at 000001F1ACF4C9B8: size 896, auxp 000001F1ABFDE630, endp 000001F1ABFDE9B0
        auxch at 000001F1ACF4C8A0: size 48, auxp 000001F1ABE4A520, endp 000001F1ABE4A550
auxlist for instr corda [201] (000001F1ACF43640):
auxlist for instr corda [201] (000001F1ACF63370):
        auxch at 000001F1ACF6C6E8: size 816, auxp 000001F1ABFDE9E0, endp 000001F1ABFDED10
        auxch at 000001F1ACF6C5D0: size 48, auxp 000001F1ABE4AE20, endp 000001F1ABE4AE50
auxlist for instr corda [201] (000001F1ACF63370):
auxlist for instr corda [201] (000001F1ACF830A0):
        auxch at 000001F1ACF8C418: size 720, auxp 000001F1ACF8CE80, endp 000001F1ACF8D150
        auxch at 000001F1ACF8C300: size 48, auxp 000001F1ABE4A460, endp 000001F1ABE4A490
auxlist for instr corda [201] (000001F1ACF830A0):
auxlist for instr corda [201] (000001F1ACFA30D0):
        auxch at 000001F1ACFAC448: size 1344, auxp 000001F1ACFACEB0, endp 000001F1ACFAD3F0
        auxch at 000001F1ACFAC330: size 48, auxp 000001F1ABE499E0, endp 000001F1ABE49A10
auxlist for instr corda [201] (000001F1ACFA30D0):
auxlist for instr corda [201] (000001F1ACFC3370):
        auxch at 000001F1ACFCC6E8: size 1208, auxp 000001F1ACFCD150, endp 000001F1ACFCD608
        auxch at 000001F1ACFCC5D0: size 48, auxp 000001F1ABE4A640, endp 000001F1ABE4A670
auxlist for instr corda [201] (000001F1ACFC3370):
auxlist for instr corda [201] (000001F1ACFE3580):
        auxch at 000001F1ACFEC8F8: size 896, auxp 000001F1ACFED360, endp 000001F1ACFED6E0
        auxch at 000001F1ACFEC7E0: size 48, auxp 000001F1ABE4A4C0, endp 000001F1ABE4A4F0
auxlist for instr corda [201] (000001F1ACFE3580):
auxlist for instr corda [201] (000001F1AD003660):
        auxch at 000001F1AD00C9D8: size 816, auxp 000001F1AD00D440, endp 000001F1AD00D770
        auxch at 000001F1AD00C8C0: size 48, auxp 000001F1ABE49D40, endp 000001F1ABE49D70
auxlist for instr corda [201] (000001F1AD003660):
auxlist for instr corda [201] (000001F1AD0236F0):
        auxch at 000001F1AD02CA68: size 720, auxp 000001F1AD02D4D0, endp 000001F1AD02D7A0
        auxch at 000001F1AD02C950: size 48, auxp 000001F1ABE49A40, endp 000001F1ABE49A70
auxlist for instr corda [201] (000001F1AD0236F0):
auxlist for instr 1 (000001F1ABF46200):
        auxch at 000001F1ABF4F5C8: size 96, auxp 000001F1AA023DC0, endp 000001F1AA023E20

csound command: Segmentation violation

And here it crashes... From what Rory Walsh told me, on the Mac there are no crashes, but on Windows it does. A very strange problem.

Regards,
Mauro



Il 2018-10-19 13:52 Victor Lazzarini ha scritto:

Well it doesn't crash here, but that's not really saying anything. However,  running with -v I get reports from auxchfree, but none
concerning instr 2 (meaning it's not being called):

auxlist for instr corda [201] (0x7f942788dc20):
    auxch at 0x7f9427896f98: size 1344, auxp 0x7f9427897a20, endp 0x7f9427897f60
    auxch at 0x7f9427896e80: size 48, auxp 0x7f94275b4210, endp 0x7f94275b4240
auxlist for instr corda [201] (0x7f942788dc20):
auxlist for instr corda [201] (0x7f94278af220):
    auxch at 0x7f94278b8598: size 1208, auxp 0x7f94278b9020, endp 0x7f94278b94d8
    auxch at 0x7f94278b8480: size 48, auxp 0x7f94275b5990, endp 0x7f94275b59c0
auxlist for instr corda [201] (0x7f94278af220):
auxlist for instr corda [201] (0x7f94278d0820):
    auxch at 0x7f94278d9b98: size 1032, auxp 0x7f94278da620, endp 0x7f94278daa28
    auxch at 0x7f94278d9a80: size 48, auxp 0x7f94275b71d0, endp 0x7f94275b7200
auxlist for instr corda [201] (0x7f94278d0820):
auxlist for instr corda [201] (0x7f94278f1e20):
    auxch at 0x7f94278fb198: size 896, auxp 0x7f94275b5440, endp 0x7f94275b57c0
    auxch at 0x7f94278fb080: size 48, auxp 0x7f942753dad0, endp 0x7f942753db00
auxlist for instr corda [201] (0x7f94278f1e20):
auxlist for instr corda [201] (0x7f9427912e20):
    auxch at 0x7f942791c198: size 816, auxp 0x7f94275b7a00, endp 0x7f94275b7d30
    auxch at 0x7f942791c080: size 48, auxp 0x7f942753dc90, endp 0x7f942753dcc0
auxlist for instr corda [201] (0x7f9427912e20):
auxlist for instr corda [201] (0x7f9427933e20):
    auxch at 0x7f942793d198: size 720, auxp 0x7f94275b4a60, endp 0x7f94275b4d30
    auxch at 0x7f942793d080: size 48, auxp 0x7f94275b7d50, endp 0x7f94275b7d80
auxlist for instr corda [201] (0x7f9427933e20):
auxlist for instr corda [201] (0x7f9427954e20):
    auxch at 0x7f942795e198: size 1344, auxp 0x7f942795ec20, endp 0x7f942795f160
    auxch at 0x7f942795e080: size 48, auxp 0x7f94275b5f30, endp 0x7f94275b5f60
auxlist for instr corda [201] (0x7f9427954e20):
auxlist for instr corda [201] (0x7f9427976420):
    auxch at 0x7f942797f798: size 1208, auxp 0x7f9427980220, endp 0x7f94279806d8
    auxch at 0x7f942797f680: size 48, auxp 0x7f94275b60f0, endp 0x7f94275b6120
auxlist for instr corda [201] (0x7f9427976420):
auxlist for instr corda [201] (0x7f9429817220):
    auxch at 0x7f9429820598: size 1032, auxp 0x7f9429821020, endp 0x7f9429821428
    auxch at 0x7f9429820480: size 48, auxp 0x7f94289001c0, endp 0x7f94289001f0
auxlist for instr corda [201] (0x7f9429817220):
auxlist for instr corda [201] (0x7f942a017220):
    auxch at 0x7f942a020598: size 896, auxp 0x7f94288005f0, endp 0x7f9428800970
    auxch at 0x7f942a020480: size 48, auxp 0x7f94288004e0, endp 0x7f9428800510
auxlist for instr corda [201] (0x7f942a017220):
auxlist for instr corda [201] (0x7f942a038220):
    auxch at 0x7f942a041598: size 816, auxp 0x7f9428800a90, endp 0x7f9428800dc0
    auxch at 0x7f942a041480: size 48, auxp 0x7f9428800a40, endp 0x7f9428800a70
auxlist for instr corda [201] (0x7f942a038220):
auxlist for instr corda [201] (0x7f942a059220):
    auxch at 0x7f942a062598: size 1032, auxp 0x7f942a063020, endp 0x7f942a063428
    auxch at 0x7f942a062480: size 48, auxp 0x7f9428800f50, endp 0x7f9428800f80
auxlist for instr corda [201] (0x7f942a059220):
auxlist for instr corda [201] (0x7f942a07a820):
    auxch at 0x7f942a083b98: size 720, auxp 0x7f9428801160, endp 0x7f9428801430
    auxch at 0x7f942a083a80: size 48, auxp 0x7f9428801110, endp 0x7f9428801140
auxlist for instr corda [201] (0x7f942a07a820):
auxlist for instr corda [201] (0x7f942a09b820):
    auxch at 0x7f942a0a4b98: size 1344, auxp 0x7f942a0a5620, endp 0x7f942a0a5b60
    auxch at 0x7f942a0a4a80: size 48, auxp 0x7f94288015c0, endp 0x7f94288015f0
auxlist for instr corda [201] (0x7f942a09b820):
auxlist for instr corda [201] (0x7f942a0bce20):
    auxch at 0x7f942a0c6198: size 1208, auxp 0x7f942a0c6c20, endp 0x7f942a0c70d8
    auxch at 0x7f942a0c6080: size 48, auxp 0x7f9428801780, endp 0x7f94288017b0
auxlist for instr corda [201] (0x7f942a0bce20):
auxlist for instr corda [201] (0x7f942a0de420):
    auxch at 0x7f942a0e7798: size 1032, auxp 0x7f942a0e8220, endp 0x7f942a0e8628
    auxch at 0x7f942a0e7680: size 48, auxp 0x7f9428801940, endp 0x7f9428801970
auxlist for instr corda [201] (0x7f942a0de420):
auxlist for instr corda [201] (0x7f942a0ffa20):
    auxch at 0x7f942a108d98: size 896, auxp 0x7f9428801b50, endp 0x7f9428801ed0
    auxch at 0x7f942a108c80: size 48, auxp 0x7f9428801b00, endp 0x7f9428801b30
auxlist for instr corda [201] (0x7f942a0ffa20):
auxlist for instr corda [201] (0x7f942a817220):
    auxch at 0x7f942a820598: size 816, auxp 0x7f9428a001a0, endp 0x7f9428a004d0
    auxch at 0x7f942a820480: size 48, auxp 0x7f9428a00150, endp 0x7f9428a00180
auxlist for instr corda [201] (0x7f942a817220):
auxlist for instr corda [201] (0x7f942a120a20):
    auxch at 0x7f942a129d98: size 720, auxp 0x7f94288020b0, endp 0x7f9428802380
    auxch at 0x7f942a129c80: size 48, auxp 0x7f9428802060, endp 0x7f9428802090
auxlist for instr corda [201] (0x7f942a120a20):
auxlist for instr corda [201] (0x7f942a141a20):
    auxch at 0x7f942a14ad98: size 1344, auxp 0x7f942a14b820, endp 0x7f942a14bd60
    auxch at 0x7f942a14ac80: size 48, auxp 0x7f9428802510, endp 0x7f9428802540
auxlist for instr corda [201] (0x7f942a141a20):
auxlist for instr corda [201] (0x7f942a163020):
    auxch at 0x7f942a16c398: size 1208, auxp 0x7f942a16ce20, endp 0x7f942a16d2d8
    auxch at 0x7f942a16c280: size 48, auxp 0x7f94288026d0, endp 0x7f9428802700
auxlist for instr corda [201] (0x7f942a163020):
auxlist for instr corda [201] (0x7f942a184620):
    auxch at 0x7f942a18d998: size 896, auxp 0x7f94288028e0, endp 0x7f9428802c60
    auxch at 0x7f942a18d880: size 48, auxp 0x7f9428802890, endp 0x7f94288028c0
auxlist for instr corda [201] (0x7f942a184620):
auxlist for instr corda [201] (0x7f942a1a5620):
    auxch at 0x7f942a1ae998: size 816, auxp 0x7f9427700c90, endp 0x7f9427700fc0
    auxch at 0x7f942a1ae880: size 48, auxp 0x7f9427704b50, endp 0x7f9427704b80
auxlist for instr corda [201] (0x7f942a1a5620):
auxlist for instr corda [201] (0x7f942901a620):
    auxch at 0x7f9429023998: size 720, auxp 0x7f9427704310, endp 0x7f94277045e0
    auxch at 0x7f9429023880: size 48, auxp 0x7f9427704be0, endp 0x7f9427704c10
auxlist for instr corda [201] (0x7f942901a620):
auxlist for instr 1 (0x7f9427876a20):
    auxch at 0x7f942787fde8: size 96, auxp 0x7f94275b76b0, endp 0x7f94275b7710
    auxch at 0x7f9427888a90: size 32, auxp 0x7f94275b6d90, endp 0x7f94275b6db0
    auxch at 0x7f942787be70: size 4096, auxp 0x7f942788ca20, endp 0x7f942788da20
auxlist for instr 1 (0x7f9427876a20):
auxlist for instr 1 (0x7f9427898020):
    auxch at 0x7f94278a13e8: size 96, auxp 0x7f94275b59e0, endp 0x7f94275b5a40
    auxch at 0x7f94278aa090: size 32, auxp 0x7f94275b9640, endp 0x7f94275b9660
    auxch at 0x7f942789d470: size 4096, auxp 0x7f94278ae020, endp 0x7f94278af020
auxlist for instr 1 (0x7f9427898020):
auxlist for instr 1 (0x7f94278b9620):
    auxch at 0x7f94278c29e8: size 96, auxp 0x7f94275b7220, endp 0x7f94275b7280
    auxch at 0x7f94278cb690: size 32, auxp 0x7f94275b7730, endp 0x7f94275b7750
    auxch at 0x7f94278bea70: size 4096, auxp 0x7f94278cf620, endp 0x7f94278d0620
auxlist for instr 1 (0x7f94278b9620):
auxlist for instr 1 (0x7f94278dac20):
    auxch at 0x7f94278e3fe8: size 96, auxp 0x7f942753db20, endp 0x7f942753db80
    auxch at 0x7f94278ecc90: size 32, auxp 0x7f94275b5a60, endp 0x7f94275b5a80
    auxch at 0x7f94278e0070: size 4096, auxp 0x7f94278f0c20, endp 0x7f94278f1c20
auxlist for instr 1 (0x7f94278dac20):
auxlist for instr 1 (0x7f94278fbc20):
    auxch at 0x7f9427904fe8: size 96, auxp 0x7f94275b6810, endp 0x7f94275b6870
    auxch at 0x7f942790dc90: size 32, auxp 0x7f94275b72a0, endp 0x7f94275b72c0
    auxch at 0x7f9427901070: size 4096, auxp 0x7f9427911c20, endp 0x7f9427912c20
auxlist for instr 1 (0x7f94278fbc20):
auxlist for instr 1 (0x7f942791cc20):
    auxch at 0x7f9427925fe8: size 96, auxp 0x7f94275b6940, endp 0x7f94275b69a0
    auxch at 0x7f942792ec90: size 32, auxp 0x7f942753dba0, endp 0x7f942753dbc0
    auxch at 0x7f9427922070: size 4096, auxp 0x7f9427932c20, endp 0x7f9427933c20
auxlist for instr 1 (0x7f942791cc20):
auxlist for instr 1 (0x7f942793dc20):
    auxch at 0x7f9427946fe8: size 96, auxp 0x7f94275b5f80, endp 0x7f94275b5fe0
    auxch at 0x7f942794fc90: size 32, auxp 0x7f942753dce0, endp 0x7f942753dd00
    auxch at 0x7f9427943070: size 4096, auxp 0x7f9427953c20, endp 0x7f9427954c20
auxlist for instr 1 (0x7f942793dc20):
auxlist for instr 1 (0x7f942795f220):
    auxch at 0x7f94279685e8: size 96, auxp 0x7f94275b6140, endp 0x7f94275b61a0
    auxch at 0x7f9427971290: size 32, auxp 0x7f94275b69c0, endp 0x7f94275b69e0
    auxch at 0x7f9427964670: size 4096, auxp 0x7f9427975220, endp 0x7f9427976220
auxlist for instr 1 (0x7f942795f220):
auxlist for instr 1 (0x7f9429800020):
    auxch at 0x7f94298093e8: size 96, auxp 0x7f9428900210, endp 0x7f9428900270
    auxch at 0x7f9429812090: size 32, auxp 0x7f9428900090, endp 0x7f94289000b0
    auxch at 0x7f9429805470: size 4096, auxp 0x7f9429816020, endp 0x7f9429817020
auxlist for instr 1 (0x7f9429800020):
auxlist for instr 1 (0x7f942a000020):
    auxch at 0x7f942a0093e8: size 96, auxp 0x7f9428800530, endp 0x7f9428800590
    auxch at 0x7f942a012090: size 32, auxp 0x7f94288003b0, endp 0x7f94288003d0
    auxch at 0x7f942a005470: size 4096, auxp 0x7f942a016020, endp 0x7f942a017020
auxlist for instr 1 (0x7f942a000020):
auxlist for instr 1 (0x7f942a021020):
    auxch at 0x7f942a02a3e8: size 96, auxp 0x7f9428800de0, endp 0x7f9428800e40
    auxch at 0x7f942a033090: size 32, auxp 0x7f94288003f0, endp 0x7f9428800410
    auxch at 0x7f942a026470: size 4096, auxp 0x7f942a037020, endp 0x7f942a038020
auxlist for instr 1 (0x7f942a021020):
auxlist for instr 1 (0x7f942a042020):
    auxch at 0x7f942a04b3e8: size 96, auxp 0x7f9428800fa0, endp 0x7f9428801000
    auxch at 0x7f942a054090: size 32, auxp 0x7f94288005b0, endp 0x7f94288005d0
    auxch at 0x7f942a047470: size 4096, auxp 0x7f942a058020, endp 0x7f942a059020
auxlist for instr 1 (0x7f942a042020):
auxlist for instr 1 (0x7f942a063620):
    auxch at 0x7f942a06c9e8: size 96, auxp 0x7f9428801450, endp 0x7f94288014b0
    auxch at 0x7f942a075690: size 32, auxp 0x7f9428800e60, endp 0x7f9428800e80
    auxch at 0x7f942a068a70: size 4096, auxp 0x7f942a079620, endp 0x7f942a07a620
auxlist for instr 1 (0x7f942a063620):
auxlist for instr 1 (0x7f942a084620):
    auxch at 0x7f942a08d9e8: size 96, auxp 0x7f9428801610, endp 0x7f9428801670
    auxch at 0x7f942a096690: size 32, auxp 0x7f9428801020, endp 0x7f9428801040
    auxch at 0x7f942a089a70: size 4096, auxp 0x7f942a09a620, endp 0x7f942a09b620
auxlist for instr 1 (0x7f942a084620):
auxlist for instr 1 (0x7f942a0a5c20):
    auxch at 0x7f942a0aefe8: size 96, auxp 0x7f94288017d0, endp 0x7f9428801830
    auxch at 0x7f942a0b7c90: size 32, auxp 0x7f94288014d0, endp 0x7f94288014f0
    auxch at 0x7f942a0ab070: size 4096, auxp 0x7f942a0bbc20, endp 0x7f942a0bcc20
auxlist for instr 1 (0x7f942a0a5c20):
auxlist for instr 1 (0x7f942a0c7220):
    auxch at 0x7f942a0d05e8: size 96, auxp 0x7f9428801990, endp 0x7f94288019f0
    auxch at 0x7f942a0d9290: size 32, auxp 0x7f9428801690, endp 0x7f94288016b0
    auxch at 0x7f942a0cc670: size 4096, auxp 0x7f942a0dd220, endp 0x7f942a0de220
auxlist for instr 1 (0x7f942a0c7220):
auxlist for instr 1 (0x7f942a0e8820):
    auxch at 0x7f942a0f1be8: size 96, auxp 0x7f9428801ef0, endp 0x7f9428801f50
    auxch at 0x7f942a0fa890: size 32, auxp 0x7f9428801850, endp 0x7f9428801870
    auxch at 0x7f942a0edc70: size 4096, auxp 0x7f942a0fe820, endp 0x7f942a0ff820
auxlist for instr 1 (0x7f942a0e8820):
auxlist for instr 1 (0x7f942a800020):
    auxch at 0x7f942a8093e8: size 96, auxp 0x7f9428a004f0, endp 0x7f9428a00550
    auxch at 0x7f942a812090: size 32, auxp 0x7f9428a00020, endp 0x7f9428a00040
    auxch at 0x7f942a805470: size 4096, auxp 0x7f942a816020, endp 0x7f942a817020
auxlist for instr 1 (0x7f942a800020):
auxlist for instr 1 (0x7f942a109820):
    auxch at 0x7f942a112be8: size 96, auxp 0x7f94288023a0, endp 0x7f9428802400
    auxch at 0x7f942a11b890: size 32, auxp 0x7f9428801a10, endp 0x7f9428801a30
    auxch at 0x7f942a10ec70: size 4096, auxp 0x7f942a11f820, endp 0x7f942a120820
auxlist for instr 1 (0x7f942a109820):
auxlist for instr 1 (0x7f942a12a820):
    auxch at 0x7f942a133be8: size 96, auxp 0x7f9428802560, endp 0x7f94288025c0
    auxch at 0x7f942a13c890: size 32, auxp 0x7f9428801f70, endp 0x7f9428801f90
    auxch at 0x7f942a12fc70: size 4096, auxp 0x7f942a140820, endp 0x7f942a141820
auxlist for instr 1 (0x7f942a12a820):
auxlist for instr 1 (0x7f942a14be20):
    auxch at 0x7f942a1551e8: size 96, auxp 0x7f9428802720, endp 0x7f9428802780
    auxch at 0x7f942a15de90: size 32, auxp 0x7f9428802420, endp 0x7f9428802440
    auxch at 0x7f942a151270: size 4096, auxp 0x7f942a161e20, endp 0x7f942a162e20
auxlist for instr 1 (0x7f942a14be20):
auxlist for instr 1 (0x7f942a16d420):
    auxch at 0x7f942a1767e8: size 96, auxp 0x7f9428802c80, endp 0x7f9428802ce0
    auxch at 0x7f942a17f490: size 32, auxp 0x7f94288025e0, endp 0x7f9428802600
    auxch at 0x7f942a172870: size 4096, auxp 0x7f942a183420, endp 0x7f942a184420
auxlist for instr 1 (0x7f942a16d420):
auxlist for instr 1 (0x7f942a18e420):
    auxch at 0x7f942a1977e8: size 96, auxp 0x7f9427700fe0, endp 0x7f9427701040
    auxch at 0x7f942a1a0490: size 32, auxp 0x7f94288027a0, endp 0x7f94288027c0
    auxch at 0x7f942a193870: size 4096, auxp 0x7f942a1a4420, endp 0x7f942a1a5420
auxlist for instr 1 (0x7f942a18e420):
auxlist for instr 1 (0x7f9429000620):
    auxch at 0x7f94290099e8: size 96, auxp 0x7f94277046a0, endp 0x7f9427704700
    auxch at 0x7f9429016690: size 32, auxp 0x7f9427704100, endp 0x7f9427704120
    auxch at 0x7f9429005a70: size 4096, auxp 0x7f942900da20, endp 0x7f942900ea20
auxlist for instr 1 (0x7f9429000620):

========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

On 19 Oct 2018, at 12:36, Victor Lazzarini <Victor.Lazzarini@MU.IE> wrote:

That code seems OK, wondering how Free got called then.
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

On 19 Oct 2018, at 12:31, John <jpff@CODEMIST.CO.UK> wrote:

This code from insert.c lines about 1044-1050 is clearly involved.
The complaint is that the auxchfree is freeing memory already freed in
the call to csound->Free earlier.  No idea about subinstr but it looks
as if it s the culprit

        if (ip->auxchp != NULL)
          auxchfree(csound, ip);
        free_instr_var_memory(csound, ip);
        if ((nxtip = ip->nxtinstance) != NULL)
          nxtip->prvinstance = prvip;
        *prvnxtloc = nxtip;
        csound->Free(csound, (char *)ip);
      }


==John ffitch

Date2018-10-19 20:38
Fromjpff
SubjectRe: [Csnd-dev] more on subinstr

Date2018-10-19 21:24
FromMauro Giubileo
SubjectRe: [Csnd-dev] more on subinstr

Wow! Just built csound64.dll with your change, tested and working, no more crashes!
You are my hero, thank you so much for solving this so fast!!

But just for curiosity, why the bug affected only Windows??

Best Regards,
Mauro

 

Il 2018-10-19 21:38 jpff ha scritto:

Think this is fixed

Date2018-10-19 21:43
FromVictor Lazzarini
SubjectRe: [Csnd-dev] more on subinstr
It didn’t, it was in all systems, but since it was a memory issue, sometimes it did not lead
to crashes.
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 19 Oct 2018, at 21:24, Mauro Giubileo  wrote:
> 
> Wow! Just built csound64.dll with your change, tested and working, no more crashes!
> You are my hero, thank you so much for solving this so fast!!
> 
> But just for curiosity, why the bug affected only Windows??
> 
> Best Regards,
> Mauro
> 
>  
> Il 2018-10-19 21:38 jpff ha scri

Date2018-10-19 21:47
Fromjpff
SubjectRe: [Csnd-dev] more on subinstr
First Victor fixed it -- I just worked on isolating it.

It was a memory issue and the system implementation of malloc affects the 
exact  way it is manifest.  On windows it crashed, or Linux it apparently 
ran OK but using heavy-duty debugging aids (mainly valgrind) showed there 
was a problem even if it did not crash.  On Mac I suspect the same.  That 
kind of error is the worst to find.

On Fri, 19 Oct 2018, Mauro Giubileo wrote:

> 
> Wow! Just built csound64.dll with your change, tested and working, no more
> crashes!
> You are my hero, thank you so much for solving this so fast!!
> 
> But just for curiosity, why the bug affected only Windows??
> 
> Best Regards,
> Mauro
> 
>  
> 
> Il 2018-10-19 21:38 jpff ha scritto:
>
>       Think this is fixed
> 
> 
>

Date2018-10-19 21:50
FromVictor Lazzarini
SubjectRe: [Csnd-dev] more on subinstr
Well isolating it was 99% of the work.
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 19 Oct 2018, at 21:47, jpff  wrote:
> 
> First Victor fixed it -- I just worked on isolating it.
> 
> It was a memory issue and the system implementation of malloc affects the exact  way it is manifest.  On windows it crashed, or Linux it apparently ran OK but using heavy-duty debugging aids (mainly valgrind) showed there was a problem even if it did not crash.  On Mac I suspect the same.  That kind of error is the worst to find.
> 
> On Fri, 19 Oct 2018, Mauro Giubileo wrote:
> 
>> Wow! Just built csound64.dll with your change, tested and working, no more
>> crashes!
>> You are my hero, thank you so much for solving this so fast!!
>> But just for curiosity, why the bug affected only Windows??
>> Best Regards,
>> Mauro
>>  
>> Il 2018-10-19 21:38 jpff ha scritto:
>> 

Date2018-10-19 21:59
FromMauro Giubileo
SubjectRe: [Csnd-dev] more on subinstr

Thanks to both of you very much! ;-)

Best Regards,
Mauro


Il 2018-10-19 22:50 Victor Lazzarini ha scritto:

Well isolating it was 99% of the work.
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

On 19 Oct 2018, at 21:47, jpff <jpff@codemist.co.uk> wrote:

First Victor fixed it -- I just worked on isolating it.

It was a memory issue and the system implementation of malloc affects the exact  way it is manifest.  On windows it crashed, or Linux it apparently ran OK but using heavy-duty debugging aids (mainly valgrind) showed there was a problem even if it did not crash.  On Mac I suspect the same.  That kind of error is the worst to find.

On Fri, 19 Oct 2018, Mauro Giubileo wrote:

Wow! Just built csound64.dll with your change, tested and working, no more
crashes!
You are my hero, thank you so much for solving this so fast!!
But just for curiosity, why the bug affected only Windows??
Best Regards,
Mauro
 
Il 2018-10-19 21:38 jpff ha scritto:

     Think this is fixed