Csound Csound-dev Csound-tekno Search About

[Cs-dev] csound6 segfault

Date2012-04-08 18:18
FromAndres Cabrera
Subject[Cs-dev] csound6 segfault
AttachmentsNone  None  
Hi all,

Csound6 is crashing on me...

I'm using cmake to build. Any ideas?

BTW how do I build debug with cmake?

andres@cab-laptop:~/src/csound6$ gdb csound
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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 "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
/home/andres/.gdbinit:1: Error in sourced command file:
Undefined command: "".  Try "help".
Reading symbols from /home/andres/src/csound6/csound...(no debugging symbols found)...done.
(gdb) run
Starting program: /home/andres/src/csound6/csound
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x00177178 in csound_aops_init_tables ()
   from /home/andres/src/csound6/libcsound64.so.6.0
(gdb) bt
#0  0x00177178 in csound_aops_init_tables ()
   from /home/andres/src/csound6/libcsound64.so.6.0
#1  0x00243cc3 in csoundPreCompile ()
   from /home/andres/src/csound6/libcsound64.so.6.0
#2  0x00247852 in csoundCompile ()
   from /home/andres/src/csound6/libcsound64.so.6.0
#3  0x08049199 in main ()
(gdb)

Cheers,
Andrés

Date2012-04-08 18:25
FromSteven Yi
SubjectRe: [Cs-dev] csound6 segfault
Hi Andres,

You can build debug using -DCMAKE_BUILD_TYPE=Debug (or you can rename
Custom.cmake.in as Custom.cmake in the csound6 folder).  That should
get the build to be debug.

Not sure about the segfault however; I'll pull and try a build here.

Thanks!
steven

On Sun, Apr 8, 2012 at 6:18 PM, Andres Cabrera  wrote:
> Hi all,
>
> Csound6 is crashing on me...
>
> I'm using cmake to build. Any ideas?
>
> BTW how do I build debug with cmake?
>
> andres@cab-laptop:~/src/csound6$ gdb csound
> GNU gdb (GDB) 7.1-ubuntu
> Copyright (C) 2010 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 "i486-linux-gnu".
> For bug reporting instructions, please see:
> ...
> /home/andres/.gdbinit:1: Error in sourced command file:
> Undefined command: "".  Try "help".
> Reading symbols from /home/andres/src/csound6/csound...(no debugging symbols
> found)...done.
> (gdb) run
> Starting program: /home/andres/src/csound6/csound
> [Thread debugging using libthread_db enabled]
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x00177178 in csound_aops_init_tables ()
>    from /home/andres/src/csound6/libcsound64.so.6.0
> (gdb) bt
> #0  0x00177178 in csound_aops_init_tables ()
>    from /home/andres/src/csound6/libcsound64.so.6.0
> #1  0x00243cc3 in csoundPreCompile ()
>    from /home/andres/src/csound6/libcsound64.so.6.0
> #2  0x00247852 in csoundCompile ()
>    from /home/andres/src/csound6/libcsound64.so.6.0
> #3  0x08049199 in main ()
> (gdb)
>
> Cheers,
> Andrés
>
> ------------------------------------------------------------------------------
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-04-08 18:28
FromAndres Cabrera
SubjectRe: [Cs-dev] csound6 segfault
AttachmentsNone  None  
Thanks Steven, trying it now. Do you think it's possible to have a separate build tree for the debug build?

Cheers,
Andrés

On Sun, Apr 8, 2012 at 6:25 PM, Steven Yi <stevenyi@gmail.com> wrote:
Hi Andres,

You can build debug using -DCMAKE_BUILD_TYPE=Debug (or you can rename
Custom.cmake.in as Custom.cmake in the csound6 folder).  That should
get the build to be debug.

Not sure about the segfault however; I'll pull and try a build here.

Thanks!
steven

On Sun, Apr 8, 2012 at 6:18 PM, Andres Cabrera <mantaraya36@gmail.com> wrote:
> Hi all,
>
> Csound6 is crashing on me...
>
> I'm using cmake to build. Any ideas?
>
> BTW how do I build debug with cmake?
>
> andres@cab-laptop:~/src/csound6$ gdb csound
> GNU gdb (GDB) 7.1-ubuntu
> Copyright (C) 2010 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>
> 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 "i486-linux-gnu".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> /home/andres/.gdbinit:1: Error in sourced command file:
> Undefined command: "".  Try "help".
> Reading symbols from /home/andres/src/csound6/csound...(no debugging symbols
> found)...done.
> (gdb) run
> Starting program: /home/andres/src/csound6/csound
> [Thread debugging using libthread_db enabled]
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x00177178 in csound_aops_init_tables ()
>    from /home/andres/src/csound6/libcsound64.so.6.0
> (gdb) bt
> #0  0x00177178 in csound_aops_init_tables ()
>    from /home/andres/src/csound6/libcsound64.so.6.0
> #1  0x00243cc3 in csoundPreCompile ()
>    from /home/andres/src/csound6/libcsound64.so.6.0
> #2  0x00247852 in csoundCompile ()
>    from /home/andres/src/csound6/libcsound64.so.6.0
> #3  0x08049199 in main ()
> (gdb)
>
> Cheers,
> Andrés
>
> ------------------------------------------------------------------------------
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


Date2012-04-08 18:30
FromSteven Yi
SubjectRe: [Cs-dev] csound6 segfault
With Cmake, you're encourage to build outside of the source tree.  For
example, I have:

./csound6
./cs6make
./cs6xcode

And I call cmake with "cmake ../csound6".


On Sun, Apr 8, 2012 at 6:28 PM, Andres Cabrera  wrote:
> Thanks Steven, trying it now. Do you think it's possible to have a separate
> build tree for the debug build?
>
> Cheers,
> Andrés
>
>
> On Sun, Apr 8, 2012 at 6:25 PM, Steven Yi  wrote:
>>
>> Hi Andres,
>>
>> You can build debug using -DCMAKE_BUILD_TYPE=Debug (or you can rename
>> Custom.cmake.in as Custom.cmake in the csound6 folder).  That should
>> get the build to be debug.
>>
>> Not sure about the segfault however; I'll pull and try a build here.
>>
>> Thanks!
>> steven
>>
>> On Sun, Apr 8, 2012 at 6:18 PM, Andres Cabrera 
>> wrote:
>> > Hi all,
>> >
>> > Csound6 is crashing on me...
>> >
>> > I'm using cmake to build. Any ideas?
>> >
>> > BTW how do I build debug with cmake?
>> >
>> > andres@cab-laptop:~/src/csound6$ gdb csound
>> > GNU gdb (GDB) 7.1-ubuntu
>> > Copyright (C) 2010 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 "i486-linux-gnu".
>> > For bug reporting instructions, please see:
>> > ...
>> > /home/andres/.gdbinit:1: Error in sourced command file:
>> > Undefined command: "".  Try "help".
>> > Reading symbols from /home/andres/src/csound6/csound...(no debugging
>> > symbols
>> > found)...done.
>> > (gdb) run
>> > Starting program: /home/andres/src/csound6/csound
>> > [Thread debugging using libthread_db enabled]
>> >
>> > Program received signal SIGSEGV, Segmentation fault.
>> > 0x00177178 in csound_aops_init_tables ()
>> >    from /home/andres/src/csound6/libcsound64.so.6.0
>> > (gdb) bt
>> > #0  0x00177178 in csound_aops_init_tables ()
>> >    from /home/andres/src/csound6/libcsound64.so.6.0
>> > #1  0x00243cc3 in csoundPreCompile ()
>> >    from /home/andres/src/csound6/libcsound64.so.6.0
>> > #2  0x00247852 in csoundCompile ()
>> >    from /home/andres/src/csound6/libcsound64.so.6.0
>> > #3  0x08049199 in main ()
>> > (gdb)
>> >
>> > Cheers,
>> > Andrés
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > For Developers, A Lot Can Happen In A Second.
>> > Boundary is the first to Know...and Tell You.
>> > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>> > http://p.sf.net/sfu/Boundary-d2dvs2
>> > _______________________________________________
>> > Csound-devel mailing list
>> > Csound-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >
>>
>>
>> ------------------------------------------------------------------------------
>> For Developers, A Lot Can Happen In A Second.
>> Boundary is the first to Know...and Tell You.
>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>> http://p.sf.net/sfu/Boundary-d2dvs2
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
> ------------------------------------------------------------------------------
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-04-08 18:31
FromVictor Lazzarini
SubjectRe: [Cs-dev] csound6 segfault
AttachmentsNone  None  
John has been doing some refactoring of CSOUND, so that could be the cause. I think he tested it with trapped, is there a particular CSD that is doing this?

Regards

Victor
On 8 Apr 2012, at 18:18, Andres Cabrera wrote:

Hi all,

Csound6 is crashing on me...

I'm using cmake to build. Any ideas?

BTW how do I build debug with cmake?

andres@cab-laptop:~/src/csound6$ gdb csound
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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 "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
/home/andres/.gdbinit:1: Error in sourced command file:
Undefined command: "".  Try "help".
Reading symbols from /home/andres/src/csound6/csound...(no debugging symbols found)...done.
(gdb) run
Starting program: /home/andres/src/csound6/csound
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x00177178 in csound_aops_init_tables ()
   from /home/andres/src/csound6/libcsound64.so.6.0
(gdb) bt
#0  0x00177178 in csound_aops_init_tables ()
   from /home/andres/src/csound6/libcsound64.so.6.0
#1  0x00243cc3 in csoundPreCompile ()
   from /home/andres/src/csound6/libcsound64.so.6.0
#2  0x00247852 in csoundCompile ()
   from /home/andres/src/csound6/libcsound64.so.6.0
#3  0x08049199 in main ()
(gdb)

Cheers,
Andrés
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

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




Date2012-04-08 18:32
FromSteven Yi
SubjectRe: [Cs-dev] csound6 segfault
Also, you could do something like:

csound6
csound6/debug
csound6/release

and create your Makefiles in the debug and release folders.

On Sun, Apr 8, 2012 at 6:30 PM, Steven Yi  wrote:
> With Cmake, you're encourage to build outside of the source tree.  For
> example, I have:
>
> ./csound6
> ./cs6make
> ./cs6xcode
>
> And I call cmake with "cmake ../csound6".
>
>
> On Sun, Apr 8, 2012 at 6:28 PM, Andres Cabrera  wrote:
>> Thanks Steven, trying it now. Do you think it's possible to have a separate
>> build tree for the debug build?
>>
>> Cheers,
>> Andrés
>>
>>
>> On Sun, Apr 8, 2012 at 6:25 PM, Steven Yi  wrote:
>>>
>>> Hi Andres,
>>>
>>> You can build debug using -DCMAKE_BUILD_TYPE=Debug (or you can rename
>>> Custom.cmake.in as Custom.cmake in the csound6 folder).  That should
>>> get the build to be debug.
>>>
>>> Not sure about the segfault however; I'll pull and try a build here.
>>>
>>> Thanks!
>>> steven
>>>
>>> On Sun, Apr 8, 2012 at 6:18 PM, Andres Cabrera 
>>> wrote:
>>> > Hi all,
>>> >
>>> > Csound6 is crashing on me...
>>> >
>>> > I'm using cmake to build. Any ideas?
>>> >
>>> > BTW how do I build debug with cmake?
>>> >
>>> > andres@cab-laptop:~/src/csound6$ gdb csound
>>> > GNU gdb (GDB) 7.1-ubuntu
>>> > Copyright (C) 2010 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 "i486-linux-gnu".
>>> > For bug reporting instructions, please see:
>>> > ...
>>> > /home/andres/.gdbinit:1: Error in sourced command file:
>>> > Undefined command: "".  Try "help".
>>> > Reading symbols from /home/andres/src/csound6/csound...(no debugging
>>> > symbols
>>> > found)...done.
>>> > (gdb) run
>>> > Starting program: /home/andres/src/csound6/csound
>>> > [Thread debugging using libthread_db enabled]
>>> >
>>> > Program received signal SIGSEGV, Segmentation fault.
>>> > 0x00177178 in csound_aops_init_tables ()
>>> >    from /home/andres/src/csound6/libcsound64.so.6.0
>>> > (gdb) bt
>>> > #0  0x00177178 in csound_aops_init_tables ()
>>> >    from /home/andres/src/csound6/libcsound64.so.6.0
>>> > #1  0x00243cc3 in csoundPreCompile ()
>>> >    from /home/andres/src/csound6/libcsound64.so.6.0
>>> > #2  0x00247852 in csoundCompile ()
>>> >    from /home/andres/src/csound6/libcsound64.so.6.0
>>> > #3  0x08049199 in main ()
>>> > (gdb)
>>> >
>>> > Cheers,
>>> > Andrés
>>> >
>>> >
>>> > ------------------------------------------------------------------------------
>>> > For Developers, A Lot Can Happen In A Second.
>>> > Boundary is the first to Know...and Tell You.
>>> > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>>> > http://p.sf.net/sfu/Boundary-d2dvs2
>>> > _______________________________________________
>>> > Csound-devel mailing list
>>> > Csound-devel@lists.sourceforge.net
>>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> >
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> For Developers, A Lot Can Happen In A Second.
>>> Boundary is the first to Know...and Tell You.
>>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>>> http://p.sf.net/sfu/Boundary-d2dvs2
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>>
>> ------------------------------------------------------------------------------
>> For Developers, A Lot Can Happen In A Second.
>> Boundary is the first to Know...and Tell You.
>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>> http://p.sf.net/sfu/Boundary-d2dvs2
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-04-08 18:33
FromAndres Cabrera
SubjectRe: [Cs-dev] csound6 segfault
AttachmentsNone  None  
Hi,

