Csound Csound-dev Csound-tekno Search About

[Cs-dev] Bad bug

Date2012-03-28 11:54
FromMichael Gogins
Subject[Cs-dev] Bad bug
Program received signal SIGSEGV, Segmentation fault.
0xb7137eac in csoundModuleCreate (csound=0x804c868) at InOut/rtjack.c:914
914	    if (csound->oparms->msglevel & 0x400)
(gdb) print csound->oparms
$1 = (OPARMS *) 0x0
(gdb) bt
#0  0xb7137eac in csoundModuleCreate (csound=0x804c868) at InOut/rtjack.c:914
#1  0xb7e4ee1c in csoundLoadExternal () from /usr/local/lib/libcsound64.so.5.2
#2  0xb7e4f70c in csoundLoadModules () from /usr/local/lib/libcsound64.so.5.2
#3  0xb7e52295 in csoundPreCompile () from /usr/local/lib/libcsound64.so.5.2
#4  0xb7e531b5 in csoundCompile () from /usr/local/lib/libcsound64.so.5.2
#5  0x08048dc2 in main (argc=2, argv=0xbffff1b4) at
frontends/csound/csound_main.c:136

Regards,
Mike

-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-03-28 11:57
FromMichael Gogins
SubjectRe: [Cs-dev] Bad bug
P.S.: Not just rtjack but others as well.

On Wed, Mar 28, 2012 at 6:54 AM, Michael Gogins
 wrote:
> Program received signal SIGSEGV, Segmentation fault.
> 0xb7137eac in csoundModuleCreate (csound=0x804c868) at InOut/rtjack.c:914
> 914         if (csound->oparms->msglevel & 0x400)
> (gdb) print csound->oparms
> $1 = (OPARMS *) 0x0
> (gdb) bt
> #0  0xb7137eac in csoundModuleCreate (csound=0x804c868) at InOut/rtjack.c:914
> #1  0xb7e4ee1c in csoundLoadExternal () from /usr/local/lib/libcsound64.so.5.2
> #2  0xb7e4f70c in csoundLoadModules () from /usr/local/lib/libcsound64.so.5.2
> #3  0xb7e52295 in csoundPreCompile () from /usr/local/lib/libcsound64.so.5.2
> #4  0xb7e531b5 in csoundCompile () from /usr/local/lib/libcsound64.so.5.2
> #5  0x08048dc2 in main (argc=2, argv=0xbffff1b4) at
> frontends/csound/csound_main.c:136
>
> Regards,
> Mike
>
> --
> Michael Gogins
> Irreducible Productions
> http://www.michael-gogins.com
> Michael dot Gogins at gmail dot com



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-03-28 12:10
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] Bad bug
When did this start?  i have not seen anything odd here

==John

> Program received signal SIGSEGV, Segmentation fault.
> 0xb7137eac in csoundModuleCreate (csound=0x804c868) at InOut/rtjack.c:914
> 914	    if (csound->oparms->msglevel & 0x400)
> (gdb) print csound->oparms
> $1 = (OPARMS *) 0x0
> (gdb) bt
> #0  0xb7137eac in csoundModuleCreate (csound=0x804c868) at
> InOut/rtjack.c:914
> #1  0xb7e4ee1c in csoundLoadExternal () from
> /usr/local/lib/libcsound64.so.5.2
> #2  0xb7e4f70c in csoundLoadModules () from
> /usr/local/lib/libcsound64.so.5.2
> #3  0xb7e52295 in csoundPreCompile () from
> /usr/local/lib/libcsound64.so.5.2
> #4  0xb7e531b5 in csoundCompile () from /usr/local/lib/libcsound64.so.5.2
> #5  0x08048dc2 in main (argc=2, argv=0xbffff1b4) at
> frontends/csound/csound_main.c:136
>
> Regards,
> Mike
>
> --
> Michael Gogins
> Irreducible Productions
> http://www.michael-gogins.com
> Michael dot Gogins at gmail dot com
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>



------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-03-28 12:18
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] Bad bug
csound->oparms is set in Top/csound.c

Are you driving from some other code that is in error?

> Program received signal SIGSEGV, Segmentation fault.
> 0xb7137eac in csoundModuleCreate (csound=0x804c868) at InOut/rtjack.c:914
> 914	    if (csound->oparms->msglevel & 0x400)
> (gdb) print csound->oparms
> $1 = (OPARMS *) 0x0
> (gdb) bt
> #0  0xb7137eac in csoundModuleCreate (csound=0x804c868) at
> InOut/rtjack.c:914
> #1  0xb7e4ee1c in csoundLoadExternal () from
> /usr/local/lib/libcsound64.so.5.2
> #2  0xb7e4f70c in csoundLoadModules () from
> /usr/local/lib/libcsound64.so.5.2
> #3  0xb7e52295 in csoundPreCompile () from
> /usr/local/lib/libcsound64.so.5.2
> #4  0xb7e531b5 in csoundCompile () from /usr/local/lib/libcsound64.so.5.2
> #5  0x08048dc2 in main (argc=2, argv=0xbffff1b4) at
> frontends/csound/csound_main.c:136
>
> Regards,
> Mike
>
> --
> Michael Gogins
> Irreducible Productions
> http://www.michael-gogins.com
> Michael dot Gogins at gmail dot com
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>



------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-03-28 12:19
FromMichael Gogins
SubjectRe: [Cs-dev] Bad bug
First saw it on a git pull, cleanup, scons this morning.

Also, directory frontends/csbeats seems to have been changed to
frontends/beats without changing SConstruct or CMakeLists.txt. I
changed SConstruct but not CMakeLists.txt.

Regards,
Mike

On Wed, Mar 28, 2012 at 7:10 AM,   wrote:
> When did this start?  i have not seen anything odd here
>
> ==John
>
>> Program received signal SIGSEGV, Segmentation fault.
>> 0xb7137eac in csoundModuleCreate (csound=0x804c868) at InOut/rtjack.c:914
>> 914       if (csound->oparms->msglevel & 0x400)
>> (gdb) print csound->oparms
>> $1 = (OPARMS *) 0x0
>> (gdb) bt
>> #0  0xb7137eac in csoundModuleCreate (csound=0x804c868) at
>> InOut/rtjack.c:914
>> #1  0xb7e4ee1c in csoundLoadExternal () from
>> /usr/local/lib/libcsound64.so.5.2
>> #2  0xb7e4f70c in csoundLoadModules () from
>> /usr/local/lib/libcsound64.so.5.2
>> #3  0xb7e52295 in csoundPreCompile () from
>> /usr/local/lib/libcsound64.so.5.2
>> #4  0xb7e531b5 in csoundCompile () from /usr/local/lib/libcsound64.so.5.2
>> #5  0x08048dc2 in main (argc=2, argv=0xbffff1b4) at
>> frontends/csound/csound_main.c:136
>>
>> Regards,
>> Mike
>>
>> --
>> Michael Gogins
>> Irreducible Productions
>> http://www.michael-gogins.com
>> Michael dot Gogins at gmail dot com
>>
>> ------------------------------------------------------------------------------
>> This SF email is sponsosred by:
>> Try Windows Azure free for 90 days Click Here
>> http://p.sf.net/sfu/sfd2d-msazure
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>>
>
>
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-03-28 12:25
FromMichael Gogins
SubjectRe: [Cs-dev] Bad bug
I was running the Csound command with trapped.csd -- the most basic test.

Regards,
Mike

On Wed, Mar 28, 2012 at 7:19 AM, Michael Gogins
 wrote:
> First saw it on a git pull, cleanup, scons this morning.
>
> Also, directory frontends/csbeats seems to have been changed to
> frontends/beats without changing SConstruct or CMakeLists.txt. I
> changed SConstruct but not CMakeLists.txt.
>
> Regards,
> Mike
>
> On Wed, Mar 28, 2012 at 7:10 AM,   wrote:
>> When did this start?  i have not seen anything odd here
>>
>> ==John
>>
>>> Program received signal SIGSEGV, Segmentation fault.
>>> 0xb7137eac in csoundModuleCreate (csound=0x804c868) at InOut/rtjack.c:914
>>> 914       if (csound->oparms->msglevel & 0x400)
>>> (gdb) print csound->oparms
>>> $1 = (OPARMS *) 0x0
>>> (gdb) bt
>>> #0  0xb7137eac in csoundModuleCreate (csound=0x804c868) at
>>> InOut/rtjack.c:914
>>> #1  0xb7e4ee1c in csoundLoadExternal () from
>>> /usr/local/lib/libcsound64.so.5.2
>>> #2  0xb7e4f70c in csoundLoadModules () from
>>> /usr/local/lib/libcsound64.so.5.2
>>> #3  0xb7e52295 in csoundPreCompile () from
>>> /usr/local/lib/libcsound64.so.5.2
>>> #4  0xb7e531b5 in csoundCompile () from /usr/local/lib/libcsound64.so.5.2
>>> #5  0x08048dc2 in main (argc=2, argv=0xbffff1b4) at
>>> frontends/csound/csound_main.c:136
>>>
>>> Regards,
>>> Mike
>>>
>>> --
>>> Michael Gogins
>>> Irreducible Productions
>>> http://www.michael-gogins.com
>>> Michael dot Gogins at gmail dot com
>>>
>>> ------------------------------------------------------------------------------
>>> This SF email is sponsosred by:
>>> Try Windows Azure free for 90 days Click Here
>>> http://p.sf.net/sfu/sfd2d-msazure
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> This SF email is sponsosred by:
>> Try Windows Azure free for 90 days Click Here
>> http://p.sf.net/sfu/sfd2d-msazure
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
> --
> Michael Gogins
> Irreducible Productions
> http://www.michael-gogins.com
> Michael dot Gogins at gmail dot com



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-03-28 12:27
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] Bad bug
> First saw it on a git pull, cleanup, scons this morning.
>
> Also, directory frontends/csbeats seems to have been changed to
> frontends/beats without changing SConstruct or CMakeLists.txt. I
> changed SConstruct but not CMakeLists.txt.

csbeats->beats is to overcome a .gitignore problem.  I fixed and committed
the SConstruct problem.  I do not consider CMake anything to do with me

but do not see your problem

=John ff



------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-03-28 12:30
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] Bad bug
> I was running the Csound command with trapped.csd -- the most basic test.
>

Odd.  I can run trapped OK
to disk or portaudio or alsa


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-03-28 12:34
FromMichael Gogins
SubjectRe: [Cs-dev] Bad bug
There may be a time problem. I looked at the git log and saw that you
changed csbeats in SConstruct before I did my pull, but I did not see
that change in my pull so I pushed the same change.

I am doing another git pull, complete cleanup, complete rebuild. I
will let you know what happens. If that doesn't work, I will remove my
Csound directory and clone git again.

Regards,
Mike

On Wed, Mar 28, 2012 at 7:27 AM,   wrote:
>> First saw it on a git pull, cleanup, scons this morning.
>>
>> Also, directory frontends/csbeats seems to have been changed to
>> frontends/beats without changing SConstruct or CMakeLists.txt. I
>> changed SConstruct but not CMakeLists.txt.
>
> csbeats->beats is to overcome a .gitignore problem.  I fixed and committed
> the SConstruct problem.  I do not consider CMake anything to do with me
>
> but do not see your problem
>
> =John ff
>
>
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-03-28 12:38
FromMichael Gogins
SubjectRe: [Cs-dev] Bad bug
OK, the problem persists. Here it is again -- running csound with trapped.csd.

scons: done building targets.
mkg@quattro:~/csound5$ gdb --args csound examples/trapped.csd
GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
...
Reading symbols from /home/mkg/csound5/csound...done.
(gdb) run
Starting program: /home/mkg/csound5/csound examples/trapped.csd
ERROR: ld.so: object '/lib/libpthread.so.0' from LD_PRELOAD cannot be
preloaded: ignored.
ERROR: ld.so: object '/lib/libpthread.so.0' from LD_PRELOAD cannot be
preloaded: ignored.
[Thread debugging using libthread_db enabled]
time resolution is 1.072 ns

Program received signal SIGSEGV, Segmentation fault.
0xb7137eac in csoundModuleCreate (csound=0x804c868) at InOut/rtjack.c:914
914	    if (csound->oparms->msglevel & 0x400)
(gdb) print csound->oparms
$1 = (OPARMS *) 0x0
(gdb) bt
#0  0xb7137eac in csoundModuleCreate (csound=0x804c868) at InOut/rtjack.c:914
#1  0xb7e4ee1c in csoundLoadExternal () from /usr/local/lib/libcsound64.so.5.2
#2  0xb7e4f70c in csoundLoadModules () from /usr/local/lib/libcsound64.so.5.2
#3  0xb7e52295 in csoundPreCompile () from /usr/local/lib/libcsound64.so.5.2
#4  0xb7e531b5 in csoundCompile () from /usr/local/lib/libcsound64.so.5.2
#5  0x08048dc2 in main (argc=2, argv=0xbffff1b4) at
frontends/csound/csound_main.c:136
(gdb)

I will do the git clone but in the meantime you may wish to do a
complete cleanup and rebuild. Perhaps something someone did was not
completely merged or pushed?

On Wed, Mar 28, 2012 at 7:34 AM, Michael Gogins
 wrote:
> There may be a time problem. I looked at the git log and saw that you
> changed csbeats in SConstruct before I did my pull, but I did not see
> that change in my pull so I pushed the same change.
>
> I am doing another git pull, complete cleanup, complete rebuild. I
> will let you know what happens. If that doesn't work, I will remove my
> Csound directory and clone git again.
>
> Regards,
> Mike
>
> On Wed, Mar 28, 2012 at 7:27 AM,   wrote:
>>> First saw it on a git pull, cleanup, scons this morning.
>>>
>>> Also, directory frontends/csbeats seems to have been changed to
>>> frontends/beats without changing SConstruct or CMakeLists.txt. I
>>> changed SConstruct but not CMakeLists.txt.
>>
>> csbeats->beats is to overcome a .gitignore problem.  I fixed and committed
>> the SConstruct problem.  I do not consider CMake anything to do with me
>>
>> but do not see your problem
>>
>> =John ff
>>
>>
>>
>> ------------------------------------------------------------------------------
>> This SF email is sponsosred by:
>> Try Windows Azure free for 90 days Click Here
>> http://p.sf.net/sfu/sfd2d-msazure
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
> --
> Michael Gogins
> Irreducible Productions
> http://www.michael-gogins.com
> Michael dot Gogins at gmail dot com



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-03-28 12:54
FromMichael Gogins
SubjectRe: [Cs-dev] Bad bug
I did a git clone and complete fresh build. The bad bug still exists.

