Csound Csound-dev Csound-tekno Search About

[Csnd] hvs3 still crashing with iconftab

Date2020-06-15 22:26
From"Jeanette C."
Subject[Csnd] hvs3 still crashing with iconftab
Hey hey,
running Csound 6.14 I can still cause Csound to segfault when I use the 
iconftab parameter of hvs3, which will allow different interpolations for the 
values in ftables. I tested this with the example code of m_cubicon:
http://juliencoder.de/sound/m_cubicon-0.5.zip

If you change the m_cubicon calls as follows:
Line 24 (instr 2)
From:
aout m_cubicon kpitch, kmx, kmy, kmz, kmorph, 1, 3, 0, 0
to:
aout m_cubicon kpitch, kmx, kmy, kmz, kmorph, 1, 3, 100, 1

and line 37 (instr 1)
from:
aout m_cubicon kpitch, kmx, kmy, kmz, kmorph, 1, 3, 0, 0
to:
aout m_cubicon kpitch, kmx, kmy, kmz, kmorph, 1, 3, 100, 1

Csound on my system segfaults. Setting the panultimate parameter from 100 to 
0, i.e. no iconftab the code runs perfectly.

Is this a problem already fixed in git, or can someone on the latest version 
replicate this?

Best wishes,

Jeanette

-- 
  * Website: http://juliencoder.de - for summer is a state of sound
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * SoundCloud: https://soundcloud.com/jeanette_c
  * Twitter: https://twitter.com/jeanette_c_s
  * Audiobombs: https://www.audiobombs.com/users/jeanette_c
  * GitHub: https://github.com/jeanette-c

Don't, don't let me be the last to know
Don't hold back, just let it go <3
(Britney Spears)

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-06-15 22:33
FromVictor Lazzarini
SubjectRe: [Csnd] [EXTERNAL] [Csnd] hvs3 still crashing with iconftab
if you could open a ticket in github, with
a minimal example demonstrating the segfault, we'll look at it.

Prof. Victor Lazzarini
Maynooth University
Ireland

> On 15 Jun 2020, at 22:25, Jeanette C.  wrote:
> 
> *Warning*
> 
> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
> 
> Hey hey,
> running Csound 6.14 I can still cause Csound to segfault when I use the
> iconftab parameter of hvs3, which will allow different interpolations for the
> values in ftables. I tested this with the example code of m_cubicon:
> https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fjuliencoder.de%2Fsound%2Fm_cubicon-0.5.zip&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C972e31c262ad41b8b7b108d81172b0a4%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637278531574112405&sdata=ACRzizYrWJnWXNVz5snJXOmsWDLDW2cdw2IGvB0cAfM%3D&reserved=0
> 
> If you change the m_cubicon calls as follows:
> Line 24 (instr 2)
> From:
> aout m_cubicon kpitch, kmx, kmy, kmz, kmorph, 1, 3, 0, 0
> to:
> aout m_cubicon kpitch, kmx, kmy, kmz, kmorph, 1, 3, 100, 1
> 
> and line 37 (instr 1)
> from:
> aout m_cubicon kpitch, kmx, kmy, kmz, kmorph, 1, 3, 0, 0
> to:
> aout m_cubicon kpitch, kmx, kmy, kmz, kmorph, 1, 3, 100, 1
> 
> Csound on my system segfaults. Setting the panultimate parameter from 100 to
> 0, i.e. no iconftab the code runs perfectly.
> 
> Is this a problem already fixed in git, or can someone on the latest version
> replicate this?
> 
> Best wishes,
> 
> Jeanette
> 
> --
> * Website: https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fjuliencoder.de%2F&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C972e31c262ad41b8b7b108d81172b0a4%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637278531574112405&sdata=R3h9JPA5oOfS0n0LwYOm%2BKyFrM5yFWWkvJRyjyZ6lHI%3D&reserved=0 - for summer is a state of sound
> * Youtube: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.youtube.com%2Fchannel%2FUCMS4rfGrTwz8W7jhC1Jnv7g&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C972e31c262ad41b8b7b108d81172b0a4%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637278531574112405&sdata=k3MJPCwmGLlVjRmKc%2FaadfTAw9PXq4cUylZ9VdrkGK8%3D&reserved=0
> * SoundCloud: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsoundcloud.com%2Fjeanette_c&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C972e31c262ad41b8b7b108d81172b0a4%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637278531574112405&sdata=5h6is7RAprXRcFXMtz%2BRpwPNYdEiSWaeZwWcwpDux4k%3D&reserved=0
> * Twitter: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2Fjeanette_c_s&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C972e31c262ad41b8b7b108d81172b0a4%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637278531574112405&sdata=pBEXf0%2BlSe0tSZBZXePYHNFqCy0BUU%2B548wS%2FvzKlRk%3D&reserved=0
> * Audiobombs: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.audiobombs.com%2Fusers%2Fjeanette_c&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C972e31c262ad41b8b7b108d81172b0a4%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637278531574112405&sdata=wUm8uQ4bo7GAlRFCYTLx%2FgC7uoRnpLD%2BF7EIYg20nsM%3D&reserved=0
> * GitHub: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjeanette-c&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C972e31c262ad41b8b7b108d81172b0a4%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637278531574112405&sdata=ui%2B60TMWB7uGFHN9cOoKFG80G9TXxJi7B%2Fb%2BL593AxM%3D&reserved=0
> 
> Don't, don't let me be the last to know
> Don't hold back, just let it go <3
> (Britney Spears)
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C972e31c262ad41b8b7b108d81172b0a4%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637278531574112405&sdata=C1P5aFcWYQxRR8ZeiXKJlU%2Bggj4gRx6ijKqZ34idWvk%3D&reserved=0
> Send bugs reports to
>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C972e31c262ad41b8b7b108d81172b0a4%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637278531574112405&sdata=%2FlNAYyYFGYheEHLgSwRrqgwR0h1wXzNexhk1AHQ%2FJCE%3D&reserved=0
> 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-06-17 21:43
Fromjohn
SubjectRe: [Csnd] hvs3 still crashing with iconftab
Took a quick look and it is strange.  it crass on account of p->confTable 
being null.  Reading the sources an there is no setting of this table 
anywhere; only mentioned in two places; the declaration in the structure 
and d the line where t crashes.