Thanks, how do you do that?

The segfault I get is even just calling csound from the command line without any csd.

Here's the more detailed bt:

Program received signal SIGSEGV, Segmentation fault.
csound_aops_init_tables (csound=0x804c008)
    at /home/andres/src/csound6/OOps/aops.c:66
66          csound->powerof2[i] =
(gdb) bt
#0  csound_aops_init_tables (csound=0x804c008)
    at /home/andres/src/csound6/OOps/aops.c:66
#1  0x00243cc3 in csoundPreCompile (p=0x804c008)
    at /home/andres/src/csound6/Top/csound.c:1209
#2  0x00247852 in csoundCompile (csound=0x804c008, argc=1, argv=0xbffff414)
    at /home/andres/src/csound6/Top/main.c:93
#3  0x08049199 in main (argc=1, argv=0xbffff414)
    at /home/andres/src/csound6/frontends/csound/csound_main.c:136
(gdb)

Cheers,
Andrés

On Sun, Apr 8, 2012 at 6:30 PM, Steven Yi <stevenyi@gmail.com> wrote:
With Cmake, you're encourage to build outside of the source tree.  For
example, I have:

./csound6
./cs6make
./cs6xcode

And I call cmake with "cmake ../csound6".


On Sun, Apr 8, 2012 at 6:28 PM, Andres Cabrera <mantaraya36@gmail.com> wrote:
> Thanks Steven, trying it now. Do you think it's possible to have a separate
> build tree for the debug build?
>
> Cheers,
> Andrés
>
>
> On Sun, Apr 8, 2012 at 6:25 PM, Steven Yi <stevenyi@gmail.com> wrote:
>>
>> Hi Andres,
>>
>> You can build debug using -DCMAKE_BUILD_TYPE=Debug (or you can rename
>> Custom.cmake.in as Custom.cmake in the csound6 folder).  That should
>> get the build to be debug.
>>
>> Not sure about the segfault however; I'll pull and try a build here.
>>
>> Thanks!
>> steven
>>
>> On Sun, Apr 8, 2012 at 6:18 PM, Andres Cabrera <mantaraya36@gmail.com>
>> wrote:
>> > Hi all,
>> >
>> > Csound6 is crashing on me...
>> >
>> > I'm using cmake to build. Any ideas?
>> >
>> > BTW how do I build debug with cmake?
>> >
>> > andres@cab-laptop:~/src/csound6$ gdb csound
>> > GNU gdb (GDB) 7.1-ubuntu
>> > Copyright (C) 2010 Free Software Foundation, Inc.
>> > License GPLv3+: GNU GPL version 3 or later
>> > <http://gnu.org/licenses/gpl.html>
>> > 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 "i486-linux-gnu".
>> > For bug reporting instructions, please see:
>> > <http://www.gnu.org/software/gdb/bugs/>...
>> > /home/andres/.gdbinit:1: Error in sourced command file:
>> > Undefined command: "".  Try "help".
>> > Reading symbols from /home/andres/src/csound6/csound...(no debugging
>> > symbols
>> > found)...done.
>> > (gdb) run
>> > Starting program: /home/andres/src/csound6/csound
>> > [Thread debugging using libthread_db enabled]
>> >
>> > Program received signal SIGSEGV, Segmentation fault.
>> > 0x00177178 in csound_aops_init_tables ()
>> >    from /home/andres/src/csound6/libcsound64.so.6.0
>> > (gdb) bt
>> > #0  0x00177178 in csound_aops_init_tables ()
>> >    from /home/andres/src/csound6/libcsound64.so.6.0
>> > #1  0x00243cc3 in csoundPreCompile ()
>> >    from /home/andres/src/csound6/libcsound64.so.6.0
>> > #2  0x00247852 in csoundCompile ()
>> >    from /home/andres/src/csound6/libcsound64.so.6.0
>> > #3  0x08049199 in main ()
>> > (gdb)
>> >
>> > Cheers,
>> > Andrés
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > For Developers, A Lot Can Happen In A Second.
>> > Boundary is the first to Know...and Tell You.
>> > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>> > http://p.sf.net/sfu/Boundary-d2dvs2
>> > _______________________________________________
>> > Csound-devel mailing list
>> > Csound-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >
>>
>>
>> ------------------------------------------------------------------------------
>> For Developers, A Lot Can Happen In A Second.
>> Boundary is the first to Know...and Tell You.
>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>> http://p.sf.net/sfu/Boundary-d2dvs2
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
> ------------------------------------------------------------------------------
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