Are we working in the same branch? Here is my git status in the
csound5 respository:

mkg@quattro:~/csound5$ git status
# On branch master
# Untracked files:
#   (use "git add ..." to include in what will be committed)
#
#	custom.py
#	frontends/beats/beats.tab.c
#	frontends/beats/beats.tab.h
#	frontends/beats/lex.yy.c

I have to go to work now, will pick this up later. Please try what I
did: new local directory, new git clone, complete rebuild.

Regards,
Mike
Regards,
Mike

On Wed, Mar 28, 2012 at 7:38 AM, Michael Gogins
 wrote:
> OK, the problem persists. Here it is again -- running csound with trapped.csd.
>
> scons: done building targets.
> mkg@quattro:~/csound5$ gdb --args csound examples/trapped.csd
> GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08
> Copyright (C) 2011 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later 
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "i686-linux-gnu".
> For bug reporting instructions, please see:
> ...
> Reading symbols from /home/mkg/csound5/csound...done.
> (gdb) run
> Starting program: /home/mkg/csound5/csound examples/trapped.csd
> ERROR: ld.so: object '/lib/libpthread.so.0' from LD_PRELOAD cannot be
> preloaded: ignored.
> ERROR: ld.so: object '/lib/libpthread.so.0' from LD_PRELOAD cannot be
> preloaded: ignored.
> [Thread debugging using libthread_db enabled]
> time resolution is 1.072 ns
>
> Program received signal SIGSEGV, Segmentation fault.
> 0xb7137eac in csoundModuleCreate (csound=0x804c868) at InOut/rtjack.c:914
> 914         if (csound->oparms->msglevel & 0x400)
> (gdb) print csound->oparms
> $1 = (OPARMS *) 0x0
> (gdb) bt
> #0  0xb7137eac in csoundModuleCreate (csound=0x804c868) at InOut/rtjack.c:914
> #1  0xb7e4ee1c in csoundLoadExternal () from /usr/local/lib/libcsound64.so.5.2
> #2  0xb7e4f70c in csoundLoadModules () from /usr/local/lib/libcsound64.so.5.2
> #3  0xb7e52295 in csoundPreCompile () from /usr/local/lib/libcsound64.so.5.2
> #4  0xb7e531b5 in csoundCompile () from /usr/local/lib/libcsound64.so.5.2
> #5  0x08048dc2 in main (argc=2, argv=0xbffff1b4) at
> frontends/csound/csound_main.c:136
> (gdb)
>
> I will do the git clone but in the meantime you may wish to do a
> complete cleanup and rebuild. Perhaps something someone did was not
> completely merged or pushed?
>
> On Wed, Mar 28, 2012 at 7:34 AM, Michael Gogins
>  wrote:
>> There may be a time problem. I looked at the git log and saw that you
>> changed csbeats in SConstruct before I did my pull, but I did not see
>> that change in my pull so I pushed the same change.
>>
>> I am doing another git pull, complete cleanup, complete rebuild. I
>> will let you know what happens. If that doesn't work, I will remove my
>> Csound directory and clone git again.
>>
>> Regards,
>> Mike
>>
>> On Wed, Mar 28, 2012 at 7:27 AM,   wrote:
>>>> First saw it on a git pull, cleanup, scons this morning.
>>>>
>>>> Also, directory frontends/csbeats seems to have been changed to
>>>> frontends/beats without changing SConstruct or CMakeLists.txt. I
>>>> changed SConstruct but not CMakeLists.txt.
>>>
>>> csbeats->beats is to overcome a .gitignore problem.  I fixed and committed
>>> the SConstruct problem.  I do not consider CMake anything to do with me
>>>
>>> but do not see your problem
>>>
>>> =John ff
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> This SF email is sponsosred by:
>>> Try Windows Azure free for 90 days Click Here
>>> http://p.sf.net/sfu/sfd2d-msazure
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>>
>> --
>> Michael Gogins
>> Irreducible Productions
>> http://www.michael-gogins.com
>> Michael dot Gogins at gmail dot com
>
>
>
> --
> Michael Gogins
> Irreducible Productions
> http://www.michael-gogins.com
> Michael dot Gogins at gmail dot com



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-03-28 15:22
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] Bad bug
I did a clone to a new directory, copied custom-linux-jpff.py to
custion.py and did scond -j6

No problems, all works

Is csoundCreate being called?  Does line 986 get called and does it set
csound->oparms ?

Very confused.

==John ff

> I did a git clone and complete fresh build. The bad bug still exists.
>
> Are we working in the same branch? Here is my git status in the
> csound5 respository:
>
> mkg@quattro:~/csound5$ git status
> # On branch master
> # Untracked files:
> #   (use "git add ..." to include in what will be committed)
> #
> #	custom.py
> #	frontends/beats/beats.tab.c
> #	frontends/beats/beats.tab.h
> #	frontends/beats/lex.yy.c
>



------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-03-28 15:50
FromMichael Gogins
SubjectRe: [Cs-dev] Bad bug
Did you check your git status? Are you sure you are in the master branch?

I will check the csoundCreate call this evening. But I am sure it is
being called or at least used to be called because, I repeat, I am
running plain vanilla csound from the command line for trapped.csd.

I will look at your custom-linus-jpff.py.

What you do mean by "scond -j6"?

Regards,
Mike

On Wed, Mar 28, 2012 at 10:22 AM,   wrote:
> I did a clone to a new directory, copied custom-linux-jpff.py to
> custion.py and did scond -j6
>
> No problems, all works
>
> Is csoundCreate being called?  Does line 986 get called and does it set
> csound->oparms ?
>
> Very confused.
>
> ==John ff
>
>> I did a git clone and complete fresh build. The bad bug still exists.
>>
>> Are we working in the same branch? Here is my git status in the
>> csound5 respository:
>>
>> mkg@quattro:~/csound5$ git status
>> # On branch master
>> # Untracked files:
>> #   (use "git add ..." to include in what will be committed)
>> #
>> #     custom.py
>> #     frontends/beats/beats.tab.c
>> #     frontends/beats/beats.tab.h
>> #     frontends/beats/lex.yy.c
>>
>
>
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-03-28 16:04
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] Bad bug
> Did you check your git status? Are you sure you are in the master branch?
>
> I will check the csoundCreate call this evening. But I am sure it is
> being called or at least used to be called because, I repeat, I am
> running plain vanilla csound from the command line for trapped.csd.
>
> I will look at your custom-linus-jpff.py.
>
> What you do mean by "scond -j6"?
>
>

Looks OK
# On branch master
# Changes not staged for commit:
#   (use "git add/rm ..." to update what will be committed)
#   (use "git checkout -- ..." to discard changes in working directory)
#
#       deleted:    custom-linux-jpff.py
#
# Untracked files:
#   (use "git add ..." to include in what will be committed)
#
#       custom.py
#       frontends/beats/beats.tab.c
#       frontends/beats/beats.tab.h
#       frontends/beats/lex.yy.c
no changes added to commit (use "git add" and/or "git commit -a")


-j6 is to run the compilations on 6 threads -- faster on this 4-core
hyperthreaded machine

Hummm.....  Had some ideas but they seem not the case

==John ff


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-03-28 16:12
FromTito Latini
SubjectRe: [Cs-dev] Bad bug
AttachmentsNone  

Date2012-03-28 16:18
FromMichael Gogins
SubjectRe: [Cs-dev] Bad bug
I looked at your custom py file. No surprises there. -j6 for scons
should make no difference. At any rate you are using it and I am not.
I should try it though, it might speed things up...

What were your ideas?

Regards,
Mike

On Wed, Mar 28, 2012 at 11:04 AM,   wrote:
>> Did you check your git status? Are you sure you are in the master branch?
>>
>> I will check the csoundCreate call this evening. But I am sure it is
>> being called or at least used to be called because, I repeat, I am
>> running plain vanilla csound from the command line for trapped.csd.
>>
>> I will look at your custom-linus-jpff.py.
>>
>> What you do mean by "scond -j6"?
>>
>>
>
> Looks OK
> # On branch master
> # Changes not staged for commit:
> #   (use "git add/rm ..." to update what will be committed)
> #   (use "git checkout -- ..." to discard changes in working directory)
> #
> #       deleted:    custom-linux-jpff.py
> #
> # Untracked files:
> #   (use "git add ..." to include in what will be committed)
> #
> #       custom.py
> #       frontends/beats/beats.tab.c
> #       frontends/beats/beats.tab.h
> #       frontends/beats/lex.yy.c
> no changes added to commit (use "git add" and/or "git commit -a")
>
>
> -j6 is to run the compilations on 6 threads -- faster on this 4-core
> hyperthreaded machine
>
> Hummm.....  Had some ideas but they seem not the case
>
> ==John ff
>
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-03-28 16:46
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] Bad bug
> I looked at your custom py file. No surprises there. -j6 for scons
> should make no difference. At any rate you are using it and I am not.
> I should try it though, it might speed things up...
>
> What were your ideas?
>
>

