Csound Csound-dev Csound-tekno Search About

[Cs-dev] crash on recompile...

Date2013-10-29 11:50
FromRory Walsh
Subject[Cs-dev] crash on recompile...
AttachmentsNone  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


Date2013-10-29 11:57
FromRory Walsh
SubjectRe: [Cs-dev] crash on recompile...
AttachmentsNone  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:
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



Date2013-10-29 14:57
FromVictor Lazzarini
SubjectRe: [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  wrote:
> 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
> 
> 
> ------------------------------------------------------------------------------
> Android is increasing in popularity, but the open development platform that
> developers love is also attractive to malware creators. Download this white
> paper to learn more about secure code signing practices that can help keep
> Android apps secure.
> http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk_______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-10-29 16:25
FromRory Walsh
SubjectRe: [Cs-dev] crash on recompile...
AttachmentsNone  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.

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 <rorywalsh@ear.ie> wrote:
> 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
>
>
> ------------------------------------------------------------------------------
> Android is increasing in popularity, but the open development platform that
> developers love is also attractive to malware creators. Download this white
> paper to learn more about secure code signing practices that can help keep
> Android apps secure.
> http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk_______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel