Csound Csound-dev Csound-tekno Search About

[Cs-dev] Windows build now always crashes

Date2014-08-05 02:41
FromMichael Gogins
Subject[Cs-dev] Windows build now always crashes
AttachmentsNone  None  
Windows 8, MinGW 4.8.3, fresh checkout today. No stack trace available. This is the message:

(gdb) run
Starting program: C:\Program Files (x86)\Csound6\bin\csound.exe
[New Thread 4464.0x1098]
virtual_keyboard real time MIDI plugin for Csound

Program received signal SIGSEGV, Segmentation fault.
0x767322a3 in strchr () from C:\Windows\SysWOW64\msvcrt.dll
(gdb) bt
#0  0x767322a3 in strchr () from C:\Windows\SysWOW64\msvcrt.dll
(gdb)

Pretty much every time I come back to build Csound on Windows after a week or so, the build fails or it succeeds but Csound builds but crashes and has to be debugged.

I am getting tired of this.

Regards,
Mike



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

Date2014-08-05 09:36
FromVictor Lazzarini
SubjectRe: [Cs-dev] Windows build now always crashes
Have the plugins been recompiled? I had a similar problem two days ago when using the latest Csound against an earlier build of
plugins on OSX.


========================
Dr Victor Lazzarini
Senior Lecturer
NUI Maynooth, Ireland
victor dot lazzarini at nuim dot ie




On 5 Aug 2014, at 02:41, Michael Gogins  wrote:

> Windows 8, MinGW 4.8.3, fresh checkout today. No stack trace available. This is the message:
> 
> (gdb) run
> Starting program: C:\Program Files (x86)\Csound6\bin\csound.exe
> [New Thread 4464.0x1098]
> virtual_keyboard real time MIDI plugin for Csound
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x767322a3 in strchr () from C:\Windows\SysWOW64\msvcrt.dll
> (gdb) bt
> #0  0x767322a3 in strchr () from C:\Windows\SysWOW64\msvcrt.dll
> (gdb)
> 
> Pretty much every time I come back to build Csound on Windows after a week or so, the build fails or it succeeds but Csound builds but crashes and has to be debugged.
> 
> I am getting tired of this.
> 
> Regards,
> Mike
> 
> 
> 
> -----------------------------------------------------
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
> ------------------------------------------------------------------------------
> Infragistics Professional
> Build stunning WinForms apps today!
> Reboot your WinForms applications with our WinForms controls. 
> Build a bridge from your legacy apps to the future.
> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk_______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-08-05 10:20
FromMichael Gogins
SubjectRe: [Cs-dev] Windows build now always crashes
AttachmentsNone  None  

Yes. I always do a complete clean and rebuild. However I changed compiler options from -march=nocona to -mtune=pentium4 and have not rebuilt all third party libraries. But this configuration ran on the previous build a week or so ago so I think it is a change in the source code.

Regards,
Mike

On Aug 5, 2014 4:36 AM, "Victor Lazzarini" <Victor.Lazzarini@nuim.ie> wrote:
Have the plugins been recompiled? I had a similar problem two days ago when using the latest Csound against an earlier build of
plugins on OSX.


========================
Dr Victor Lazzarini
Senior Lecturer
NUI Maynooth, Ireland
victor dot lazzarini at nuim dot ie




On 5 Aug 2014, at 02:41, Michael Gogins <michael.gogins@gmail.com> wrote:

> Windows 8, MinGW 4.8.3, fresh checkout today. No stack trace available. This is the message:
>
> (gdb) run
> Starting program: C:\Program Files (x86)\Csound6\bin\csound.exe
> [New Thread 4464.0x1098]
> virtual_keyboard real time MIDI plugin for Csound
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x767322a3 in strchr () from C:\Windows\SysWOW64\msvcrt.dll
> (gdb) bt
> #0  0x767322a3 in strchr () from C:\Windows\SysWOW64\msvcrt.dll
> (gdb)
>
> Pretty much every time I come back to build Csound on Windows after a week or so, the build fails or it succeeds but Csound builds but crashes and has to be debugged.
>
> I am getting tired of this.
>
> Regards,
> Mike
>
>
>
> -----------------------------------------------------
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
> ------------------------------------------------------------------------------
> Infragistics Professional
> Build stunning WinForms apps today!
> Reboot your WinForms applications with our WinForms controls.
> Build a bridge from your legacy apps to the future.
> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk_______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Date2014-08-05 10:25
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] Windows build now always crashes
AttachmentsNone  

Date2014-08-05 13:02
FromMichael Gogins
SubjectRe: [Cs-dev] Windows build now always crashes
AttachmentsNone  None  
Here is a clue for you (what is "L"?):