Just boring ideas like BETA getting in the way.  I seem to remember in gdb
you can set a watch on a v=location to see when it changes.  Might help to
use that on csound->oparms after csound is allocated on line 983 of
Top/csound.c

==John


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-03-28 17:23
FromTito Latini
SubjectRe: [Cs-dev] Bad bug
AttachmentsNone  

Date2012-03-28 17:59
FromMichael Gogins
SubjectRe: [Cs-dev] Bad bug
I have valgrind reports indicating memory problems in score sorting. I
will send these along if I can reproduce this problem this evening.

Regards,
Mike

On Wed, Mar 28, 2012 at 12:23 PM, Tito Latini  wrote:
> Perhaps it is a problem with the signal handler.
> In Common Lisp I use
>
>  csoundInitialize(NULL, NULL, CSOUNDINIT_NO_SIGNAL_HANDLER)
>
> because the ignored SIGSEGV in `static const int sigs[] = ...' (Top/csound.c:909)
> causes a crash after `csoundCreate'. You can look if it is your case replacing
>
>  if (csoundInitialize(NULL, NULL, CSOUNDINIT_NO_SIGNAL_HANDLER) < 0) return NULL;
>
> in `csoundCreate' func (Top/csound.c:975)
>
> tito
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-03-28 18:08
FromSteven Yi
SubjectRe: [Cs-dev] Bad bug
Hi Michael,

I'm not having any issues here on OSX with latest from git.  Just to
check, I saw that gdb reported errors for
/usr/local/lib/libcsound64.so.5.2 for you.  Is it perhaps some strange
issue with csound running and linking to that at runtime, but you're
running with  /home/mkg/csound5/csound, and expecting it to link with
the libcsound that is generated in that directory?  I can imagine some
kind of disconnect between libcsound versions as being a possible
issue.

steven

On Wed, Mar 28, 2012 at 5:59 PM, Michael Gogins
 wrote:
> I have valgrind reports indicating memory problems in score sorting. I
> will send these along if I can reproduce this problem this evening.
>
> Regards,
> Mike
>
> On Wed, Mar 28, 2012 at 12:23 PM, Tito Latini  wrote:
>> Perhaps it is a problem with the signal handler.
>> In Common Lisp I use
>>
>>  csoundInitialize(NULL, NULL, CSOUNDINIT_NO_SIGNAL_HANDLER)
>>
>> because the ignored SIGSEGV in `static const int sigs[] = ...' (Top/csound.c:909)
>> causes a crash after `csoundCreate'. You can look if it is your case replacing
>>
>>  if (csoundInitialize(NULL, NULL, CSOUNDINIT_NO_SIGNAL_HANDLER) < 0) return NULL;
>>
>> in `csoundCreate' func (Top/csound.c:975)
>>
>> tito
>>
>> ------------------------------------------------------------------------------
>> This SF email is sponsosred by:
>> Try Windows Azure free for 90 days Click Here
>> http://p.sf.net/sfu/sfd2d-msazure
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
> --
> Michael Gogins
> Irreducible Productions
> http://www.michael-gogins.com
> Michael dot Gogins at gmail dot com
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-03-28 18:22
FromTito Latini
SubjectRe: [Cs-dev] Bad bug
AttachmentsNone  

Date2012-03-28 18:33
FromMichael Gogins
SubjectRe: [Cs-dev] Bad bug
I will definitely check that, but AFAIK I checked this before and fixed it.

Regards,
Mike

