Csound Csound-dev Csound-tekno Search About

[Cs-dev] Breaking change in latest git master

Date2013-06-30 21:14
FromMichael Gogins
Subject[Cs-dev] Breaking change in latest git master
AttachmentsNone  None  
Before, alwayson called with a string instrument name in the orchestra header worked, and this is extremely useful for setting up chains of effects, note generators, etc.

Now, alwayson called with a string instrument name fails to instantiate the instrument. Calling alwayson with the instrument number still succeeds.

I have filed an issue in the tracker.

Regards,
Mike

===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com

Date2013-06-30 21:23
FromVictor Lazzarini
SubjectRe: [Cs-dev] Breaking change in latest git master
AttachmentsNone  None  
Looks like a side-effect of the fixes to the multiple strings in score, because I remember this working before.

Victor
On 30 Jun 2013, at 21:14, Michael Gogins wrote:

Before, alwayson called with a string instrument name in the orchestra header worked, and this is extremely useful for setting up chains of effects, note generators, etc.

Now, alwayson called with a string instrument name fails to instantiate the instrument. Calling alwayson with the instrument number still succeeds.

I have filed an issue in the tracker.

Regards,
Mike

===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev_______________________________________________
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




Date2013-06-30 21:39
FromVictor Lazzarini
SubjectRe: [Cs-dev] Breaking change in latest git master
AttachmentsNone  None  
fixed in GIT.
On 30 Jun 2013, at 21:23, Victor Lazzarini wrote:

Looks like a side-effect of the fixes to the multiple strings in score, because I remember this working before.

Victor
On 30 Jun 2013, at 21:14, Michael Gogins wrote:

Before, alwayson called with a string instrument name in the orchestra header worked, and this is extremely useful for setting up chains of effects, note generators, etc.

Now, alwayson called with a string instrument name fails to instantiate the instrument. Calling alwayson with the instrument number still succeeds.

I have filed an issue in the tracker.

Regards,
Mike

===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev_______________________________________________
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



------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev_______________________________________________
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




Date2013-06-30 23:38
FromMichael Gogins
SubjectRe: [Cs-dev] Breaking change in latest git master
AttachmentsNone  None  
Thanks for the quick fix!

Regards,
Mike


===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Sun, Jun 30, 2013 at 4:39 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
fixed in GIT.

On 30 Jun 2013, at 21:23, Victor Lazzarini wrote:

Looks like a side-effect of the fixes to the multiple strings in score, because I remember this working before.

Victor
On 30 Jun 2013, at 21:14, Michael Gogins wrote:

Before, alwayson called with a string instrument name in the orchestra header worked, and this is extremely useful for setting up chains of effects, note generators, etc.

Now, alwayson called with a string instrument name fails to instantiate the instrument. Calling alwayson with the instrument number still succeeds.

I have filed an issue in the tracker.

Regards,
Mike

===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev_______________________________________________
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
Victor dot Lazzarini AT nuim dot ie



------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev_______________________________________________
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
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



Date2013-06-30 23:52
FromMichael Gogins
SubjectRe: [Cs-dev] Breaking change in latest git master
AttachmentsNone  None  
Sorry, crashes:

[New Thread 7140.0x1cfc]
writing 8192 sample blks of 64-bit floats to dac
SECTION 1:
new alloc for instr rescale_controls:
new alloc for instr start_multiple_long_notes:

Program received signal SIGSEGV, Segmentation fault.
0x6c5157b9 in insert_score_event_at_sample (csound=csound@entry=0x530048, evt=evt@entry=0x28bde8, time_ofs=0)
    at c:/Users/new/csound-csound6-git/Engine/musmon.c:1175
1175          while (n--) { p += strlen(p)+1; };
(gdb)

Regards,
Mike


===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Sun, Jun 30, 2013 at 6:38 PM, Michael Gogins <michael.gogins@gmail.com> wrote:
Thanks for the quick fix!

Regards,
Mike


===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Sun, Jun 30, 2013 at 4:39 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
fixed in GIT.

On 30 Jun 2013, at 21:23, Victor Lazzarini wrote:

Looks like a side-effect of the fixes to the multiple strings in score, because I remember this working before.