(gdb)
596         for (m = (csoundModule_t*) csound->csmodule_db; m != NULL; m = m->nxt) {
(gdb)
597           i = csoundInitModule(csound, m);
(gdb) print *m
$9 = {nxt = 0x4b9c90, h = 0x6d780000, PreInitFunc = 0x6d78159c <csoundModuleCreate(CSOUND*)>, fn = {p = {InitFunc = 0x6d781a08 <csoundModuleInit(CSOUND*)>,
      DestFunc = 0x6d781a8f <csoundModuleDestroy(CSOUND*)>, ErrCodeToStr = 0x0}, o = {opcode_init = 0x6d781a08 <csoundModuleInit(CSOUND*)>,
      fgen_init = 0x6d781a8f <csoundModuleDestroy(CSOUND*)>, dummy = 0x0}}, name = "L"}
(gdb) next

Program received signal SIGSEGV, Segmentation fault.
0x767322a3 in strchr () from C:\Windows\SysWOW64\msvcrt.dll
(gdb)

Regards,
Mike




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


On Tue, Aug 5, 2014 at 5:25 AM, <jpff@cs.bath.ac.uk> wrote:
\Steven made some fundamental changes to internal structures which
certainly needed a complete rebuild.  The error you report, clling
strchr, could be anywhere.
Quoting Michael Gogins <michael.gogins@gmail.com>:

> Yes. I always do a complete clean and rebuild. However I changed compiler
> options from -march=nocona to -mtune=pentium4 and have not rebuilt all
> third party libraries. But this configuration ran on the previous build a
> week or so ago so I think it is a change in the source code.
>
> Regards,
> Mike
> On Aug 5, 2014 4:36 AM, "Victor Lazzarini" <Victor.Lazzarini@nuim.ie> wrote:
>
>> Have the plugins been recompiled? I had a similar problem two days ago
>> when using the latest Csound against an earlier build of
>> plugins on OSX.
>>
>>
>> ========================
>> Dr Victor Lazzarini
>> Senior Lecturer
>> NUI Maynooth, Ireland
>> victor dot lazzarini at nuim dot ie
>>
>>
>>
>>
>> On 5 Aug 2014, at 02:41, Michael Gogins <michael.gogins@gmail.com> wrote:
>>
>> > Windows 8, MinGW 4.8.3, fresh checkout today. No stack trace available.
>> This is the message:
>> >
>> > (gdb) run
>> > Starting program: C:\Program Files (x86)\Csound6\bin\csound.exe
>> > [New Thread 4464.0x1098]
>> > virtual_keyboard real time MIDI plugin for Csound
>> >
>> > Program received signal SIGSEGV, Segmentation fault.
>> > 0x767322a3 in strchr () from C:\Windows\SysWOW64\msvcrt.dll
>> > (gdb) bt
>> > #0  0x767322a3 in strchr () from C:\Windows\SysWOW64\msvcrt.dll
>> > (gdb)
>> >
>> > Pretty much every time I come back to build Csound on Windows after a
>> week or so, the build fails or it succeeds but Csound builds but crashes
>> and has to be debugged.
>> >
>> > I am getting tired of this.
>> >
>> > Regards,
>> > Mike
>> >
>> >
>> >
>> > -----------------------------------------------------
>> > Michael Gogins
>> > Irreducible Productions
>> > http://michaelgogins.tumblr.com
>> > Michael dot Gogins at gmail dot com
>> >
>> ------------------------------------------------------------------------------
>> > Infragistics Professional
>> > Build stunning WinForms apps today!
>> > Reboot your WinForms applications with our WinForms controls.
>> > Build a bridge from your legacy apps to the future.
>> >
>> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk_______________________________________________
>> > Csound-devel mailing list
>> > Csound-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Infragistics Professional
>> Build stunning WinForms apps today!
>> Reboot your WinForms applications with our WinForms controls.
>> Build a bridge from your legacy apps to the future.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>




------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


Date2014-08-05 13:29
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] Windows build now always crashes
AttachmentsNone  

Date2014-08-05 13:50
FromMichael Gogins
SubjectRe: [Cs-dev] Windows build now always crashes
AttachmentsNone  None  
Taking a quick look at the manual, I don't see any opcodes starting with "L", so it's either a new opcode, not an opcode, or the memory is not lined up.

Regards,
Mike


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


On Tue, Aug 5, 2014 at 8:29 AM, <jpff@cs.bath.ac.uk> wrote:

Quoting Michael Gogins <michael.gogins@gmail.com>:

> Here is a clue for you (what is "L"?):

L is the first letter of the name in the csoundModule_t structure.
The definition asks for a char[1] which is a common C way of cding a
variable-length structure.  We need to see what is after "L"