On Wed, Mar 28, 2012 at 1:08 PM, Steven Yi  wrote:
> Hi Michael,
>
> I'm not having any issues here on OSX with latest from git.  Just to
> check, I saw that gdb reported errors for
> /usr/local/lib/libcsound64.so.5.2 for you.  Is it perhaps some strange
> issue with csound running and linking to that at runtime, but you're
> running with  /home/mkg/csound5/csound, and expecting it to link with
> the libcsound that is generated in that directory?  I can imagine some
> kind of disconnect between libcsound versions as being a possible
> issue.
>
> steven
>
> On Wed, Mar 28, 2012 at 5:59 PM, Michael Gogins
>  wrote:
>> I have valgrind reports indicating memory problems in score sorting. I
>> will send these along if I can reproduce this problem this evening.
>>
>> Regards,
>> Mike
>>
>> On Wed, Mar 28, 2012 at 12:23 PM, Tito Latini  wrote:
>>> Perhaps it is a problem with the signal handler.
>>> In Common Lisp I use
>>>
>>>  csoundInitialize(NULL, NULL, CSOUNDINIT_NO_SIGNAL_HANDLER)
>>>
>>> because the ignored SIGSEGV in `static const int sigs[] = ...' (Top/csound.c:909)
>>> causes a crash after `csoundCreate'. You can look if it is your case replacing
>>>
>>>  if (csoundInitialize(NULL, NULL, CSOUNDINIT_NO_SIGNAL_HANDLER) < 0) return NULL;
>>>
>>> in `csoundCreate' func (Top/csound.c:975)
>>>
>>> tito
>>>
>>> ------------------------------------------------------------------------------
>>> This SF email is sponsosred by:
>>> Try Windows Azure free for 90 days Click Here
>>> http://p.sf.net/sfu/sfd2d-msazure
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>>
>> --
>> Michael Gogins
>> Irreducible Productions
>> http://www.michael-gogins.com
>> Michael dot Gogins at gmail dot com
>>
>> ------------------------------------------------------------------------------
>> This SF email is sponsosred by:
>> Try Windows Azure free for 90 days Click Here
>> http://p.sf.net/sfu/sfd2d-msazure
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-03-28 23:47
FromMichael Gogins
SubjectRe: [Cs-dev] Bad bug
By God, Steven, there was indeed an old libCsound.so in
/usr/local/lib. I deleted it and its kin and Csound is running again.
I must have run the install script and forgotten about it. And I
should have read my own debugger trace more carefully!

Thanks, and sorry for the noise on the list,
Mike

On Wed, Mar 28, 2012 at 1:08 PM, Steven Yi  wrote:
> Hi Michael,
>
> I'm not having any issues here on OSX with latest from git.  Just to
> check, I saw that gdb reported errors for
> /usr/local/lib/libcsound64.so.5.2 for you.  Is it perhaps some strange
> issue with csound running and linking to that at runtime, but you're
> running with  /home/mkg/csound5/csound, and expecting it to link with
> the libcsound that is generated in that directory?  I can imagine some
> kind of disconnect between libcsound versions as being a possible
> issue.
>
> steven
>
> On Wed, Mar 28, 2012 at 5:59 PM, Michael Gogins
>  wrote:
>> I have valgrind reports indicating memory problems in score sorting. I
>> will send these along if I can reproduce this problem this evening.
>>
>> Regards,
>> Mike
>>
>> On Wed, Mar 28, 2012 at 12:23 PM, Tito Latini  wrote:
>>> Perhaps it is a problem with the signal handler.
>>> In Common Lisp I use
>>>
>>>  csoundInitialize(NULL, NULL, CSOUNDINIT_NO_SIGNAL_HANDLER)
>>>
>>> because the ignored SIGSEGV in `static const int sigs[] = ...' (Top/csound.c:909)
>>> causes a crash after `csoundCreate'. You can look if it is your case replacing
>>>
>>>  if (csoundInitialize(NULL, NULL, CSOUNDINIT_NO_SIGNAL_HANDLER) < 0) return NULL;
>>>
>>> in `csoundCreate' func (Top/csound.c:975)
>>>
>>> tito
>>>
>>> ------------------------------------------------------------------------------
>>> This SF email is sponsosred by:
>>> Try Windows Azure free for 90 days Click Here
>>> http://p.sf.net/sfu/sfd2d-msazure
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>>
>> --
>> Michael Gogins
>> Irreducible Productions
>> http://www.michael-gogins.com
>> Michael dot Gogins at gmail dot com
>>
>> ------------------------------------------------------------------------------
>> This SF email is sponsosred by:
>> Try Windows Azure free for 90 days Click Here
>> http://p.sf.net/sfu/sfd2d-msazure
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-03-28 23:50
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] Bad bug
> By God, Steven, there was indeed an old libCsound.so in
> /usr/local/lib. I deleted it and its kin and Csound is running again.
> I must have run the install script and forgotten about it. And I
> should have read my own debugger trace more carefully!
>
> Thanks, and sorry for the noise on the list,
> Mike

I am just pleased that all the changes I made did not b****r up the code!

==John


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-03-29 00:07
FromSteven Yi
SubjectRe: [Cs-dev] Bad bug
Ah, fantastic!  Glad this mystery is solved! :D

On Wed, Mar 28, 2012 at 11:47 PM, Michael Gogins
 wrote:
