Csound Csound-dev Csound-tekno Search About

[Csnd] Bug: ATSsinnoi

Date2011-07-21 23:01
FromErnesto Illescas
Subject[Csnd] Bug: ATSsinnoi
AttachmentsbugReportFiles.tar.gz  
Hi,

I'm reporting a bug in the ATSsinnoi opcode. I'm using Csound 5.13 (built yesterday from git) in Debian testing on an amd64 machine (I attach the temp.orc, temp.sco and ats/original.ats that produce the error).
I'm intermittently getting to errors: sometimes I get a segmentation fault, and sometimes I get the traceback I paste below (incomplete, since it is too long). If I run the same code with Csound 5.08, there's no error, but it seems that only one score statement is actually being translated into sound. Anyway, the traceback:

FetchADDNZbands: position 4.753260
FetchADDNZbands: position 4.753260
FetchADDNZbands: position 4.753260
*** glibc detected *** csound: free(): invalid next size (fast): 0x00000000023eb930 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x72606)[0x7fe3f083d606]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x6c)[0x7fe3f084233c]
/lib/x86_64-linux-gnu/libc.so.6(+0x2fc90)[0x7fe3f07fac90]
/lib/x86_64-linux-gnu/libc.so.6(+0x2dbb5)[0x7fe3f07f8bb5]
/lib/x86_64-linux-gnu/libc.so.6(+0x2d4a0)[0x7fe3f07f84a0]
/lib/x86_64-linux-gnu/libc.so.6(psignal+0x54)[0x7fe3f081fc24]
/usr/local/lib/libcsound64.so.5.2(+0x9ef2f)[0x7fe3f0df0f2f]
/lib/x86_64-linux-gnu/libc.so.6(+0x32480)[0x7fe3f07fd480]
/usr/local/lib/libcsound64.so.5.2(+0x81a3a)[0x7fe3f0dd3a3a]
/usr/local/lib/libcsound64.so.5.2(+0xa003d)[0x7fe3f0df203d]
/usr/local/lib/libcsound64.so.5.2(csoundPerform+0x4a)[0x7fe3f0df216a]
csound[0x401462]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main

Best,

E.

Date2011-07-21 23:11
FromErnesto Illescas
SubjectRe: [Csnd] Bug: ATSsinnoi
I already reported this at Sourceforge.

Best,

E.


De: Ernesto Illescas <el_erno@yahoo.com.mx>
Para: "csound@lists.bath.ac.uk" <csound@lists.bath.ac.uk>
Enviado: jueves, 21 de julio, 2011 17:01:10
Asunto: [Csnd] Bug: ATSsinnoi

Hi,

I'm reporting a bug in the ATSsinnoi opcode. I'm using Csound 5.13 (built yesterday from git) in Debian testing on an amd64 machine (I attach the temp.orc, temp.sco and ats/original.ats that produce the error).
I'm intermittently getting to errors: sometimes I get a segmentation fault, and sometimes I get the traceback I paste below (incomplete, since it is too long). If I run the same code with Csound 5.08, there's no error, but it seems that only one score statement is actually being translated into sound. Anyway, the traceback:

FetchADDNZbands: position 4.753260
FetchADDNZbands: position 4.753260
FetchADDNZbands: position 4.753260
*** glibc detected *** csound: free(): invalid next size (fast): 0x00000000023eb930 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x72606)[0x7fe3f083d606]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x6c)[0x7fe3f084233c]
/lib/x86_64-linux-gnu/libc.so.6(+0x2fc90)[0x7fe3f07fac90]
/lib/x86_64-linux-gnu/libc.so.6(+0x2dbb5)[0x7fe3f07f8bb5]
/lib/x86_64-linux-gnu/libc.so.6(+0x2d4a0)[0x7fe3f07f84a0]
/lib/x86_64-linux-gnu/libc.so.6(psignal+0x54)[0x7fe3f081fc24]
/usr/local/lib/libcsound64.so.5.2(+0x9ef2f)[0x7fe3f0df0f2f]
/lib/x86_64-linux-gnu/libc.so.6(+0x32480)[0x7fe3f07fd480]
/usr/local/lib/libcsound64.so.5.2(+0x81a3a)[0x7fe3f0dd3a3a]
/usr/local/lib/libcsound64.so.5.2(+0xa003d)[0x7fe3f0df203d]
/usr/local/lib/libcsound64.so.5.2(csoundPerform+0x4a)[0x7fe3f0df216a]
csound[0x401462]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main

Best,

E.



Date2011-07-22 09:45
Fromjpff@cs.bath.ac.uk
SubjectRe: [Csnd] Bug: ATSsinnoi
Any chance of running under valgrind?  Clearly a memory problem.  If no I
will get to it eventually

==John ff