>
> (gdb)
> 596         for (m = (csoundModule_t*) csound->csmodule_db; m != NULL; m =
> m->nxt) {
> (gdb)
> 597           i = csoundInitModule(csound, m);
> (gdb) print *m
> $9 = {nxt = 0x4b9c90, h = 0x6d780000, PreInitFunc = 0x6d78159c
> <csoundModuleCreate(CSOUND*)>, fn = {p = {InitFunc = 0x6d781a08
> <csoundModuleInit(CSOUND*)>,
>       DestFunc = 0x6d781a8f <csoundModuleDestroy(CSOUND*)>, ErrCodeToStr =
> 0x0}, o = {opcode_init = 0x6d781a08 <csoundModuleInit(CSOUND*)>,
>       fgen_init = 0x6d781a8f <csoundModuleDestroy(CSOUND*)>, dummy = 0x0}},
> name = "L"}
> (gdb) next
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x767322a3 in strchr () from C:\Windows\SysWOW64\msvcrt.dll
> (gdb)
>
> Regards,
> Mike
>
>
>
>
> -----------------------------------------------------
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com



------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


Date2014-08-05 14:04
FromVictor Lazzarini
SubjectRe: [Cs-dev] Windows build now always crashes
These are library file names (*.dll on Windows, not opcode names). Can you try making sure there are absolutely no plugins (or DLLs) in the
OPCODE6DIR64 path and run Csound. This does look like Csound trying to initialise incompatible opcode.

========================
Dr Victor Lazzarini
Senior Lecturer
NUI Maynooth, Ireland
victor dot lazzarini at nuim dot ie




On 5 Aug 2014, at 13:50, Michael Gogins  wrote:

> Taking a quick look at the manual, I don't see any opcodes starting with "L", so it's either a new opcode, not an opcode, or the memory is not lined up.
> 
> Regards,
> Mike
> 
> 
> -----------------------------------------------------
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
> 
> 
> On Tue, Aug 5, 2014 at 8:29 AM,  wrote:
> 
> Quoting Michael Gogins :
> 
> > Here is a clue for you (what is "L"?):
> 
> L is the first letter of the name in the csoundModule_t structure.
> The definition asks for a char[1] which is a common C way of cding a
> variable-length structure.  We need to see what is after "L"
> 
> 
> >
> > (gdb)
> > 596         for (m = (csoundModule_t*) csound->csmodule_db; m != NULL; m =
> > m->nxt) {
> > (gdb)
> > 597           i = csoundInitModule(csound, m);
> > (gdb) print *m
> > $9 = {nxt = 0x4b9c90, h = 0x6d780000, PreInitFunc = 0x6d78159c
> > , fn = {p = {InitFunc = 0x6d781a08
> > ,
> >       DestFunc = 0x6d781a8f , ErrCodeToStr =
> > 0x0}, o = {opcode_init = 0x6d781a08 ,
> >       fgen_init = 0x6d781a8f , dummy = 0x0}},
> > name = "L"}
> > (gdb) next
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x767322a3 in strchr () from C:\Windows\SysWOW64\msvcrt.dll
> > (gdb)
> >
> > Regards,
> > Mike
> >
> >
> >
> >
> > -----------------------------------------------------
> > Michael Gogins
> > Irreducible Productions
> > http://michaelgogins.tumblr.com
> > Michael dot Gogins at gmail dot com
> 
> 
> 
> ------------------------------------------------------------------------------
> Infragistics Professional
> Build stunning WinForms apps today!
> Reboot your WinForms applications with our WinForms controls.
> Build a bridge from your legacy apps to the future.
> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> ------------------------------------------------------------------------------
> Infragistics Professional
> Build stunning WinForms apps today!
> Reboot your WinForms applications with our WinForms controls. 
> Build a bridge from your legacy apps to the future.
> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk_______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-08-05 14:14
FromMichael Gogins
SubjectRe: [Cs-dev] Windows build now always crashes
AttachmentsNone  None  
This was a fresh installation from a newly built Windows installer, so there should not be any incompatible opcodes. 

I don't think this is the problem because the ONLY change between this failure and the earlier success is changes in the Csound source code.

However, I will try your suggestion anyway this evening.

Regards,
Mike


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


On Tue, Aug 5, 2014 at 9:04 AM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
These are library file names (*.dll on Windows, not opcode names). Can you try making sure there are absolutely no plugins (or DLLs) in the
OPCODE6DIR64 path and run Csound. This does look like Csound trying to initialise incompatible opcode.

========================
Dr Victor Lazzarini
Senior Lecturer
NUI Maynooth, Ireland
victor dot lazzarini at nuim dot ie




On 5 Aug 2014, at 13:50, Michael Gogins <michael.gogins@gmail.com> wrote:

> Taking a quick look at the manual, I don't see any opcodes starting with "L", so it's either a new opcode, not an opcode, or the memory is not lined up.
>
> Regards,
> Mike
>
>
> -----------------------------------------------------
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
>
>
> On Tue, Aug 5, 2014 at 8:29 AM, <jpff@cs.bath.ac.uk> wrote:
>
> Quoting Michael Gogins <michael.gogins@gmail.com>:
>
> > Here is a clue for you (what is "L"?):
>
> L is the first letter of the name in the csoundModule_t structure.
> The definition asks for a char[1] which is a common C way of cding a
> variable-length structure.  We need to see what is after "L"
>
>
> >
> > (gdb)
> > 596         for (m = (csoundModule_t*) csound->csmodule_db; m != NULL; m =
> > m->nxt) {
> > (gdb)
> > 597           i = csoundInitModule(csound, m);
> > (gdb) print *m
> > $9 = {nxt = 0x4b9c90, h = 0x6d780000, PreInitFunc = 0x6d78159c
> > <csoundModuleCreate(CSOUND*)>, fn = {p = {InitFunc = 0x6d781a08
> > <csoundModuleInit(CSOUND*)>,
> >       DestFunc = 0x6d781a8f <csoundModuleDestroy(CSOUND*)>, ErrCodeToStr =
> > 0x0}, o = {opcode_init = 0x6d781a08 <csoundModuleInit(CSOUND*)>,
> >       fgen_init = 0x6d781a8f <csoundModuleDestroy(CSOUND*)>, dummy = 0x0}},
> > name = "L"}
> > (gdb) next
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x767322a3 in strchr () from C:\Windows\SysWOW64\msvcrt.dll
> > (gdb)
> >
> > Regards,
> > Mike
> >
> >
> >
> >
> > -----------------------------------------------------
> > Michael Gogins
> > Irreducible Productions
> > http://michaelgogins.tumblr.com
> > Michael dot Gogins at gmail dot com
>
>
>
> ------------------------------------------------------------------------------
> Infragistics Professional
> Build stunning WinForms apps today!
> Reboot your WinForms applications with our WinForms controls.
> Build a bridge from your legacy apps to the future.
> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> ------------------------------------------------------------------------------
> Infragistics Professional
> Build stunning WinForms apps today!
> Reboot your WinForms applications with our WinForms controls.
> Build a bridge from your legacy apps to the future.
> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk_______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


Date2014-08-05 16:18
FromSteven Yi
SubjectRe: [Cs-dev] Windows build now always crashes
I just built on Windows and set my OPCODE6DIR64 to the location of
where I built.  I had one opcode library that was out of date and it
caused csound to crash on startup.  I deleted that and was able to run
Trapped in realtime.  I'm guessing you have an out-of-date opcode lib
that is incompatible and causing the crash.

(As a sidenote, I'm having problems building the java wrapper on
Windows; I think Oeyvind had mentioned something similiar recently.
It's an error with CsoundMIDIInputBuffer.  I have to move to other
things at the moment, but perhaps others have had this too?)



On Tue, Aug 5, 2014 at 9:14 AM, Michael Gogins  wrote:
> This was a fresh installation from a newly built Windows installer, so there
> should not be any incompatible opcodes.
>
> I don't think this is the problem because the ONLY change between this
> failure and the earlier success is changes in the Csound source code.
>
> However, I will try your suggestion anyway this evening.
>
> Regards,
> Mike
>
>
> -----------------------------------------------------
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
>
>
> On Tue, Aug 5, 2014 at 9:04 AM, Victor Lazzarini 
> wrote:
>>
>> These are library file names (*.dll on Windows, not opcode names). Can you
>> try making sure there are absolutely no plugins (or DLLs) in the
>> OPCODE6DIR64 path and run Csound. This does look like Csound trying to
>> initialise incompatible opcode.
>>
>> ========================
>> Dr Victor Lazzarini
>> Senior Lecturer
>> NUI Maynooth, Ireland
>> victor dot lazzarini at nuim dot ie
>>
>>
>>
>>
>> On 5 Aug 2014, at 13:50, Michael Gogins  wrote:
>>
>> > Taking a quick look at the manual, I don't see any opcodes starting with
>> > "L", so it's either a new opcode, not an opcode, or the memory is not lined
>> > up.
>> >
>> > Regards,
>> > Mike
>> >
>> >
>> > -----------------------------------------------------
>> > Michael Gogins
>> > Irreducible Productions
>> > http://michaelgogins.tumblr.com
>> > Michael dot Gogins at gmail dot com
>> >
>> >
>> > On Tue, Aug 5, 2014 at 8:29 AM,  wrote:
>> >
>> > Quoting Michael Gogins :
>> >
>> > > Here is a clue for you (what is "L"?):
>> >
>> > L is the first letter of the name in the csoundModule_t structure.
>> > The definition asks for a char[1] which is a common C way of cding a
>> > variable-length structure.  We need to see what is after "L"
>> >
>> >
>> > >
>> > > (gdb)
>> > > 596         for (m = (csoundModule_t*) csound->csmodule_db; m != NULL;
>> > > m =
>> > > m->nxt) {
>> > > (gdb)
>> > > 597           i = csoundInitModule(csound, m);
>> > > (gdb) print *m
>> > > $9 = {nxt = 0x4b9c90, h = 0x6d780000, PreInitFunc = 0x6d78159c
>> > > , fn = {p = {InitFunc = 0x6d781a08
>> > > ,
>> > >       DestFunc = 0x6d781a8f ,
>> > > ErrCodeToStr =
>> > > 0x0}, o = {opcode_init = 0x6d781a08 ,
>> > >       fgen_init = 0x6d781a8f , dummy =
>> > > 0x0}},
>> > > name = "L"}
>> > > (gdb) next
>> > >
>> > > Program received signal SIGSEGV, Segmentation fault.
>> > > 0x767322a3 in strchr () from C:\Windows\SysWOW64\msvcrt.dll
>> > > (gdb)
>> > >
>> > > Regards,
>> > > Mike
>> > >
>> > >
>> > >
>> > >
>> > > -----------------------------------------------------
>> > > Michael Gogins
>> > > Irreducible Productions
>> > > http://michaelgogins.tumblr.com
>> > > Michael dot Gogins at gmail dot com
>> >
>> >
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > Infragistics Professional
>> > Build stunning WinForms apps today!
>> > Reboot your WinForms applications with our WinForms controls.
>> > Build a bridge from your legacy apps to the future.
>> >
>> > http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
>> > _______________________________________________
>> > Csound-devel mailing list
>> > Csound-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > Infragistics Professional
>> > Build stunning WinForms apps today!
>> > Reboot your WinForms applications with our WinForms controls.
>> > Build a bridge from your legacy apps to the future.
>> >
>> > http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk_______________________________________________
>> > Csound-devel mailing list
>> > Csound-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Infragistics Professional
>> Build stunning WinForms apps today!
>> Reboot your WinForms applications with our WinForms controls.
>> Build a bridge from your legacy apps to the future.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
> ------------------------------------------------------------------------------
> Infragistics Professional
> Build stunning WinForms apps today!
> Reboot your WinForms applications with our WinForms controls.
> Build a bridge from your legacy apps to the future.
> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-08-05 20:21
FromVictor Lazzarini
SubjectRe: [Cs-dev] Windows build now always crashes
Hi Steven,

you will need to rename one of the symbols in that class, because it clashes with a Windows
API function or something.

========================
Dr Victor Lazzarini
Senior Lecturer
NUI Maynooth, Ireland
victor dot lazzarini at nuim dot ie




On 5 Aug 2014, at 16:18, Steven Yi  wrote:

> I just built on Windows and set my OPCODE6DIR64 to the location of
> where I built.  I had one opcode library that was out of date and it
> caused csound to crash on startup.  I deleted that and was able to run
> Trapped in realtime.  I'm guessing you have an out-of-date opcode lib
> that is incompatible and causing the crash.
> 
> (As a sidenote, I'm having problems building the java wrapper on
> Windows; I think Oeyvind had mentioned something similiar recently.
> It's an error with CsoundMIDIInputBuffer.  I have to move to other
> things at the moment, but perhaps others have had this too?)
> 
> 
> 
> On Tue, Aug 5, 2014 at 9:14 AM, Michael Gogins  wrote:
>> This was a fresh installation from a newly built Windows installer, so there
>> should not be any incompatible opcodes.
>> 
>> I don't think this is the problem because the ONLY change between this
>> failure and the earlier success is changes in the Csound source code.
>> 
>> However, I will try your suggestion anyway this evening.
>> 
>> Regards,
>> Mike
>> 
>> 
>> -----------------------------------------------------
>> Michael Gogins
>> Irreducible Productions
>> http://michaelgogins.tumblr.com
>> Michael dot Gogins at gmail dot com
>> 
>> 
>> On Tue, Aug 5, 2014 at 9:04 AM, Victor Lazzarini 
>> wrote:
>>> 
>>> These are library file names (*.dll on Windows, not opcode names). Can you
>>> try making sure there are absolutely no plugins (or DLLs) in the
>>> OPCODE6DIR64 path and run Csound. This does look like Csound trying to
>>> initialise incompatible opcode.
>>> 
>>> ========================
>>> Dr Victor Lazzarini
>>> Senior Lecturer
>>> NUI Maynooth, Ireland
>>> victor dot lazzarini at nuim dot ie
>>> 
>>> 
>>> 
>>> 
>>> On 5 Aug 2014, at 13:50, Michael Gogins  wrote:
>>> 
>>>> Taking a quick look at the manual, I don't see any opcodes starting with
>>>> "L", so it's either a new opcode, not an opcode, or the memory is not lined
>>>> up.
>>>> 
>>>> Regards,
>>>> Mike
>>>> 
>>>> 
>>>> -----------------------------------------------------
>>>> Michael Gogins
>>>> Irreducible Productions
>>>> http://michaelgogins.tumblr.com
>>>> Michael dot Gogins at gmail dot com
>>>> 
>>>> 
>>>> On Tue, Aug 5, 2014 at 8:29 AM,  wrote:
>>>> 
>>>> Quoting Michael Gogins :
>>>> 
>>>>> Here is a clue for you (what is "L"?):
>>>> 
>>>> L is the first letter of the name in the csoundModule_t structure.
>>>> The definition asks for a char[1] which is a common C way of cding a
>>>> variable-length structure.  We need to see what is after "L"
>>>> 
>>>> 
>>>>> 
>>>>> (gdb)
>>>>> 596         for (m = (csoundModule_t*) csound->csmodule_db; m != NULL;
>>>>> m =
>>>>> m->nxt) {
>>>>> (gdb)
>>>>> 597           i = csoundInitModule(csound, m);
>>>>> (gdb) print *m
>>>>> $9 = {nxt = 0x4b9c90, h = 0x6d780000, PreInitFunc = 0x6d78159c
>>>>> , fn = {p = {InitFunc = 0x6d781a08
>>>>> ,
>>>>>      DestFunc = 0x6d781a8f ,
>>>>> ErrCodeToStr =
>>>>> 0x0}, o = {opcode_init = 0x6d781a08 ,
>>>>>      fgen_init = 0x6d781a8f , dummy =
>>>>> 0x0}},
>>>>> name = "L"}
>>>>> (gdb) next
>>>>> 
>>>>> Program received signal SIGSEGV, Segmentation fault.
>>>>> 0x767322a3 in strchr () from C:\Windows\SysWOW64\msvcrt.dll
>>>>> (gdb)
>>>>> 
>>>>> Regards,
>>>>> Mike
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> -----------------------------------------------------
>>>>> Michael Gogins
>>>>> Irreducible Productions
>>>>> http://michaelgogins.tumblr.com
>>>>> Michael dot Gogins at gmail dot com
>>>> 
>>>> 
>>>> 
>>>> 
>>>> ------------------------------------------------------------------------------
>>>> Infragistics Professional
>>>> Build stunning WinForms apps today!
>>>> Reboot your WinForms applications with our WinForms controls.
>>>> Build a bridge from your legacy apps to the future.
>>>> 
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>> 
>>>> 
>>>> ------------------------------------------------------------------------------
>>>> Infragistics Professional
>>>> Build stunning WinForms apps today!
>>>> Reboot your WinForms applications with our WinForms controls.
>>>> Build a bridge from your legacy apps to the future.
>>>> 
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk_______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> 
>>> 
>>> 
>>> ------------------------------------------------------------------------------
>>> Infragistics Professional
>>> Build stunning WinForms apps today!
>>> Reboot your WinForms applications with our WinForms controls.
>>> Build a bridge from your legacy apps to the future.
>>> 
>>> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> 
>> 
>> 
>> ------------------------------------------------------------------------------
>> Infragistics Professional
>> Build stunning WinForms apps today!
>> Reboot your WinForms applications with our WinForms controls.
>> Build a bridge from your legacy apps to the future.
>> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> 
> 
> ------------------------------------------------------------------------------
> Infragistics Professional
> Build stunning WinForms apps today!
> Reboot your WinForms applications with our WinForms controls. 
> Build a bridge from your legacy apps to the future.
> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-08-05 20:55
FromVictor Lazzarini
SubjectRe: [Cs-dev] Windows build now always crashes
The symbol that need to be changed is ‘SendMessage’, if you rename all instances of it in that class to
say, SendMidiMessage, it should fix it.
========================
Dr Victor Lazzarini
Senior Lecturer
NUI Maynooth, Ireland
victor dot lazzarini at nuim dot ie




On 5 Aug 2014, at 20:21, Victor Lazzarini  wrote:

> Hi Steven,
> 
> you will need to rename one of the symbols in that class, because it clashes with a Windows
> API function or something.
> 
> ========================
> Dr Victor Lazzarini
> Senior Lecturer
> NUI Maynooth, Ireland
> victor dot lazzarini at nuim dot ie
> 
> 
> 
> 
> On 5 Aug 2014, at 16:18, Steven Yi  wrote:
> 
>> I just built on Windows and set my OPCODE6DIR64 to the location of
>> where I built.  I had one opcode library that was out of date and it
>> caused csound to crash on startup.  I deleted that and was able to run
>> Trapped in realtime.  I'm guessing you have an out-of-date opcode lib
>> that is incompatible and causing the crash.
>> 
>> (As a sidenote, I'm having problems building the java wrapper on
>> Windows; I think Oeyvind had mentioned something similiar recently.
>> It's an error with CsoundMIDIInputBuffer.  I have to move to other
>> things at the moment, but perhaps others have had this too?)
>> 
>> 
>> 
>> On Tue, Aug 5, 2014 at 9:14 AM, Michael Gogins  wrote:
>>> This was a fresh installation from a newly built Windows installer, so there
>>> should not be any incompatible opcodes.
>>> 
>>> I don't think this is the problem because the ONLY change between this
>>> failure and the earlier success is changes in the Csound source code.
>>> 
>>> However, I will try your suggestion anyway this evening.
>>> 
>>> Regards,
>>> Mike
>>> 
>>> 
>>> -----------------------------------------------------
>>> Michael Gogins
>>> Irreducible Productions
>>> http://michaelgogins.tumblr.com
>>> Michael dot Gogins at gmail dot com
>>> 
>>> 
>>> On Tue, Aug 5, 2014 at 9:04 AM, Victor Lazzarini 
>>> wrote:
>>>> 
>>>> These are library file names (*.dll on Windows, not opcode names). Can you
>>>> try making sure there are absolutely no plugins (or DLLs) in the
>>>> OPCODE6DIR64 path and run Csound. This does look like Csound trying to
>>>> initialise incompatible opcode.
>>>> 
>>>> ========================
>>>> Dr Victor Lazzarini
>>>> Senior Lecturer
>>>> NUI Maynooth, Ireland
>>>> victor dot lazzarini at nuim dot ie
>>>> 
>>>> 
>>>> 
>>>> 
>>>> On 5 Aug 2014, at 13:50, Michael Gogins  wrote:
>>>> 
>>>>> Taking a quick look at the manual, I don't see any opcodes starting with
>>>>> "L", so it's either a new opcode, not an opcode, or the memory is not lined
>>>>> up.
>>>>> 
>>>>> Regards,
>>>>> Mike
>>>>> 
>>>>> 
>>>>> -----------------------------------------------------
>>>>> Michael Gogins
>>>>> Irreducible Productions
>>>>> http://michaelgogins.tumblr.com
>>>>> Michael dot Gogins at gmail dot com
>>>>> 
>>>>> 
>>>>> On Tue, Aug 5, 2014 at 8:29 AM,  wrote:
>>>>> 
>>>>> Quoting Michael Gogins :
>>>>> 
>>>>>> Here is a clue for you (what is "L"?):
>>>>> 
>>>>> L is the first letter of the name in the csoundModule_t structure.
>>>>> The definition asks for a char[1] which is a common C way of cding a
>>>>> variable-length structure.  We need to see what is after "L"
>>>>> 
>>>>> 
>>>>>> 
>>>>>> (gdb)
>>>>>> 596         for (m = (csoundModule_t*) csound->csmodule_db; m != NULL;
>>>>>> m =
>>>>>> m->nxt) {
>>>>>> (gdb)
>>>>>> 597           i = csoundInitModule(csound, m);
>>>>>> (gdb) print *m
>>>>>> $9 = {nxt = 0x4b9c90, h = 0x6d780000, PreInitFunc = 0x6d78159c
>>>>>> , fn = {p = {InitFunc = 0x6d781a08
>>>>>> ,
>>>>>>     DestFunc = 0x6d781a8f ,
>>>>>> ErrCodeToStr =
>>>>>> 0x0}, o = {opcode_init = 0x6d781a08 ,
>>>>>>     fgen_init = 0x6d781a8f , dummy =
>>>>>> 0x0}},
>>>>>> name = "L"}
>>>>>> (gdb) next
>>>>>> 
>>>>>> Program received signal SIGSEGV, Segmentation fault.
>>>>>> 0x767322a3 in strchr () from C:\Windows\SysWOW64\msvcrt.dll
>>>>>> (gdb)
>>>>>> 
>>>>>> Regards,
>>>>>> Mike
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> -----------------------------------------------------
>>>>>> Michael Gogins
>>>>>> Irreducible Productions
>>>>>> http://michaelgogins.tumblr.com
>>>>>> Michael dot Gogins at gmail dot com
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> ------------------------------------------------------------------------------
>>>>> Infragistics Professional
>>>>> Build stunning WinForms apps today!
>>>>> Reboot your WinForms applications with our WinForms controls.
>>>>> Build a bridge from your legacy apps to the future.
>>>>> 
>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>> 
>>>>> 
>>>>> ------------------------------------------------------------------------------
>>>>> Infragistics Professional
>>>>> Build stunning WinForms apps today!
>>>>> Reboot your WinForms applications with our WinForms controls.
>>>>> Build a bridge from your legacy apps to the future.
>>>>> 
>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk_______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>> 
>>>> 
>>>> 
>>>> ------------------------------------------------------------------------------
>>>> Infragistics Professional
>>>> Build stunning WinForms apps today!
>>>> Reboot your WinForms applications with our WinForms controls.
>>>> Build a bridge from your legacy apps to the future.
>>>> 
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> 
>>> 
>>> 
>>> ------------------------------------------------------------------------------
>>> Infragistics Professional
>>> Build stunning WinForms apps today!
>>> Reboot your WinForms applications with our WinForms controls.
>>> Build a bridge from your legacy apps to the future.
>>> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> 
>> 
>> ------------------------------------------------------------------------------
>> Infragistics Professional
>> Build stunning WinForms apps today!
>> Reboot your WinForms applications with our WinForms controls. 
>> Build a bridge from your legacy apps to the future.
>> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> 
> ------------------------------------------------------------------------------
> Infragistics Professional
> Build stunning WinForms apps today!
> Reboot your WinForms applications with our WinForms controls. 
> Build a bridge from your legacy apps to the future.
> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-08-05 21:36
FromMichael Gogins
SubjectRe: [Cs-dev] Windows build now always crashes
AttachmentsNone  None  
This happened before.

Regards,
Miker


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


On Tue, Aug 5, 2014 at 3:55 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
The symbol that need to be changed is ‘SendMessage’, if you rename all instances of it in that class to
say, SendMidiMessage, it should fix it.
========================
Dr Victor Lazzarini
Senior Lecturer
NUI Maynooth, Ireland
victor dot lazzarini at nuim dot ie




On 5 Aug 2014, at 20:21, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:

> Hi Steven,
>
> you will need to rename one of the symbols in that class, because it clashes with a Windows
> API function or something.
>
> ========================
> Dr Victor Lazzarini
> Senior Lecturer
> NUI Maynooth, Ireland
> victor dot lazzarini at nuim dot ie
>
>
>
>
> On 5 Aug 2014, at 16:18, Steven Yi <stevenyi@gmail.com> wrote:
>
>> I just built on Windows and set my OPCODE6DIR64 to the location of
>> where I built.  I had one opcode library that was out of date and it
>> caused csound to crash on startup.  I deleted that and was able to run
>> Trapped in realtime.  I'm guessing you have an out-of-date opcode lib
>> that is incompatible and causing the crash.
>>
>> (As a sidenote, I'm having problems building the java wrapper on
>> Windows; I think Oeyvind had mentioned something similiar recently.
>> It's an error with CsoundMIDIInputBuffer.  I have to move to other
>> things at the moment, but perhaps others have had this too?)
>>
>>
>>
>> On Tue, Aug 5, 2014 at 9:14 AM, Michael Gogins <michael.gogins@gmail.com> wrote:
>>> This was a fresh installation from a newly built Windows installer, so there
>>> should not be any incompatible opcodes.
>>>
>>> I don't think this is the problem because the ONLY change between this
>>> failure and the earlier success is changes in the Csound source code.
>>>
>>> However, I will try your suggestion anyway this evening.
>>>
>>> Regards,
>>> Mike
>>>
>>>
>>> -----------------------------------------------------
>>> Michael Gogins
>>> Irreducible Productions
>>> http://michaelgogins.tumblr.com
>>> Michael dot Gogins at gmail dot com
>>>
>>>
>>> On Tue, Aug 5, 2014 at 9:04 AM, Victor Lazzarini <Victor.Lazzarini@nuim.ie>
>>> wrote:
>>>>
>>>> These are library file names (*.dll on Windows, not opcode names). Can you
>>>> try making sure there are absolutely no plugins (or DLLs) in the
>>>> OPCODE6DIR64 path and run Csound. This does look like Csound trying to
>>>> initialise incompatible opcode.
>>>>
>>>> ========================
>>>> Dr Victor Lazzarini
>>>> Senior Lecturer
>>>> NUI Maynooth, Ireland
>>>> victor dot lazzarini at nuim dot ie
>>>>
>>>>
>>>>
>>>>
>>>> On 5 Aug 2014, at 13:50, Michael Gogins <michael.gogins@gmail.com> wrote:
>>>>
>>>>> Taking a quick look at the manual, I don't see any opcodes starting with
>>>>> "L", so it's either a new opcode, not an opcode, or the memory is not lined
>>>>> up.
>>>>>
>>>>> Regards,
>>>>> Mike
>>>>>
>>>>>
>>>>> -----------------------------------------------------
>>>>> Michael Gogins
>>>>> Irreducible Productions
>>>>> http://michaelgogins.tumblr.com
>>>>> Michael dot Gogins at gmail dot com
>>>>>
>>>>>
>>>>> On Tue, Aug 5, 2014 at 8:29 AM, <jpff@cs.bath.ac.uk> wrote:
>>>>>
>>>>> Quoting Michael Gogins <michael.gogins@gmail.com>:
>>>>>
>>>>>> Here is a clue for you (what is "L"?):
>>>>>
>>>>> L is the first letter of the name in the csoundModule_t structure.
>>>>> The definition asks for a char[1] which is a common C way of cding a
>>>>> variable-length structure.  We need to see what is after "L"
>>>>>
>>>>>
>>>>>>
>>>>>> (gdb)
>>>>>> 596         for (m = (csoundModule_t*) csound->csmodule_db; m != NULL;
>>>>>> m =
>>>>>> m->nxt) {
>>>>>> (gdb)
>>>>>> 597           i = csoundInitModule(csound, m);
>>>>>> (gdb) print *m
>>>>>> $9 = {nxt = 0x4b9c90, h = 0x6d780000, PreInitFunc = 0x6d78159c
>>>>>> <csoundModuleCreate(CSOUND*)>, fn = {p = {InitFunc = 0x6d781a08
>>>>>> <csoundModuleInit(CSOUND*)>,
>>>>>>     DestFunc = 0x6d781a8f <csoundModuleDestroy(CSOUND*)>,
>>>>>> ErrCodeToStr =
>>>>>> 0x0}, o = {opcode_init = 0x6d781a08 <csoundModuleInit(CSOUND*)>,
>>>>>>     fgen_init = 0x6d781a8f <csoundModuleDestroy(CSOUND*)>, dummy =
>>>>>> 0x0}},
>>>>>> name = "L"}
>>>>>> (gdb) next
>>>>>>
>>>>>> Program received signal SIGSEGV, Segmentation fault.
>>>>>> 0x767322a3 in strchr () from C:\Windows\SysWOW64\msvcrt.dll
>>>>>> (gdb)
>>>>>>
>>>>>> Regards,
>>>>>> Mike
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> -----------------------------------------------------
>>>>>> Michael Gogins
>>>>>> Irreducible Productions
>>>>>> http://michaelgogins.tumblr.com
>>>>>> Michael dot Gogins at gmail dot com
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Infragistics Professional
>>>>> Build stunning WinForms apps today!
>>>>> Reboot your WinForms applications with our WinForms controls.
>>>>> Build a bridge from your legacy apps to the future.
>>>>>
>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Infragistics Professional
>>>>> Build stunning WinForms apps today!
>>>>> Reboot your WinForms applications with our WinForms controls.
>>>>> Build a bridge from your legacy apps to the future.
>>>>>
>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk_______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Infragistics Professional
>>>> Build stunning WinForms apps today!
>>>> Reboot your WinForms applications with our WinForms controls.
>>>> Build a bridge from your legacy apps to the future.
>>>>
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Infragistics Professional
>>> Build stunning WinForms apps today!
>>> Reboot your WinForms applications with our WinForms controls.
>>> Build a bridge from your legacy apps to the future.
>>> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>> ------------------------------------------------------------------------------
>> Infragistics Professional
>> Build stunning WinForms apps today!
>> Reboot your WinForms applications with our WinForms controls.
>> Build a bridge from your legacy apps to the future.
>> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> Infragistics Professional
> Build stunning WinForms apps today!
> Reboot your WinForms applications with our WinForms controls.
> Build a bridge from your legacy apps to the future.
> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


Date2014-08-05 23:10
FromSteven Yi
SubjectRe: [Cs-dev] Windows build now always crashes
I modified to SendMidiMessage in interfaces/cs_glue.hpp and the .cpp
file too (committed to GIT).  That all now compiles fine on Windows.
It's an API breakage, but I don't know if anyone uses that stuff
anyways. How that's been in the codebase without it being changed
before I have no ideas, but hopefully should be fixed for everyone
now.

On Tue, Aug 5, 2014 at 3:55 PM, Victor Lazzarini
 wrote:
> The symbol that need to be changed is ‘SendMessage’, if you rename all instances of it in that class to
> say, SendMidiMessage, it should fix it.
> ========================
> Dr Victor Lazzarini
> Senior Lecturer
> NUI Maynooth, Ireland
> victor dot lazzarini at nuim dot ie
>
>
>
>
> On 5 Aug 2014, at 20:21, Victor Lazzarini  wrote:
>
>> Hi Steven,
>>
>> you will need to rename one of the symbols in that class, because it clashes with a Windows
>> API function or something.
>>
>> ========================
>> Dr Victor Lazzarini
>> Senior Lecturer
>> NUI Maynooth, Ireland
>> victor dot lazzarini at nuim dot ie
>>
>>
>>
>>
>> On 5 Aug 2014, at 16:18, Steven Yi  wrote:
>>
>>> I just built on Windows and set my OPCODE6DIR64 to the location of
>>> where I built.  I had one opcode library that was out of date and it
>>> caused csound to crash on startup.  I deleted that and was able to run
>>> Trapped in realtime.  I'm guessing you have an out-of-date opcode lib
>>> that is incompatible and causing the crash.
>>>
>>> (As a sidenote, I'm having problems building the java wrapper on
>>> Windows; I think Oeyvind had mentioned something similiar recently.
>>> It's an error with CsoundMIDIInputBuffer.  I have to move to other
>>> things at the moment, but perhaps others have had this too?)
>>>
>>>
>>>
>>> On Tue, Aug 5, 2014 at 9:14 AM, Michael Gogins  wrote:
>>>> This was a fresh installation from a newly built Windows installer, so there
>>>> should not be any incompatible opcodes.
>>>>
>>>> I don't think this is the problem because the ONLY change between this
>>>> failure and the earlier success is changes in the Csound source code.
>>>>
>>>> However, I will try your suggestion anyway this evening.
>>>>
>>>> Regards,
>>>> Mike
>>>>
>>>>
>>>> -----------------------------------------------------
>>>> Michael Gogins
>>>> Irreducible Productions
>>>> http://michaelgogins.tumblr.com
>>>> Michael dot Gogins at gmail dot com
>>>>
>>>>
>>>> On Tue, Aug 5, 2014 at 9:04 AM, Victor Lazzarini 
>>>> wrote:
>>>>>
>>>>> These are library file names (*.dll on Windows, not opcode names). Can you
>>>>> try making sure there are absolutely no plugins (or DLLs) in the
>>>>> OPCODE6DIR64 path and run Csound. This does look like Csound trying to
>>>>> initialise incompatible opcode.
>>>>>
>>>>> ========================
>>>>> Dr Victor Lazzarini
>>>>> Senior Lecturer
>>>>> NUI Maynooth, Ireland
>>>>> victor dot lazzarini at nuim dot ie
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On 5 Aug 2014, at 13:50, Michael Gogins  wrote:
>>>>>
>>>>>> Taking a quick look at the manual, I don't see any opcodes starting with
>>>>>> "L", so it's either a new opcode, not an opcode, or the memory is not lined
>>>>>> up.
>>>>>>
>>>>>> Regards,
>>>>>> Mike
>>>>>>
>>>>>>
>>>>>> -----------------------------------------------------
>>>>>> Michael Gogins
>>>>>> Irreducible Productions
>>>>>> http://michaelgogins.tumblr.com
>>>>>> Michael dot Gogins at gmail dot com
>>>>>>
>>>>>>
>>>>>> On Tue, Aug 5, 2014 at 8:29 AM,  wrote:
>>>>>>
>>>>>> Quoting Michael Gogins :
>>>>>>
>>>>>>> Here is a clue for you (what is "L"?):
>>>>>>
>>>>>> L is the first letter of the name in the csoundModule_t structure.
>>>>>> The definition asks for a char[1] which is a common C way of cding a
>>>>>> variable-length structure.  We need to see what is after "L"
>>>>>>
>>>>>>
>>>>>>>
>>>>>>> (gdb)
>>>>>>> 596         for (m = (csoundModule_t*) csound->csmodule_db; m != NULL;
>>>>>>> m =
>>>>>>> m->nxt) {
>>>>>>> (gdb)
>>>>>>> 597           i = csoundInitModule(csound, m);
>>>>>>> (gdb) print *m
>>>>>>> $9 = {nxt = 0x4b9c90, h = 0x6d780000, PreInitFunc = 0x6d78159c
>>>>>>> , fn = {p = {InitFunc = 0x6d781a08
>>>>>>> ,
>>>>>>>     DestFunc = 0x6d781a8f ,
>>>>>>> ErrCodeToStr =
>>>>>>> 0x0}, o = {opcode_init = 0x6d781a08 ,
>>>>>>>     fgen_init = 0x6d781a8f , dummy =
>>>>>>> 0x0}},
>>>>>>> name = "L"}
>>>>>>> (gdb) next
>>>>>>>
>>>>>>> Program received signal SIGSEGV, Segmentation fault.
>>>>>>> 0x767322a3 in strchr () from C:\Windows\SysWOW64\msvcrt.dll
>>>>>>> (gdb)
>>>>>>>
>>>>>>> Regards,
>>>>>>> Mike
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> -----------------------------------------------------
>>>>>>> Michael Gogins
>>>>>>> Irreducible Productions
>>>>>>> http://michaelgogins.tumblr.com
>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Infragistics Professional
>>>>>> Build stunning WinForms apps today!
>>>>>> Reboot your WinForms applications with our WinForms controls.
>>>>>> Build a bridge from your legacy apps to the future.
>>>>>>
>>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Infragistics Professional
>>>>>> Build stunning WinForms apps today!
>>>>>> Reboot your WinForms applications with our WinForms controls.
>>>>>> Build a bridge from your legacy apps to the future.
>>>>>>
>>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk_______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Infragistics Professional
>>>>> Build stunning WinForms apps today!
>>>>> Reboot your WinForms applications with our WinForms controls.
>>>>> Build a bridge from your legacy apps to the future.
>>>>>
>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Infragistics Professional
>>>> Build stunning WinForms apps today!
>>>> Reboot your WinForms applications with our WinForms controls.
>>>> Build a bridge from your legacy apps to the future.
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Infragistics Professional
>>> Build stunning WinForms apps today!
>>> Reboot your WinForms applications with our WinForms controls.
>>> Build a bridge from your legacy apps to the future.
>>> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> ------------------------------------------------------------------------------
>> Infragistics Professional
>> Build stunning WinForms apps today!
>> Reboot your WinForms applications with our WinForms controls.
>> Build a bridge from your legacy apps to the future.
>> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> Infragistics Professional
> Build stunning WinForms apps today!
> Reboot your WinForms applications with our WinForms controls.
> Build a bridge from your legacy apps to the future.
> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sou