[Csnd] Runtime Error with csound~ on max msp
Date | 2017-12-04 15:39 |
From | Johann Philippe <000002c2c0737523-dmarc-request@LISTSERV.HEANET.IE> |
Subject | [Csnd] Runtime Error with csound~ on max msp |
Dear all, I made a program with Max Msp and Lua, in order to use Csound~ external (the csound connection to max msp). To explain shortly, this program is actually a tracker interface, like Open MPT or Renoise. The graphical interface is an array, in which the user can write numbers, stored in Lua tables. And, finally,when we click on "play" button, Lua format those numbers to csound instructions (t,i,f statements), and write it to a textfile. Then, it starts Csound~, whose score instruction is to #include the textfile. So, the program runs well. I already corrected a million bugs. But it's working properly. The issue i met is that after a few "play" in a working session, Max Msp crashes with the famous : "Runtime Error Program : maxpath/max.exe This application has requested runtime to terminate it in an unusual way. Please contact application's support team for more informations"...etc. Every time i launch the program, i can play 10, maybe 20 times, then it crashes. I'm working with windows 10 OS. So i tried to reinstall all the Visual C++ library (all the versions, in x32 and x64) I even tried to update the driver of my intel graphic hardware And still, the Runtime bug happens. The only interaction with visual stuff between max and csound is the metronome, played by a csound instrument (playing i 1 0 1 / i 1 1 1 / i 1 2 1... on all the beats), which outputs the p2 to max, allowing max to show me what step is currently playing (it's like a vertical timeline indicator). I tried to disable this function, and still, it crashes. I tried to make this program run without csound (all the Max/Lua program is processed, but Csound~is unplugged), and it seems that it's not crashing. Does anyone has an idea of what the problem could be ? Thanking you in advance Johann -- Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here |
Date | 2017-12-04 15:54 |
From | Steven Yi |
Subject | Re: [Csnd] Runtime Error with csound~ on max msp |
Hi Johann, There is currently no maintainer for csound~ so I am not sure who might even look at this at the moment. csound~ is currently held within the csound repository but I think we're going to spin it back out as its own project with the hope that it might be easier to get contributors/maintainers that way. This will likely happen after the 6.10 release coming up. The last csound~ release I remember was compiled using the Max 6 SDK, so it's been a while. Could you note: 1. What version of Csound do you have installed? 2. What version of csound~? 3. What version of Max? 4. Are you running 32-bit or 64-bit Max? (x32, x64) 5. Do you have a minimal example that you could share that demonstrates the problem? Thanks, steven On Mon, Dec 4, 2017 at 10:39 AM, Johann Philippe <000002c2c0737523-dmarc-request@listserv.heanet.ie> wrote: > Dear all, > > I made a program with Max Msp and Lua, in order to use Csound~ external (the > csound connection to max msp). > > To explain shortly, this program is actually a tracker interface, like Open > MPT or Renoise. The graphical interface is an array, in which the user can > write numbers, stored in Lua tables. > And, finally,when we click on "play" button, Lua format those numbers to > csound instructions (t,i,f statements), and write it to a textfile. Then, it > starts Csound~, whose score instruction is to #include the textfile. > So, the program runs well. I already corrected a million bugs. But it's > working properly. > > The issue i met is that after a few "play" in a working session, Max Msp > crashes with the famous : > "Runtime Error > Program : maxpath/max.exe > This application has requested runtime to terminate it in an unusual way. > Please contact application's support team for more informations"...etc. > Every time i launch the program, i can play 10, maybe 20 times, then it > crashes. > > I'm working with windows 10 OS. So i tried to reinstall all the Visual C++ > library (all the versions, in x32 and x64) I even tried to update the driver > of my intel graphic hardware > And still, the Runtime bug happens. > > The only interaction with visual stuff between max and csound is the > metronome, played by a csound instrument (playing i 1 0 1 / i 1 1 1 / i 1 2 > 1... on all the beats), which outputs the p2 to max, allowing max to show me > what step is currently playing (it's like a vertical timeline indicator). I > tried to disable this function, and still, it crashes. > > I tried to make this program run without csound (all the Max/Lua program is > processed, but Csound~is unplugged), and it seems that it's not crashing. > > Does anyone has an idea of what the problem could be ? > > Thanking you in advance > > Johann > > > > > > > -- > Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html > > Csound mailing list > Csound@listserv.heanet.ie > https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND > Send bugs reports to > https://github.com/csound/csound/issues > Discussions of bugs and features can be posted here Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here |
Date | 2017-12-04 16:12 |
From | Johann Philippe <000002c2c0737523-dmarc-request@LISTSERV.HEANET.IE> |
Subject | Re: [Csnd] Runtime Error with csound~ on max msp |
Thank you for the answer Steven, I didn't think about csound~ issue. The Csound version : 6.06.0 The Csound~ version : 1.1.3 The Max msp version : 7.3.4 running 64-bits And, by minimal example, do you mean a version of the program ? If it is, i can generate a download link. Thanks Johann
Le lundi 4 décembre 2017 à 16:54:29 UTC+1, Steven Yi <stevenyi@GMAIL.COM> a écrit :
Hi Johann, There is currently no maintainer for csound~ so I am not sure who might even look at this at the moment. csound~ is currently held within the csound repository but I think we're going to spin it back out as its own project with the hope that it might be easier to get contributors/maintainers that way. This will likely happen after the 6.10 release coming up. The last csound~ release I remember was compiled using the Max 6 SDK, so it's been a while. Could you note: 1. What version of Csound do you have installed? 2. What version of csound~? 3. What version of Max? 4. Are you running 32-bit or 64-bit Max? (x32, x64) 5. Do you have a minimal example that you could share that demonstrates the problem? Thanks, steven On Mon, Dec 4, 2017 at 10:39 AM, Johann Philippe <000002c2c0737523-dmarc-request@listserv.heanet.ie> wrote: > Dear all, > > I made a program with Max Msp and Lua, in order to use Csound~ external (the > csound connection to max msp). > > To explain shortly, this program is actually a tracker interface, like Open > MPT or Renoise. The graphical interface is an array, in which the user can > write numbers, stored in Lua tables. > And, finally,when we click on "play" button, Lua format those numbers to > csound instructions (t,i,f statements), and write it to a textfile. Then, it > starts Csound~, whose score instruction is to #include the textfile. > So, the program runs well. I already corrected a million bugs. But it's > working properly. > > The issue i met is that after a few "play" in a working session, Max Msp > crashes with the famous : > "Runtime Error > Program : maxpath/max.exe > This application has requested runtime to terminate it in an unusual way. > Please contact application's support team for more informations"...etc. > Every time i launch the program, i can play 10, maybe 20 times, then it > crashes. > > I'm working with windows 10 OS. So i tried to reinstall all the Visual C++ > library (all the versions, in x32 and x64) I even tried to update the driver > of my intel graphic hardware > And still, the Runtime bug happens. > > The only interaction with visual stuff between max and csound is the > metronome, played by a csound instrument (playing i 1 0 1 / i 1 1 1 / i 1 2 > 1... on all the beats), which outputs the p2 to max, allowing max to show me > what step is currently playing (it's like a vertical timeline indicator). I > tried to disable this function, and still, it crashes. > > I tried to make this program run without csound (all the Max/Lua program is > processed, but Csound~is unplugged), and it seems that it's not crashing. > > Does anyone has an idea of what the problem could be ? > > Thanking you in advance > > Johann > > > > > > > -- > Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html > > Csound mailing list > Csound@listserv.heanet.ie > https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND > Send bugs reports to > https://github.com/csound/csound/issues > Discussions of bugs and features can be posted here Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here |
Date | 2017-12-04 16:17 |
From | Steven Yi |
Subject | Re: [Csnd] Runtime Error with csound~ on max msp |
Thanks, yes, a minimal example meaning whatever is necessary such that one of us can run it and reproduce the problem here. Once it can be reproduced, it can be diagnosed to see what the issue is. On Mon, Dec 4, 2017 at 11:12 AM, Johann Philippe <000002c2c0737523-dmarc-request@listserv.heanet.ie> wrote: > Thank you for the answer Steven, > > I didn't think about csound~ issue. > > The Csound version : 6.06.0 > The Csound~ version : 1.1.3 > The Max msp version : 7.3.4 running 64-bits > > And, by minimal example, do you mean a version of the program ? > If it is, i can generate a download link. > > Thanks > Johann > > > > > Le lundi 4 décembre 2017 à 16:54:29 UTC+1, Steven Yi |
Date | 2017-12-04 17:41 |
From | Johann Philippe <000002c2c0737523-dmarc-request@LISTSERV.HEANET.IE> |
Subject | Re: [Csnd] Runtime Error with csound~ on max msp |
You should be able to download the patch from this link : https://mega.nz/#F!JJRi1IDY!o7nj-I8o2he2bDsobE7kLw I put a simple example in it. The README in the folder explains everything to make it run. If there is any problem, or if you need extra informations, tell me. Thanks a lot to take a look. Johann
Le lundi 4 décembre 2017 à 17:17:54 UTC+1, Steven Yi <stevenyi@GMAIL.COM> a écrit :
Thanks, yes, a minimal example meaning whatever is necessary such that one of us can run it and reproduce the problem here. Once it can be reproduced, it can be diagnosed to see what the issue is. On Mon, Dec 4, 2017 at 11:12 AM, Johann Philippe <000002c2c0737523-dmarc-request@listserv.heanet.ie> wrote: > Thank you for the answer Steven, > > I didn't think about csound~ issue. > > The Csound version : 6.06.0 > The Csound~ version : 1.1.3 > The Max msp version : 7.3.4 running 64-bits > > And, by minimal example, do you mean a version of the program ? > If it is, i can generate a download link. > > Thanks > Johann > > > > > Le lundi 4 décembre 2017 à 16:54:29 UTC+1, Steven Yi <stevenyi@GMAIL.COM> a > écrit : > > > Hi Johann, > > There is currently no maintainer for csound~ so I am not sure who > might even look at this at the moment. csound~ is currently held > within the csound repository but I think we're going to spin it back > out as its own project with the hope that it might be easier to get > contributors/maintainers that way. This will likely happen after the > 6.10 release coming up. > > The last csound~ release I remember was compiled using the Max 6 SDK, > so it's been a while. Could you note: > > 1. What version of Csound do you have installed? > > 2. What version of csound~? > > 3. What version of Max? > > 4. Are you running 32-bit or 64-bit Max? (x32, x64) > > 5. Do you have a minimal example that you could share that > demonstrates the problem? > > Thanks, > steven > > > > On Mon, Dec 4, 2017 at 10:39 AM, Johann Philippe > <000002c2c0737523-dmarc-request@listserv.heanet.ie> wrote: >> Dear all, >> >> I made a program with Max Msp and Lua, in order to use Csound~ external >> (the >> csound connection to max msp). >> >> To explain shortly, this program is actually a tracker interface, like >> Open >> MPT or Renoise. The graphical interface is an array, in which the user >> can >> write numbers, stored in Lua tables. >> And, finally,when we click on "play" button, Lua format those numbers to >> csound instructions (t,i,f statements), and write it to a textfile. Then, >> it >> starts Csound~, whose score instruction is to #include the textfile. >> So, the program runs well. I already corrected a million bugs. But it's >> working properly. >> >> The issue i met is that after a few "play" in a working session, Max Msp >> crashes with the famous : >> "Runtime Error >> Program : maxpath/max.exe >> This application has requested runtime to terminate it in an unusual way. >> Please contact application's support team for more informations"...etc. >> Every time i launch the program, i can play 10, maybe 20 times, then it >> crashes. >> >> I'm working with windows 10 OS. So i tried to reinstall all the Visual C++ >> library (all the versions, in x32 and x64) I even tried to update the >> driver >> of my intel graphic hardware >> And still, the Runtime bug happens. >> >> The only interaction with visual stuff between max and csound is the >> metronome, played by a csound instrument (playing i 1 0 1 / i 1 1 1 / i 1 >> 2 >> 1... on all the beats), which outputs the p2 to max, allowing max to show >> me >> what step is currently playing (it's like a vertical timeline indicator). >> I >> tried to disable this function, and still, it crashes. >> >> I tried to make this program run without csound (all the Max/Lua program >> is >> processed, but Csound~is unplugged), and it seems that it's not crashing. >> >> Does anyone has an idea of what the problem could be ? >> >> Thanking you in advance >> >> Johann >> >> >> >> >> >> >> -- >> Sent from: >> http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html >> >> Csound mailing list >> Csound@listserv.heanet.ie >> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND >> Send bugs reports to >> https://github.com/csound/csound/issues >> Discussions of bugs and features can be posted here > > > Csound mailing list > Csound@listserv.heanet.ie > https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND > Send bugs reports to > https://github.com/csound/csound/issues > Discussions of bugs and features can be posted here > Csound mailing list Csound@listserv.heanet.ie > https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to > https://github.com/csound/csound/issues Discussions of bugs and features can > be posted here Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here |
Date | 2017-12-04 18:12 |
From | Steven Yi |
Subject | Re: [Csnd] Runtime Error with csound~ on max msp |
I tried opening the patch here and got: newobj: sigmund~: No such object newobj: csound~: No such object jit.gl.lua: runtime error: [string "listform2.lua"]:37: attempt to index global 'autowrite' (a nil value) stack traceback: [string "listform2.lua"]:37: in main chunk The csound~ is something for me to fix up, but where should I get sigmund~? On Mon, Dec 4, 2017 at 12:41 PM, Johann Philippe <000002c2c0737523-dmarc-request@listserv.heanet.ie> wrote: > You should be able to download the patch from this link : > https://mega.nz/#F!JJRi1IDY!o7nj-I8o2he2bDsobE7kLw > > I put a simple example in it. The README in the folder explains everything > to make it run. > > If there is any problem, or if you need extra informations, tell me. > > Thanks a lot to take a look. > > Johann > > Le lundi 4 décembre 2017 à 17:17:54 UTC+1, Steven Yi |
Date | 2017-12-04 18:45 |
From | Johann Philippe <000002c2c0737523-dmarc-request@LISTSERV.HEANET.IE> |
Subject | Re: [Csnd] Runtime Error with csound~ on max msp |
You can find both in this link https://mega.nz/#F!Zd4XRbST!w7ehnCBv4s_YulI0P9se7w Sigmund~ is not needed in this example the patch should work without. Are you running on windows 10 ? If yes, csound~ can be placed in Documents/Max7/libraries For jit.gl.lua error, it's strange. You can try to delete from line 33 to 60 of listform2.lua and reload the patch.
Le lundi 4 décembre 2017 à 19:12:49 UTC+1, Steven Yi <stevenyi@GMAIL.COM> a écrit :
I tried opening the patch here and got: newobj: sigmund~: No such object newobj: csound~: No such object jit.gl.lua: runtime error: [string "listform2.lua"]:37: attempt to index global 'autowrite' (a nil value) stack traceback: [string "listform2.lua"]:37: in main chunk The csound~ is something for me to fix up, but where should I get sigmund~? On Mon, Dec 4, 2017 at 12:41 PM, Johann Philippe <000002c2c0737523-dmarc-request@listserv.heanet.ie> wrote: > You should be able to download the patch from this link : > https://mega.nz/#F!JJRi1IDY!o7nj-I8o2he2bDsobE7kLw > > I put a simple example in it. The README in the folder explains everything > to make it run. > > If there is any problem, or if you need extra informations, tell me. > > Thanks a lot to take a look. > > Johann > > Le lundi 4 décembre 2017 à 17:17:54 UTC+1, Steven Yi <stevenyi@GMAIL.COM> a > écrit : > > > Thanks, yes, a minimal example meaning whatever is necessary such that > one of us can run it and reproduce the problem here. Once it can be > reproduced, it can be diagnosed to see what the issue is. > > > > On Mon, Dec 4, 2017 at 11:12 AM, Johann Philippe > <000002c2c0737523-dmarc-request@listserv.heanet.ie> wrote: >> Thank you for the answer Steven, >> >> I didn't think about csound~ issue. >> >> The Csound version : 6.06.0 >> The Csound~ version : 1.1.3 >> The Max msp version : 7.3.4 running 64-bits >> >> And, by minimal example, do you mean a version of the program ? >> If it is, i can generate a download link. >> >> Thanks >> Johann >> >> >> >> >> Le lundi 4 décembre 2017 à 16:54:29 UTC+1, Steven Yi <stevenyi@GMAIL.COM> >> a >> écrit : >> >> >> Hi Johann, >> >> There is currently no maintainer for csound~ so I am not sure who >> might even look at this at the moment. csound~ is currently held >> within the csound repository but I think we're going to spin it back >> out as its own project with the hope that it might be easier to get >> contributors/maintainers that way. This will likely happen after the >> 6.10 release coming up. >> >> The last csound~ release I remember was compiled using the Max 6 SDK, >> so it's been a while. Could you note: >> >> 1. What version of Csound do you have installed? >> >> 2. What version of csound~? >> >> 3. What version of Max? >> >> 4. Are you running 32-bit or 64-bit Max? (x32, x64) >> >> 5. Do you have a minimal example that you could share that >> demonstrates the problem? >> >> Thanks, >> steven >> >> >> >> On Mon, Dec 4, 2017 at 10:39 AM, Johann Philippe >> <000002c2c0737523-dmarc-request@listserv.heanet.ie> wrote: >>> Dear all, >>> >>> I made a program with Max Msp and Lua, in order to use Csound~ external >>> (the >>> csound connection to max msp). >>> >>> To explain shortly, this program is actually a tracker interface, like >>> Open >>> MPT or Renoise. The graphical interface is an array, in which the user >>> can >>> write numbers, stored in Lua tables. >>> And, finally,when we click on "play" button, Lua format those numbers to >>> csound instructions (t,i,f statements), and write it to a textfile. Then, >>> it >>> starts Csound~, whose score instruction is to #include the textfile. >>> So, the program runs well. I already corrected a million bugs. But it's >>> working properly. >>> >>> The issue i met is that after a few "play" in a working session, Max Msp >>> crashes with the famous : >>> "Runtime Error >>> Program : maxpath/max.exe >>> This application has requested runtime to terminate it in an unusual way. >>> Please contact application's support team for more informations"...etc. >>> Every time i launch the program, i can play 10, maybe 20 times, then it >>> crashes. >>> >>> I'm working with windows 10 OS. So i tried to reinstall all the Visual >>> C++ >>> library (all the versions, in x32 and x64) I even tried to update the >>> driver >>> of my intel graphic hardware >>> And still, the Runtime bug happens. >>> >>> The only interaction with visual stuff between max and csound is the >>> metronome, played by a csound instrument (playing i 1 0 1 / i 1 1 1 / i 1 >>> 2 >>> 1... on all the beats), which outputs the p2 to max, allowing max to show >>> me >>> what step is currently playing (it's like a vertical timeline indicator). >>> I >>> tried to disable this function, and still, it crashes. >>> >>> I tried to make this program run without csound (all the Max/Lua program >>> is >>> processed, but Csound~is unplugged), and it seems that it's not crashing. >>> >>> Does anyone has an idea of what the problem could be ? >>> >>> Thanking you in advance >>> >>> Johann >>> >>> >>> >>> >>> >>> >>> -- >>> Sent from: >>> http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html >>> >>> Csound mailing list >>> Csound@listserv.heanet.ie >>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND >>> Send bugs reports to >>> https://github.com/csound/csound/issues >>> Discussions of bugs and features can be posted here > >> >> >> Csound mailing list >> Csound@listserv.heanet.ie >> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND >> Send bugs reports to >> https://github.com/csound/csound/issues >> Discussions of bugs and features can be posted here >> Csound mailing list Csound@listserv.heanet.ie >> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to >> https://github.com/csound/csound/issues Discussions of bugs and features >> can >> be posted here > > Csound mailing list > Csound@listserv.heanet.ie > https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND > Send bugs reports to > https://github.com/csound/csound/issues > Discussions of bugs and features can be posted here > Csound mailing list Csound@listserv.heanet.ie > https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to > https://github.com/csound/csound/issues Discussions of bugs and features can > be posted here Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here |
Date | 2017-12-04 20:28 |
From | Steven Yi |
Subject | Re: [Csnd] Runtime Error with csound~ on max msp |
I downloaded the externals and they seem to work. I trie dto comment out the lines 33-60 and afterwards I get: coll: bad arguments for message "write" On Mon, Dec 4, 2017 at 1:45 PM, Johann Philippe <000002c2c0737523-dmarc-request@listserv.heanet.ie> wrote: > You can find both in this link > https://mega.nz/#F!Zd4XRbST!w7ehnCBv4s_YulI0P9se7w > > Sigmund~ is not needed in this example the patch should work without. > Are you running on windows 10 ? > If yes, csound~ can be placed in Documents/Max7/libraries > > For jit.gl.lua error, it's strange. You can try to delete from line 33 to 60 > of listform2.lua and reload the patch. > > > > Le lundi 4 décembre 2017 à 19:12:49 UTC+1, Steven Yi |
Date | 2017-12-04 22:41 |
From | Johann Philippe <000002c2c0737523-dmarc-request@LISTSERV.HEANET.IE> |
Subject | Re: [Csnd] Runtime Error with csound~ on max msp |
It happens sometimes. I don't understand why. But it never made a serious problem for me. Does the array fill if you read the score file ? If it does, you can surely play it.
Le lundi 4 décembre 2017 à 21:29:00 UTC+1, Steven Yi <stevenyi@GMAIL.COM> a écrit :
I downloaded the externals and they seem to work. I trie dto comment out the lines 33-60 and afterwards I get: coll: bad arguments for message "write" On Mon, Dec 4, 2017 at 1:45 PM, Johann Philippe <000002c2c0737523-dmarc-request@listserv.heanet.ie> wrote: > You can find both in this link > https://mega.nz/#F!Zd4XRbST!w7ehnCBv4s_YulI0P9se7w > > Sigmund~ is not needed in this example the patch should work without. > Are you running on windows 10 ? > If yes, csound~ can be placed in Documents/Max7/libraries > > For jit.gl.lua error, it's strange. You can try to delete from line 33 to 60 > of listform2.lua and reload the patch. > > > > Le lundi 4 décembre 2017 à 19:12:49 UTC+1, Steven Yi <stevenyi@GMAIL.COM> a > écrit : > > > I tried opening the patch here and got: > > newobj: sigmund~: No such object > newobj: csound~: No such object > jit.gl.lua: runtime error: > [string "listform2.lua"]:37: attempt to index global 'autowrite' (a nil > value) > stack traceback: > [string "listform2.lua"]:37: in main chunk > > The csound~ is something for me to fix up, but where should I get sigmund~? > > > On Mon, Dec 4, 2017 at 12:41 PM, Johann Philippe > <000002c2c0737523-dmarc-request@listserv.heanet.ie> wrote: >> You should be able to download the patch from this link : >> https://mega.nz/#F!JJRi1IDY!o7nj-I8o2he2bDsobE7kLw >> >> I put a simple example in it. The README in the folder explains everything >> to make it run. >> >> If there is any problem, or if you need extra informations, tell me. >> >> Thanks a lot to take a look. >> >> Johann >> >> Le lundi 4 décembre 2017 à 17:17:54 UTC+1, Steven Yi <stevenyi@GMAIL.COM> >> a >> écrit : >> >> >> Thanks, yes, a minimal example meaning whatever is necessary such that >> one of us can run it and reproduce the problem here. Once it can be >> reproduced, it can be diagnosed to see what the issue is. >> >> >> >> On Mon, Dec 4, 2017 at 11:12 AM, Johann Philippe >> <000002c2c0737523-dmarc-request@listserv.heanet.ie> wrote: >>> Thank you for the answer Steven, >>> >>> I didn't think about csound~ issue. >>> >>> The Csound version : 6.06.0 >>> The Csound~ version : 1.1.3 >>> The Max msp version : 7.3.4 running 64-bits >>> >>> And, by minimal example, do you mean a version of the program ? >>> If it is, i can generate a download link. >>> >>> Thanks >>> Johann >>> >>> >>> >>> >>> Le lundi 4 décembre 2017 à 16:54:29 UTC+1, Steven Yi <stevenyi@GMAIL.COM> >>> a >>> écrit : >>> >>> >>> Hi Johann, >>> >>> There is currently no maintainer for csound~ so I am not sure who >>> might even look at this at the moment. csound~ is currently held >>> within the csound repository but I think we're going to spin it back >>> out as its own project with the hope that it might be easier to get >>> contributors/maintainers that way. This will likely happen after the >>> 6.10 release coming up. >>> >>> The last csound~ release I remember was compiled using the Max 6 SDK, >>> so it's been a while. Could you note: >>> >>> 1. What version of Csound do you have installed? >>> >>> 2. What version of csound~? >>> >>> 3. What version of Max? >>> >>> 4. Are you running 32-bit or 64-bit Max? (x32, x64) >>> >>> 5. Do you have a minimal example that you could share that >>> demonstrates the problem? >>> >>> Thanks, >>> steven >>> >>> >>> >>> On Mon, Dec 4, 2017 at 10:39 AM, Johann Philippe >>> <000002c2c0737523-dmarc-request@listserv.heanet.ie> wrote: >>>> Dear all, >>>> >>>> I made a program with Max Msp and Lua, in order to use Csound~ external >>>> (the >>>> csound connection to max msp). >>>> >>>> To explain shortly, this program is actually a tracker interface, like >>>> Open >>>> MPT or Renoise. The graphical interface is an array, in which the user >>>> can >>>> write numbers, stored in Lua tables. >>>> And, finally,when we click on "play" button, Lua format those numbers to >>>> csound instructions (t,i,f statements), and write it to a textfile. >>>> Then, >>>> it >>>> starts Csound~, whose score instruction is to #include the textfile. >>>> So, the program runs well. I already corrected a million bugs. But it's >>>> working properly. >>>> >>>> The issue i met is that after a few "play" in a working session, Max Msp >>>> crashes with the famous : >>>> "Runtime Error >>>> Program : maxpath/max.exe >>>> This application has requested runtime to terminate it in an unusual >>>> way. >>>> Please contact application's support team for more informations"...etc. >>>> Every time i launch the program, i can play 10, maybe 20 times, then it >>>> crashes. >>>> >>>> I'm working with windows 10 OS. So i tried to reinstall all the Visual >>>> C++ >>>> library (all the versions, in x32 and x64) I even tried to update the >>>> driver >>>> of my intel graphic hardware >>>> And still, the Runtime bug happens. >>>> >>>> The only interaction with visual stuff between max and csound is the >>>> metronome, played by a csound instrument (playing i 1 0 1 / i 1 1 1 / i >>>> 1 >>>> 2 >>>> 1... on all the beats), which outputs the p2 to max, allowing max to >>>> show >>>> me >>>> what step is currently playing (it's like a vertical timeline >>>> indicator). >>>> I >>>> tried to disable this function, and still, it crashes. >>>> >>>> I tried to make this program run without csound (all the Max/Lua program >>>> is >>>> processed, but Csound~is unplugged), and it seems that it's not >>>> crashing. >>>> >>>> Does anyone has an idea of what the problem could be ? >>>> >>>> Thanking you in advance >>>> >>>> Johann >>>> >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> Sent from: >>>> http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html >>>> >>>> Csound mailing list >>>> Csound@listserv.heanet.ie >>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND >>>> Send bugs reports to >>>> https://github.com/csound/csound/issues >>>> Discussions of bugs and features can be posted here > >> >>> >>> >>> Csound mailing list >>> Csound@listserv.heanet.ie >>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND >>> Send bugs reports to >>> https://github.com/csound/csound/issues >>> Discussions of bugs and features can be posted here >>> Csound mailing list Csound@listserv.heanet.ie >>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to >>> https://github.com/csound/csound/issues Discussions of bugs and features >>> can >>> be posted here >> >> Csound mailing list >> Csound@listserv.heanet.ie >> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND >> Send bugs reports to >> https://github.com/csound/csound/issues >> Discussions of bugs and features can be posted here >> Csound mailing list Csound@listserv.heanet.ie >> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to >> https://github.com/csound/csound/issues Discussions of bugs and features >> can >> be posted here > > Csound mailing list > Csound@listserv.heanet.ie > https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND > Send bugs reports to > https://github.com/csound/csound/issues > Discussions of bugs and features can be posted here > Csound mailing list Csound@listserv.heanet.ie > https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to > https://github.com/csound/csound/issues Discussions of bugs and features can > be posted here Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here |
Date | 2017-12-04 23:41 |
From | Steven Yi |
Subject | Re: [Csnd] Runtime Error with csound~ on max msp |
Took me a little time to modify things (you don't need full paths in the .csd, you can use relative path and it will work since Csound #includes files relative from the CSD file). I managed to get the tracker to play and I tested by hitting the stop/play button multiple times (maybe 10 or so times in a row). I am guessing the difference is that I am using a newer version of Csound than you (6.06 is a bit old; I am using a custom Csound build with latest from development branch). If you're willing, you could try the latest Windows 10 build using the develop branch: https://ci.appveyor.com/project/csound/csound/build/6.10.920/artifacts The .exe has an installer that is very close to the 6.10 release we are planning for Friday. My guess is that if this works for you, it could be something we fixed since 6.06, or it could be that we are not using pthreads, or that we have moved to Visual Studio. On Mon, Dec 4, 2017 at 5:41 PM, Johann Philippe |
Date | 2017-12-05 12:50 |
From | Johann Philippe <000002c2c0737523-dmarc-request@LISTSERV.HEANET.IE> |
Subject | Re: [Csnd] Runtime Error with csound~ on max msp |
I used the .exe installer, and now it seems to work perfectly. I have been working with it more than one hour, without any bug (and the program survived to a big crash test). I don't really know what was the exact problem, but it's not happening anymore. Thank you very much Steven ! Johann
Le mardi 5 décembre 2017 à 00:42:02 UTC+1, Steven Yi <stevenyi@GMAIL.COM> a écrit :
Took me a little time to modify things (you don't need full paths in the .csd, you can use relative path and it will work since Csound #includes files relative from the CSD file). I managed to get the tracker to play and I tested by hitting the stop/play button multiple times (maybe 10 or so times in a row). I am guessing the difference is that I am using a newer version of Csound than you (6.06 is a bit old; I am using a custom Csound build with latest from development branch). If you're willing, you could try the latest Windows 10 build using the develop branch: https://ci.appveyor.com/project/csound/csound/build/6.10.920/artifacts The .exe has an installer that is very close to the 6.10 release we are planning for Friday. My guess is that if this works for you, it could be something we fixed since 6.06, or it could be that we are not using pthreads, or that we have moved to Visual Studio. On Mon, Dec 4, 2017 at 5:41 PM, Johann Philippe <johannphilippe@yahoo.fr> wrote: > It happens sometimes. > I don't understand why. But it never made a serious problem for me. > Does the array fill if you read the score file ? > If it does, you can surely play it. > > > Le lundi 4 décembre 2017 à 21:29:00 UTC+1, Steven Yi <stevenyi@GMAIL.COM> a > écrit : > > > I downloaded the externals and they seem to work. I trie dto comment > out the lines 33-60 and afterwards I get: > > coll: bad arguments for message "write" > > > On Mon, Dec 4, 2017 at 1:45 PM, Johann Philippe > <000002c2c0737523-dmarc-request@listserv.heanet.ie> wrote: >> You can find both in this link >> https://mega.nz/#F!Zd4XRbST!w7ehnCBv4s_YulI0P9se7w >> >> Sigmund~ is not needed in this example the patch should work without. >> Are you running on windows 10 ? >> If yes, csound~ can be placed in Documents/Max7/libraries >> >> For jit.gl.lua error, it's strange. You can try to delete from line 33 to >> 60 >> of listform2.lua and reload the patch. >> >> >> >> Le lundi 4 décembre 2017 à 19:12:49 UTC+1, Steven Yi <stevenyi@GMAIL.COM> >> a >> écrit : >> >> >> I tried opening the patch here and got: >> >> newobj: sigmund~: No such object >> newobj: csound~: No such object >> jit.gl.lua: runtime error: >> [string "listform2.lua"]:37: attempt to index global 'autowrite' (a nil >> value) >> stack traceback: >> [string "listform2.lua"]:37: in main chunk >> >> The csound~ is something for me to fix up, but where should I get >> sigmund~? >> >> >> On Mon, Dec 4, 2017 at 12:41 PM, Johann Philippe >> <000002c2c0737523-dmarc-request@listserv.heanet.ie> wrote: >>> You should be able to download the patch from this link : >>> https://mega.nz/#F!JJRi1IDY!o7nj-I8o2he2bDsobE7kLw >>> >>> I put a simple example in it. The README in the folder explains >>> everything >>> to make it run. >>> >>> If there is any problem, or if you need extra informations, tell me. >>> >>> Thanks a lot to take a look. >>> >>> Johann >>> >>> Le lundi 4 décembre 2017 à 17:17:54 UTC+1, Steven Yi <stevenyi@GMAIL.COM> >>> a >>> écrit : >>> >>> >>> Thanks, yes, a minimal example meaning whatever is necessary such that >>> one of us can run it and reproduce the problem here. Once it can be >>> reproduced, it can be diagnosed to see what the issue is. >>> >>> >>> >>> On Mon, Dec 4, 2017 at 11:12 AM, Johann Philippe >>> <000002c2c0737523-dmarc-request@listserv.heanet.ie> wrote: >>>> Thank you for the answer Steven, >>>> >>>> I didn't think about csound~ issue. >>>> >>>> The Csound version : 6.06.0 >>>> The Csound~ version : 1.1.3 >>>> The Max msp version : 7.3.4 running 64-bits >>>> >>>> And, by minimal example, do you mean a version of the program ? >>>> If it is, i can generate a download link. >>>> >>>> Thanks >>>> Johann >>>> >>>> >>>> >>>> >>>> Le lundi 4 décembre 2017 à 16:54:29 UTC+1, Steven Yi >>>> <stevenyi@GMAIL.COM> >>>> a >>>> écrit : >>>> >>>> >>>> Hi Johann, >>>> >>>> There is currently no maintainer for csound~ so I am not sure who >>>> might even look at this at the moment. csound~ is currently held >>>> within the csound repository but I think we're going to spin it back >>>> out as its own project with the hope that it might be easier to get >>>> contributors/maintainers that way. This will likely happen after the >>>> 6.10 release coming up. >>>> >>>> The last csound~ release I remember was compiled using the Max 6 SDK, >>>> so it's been a while. Could you note: >>>> >>>> 1. What version of Csound do you have installed? >>>> >>>> 2. What version of csound~? >>>> >>>> 3. What version of Max? >>>> >>>> 4. Are you running 32-bit or 64-bit Max? (x32, x64) >>>> >>>> 5. Do you have a minimal example that you could share that >>>> demonstrates the problem? >>>> >>>> Thanks, >>>> steven >>>> >>>> >>>> >>>> On Mon, Dec 4, 2017 at 10:39 AM, Johann Philippe >>>> <000002c2c0737523-dmarc-request@listserv.heanet.ie> wrote: >>>>> Dear all, >>>>> >>>>> I made a program with Max Msp and Lua, in order to use Csound~ external >>>>> (the >>>>> csound connection to max msp). >>>>> >>>>> To explain shortly, this program is actually a tracker interface, like >>>>> Open >>>>> MPT or Renoise. The graphical interface is an array, in which the user >>>>> can >>>>> write numbers, stored in Lua tables. >>>>> And, finally,when we click on "play" button, Lua format those numbers >>>>> to >>>>> csound instructions (t,i,f statements), and write it to a textfile. >>>>> Then, >>>>> it >>>>> starts Csound~, whose score instruction is to #include the textfile. >>>>> So, the program runs well. I already corrected a million bugs. But it's >>>>> working properly. >>>>> >>>>> The issue i met is that after a few "play" in a working session, Max >>>>> Msp >>>>> crashes with the famous : >>>>> "Runtime Error >>>>> Program : maxpath/max.exe >>>>> This application has requested runtime to terminate it in an unusual >>>>> way. >>>>> Please contact application's support team for more informations"...etc. >>>>> Every time i launch the program, i can play 10, maybe 20 times, then it >>>>> crashes. >>>>> >>>>> I'm working with windows 10 OS. So i tried to reinstall all the Visual >>>>> C++ >>>>> library (all the versions, in x32 and x64) I even tried to update the >>>>> driver >>>>> of my intel graphic hardware >>>>> And still, the Runtime bug happens. >>>>> >>>>> The only interaction with visual stuff between max and csound is the >>>>> metronome, played by a csound instrument (playing i 1 0 1 / i 1 1 1 / i >>>>> 1 >>>>> 2 >>>>> 1... on all the beats), which outputs the p2 to max, allowing max to >>>>> show >>>>> me >>>>> what step is currently playing (it's like a vertical timeline >>>>> indicator). >>>>> I >>>>> tried to disable this function, and still, it crashes. >>>>> >>>>> I tried to make this program run without csound (all the Max/Lua >>>>> program >>>>> is >>>>> processed, but Csound~is unplugged), and it seems that it's not >>>>> crashing. >>>>> >>>>> Does anyone has an idea of what the problem could be ? >>>>> >>>>> Thanking you in advance >>>>> >>>>> Johann >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Sent from: >>>>> http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html >>>>> >>>>> Csound mailing list >>>>> Csound@listserv.heanet.ie >>>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND >>>>> Send bugs reports to >>>>> https://github.com/csound/csound/issues >>>>> Discussions of bugs and features can be posted here > >> >>> >>>> >>>> >>>> Csound mailing list >>>> Csound@listserv.heanet.ie >>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND >>>> Send bugs reports to >>>> https://github.com/csound/csound/issues >>>> Discussions of bugs and features can be posted here >>>> Csound mailing list Csound@listserv.heanet.ie >>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to >>>> https://github.com/csound/csound/issues Discussions of bugs and features >>>> can >>>> be posted here >>> >>> Csound mailing list >>> Csound@listserv.heanet.ie >>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND >>> Send bugs reports to >>> https://github.com/csound/csound/issues >>> Discussions of bugs and features can be posted here >>> Csound mailing list Csound@listserv.heanet.ie >>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to >>> https://github.com/csound/csound/issues Discussions of bugs and features >>> can >>> be posted here >> >> Csound mailing list >> Csound@listserv.heanet.ie >> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND >> Send bugs reports to >> https://github.com/csound/csound/issues >> Discussions of bugs and features can be posted here >> Csound mailing list Csound@listserv.heanet.ie >> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to >> https://github.com/csound/csound/issues Discussions of bugs and features >> can >> be posted here > > Csound mailing list > Csound@listserv.heanet.ie > https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND > Send bugs reports to > https://github.com/csound/csound/issues > Discussions of bugs and features can be posted here Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here |
Date | 2017-12-05 18:17 |
From | Steven Yi |
Subject | Re: [Csnd] Runtime Error with csound~ on max msp |
That's great to hear, glad that's working out and enjoy! On Tue, Dec 5, 2017 at 7:50 AM, Johann Philippe <000002c2c0737523-dmarc-request@listserv.heanet.ie> wrote: > I used the .exe installer, and now it seems to work perfectly. > I have been working with it more than one hour, without any bug (and the > program survived to a big crash test). > > I don't really know what was the exact problem, but it's not happening > anymore. > > > Thank you very much Steven ! > > Johann > Le mardi 5 décembre 2017 à 00:42:02 UTC+1, Steven Yi |