Date2012-04-08 18:52
FromVictor Lazzarini
SubjectRe: [Cs-dev] csound6 segfault
yes, I like the building on a separate dir, it is quite clean.

Victor
On 8 Apr 2012, at 18:32, Steven Yi wrote:

> Also, you could do something like:
> 
> csound6
> csound6/debug
> csound6/release
> 
> and create your Makefiles in the debug and release folders.
> 
> On Sun, Apr 8, 2012 at 6:30 PM, Steven Yi  wrote:
>> With Cmake, you're encourage to build outside of the source tree.  For
>> example, I have:
>> 
>> ./csound6
>> ./cs6make
>> ./cs6xcode
>> 
>> And I call cmake with "cmake ../csound6".
>> 
>> 
>> On Sun, Apr 8, 2012 at 6:28 PM, Andres Cabrera  wrote:
>>> Thanks Steven, trying it now. Do you think it's possible to have a separate
>>> build tree for the debug build?
>>> 
>>> Cheers,
>>> Andrés
>>> 
>>> 
>>> On Sun, Apr 8, 2012 at 6:25 PM, Steven Yi  wrote:
>>>> 
>>>> Hi Andres,
>>>> 
>>>> You can build debug using -DCMAKE_BUILD_TYPE=Debug (or you can rename
>>>> Custom.cmake.in as Custom.cmake in the csound6 folder).  That should
>>>> get the build to be debug.
>>>> 
>>>> Not sure about the segfault however; I'll pull and try a build here.
>>>> 
>>>> Thanks!
>>>> steven
>>>> 
>>>> On Sun, Apr 8, 2012 at 6:18 PM, Andres Cabrera 
>>>> wrote:
>>>>> Hi all,
>>>>> 
>>>>> Csound6 is crashing on me...
>>>>> 
>>>>> I'm using cmake to build. Any ideas?
>>>>> 
>>>>> BTW how do I build debug with cmake?
>>>>> 
>>>>> andres@cab-laptop:~/src/csound6$ gdb csound
>>>>> GNU gdb (GDB) 7.1-ubuntu
>>>>> Copyright (C) 2010 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 "i486-linux-gnu".
>>>>> For bug reporting instructions, please see:
>>>>> ...
>>>>> /home/andres/.gdbinit:1: Error in sourced command file:
>>>>> Undefined command: "".  Try "help".
>>>>> Reading symbols from /home/andres/src/csound6/csound...(no debugging
>>>>> symbols
>>>>> found)...done.
>>>>> (gdb) run
>>>>> Starting program: /home/andres/src/csound6/csound
>>>>> [Thread debugging using libthread_db enabled]
>>>>> 
>>>>> Program received signal SIGSEGV, Segmentation fault.
>>>>> 0x00177178 in csound_aops_init_tables ()
>>>>>    from /home/andres/src/csound6/libcsound64.so.6.0
>>>>> (gdb) bt
>>>>> #0  0x00177178 in csound_aops_init_tables ()
>>>>>    from /home/andres/src/csound6/libcsound64.so.6.0
>>>>> #1  0x00243cc3 in csoundPreCompile ()
>>>>>    from /home/andres/src/csound6/libcsound64.so.6.0
>>>>> #2  0x00247852 in csoundCompile ()
>>>>>    from /home/andres/src/csound6/libcsound64.so.6.0
>>>>> #3  0x08049199 in main ()
>>>>> (gdb)
>>>>> 
>>>>> Cheers,
>>>>> Andrés
>>>>> 
>>>>> 
>>>>> ------------------------------------------------------------------------------
>>>>> For Developers, A Lot Can Happen In A Second.
>>>>> Boundary is the first to Know...and Tell You.
>>>>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>>>>> http://p.sf.net/sfu/Boundary-d2dvs2
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>> 
>>>> 
>>>> 
>>>> ------------------------------------------------------------------------------
>>>> For Developers, A Lot Can Happen In A Second.
>>>> Boundary is the first to Know...and Tell You.
>>>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>>>> http://p.sf.net/sfu/Boundary-d2dvs2
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> 
>>> 
>>> 
>>> ------------------------------------------------------------------------------
>>> For Developers, A Lot Can Happen In A Second.
>>> Boundary is the first to Know...and Tell You.
>>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>>> http://p.sf.net/sfu/Boundary-d2dvs2
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> 
> 
> ------------------------------------------------------------------------------
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

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




------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-04-08 19:45
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] csound6 segfault
> yes, I like the building on a separate dir, it is quite clean.
>
> Victor
> On 8 Apr 2012, at 18:32, Steven Yi wrote:
>

This is oe of the things that really iritates as one is firever changing
directory



------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net