It will need some one with the tie to work out what is supposed to happen. 
I tried assigning the table to a possible case but I then got silence 
rather than a crash.

The code is not finished in my opinion.
-==John ff

On Mon, 15 Jun 2020, Jeanette C. wrote:

> Hey hey,
> running Csound 6.14 I can still cause Csound to segfault when I use the 
> iconftab parameter of hvs3, which will allow different interpolations for the 
> values in ftables. I tested this with the example code of m_cubicon:
> http://juliencoder.de/sound/m_cubicon-0.5.zip
>
> If you change the m_cubicon calls as follows:
> Line 24 (instr 2)
> From:
> aout m_cubicon kpitch, kmx, kmy, kmz, kmorph, 1, 3, 0, 0
> to:
> aout m_cubicon kpitch, kmx, kmy, kmz, kmorph, 1, 3, 100, 1
>
> and line 37 (instr 1)
> from:
> aout m_cubicon kpitch, kmx, kmy, kmz, kmorph, 1, 3, 0, 0
> to:
> aout m_cubicon kpitch, kmx, kmy, kmz, kmorph, 1, 3, 100, 1
>
> Csound on my system segfaults. Setting the panultimate parameter from 100 to 
> 0, i.e. no iconftab the code runs perfectly.
>
> Is this a problem already fixed in git, or can someone on the latest version 
> replicate this?
>
> Best wishes,
>
> Jeanette
>
> -- 
> * Website: http://juliencoder.de - for summer is a state of sound
> * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
> * SoundCloud: https://soundcloud.com/jeanette_c
> * Twitter: https://twitter.com/jeanette_c_s
> * Audiobombs: https://www.audiobombs.com/users/jeanette_c
> * GitHub: https://github.com/jeanette-c
>
> Don't, don't let me be the last to know
> Don't hold back, just let it go <3
> (Britney Spears)
>
> 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-06-17 21:47
From"Jeanette C."
SubjectRe: [Csnd] hvs3 still crashing with iconftab
Thanks for the update John. It's not ideal, but at least it's clear. I thought 
I did something wrong, it's not uncommon. :)

Best wishes,

Jeanette

Jun 17 2020, john has written:

> Took a quick look and it is strange.  it crass on account of p->confTable 
> being null.  Reading the sources an there is no setting of this table 
> anywhere; only mentioned in two places; the declaration in the structure and 
> d the line where t crashes.
>
> It will need some one with the tie to work out what is supposed to happen. I 
> tried assigning the table to a possible case but I then got silence rather 
> than a crash.
>
> The code is not finished in my opinion.
> -==John ff
>
> On Mon, 15 Jun 2020, Jeanette C. wrote:
>
>> Hey hey,
>> running Csound 6.14 I can still cause Csound to segfault when I use the 
>> iconftab parameter of hvs3, which will allow different interpolations for 
>> the values in ftables. I tested this with the example code of m_cubicon:
>> http://juliencoder.de/sound/m_cubicon-0.5.zip
>> 
>> If you change the m_cubicon calls as follows:
>> Line 24 (instr 2)
>> From:
>> aout m_cubicon kpitch, kmx, kmy, kmz, kmorph, 1, 3, 0, 0
>> to:
>> aout m_cubicon kpitch, kmx, kmy, kmz, kmorph, 1, 3, 100, 1
>> 
>> and line 37 (instr 1)
>> from:
>> aout m_cubicon kpitch, kmx, kmy, kmz, kmorph, 1, 3, 0, 0
>> to:
>> aout m_cubicon kpitch, kmx, kmy, kmz, kmorph, 1, 3, 100, 1
>> 
>> Csound on my system segfaults. Setting the panultimate parameter from 100 
>> to 0, i.e. no iconftab the code runs perfectly.
>> 
>> Is this a problem already fixed in git, or can someone on the latest 
>> version replicate this?
>> 
>> Best wishes,
>> 
>> Jeanette
>> 
>> -- 
>> * Website: http://juliencoder.de - for summer is a state of sound
>> * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
>> * SoundCloud: https://soundcloud.com/jeanette_c
>> * Twitter: https://twitter.com/jeanette_c_s
>> * Audiobombs: https://www.audiobombs.com/users/jeanette_c
>> * GitHub: https://github.com/jeanette-c
>> 
>> Don't, don't let me be the last to know
>> Don't hold back, just let it go <3
>> (Britney Spears)
>> 
>> 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
>

-- 
  * Website: http://juliencoder.de - for summer is a state of sound
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * SoundCloud: https://soundcloud.com/jeanette_c
  * Twitter: https://twitter.com/jeanette_c_s
  * Audiobombs: https://www.audiobombs.com/users/jeanette_c
  * GitHub: https://github.com/jeanette-c

'Cause I don't have to feel the heat of the sun
To know it's shining on me every day <3
(Britney Spears)

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