Csound Csound-dev Csound-tekno Search About

[Csnd] csound malloc error

Date2020-03-14 15:33
Fromjacqouemin
Subject[Csnd] csound malloc error
Hello everybody,

i'm always working on a live coding environment and sometimes when i'm
playing (I cannot control it and I cannot figure out why it happens) I get
this error: 

csound(1661,0x700003b50000) malloc: Incorrect checksum for freed object
0x7fe1d4f23670: probably modified after being freed.
Corrupt value: 0x7fe1d4fd7010
csound(1661,0x700003b50000) malloc: *** set a breakpoint in
malloc_error_break to debug
        
csound command: Abort trap

---

What it is really strange is that after I get this error in order to get
again some sound with my environment I have to restart my computer.
I'm on macOS Mojave 10.14.6 - Csound version 6.14 (double samples) Jan 26
2020

Best,
j



--
Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2020-03-14 18:38
FromSteven Yi
SubjectRe: [Csnd] csound malloc error
Hi Jacques,

I've seen some errors similar to this while live coding, usually
around using arrays. I haven't had a chance to test in any detail
though.  I haven't had to restart my system.  I'd check about ensuring
csound is indeed off (can use Activity Monitor) as well as try
restarting coreaudiod. I think this command works (just looked it up
and tested here):

sudo launchctl stop com.apple.audio.coreaudiod

steven

On Sat, Mar 14, 2020 at 11:33 AM jacqouemin
 wrote:
>
> Hello everybody,
>
> i'm always working on a live coding environment and sometimes when i'm
> playing (I cannot control it and I cannot figure out why it happens) I get
> this error:
>
> csound(1661,0x700003b50000) malloc: Incorrect checksum for freed object
> 0x7fe1d4f23670: probably modified after being freed.
> Corrupt value: 0x7fe1d4fd7010
> csound(1661,0x700003b50000) malloc: *** set a breakpoint in
> malloc_error_break to debug
>
> csound command: Abort trap
>
> ---
>
> What it is really strange is that after I get this error in order to get
> again some sound with my environment I have to restart my computer.
> I'm on macOS Mojave 10.14.6 - Csound version 6.14 (double samples) Jan 26
> 2020
>
> Best,
> j
>
>
>
> --
> Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2020-03-19 11:22
Fromjacqouemin
SubjectRe: [Csnd] csound malloc error
Hi Steven,

thank you for your answer. I just had a malloc error and I tried as you
said, but it didn't work!
I always need to restart my computer..
Thank you anyway!
Best,

j




--
Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2020-03-19 11:30
Fromjacqouemin
SubjectRe: [Csnd] csound malloc error
As always.. I am a lil bit late.

Yes, I also had to *kill csound memory in Monitor Activity*.
Now I have again my sound!
I keep on live coding,
have a nice day everyone!

j




--
Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here