> I already reported this at Sourceforge.
>
> Best,
>
> E.
>
>
>
> ________________________________
> De: Ernesto Illescas 
> Para: "csound@lists.bath.ac.uk" 
> Enviado: jueves, 21 de julio, 2011 17:01:10
> Asunto: [Csnd] Bug: ATSsinnoi
>
>
> Hi,
>
> I'm reporting a bug in the ATSsinnoi opcode. I'm using Csound 5.13 (built
> yesterday from git) in Debian testing on an amd64 machine (I attach the
> temp.orc, temp.sco and ats/original.ats that produce the error).
> I'm intermittently getting to errors: sometimes I get a segmentation
> fault, and sometimes I get the traceback I paste below (incomplete, since
> it is too long). If I run the same code with Csound 5.08, there's no
> error, but it seems that only one score statement is actually being
> translated into sound. Anyway, the traceback:
>
> FetchADDNZbands: position 4.753260
> FetchADDNZbands: position 4.753260
> FetchADDNZbands: position 4.753260
> *** glibc detected *** csound: free(): invalid next size (fast):
> 0x00000000023eb930 ***
> ======= Backtrace:
>  =========
> /lib/x86_64-linux-gnu/libc.so.6(+0x72606)[0x7fe3f083d606]
> /lib/x86_64-linux-gnu/libc.so.6(cfree+0x6c)[0x7fe3f084233c]
> /lib/x86_64-linux-gnu/libc.so.6(+0x2fc90)[0x7fe3f07fac90]
> /lib/x86_64-linux-gnu/libc.so.6(+0x2dbb5)[0x7fe3f07f8bb5]
> /lib/x86_64-linux-gnu/libc.so.6(+0x2d4a0)[0x7fe3f07f84a0]
> /lib/x86_64-linux-gnu/libc.so.6(psignal+0x54)[0x7fe3f081fc24]
> /usr/local/lib/libcsound64.so.5.2(+0x9ef2f)[0x7fe3f0df0f2f]
> /lib/x86_64-linux-gnu/libc.so.6(+0x32480)[0x7fe3f07fd480]
> /usr/local/lib/libcsound64.so.5.2(+0x81a3a)[0x7fe3f0dd3a3a]
> /usr/local/lib/libcsound64.so.5.2(+0xa003d)[0x7fe3f0df203d]
> /usr/local/lib/libcsound64.so.5.2(csoundPerform+0x4a)[0x7fe3f0df216a]
> csound[0x401462]
> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main
>
>
> Best,
>
> E.
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>




Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2011-07-22 17:39
FromErnesto Illescas
SubjectRe: [Csnd] Bug: ATSsinnoi
Attachmentsvgcsound.txt  
Dear John,

I ran Csound (built from freshly fetched source) under valgrind using the following command:

valgrind --leak-check=yes --log-file=vgcsound.txt -v csound test.orc test.sco

I attach the log file. Thanks for looking into this!

Best,

E.


De: "jpff@cs.bath.ac.uk" <jpff@cs.bath.ac.uk>
Para: csound@lists.bath.ac.uk
Enviado: viernes, 22 de julio, 2011 3:45:33
Asunto: Re: [Csnd] Bug: ATSsinnoi


Any chance of running under valgrind?  Clearly a memory problem.  If no I
will get to it eventually

==John ff


> I already reported this at Sourceforge.
>
> Best,
>
> E.
>
>
>
> ________________________________
> De: Ernesto Illescas <el_erno@yahoo.com.mx>
> Para: "csound@lists.bath.ac.uk" <csound@lists.bath.ac.uk>
> Enviado: jueves, 21 de julio, 2011 17:01:10
> Asunto: [Csnd] Bug: ATSsinnoi
>
>
> Hi,
>
> I'm reporting a bug in the ATSsinnoi opcode. I'm using Csound 5.13 (built
> yesterday from git) in Debian testing on an amd64 machine (I attach the
> temp.orc, temp.sco and ats/original.ats that produce the error).
> I'm intermittently getting to errors: sometimes I get a segmentation
> fault, and sometimes I get the traceback I paste below (incomplete, since
> it is too long). If I run the same code with Csound 5.08, there's no
> error, but it seems that only one score statement is actually being
> translated into sound. Anyway, the traceback:
>
> FetchADDNZbands: position 4.753260
> FetchADDNZbands: position 4.753260
> FetchADDNZbands: position 4.753260
> *** glibc detected *** csound: free(): invalid next size (fast):
> 0x00000000023eb930 ***
> ======= Backtrace:
>  =========
> /lib/x86_64-linux-gnu/libc.so.6(+0x72606)[0x7fe3f083d606]
> /lib/x86_64-linux-gnu/libc.so.6(cfree+0x6c)[0x7fe3f084233c]
> /lib/x86_64-linux-gnu/libc.so.6(+0x2fc90)[0x7fe3f07fac90]
> /lib/x86_64-linux-gnu/libc.so.6(+0x2dbb5)[0x7fe3f07f8bb5]
> /lib/x86_64-linux-gnu/libc.so.6(+0x2d4a0)[0x7fe3f07f84a0]
> /lib/x86_64-linux-gnu/libc.so.6(psignal+0x54)[0x7fe3f081fc24]
> /usr/local/lib/libcsound64.so.5.2(+0x9ef2f)[0x7fe3f0df0f2f]
> /lib/x86_64-linux-gnu/libc.so.6(+0x32480)[0x7fe3f07fd480]
> /usr/local/lib/libcsound64.so.5.2(+0x81a3a)[0x7fe3f0dd3a3a]
> /usr/local/lib/libcsound64.so.5.2(+0xa003d)[0x7fe3f0df203d]
> /usr/local/lib/libcsound64.so.5.2(csoundPerform+0x4a)[0x7fe3f0df216a]
> csound[0x401462]
> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main
>
>
> Best,
>
> E.
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>




Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"