Victor
On 30 Jun 2013, at 21:14, Michael Gogins wrote:

Before, alwayson called with a string instrument name in the orchestra header worked, and this is extremely useful for setting up chains of effects, note generators, etc.

Now, alwayson called with a string instrument name fails to instantiate the instrument. Calling alwayson with the instrument number still succeeds.

I have filed an issue in the tracker.

Regards,
Mike

===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev_______________________________________________
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
Victor dot Lazzarini AT nuim dot ie



------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev_______________________________________________
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
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel




Date2013-07-01 01:19
FromVictor Lazzarini
SubjectRe: [Cs-dev] Breaking change in latest git master
AttachmentsNone  None  
It doesn't crash here, and valgrind has not found any errors. Can you provide a CSD demonstrating the segfault?
On 30 Jun 2013, at 23:52, Michael Gogins wrote:

Sorry, crashes:

[New Thread 7140.0x1cfc]
writing 8192 sample blks of 64-bit floats to dac
SECTION 1:
new alloc for instr rescale_controls:
new alloc for instr start_multiple_long_notes:

Program received signal SIGSEGV, Segmentation fault.
0x6c5157b9 in insert_score_event_at_sample (csound=csound@entry=0x530048, evt=evt@entry=0x28bde8, time_ofs=0)
    at c:/Users/new/csound-csound6-git/Engine/musmon.c:1175
1175          while (n--) { p += strlen(p)+1; };
(gdb)

Regards,
Mike


===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Sun, Jun 30, 2013 at 6:38 PM, Michael Gogins <michael.gogins@gmail.com> wrote:
Thanks for the quick fix!

Regards,
Mike


===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Sun, Jun 30, 2013 at 4:39 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
fixed in GIT.

On 30 Jun 2013, at 21:23, Victor Lazzarini wrote:

Looks like a side-effect of the fixes to the multiple strings in score, because I remember this working before.

Victor
On 30 Jun 2013, at 21:14, Michael Gogins wrote:

Before, alwayson called with a string instrument name in the orchestra header worked, and this is extremely useful for setting up chains of effects, note generators, etc.

Now, alwayson called with a string instrument name fails to instantiate the instrument. Calling alwayson with the instrument number still succeeds.

I have filed an issue in the tracker.

Regards,
Mike

===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev_______________________________________________
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
Victor dot Lazzarini AT nuim dot ie



------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev_______________________________________________
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
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev_______________________________________________
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




Date2013-07-01 04:00
FromMichael Gogins
SubjectRe: [Cs-dev] Breaking change in latest git master
Attachmentsi.csd  None  None  
I did another pull and build, because I saw a second update to signalflowgraph.csd.  Sorry, but it's still crashing in the same way. Here's a bit more info and a csd.

Regards,
Mike