> By God, Steven, there was indeed an old libCsound.so in
> /usr/local/lib. I deleted it and its kin and Csound is running again.
> I must have run the install script and forgotten about it. And I
> should have read my own debugger trace more carefully!
>
> Thanks, and sorry for the noise on the list,
> Mike
>
> On Wed, Mar 28, 2012 at 1:08 PM, Steven Yi  wrote:
>> Hi Michael,
>>
>> I'm not having any issues here on OSX with latest from git.  Just to
>> check, I saw that gdb reported errors for
>> /usr/local/lib/libcsound64.so.5.2 for you.  Is it perhaps some strange
>> issue with csound running and linking to that at runtime, but you're
>> running with  /home/mkg/csound5/csound, and expecting it to link with
>> the libcsound that is generated in that directory?  I can imagine some
>> kind of disconnect between libcsound versions as being a possible
>> issue.
>>
>> steven
>>
>> On Wed, Mar 28, 2012 at 5:59 PM, Michael Gogins
>>  wrote:
>>> I have valgrind reports indicating memory problems in score sorting. I
>>> will send these along if I can reproduce this problem this evening.
>>>
>>> Regards,
>>> Mike
>>>
>>> On Wed, Mar 28, 2012 at 12:23 PM, Tito Latini  wrote:
>>>> Perhaps it is a problem with the signal handler.
>>>> In Common Lisp I use
>>>>
>>>>  csoundInitialize(NULL, NULL, CSOUNDINIT_NO_SIGNAL_HANDLER)
>>>>
>>>> because the ignored SIGSEGV in `static const int sigs[] = ...' (Top/csound.c:909)
>>>> causes a crash after `csoundCreate'. You can look if it is your case replacing
>>>>
>>>>  if (csoundInitialize(NULL, NULL, CSOUNDINIT_NO_SIGNAL_HANDLER) < 0) return NULL;
>>>>
>>>> in `csoundCreate' func (Top/csound.c:975)
>>>>
>>>> tito
>>>>
>>>> ------------------------------------------------------------------------------
>>>> This SF email is sponsosred by:
>>>> Try Windows Azure free for 90 days Click Here
>>>> http://p.sf.net/sfu/sfd2d-msazure
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>>
>>> --
>>> Michael Gogins
>>> Irreducible Productions
>>> http://www.michael-gogins.com
>>> Michael dot Gogins at gmail dot com
>>>
>>> ------------------------------------------------------------------------------
>>> This SF email is sponsosred by:
>>> Try Windows Azure free for 90 days Click Here
>>> http://p.sf.net/sfu/sfd2d-msazure
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> ------------------------------------------------------------------------------
>> This SF email is sponsosred by:
>> Try Windows Azure free for 90 days Click Here
>> http://p.sf.net/sfu/sfd2d-msazure
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
> --
> Michael Gogins
> Irreducible Productions
> http://www.michael-gogins.com
> Michael dot Gogins at gmail dot com
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-03-29 00:38
FromMichael Gogins
SubjectRe: [Cs-dev] Bad bug
Csound is rebuilt and running but I still get the segfault in inleta at the end.

Yes, csoundInitialize is called. It is called with flags of 0 which I
assume means that it will use the signal handler.

Regards,
Mike

On Wed, Mar 28, 2012 at 12:23 PM, Tito Latini  wrote:
> Perhaps it is a problem with the signal handler.
> In Common Lisp I use
>
>  csoundInitialize(NULL, NULL, CSOUNDINIT_NO_SIGNAL_HANDLER)
>
> because the ignored SIGSEGV in `static const int sigs[] = ...' (Top/csound.c:909)
> causes a crash after `csoundCreate'. You can look if it is your case replacing
>
>  if (csoundInitialize(NULL, NULL, CSOUNDINIT_NO_SIGNAL_HANDLER) < 0) return NULL;
>
> in `csoundCreate' func (Top/csound.c:975)
>
> tito
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-03-29 02:22
FromMichael Gogins
SubjectRe: [Cs-dev] Bad bug
OK, I have sorted out the inleta segfault. Apparently it was caused by
having the following lines at the end of the score:

s     5.000
e     5.000

If only the s statement, or only the e statement, is used then there
is no segfault. I have modified my score generator to use only the s
statement.

Thanks everyone for your attention to my woes,
Mike

On Wed, Mar 28, 2012 at 7:38 PM, Michael Gogins
 wrote:
> Csound is rebuilt and running but I still get the segfault in inleta at the end.
>
> Yes, csoundInitialize is called. It is called with flags of 0 which I
> assume means that it will use the signal handler.
>
> Regards,
> Mike
>
> On Wed, Mar 28, 2012 at 12:23 PM, Tito Latini  wrote:
>> Perhaps it is a problem with the signal handler.
>> In Common Lisp I use
>>
>>  csoundInitialize(NULL, NULL, CSOUNDINIT_NO_SIGNAL_HANDLER)
>>
>> because the ignored SIGSEGV in `static const int sigs[] = ...' (Top/csound.c:909)
>> causes a crash after `csoundCreate'. You can look if it is your case replacing
>>
>>  if (csoundInitialize(NULL, NULL, CSOUNDINIT_NO_SIGNAL_HANDLER) < 0) return NULL;
>>
>> in `csoundCreate' func (Top/csound.c:975)
>>
>> tito
>>
>> ------------------------------------------------------------------------------
>> This SF email is sponsosred by:
>> Try Windows Azure free for 90 days Click Here
>> http://p.sf.net/sfu/sfd2d-msazure
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
> --
> Michael Gogins
> Irreducible Productions
> http://www.michael-gogins.com
> Michael dot Gogins at gmail dot com



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net