[Cs-dev] crash on recompile...
Date | 2013-10-29 11:50 |
From | Rory Walsh |
Subject | [Cs-dev] crash on recompile... |
Attachments | None None |
I'm trying to update a project that was running fine with Csound5, but I get crashes now with Csound6. The code is quite long so it's going to take me a while till I can figure out what might be causing the problem, but perhaps one of you can spot something from the backtrace?
0 0x00007ffff65cf2a3 deact /home/rory/sourcecode/csound-csound6-git/Engine/insert.c 656 1 0x00007ffff65cf7cc xturnoff /home/rory/sourcecode/csound-csound6-git/Engine/insert.c 750 2 0x00007ffff65cf821 xturnoff_now /home/rory/sourcecode/csound-csound6-git/Engine/insert.c 763 3 0x00007ffff65da756 deactivate_all_notes /home/rory/sourcecode/csound-csound6-git/Engine/musmon.c 372 4 0x00007ffff65da8ea csoundCleanup /home/rory/sourcecode/csound-csound6-git/Engine/musmon.c 419 5 0x00007ffff6717e97 reset /home/rory/sourcecode/csound-csound6-git/Top/csound.c 2624 6 0x00007ffff671874e csoundReset /home/rory/sourcecode/csound-csound6-git/Top/csound.c 2769 7 0x00000000004ce744 Csound::Reset /usr/local/include/csound/csound.hpp 367 8 0x00000000004c5398 CabbagePluginAudioProcessor::reCompileCsound /home/rory/sourcecode/cabbage/Source/Plugin/CabbagePluginProcessor.cpp 364 |
Date | 2013-10-29 11:57 |
From | Rory Walsh |
Subject | Re: [Cs-dev] crash on recompile... |
Attachments | None None |
And the offending instrument is: instr 13 ;turn on or off the master recording kRec chnget "rec" kGo changed kRec if(kGo==1) then if(kRec==1) then printks "Starting Recording\n", 0 event "i", 90000, 0, 3600 else printks "Stopping Recording\n", 0 turnoff2 90000, 0, 0 endif endif endin On 29 October 2013 11:50, Rory Walsh <rorywalsh@ear.ie> wrote:
|
Date | 2013-10-29 14:57 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] crash on recompile... |
Looks like a problem with turnoff2, but we need more details, line 656 in insert.c does not have anything. Victor On 29 Oct 2013, at 11:57, Rory Walsh wrote: > And the offending instrument is: > > instr 13 > ;turn on or off the master recording > kRec chnget "rec" > kGo changed kRec > if(kGo==1) then > if(kRec==1) then > printks "Starting Recording\n", 0 > event "i", 90000, 0, 3600 > else > printks "Stopping Recording\n", 0 > turnoff2 90000, 0, 0 > endif > endif > endin > > > > > On 29 October 2013 11:50, Rory Walsh |
Date | 2013-10-29 16:25 |
From | Rory Walsh |
Subject | Re: [Cs-dev] crash on recompile... |
Attachments | None None |
I assume that your line 656 is different from mine due to you working from the most up to date version, I last pulled from git about 2 weeks ago. I don't have time to look into it now. I have a gig on Saturday for which I'm just going to use Csound5. I'll investigate again after that. On 29 October 2013 15:57, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote: Looks like a problem with turnoff2, but we need more details, line 656 in insert.c does not have anything. |