PortAudio V19-devel (built May  4 2013 21:08:34)
   0: dac0 (Microsoft Sound Mapper - Output)
   1: dac1 (Line Out (4- Scarlett 2i4 USB))
   2: dac2 (Speakers (VIA High Definition A)
   3: dac3 (SPDIF Interface (TX0) (VIA High)
   4: dac4 (Primary Sound Driver)
   5: dac5 (Line Out (4- Scarlett 2i4 USB))
   6: dac6 (Speakers (VIA High Definition Audio))
   7: dac7 (SPDIF Interface (TX0) (VIA High Definition Audio))
   8: dac8 (Focusrite USB 2.0 Audio Driver)
   9: dac9 (Speakers (VIA High Definition Audio))
  10: dac10 (Line Out (4- Scarlett 2i4 USB))
  11: dac11 (SPDIF Interface (TX0) (VIA High Definition Audio))
  12: dac12 (SPDIF Out (HD Audio digital out))
  13: dac13 (Speakers (VIA HD Audio Output))
  14: dac14 (Output (Scarlett 2i4 USB))
PortAudio: selected output device 'Line Out (4- Scarlett 2i4 USB)'
[New Thread 3512.0x1748]
[New Thread 3512.0x11cc]
[New Thread 3512.0x1a54]
writing 8192 sample blks of 64-bit floats to dac
SECTION 1:
new alloc for instr rescale_controls:
new alloc for instr start_multiple_long_notes:

Program received signal SIGSEGV, Segmentation fault.
0x6c5157b9 in insert_score_event_at_sample (csound=csound@entry=0x410048, evt=evt@entry=0x28bde8, time_ofs=0)
    at c:/Users/new/csound-csound6-git/Engine/musmon.c:1175
1175          while (n--) { p += strlen(p)+1; };
(gdb) bt
#0  0x6c5157b9 in insert_score_event_at_sample (csound=csound@entry=0x410048, evt=evt@entry=0x28bde8, time_ofs=0)
    at c:/Users/new/csound-csound6-git/Engine/musmon.c:1175
#1  0x6c5118a2 in eventOpcodeI_ (csound=csound@entry=0x410048, p=p@entry=0x1220a04, insname=insname@entry=1, p1=p1@entry=0 '\000')
    at c:/Users/new/csound-csound6-git/Engine/linevent.c:454
#2  0x6c511a6b in eventOpcodeI_S (csound=0x410048, p=0x1220a04) at c:/Users/new/csound-csound6-git/Engine/linevent.c:468
#3  0x6c50ff91 in insert (csound=csound@entry=0x410048, insno=insno@entry=3, newevtp=newevtp@entry=0x1200a18)
    at c:/Users/new/csound-csound6-git/Engine/insert.c:261
#4  0x6c513c5d in process_score_event (csound=csound@entry=0x410048, evt=evt@entry=0x1200a18, rtEvt=rtEvt@entry=1)
    at c:/Users/new/csound-csound6-git/Engine/musmon.c:749
#5  0x6c513fd4 in process_rt_event (csound=csound@entry=0x410048, sensType=sensType@entry=4)
    at c:/Users/new/csound-csound6-git/Engine/musmon.c:844
#6  0x6c5152c8 in sensevents (csound=csound@entry=0x410048) at c:/Users/new/csound-csound6-git/Engine/musmon.c:1036
#7  0x6c5ca08d in csoundPerformKsmps (csound=0x410048) at c:/Users/new/csound-csound6-git/Top/csound.c:1589
#8  0x00401e9b in main (argc=2, argv=0x3b16d8) at c:/Users/new/csound-csound6-git/frontends/csound/csound_main.c:140
(gdb) print p
$1 = 0x1223000 <Address 0x1223000 out of bounds>
(gdb)




























































===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Sun, Jun 30, 2013 at 8:19 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
It doesn't crash here, and valgrind has not found any errors. Can you provide a CSD demonstrating the segfault?

On 30 Jun 2013, at 23:52, Michael Gogins wrote:

Sorry, crashes:

[New Thread 7140.0x1cfc]
writing 8192 sample blks of 64-bit floats to dac
SECTION 1:
new alloc for instr rescale_controls:
new alloc for instr start_multiple_long_notes:

Program received signal SIGSEGV, Segmentation fault.
0x6c5157b9 in insert_score_event_at_sample (csound=csound@entry=0x530048, evt=evt@entry=0x28bde8, time_ofs=0)
    at c:/Users/new/csound-csound6-git/Engine/musmon.c:1175
1175          while (n--) { p += strlen(p)+1; };
(gdb)

Regards,
Mike


===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Sun, Jun 30, 2013 at 6:38 PM, Michael Gogins <michael.gogins@gmail.com> wrote:
Thanks for the quick fix!

Regards,
Mike


===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Sun, Jun 30, 2013 at 4:39 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
fixed in GIT.

On 30 Jun 2013, at 21:23, Victor Lazzarini wrote:

Looks like a side-effect of the fixes to the multiple strings in score, because I remember this working before.

Victor
On 30 Jun 2013, at 21:14, Michael Gogins wrote:

Before, alwayson called with a string instrument name in the orchestra header worked, and this is extremely useful for setting up chains of effects, note generators, etc.

Now, alwayson called with a string instrument name fails to instantiate the instrument. Calling alwayson with the instrument number still succeeds.

I have filed an issue in the tracker.

Regards,
Mike

===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev_______________________________________________
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
Victor dot Lazzarini AT nuim dot ie



------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev_______________________________________________
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
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev_______________________________________________
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
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



Date2013-07-01 08:39
FromVictor Lazzarini
SubjectRe: [Cs-dev] Breaking change in latest git master
AttachmentsNone  None  
The problem does not seem to be with alwayson, but with event_i using strings. Here, it does not crash, but the instrument is not found. If I change the
trombone instrument to a number, it works, and alwayson finds the string instruments, with no crashes.

Victor
On 1 Jul 2013, at 04:00, Michael Gogins wrote:

I did another pull and build, because I saw a second update to signalflowgraph.csd.  Sorry, but it's still crashing in the same way. Here's a bit more info and a csd.

Regards,
Mike

PortAudio V19-devel (built May  4 2013 21:08:34)
   0: dac0 (Microsoft Sound Mapper - Output)
   1: dac1 (Line Out (4- Scarlett 2i4 USB))
   2: dac2 (Speakers (VIA High Definition A)
   3: dac3 (SPDIF Interface (TX0) (VIA High)
   4: dac4 (Primary Sound Driver)
   5: dac5 (Line Out (4- Scarlett 2i4 USB))
   6: dac6 (Speakers (VIA High Definition Audio))
   7: dac7 (SPDIF Interface (TX0) (VIA High Definition Audio))
   8: dac8 (Focusrite USB 2.0 Audio Driver)
   9: dac9 (Speakers (VIA High Definition Audio))
  10: dac10 (Line Out (4- Scarlett 2i4 USB))
  11: dac11 (SPDIF Interface (TX0) (VIA High Definition Audio))
  12: dac12 (SPDIF Out (HD Audio digital out))
  13: dac13 (Speakers (VIA HD Audio Output))
  14: dac14 (Output (Scarlett 2i4 USB))
PortAudio: selected output device 'Line Out (4- Scarlett 2i4 USB)'
[New Thread 3512.0x1748]
[New Thread 3512.0x11cc]
[New Thread 3512.0x1a54]
writing 8192 sample blks of 64-bit floats to dac
SECTION 1:
new alloc for instr rescale_controls:
new alloc for instr start_multiple_long_notes:

Program received signal SIGSEGV, Segmentation fault.
0x6c5157b9 in insert_score_event_at_sample (csound=csound@entry=0x410048, evt=evt@entry=0x28bde8, time_ofs=0)
    at c:/Users/new/csound-csound6-git/Engine/musmon.c:1175
1175          while (n--) { p += strlen(p)+1; };
(gdb) bt
#0  0x6c5157b9 in insert_score_event_at_sample (csound=csound@entry=0x410048, evt=evt@entry=0x28bde8, time_ofs=0)
    at c:/Users/new/csound-csound6-git/Engine/musmon.c:1175
#1  0x6c5118a2 in eventOpcodeI_ (csound=csound@entry=0x410048, p=p@entry=0x1220a04, insname=insname@entry=1, p1=p1@entry=0 '\000')
    at c:/Users/new/csound-csound6-git/Engine/linevent.c:454
#2  0x6c511a6b in eventOpcodeI_S (csound=0x410048, p=0x1220a04) at c:/Users/new/csound-csound6-git/Engine/linevent.c:468
#3  0x6c50ff91 in insert (csound=csound@entry=0x410048, insno=insno@entry=3, newevtp=newevtp@entry=0x1200a18)
    at c:/Users/new/csound-csound6-git/Engine/insert.c:261
#4  0x6c513c5d in process_score_event (csound=csound@entry=0x410048, evt=evt@entry=0x1200a18, rtEvt=rtEvt@entry=1)
    at c:/Users/new/csound-csound6-git/Engine/musmon.c:749
#5  0x6c513fd4 in process_rt_event (csound=csound@entry=0x410048, sensType=sensType@entry=4)
    at c:/Users/new/csound-csound6-git/Engine/musmon.c:844
#6  0x6c5152c8 in sensevents (csound=csound@entry=0x410048) at c:/Users/new/csound-csound6-git/Engine/musmon.c:1036
#7  0x6c5ca08d in csoundPerformKsmps (csound=0x410048) at c:/Users/new/csound-csound6-git/Top/csound.c:1589
#8  0x00401e9b in main (argc=2, argv=0x3b16d8) at c:/Users/new/csound-csound6-git/frontends/csound/csound_main.c:140
(gdb) print p
$1 = 0x1223000 <Address 0x1223000 out of bounds>
(gdb)




























































===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Sun, Jun 30, 2013 at 8:19 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
It doesn't crash here, and valgrind has not found any errors. Can you provide a CSD demonstrating the segfault?

On 30 Jun 2013, at 23:52, Michael Gogins wrote:

Sorry, crashes:

[New Thread 7140.0x1cfc]
writing 8192 sample blks of 64-bit floats to dac
SECTION 1:
new alloc for instr rescale_controls:
new alloc for instr start_multiple_long_notes:

Program received signal SIGSEGV, Segmentation fault.
0x6c5157b9 in insert_score_event_at_sample (csound=csound@entry=0x530048, evt=evt@entry=0x28bde8, time_ofs=0)
    at c:/Users/new/csound-csound6-git/Engine/musmon.c:1175
1175          while (n--) { p += strlen(p)+1; };
(gdb)

Regards,
Mike


===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Sun, Jun 30, 2013 at 6:38 PM, Michael Gogins <michael.gogins@gmail.com> wrote:
Thanks for the quick fix!

Regards,
Mike


===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Sun, Jun 30, 2013 at 4:39 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
fixed in GIT.

On 30 Jun 2013, at 21:23, Victor Lazzarini wrote:

Looks like a side-effect of the fixes to the multiple strings in score, because I remember this working before.

Victor
On 30 Jun 2013, at 21:14, Michael Gogins wrote:

Before, alwayson called with a string instrument name in the orchestra header worked, and this is extremely useful for setting up chains of effects, note generators, etc.

Now, alwayson called with a string instrument name fails to instantiate the instrument. Calling alwayson with the instrument number still succeeds.

I have filed an issue in the tracker.

Regards,
Mike

===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev_______________________________________________
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
Victor dot Lazzarini AT nuim dot ie



------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev_______________________________________________
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
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev_______________________________________________
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
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


<i.csd>------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev_______________________________________________
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




Date2013-07-01 08:48
FromVictor Lazzarini
SubjectRe: [Cs-dev] Breaking change in latest git master
AttachmentsNone  None  
Ok, I've modified event_i with string argument to translate early into an instrument number and
that seems to have fixed it. in GIT.

Victor
On 1 Jul 2013, at 08:39, Victor Lazzarini wrote:

The problem does not seem to be with alwayson, but with event_i using strings. Here, it does not crash, but the instrument is not found. If I change the
trombone instrument to a number, it works, and alwayson finds the string instruments, with no crashes.

Victor
On 1 Jul 2013, at 04:00, Michael Gogins wrote:

I did another pull and build, because I saw a second update to signalflowgraph.csd.  Sorry, but it's still crashing in the same way. Here's a bit more info and a csd.

Regards,
Mike

PortAudio V19-devel (built May  4 2013 21:08:34)
   0: dac0 (Microsoft Sound Mapper - Output)
   1: dac1 (Line Out (4- Scarlett 2i4 USB))
   2: dac2 (Speakers (VIA High Definition A)
   3: dac3 (SPDIF Interface (TX0) (VIA High)
   4: dac4 (Primary Sound Driver)
   5: dac5 (Line Out (4- Scarlett 2i4 USB))
   6: dac6 (Speakers (VIA High Definition Audio))
   7: dac7 (SPDIF Interface (TX0) (VIA High Definition Audio))
   8: dac8 (Focusrite USB 2.0 Audio Driver)
   9: dac9 (Speakers (VIA High Definition Audio))
  10: dac10 (Line Out (4- Scarlett 2i4 USB))
  11: dac11 (SPDIF Interface (TX0) (VIA High Definition Audio))
  12: dac12 (SPDIF Out (HD Audio digital out))
  13: dac13 (Speakers (VIA HD Audio Output))
  14: dac14 (Output (Scarlett 2i4 USB))
PortAudio: selected output device 'Line Out (4- Scarlett 2i4 USB)'
[New Thread 3512.0x1748]
[New Thread 3512.0x11cc]
[New Thread 3512.0x1a54]
writing 8192 sample blks of 64-bit floats to dac
SECTION 1:
new alloc for instr rescale_controls:
new alloc for instr start_multiple_long_notes:

Program received signal SIGSEGV, Segmentation fault.
0x6c5157b9 in insert_score_event_at_sample (csound=csound@entry=0x410048, evt=evt@entry=0x28bde8, time_ofs=0)
    at c:/Users/new/csound-csound6-git/Engine/musmon.c:1175
1175          while (n--) { p += strlen(p)+1; };
(gdb) bt
#0  0x6c5157b9 in insert_score_event_at_sample (csound=csound@entry=0x410048, evt=evt@entry=0x28bde8, time_ofs=0)
    at c:/Users/new/csound-csound6-git/Engine/musmon.c:1175
#1  0x6c5118a2 in eventOpcodeI_ (csound=csound@entry=0x410048, p=p@entry=0x1220a04, insname=insname@entry=1, p1=p1@entry=0 '\000')
    at c:/Users/new/csound-csound6-git/Engine/linevent.c:454
#2  0x6c511a6b in eventOpcodeI_S (csound=0x410048, p=0x1220a04) at c:/Users/new/csound-csound6-git/Engine/linevent.c:468
#3  0x6c50ff91 in insert (csound=csound@entry=0x410048, insno=insno@entry=3, newevtp=newevtp@entry=0x1200a18)
    at c:/Users/new/csound-csound6-git/Engine/insert.c:261
#4  0x6c513c5d in process_score_event (csound=csound@entry=0x410048, evt=evt@entry=0x1200a18, rtEvt=rtEvt@entry=1)
    at c:/Users/new/csound-csound6-git/Engine/musmon.c:749
#5  0x6c513fd4 in process_rt_event (csound=csound@entry=0x410048, sensType=sensType@entry=4)
    at c:/Users/new/csound-csound6-git/Engine/musmon.c:844
#6  0x6c5152c8 in sensevents (csound=csound@entry=0x410048) at c:/Users/new/csound-csound6-git/Engine/musmon.c:1036
#7  0x6c5ca08d in csoundPerformKsmps (csound=0x410048) at c:/Users/new/csound-csound6-git/Top/csound.c:1589
#8  0x00401e9b in main (argc=2, argv=0x3b16d8) at c:/Users/new/csound-csound6-git/frontends/csound/csound_main.c:140
(gdb) print p
$1 = 0x1223000 <Address 0x1223000 out of bounds>
(gdb)




























































===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Sun, Jun 30, 2013 at 8:19 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
It doesn't crash here, and valgrind has not found any errors. Can you provide a CSD demonstrating the segfault?

On 30 Jun 2013, at 23:52, Michael Gogins wrote:

Sorry, crashes:

[New Thread 7140.0x1cfc]
writing 8192 sample blks of 64-bit floats to dac
SECTION 1:
new alloc for instr rescale_controls:
new alloc for instr start_multiple_long_notes:

Program received signal SIGSEGV, Segmentation fault.
0x6c5157b9 in insert_score_event_at_sample (csound=csound@entry=0x530048, evt=evt@entry=0x28bde8, time_ofs=0)
    at c:/Users/new/csound-csound6-git/Engine/musmon.c:1175
1175          while (n--) { p += strlen(p)+1; };
(gdb)

Regards,
Mike


===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Sun, Jun 30, 2013 at 6:38 PM, Michael Gogins <michael.gogins@gmail.com> wrote:
Thanks for the quick fix!

Regards,
Mike


===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Sun, Jun 30, 2013 at 4:39 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
fixed in GIT.

On 30 Jun 2013, at 21:23, Victor Lazzarini wrote:

Looks like a side-effect of the fixes to the multiple strings in score, because I remember this working before.

Victor
On 30 Jun 2013, at 21:14, Michael Gogins wrote:

Before, alwayson called with a string instrument name in the orchestra header worked, and this is extremely useful for setting up chains of effects, note generators, etc.

Now, alwayson called with a string instrument name fails to instantiate the instrument. Calling alwayson with the instrument number still succeeds.

I have filed an issue in the tracker.

Regards,
Mike

===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev_______________________________________________
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
Victor dot Lazzarini AT nuim dot ie



------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev_______________________________________________
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
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev_______________________________________________
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
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


<i.csd>------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev_______________________________________________
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



------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev_______________________________________________
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