[Csnd] error in rtjack.c?
Date | 2013-07-14 08:09 |
From | Tarmo Johannes |
Subject | [Csnd] error in rtjack.c? |
Hi,
testing CsoundQt with csound6 (and it works well!) I got a segmentation fault when I tried to choose a input device of jack. The traceback led me to line
rtjack.c:1033
sprintf("%s%s", isOutput ? "dac:" : "adc:", list[cnt].device_id, port);
It has two variable places in the format string, but three variables as parameters?
greetings, tarmo |
Date | 2013-07-14 09:44 |
From | Victor Lazzarini |
Subject | Re: [Csnd] error in rtjack.c? |
On 14 Jul 2013, at 08:09, Tarmo Johannes wrote:
Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie |
Date | 2013-07-14 13:56 |
From | Tarmo Johannes |
Subject | Re: [Csnd] error in rtjack.c? |
Thanks!
it crashes still, casused by
sprintf("%s%s%s", isOutput ? "dac:" : "adc:", list[cnt].device_id, port);
shouldn't sprintf have the fisrt parameter the destination string, where the result is copied?
There was no this problem some weeks ago when all clients active in jack were listed properly. Probably some editing mishap.
greetings, tarmo
I am not sure how much I can use computer in the coming days but try to be ready for testing and will provide more information, when necessary.
t
On Sunday 14 July 2013 09:44:50 Victor Lazzarini wrote: Changed in GIT, could you tell me whether it's fixed? On 14 Jul 2013, at 08:09, Tarmo Johannes wrote:
Hi,
testing CsoundQt with csound6 (and it works well!) I got a segmentation fault when I tried to choose a input device of jack. The traceback led me to line
rtjack.c:1033
sprintf("%s%s", isOutput ? "dac:" : "adc:", list[cnt].device_id, port);
It has two variable places in the format string, but three variables as parameters?
greetings, tarmo Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie |
Date | 2013-07-14 15:44 |
From | Victor Lazzarini |
Subject | Re: [Csnd] error in rtjack.c? |
On 14 Jul 2013, at 13:56, Tarmo Johannes wrote:
Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie |
Date | 2013-07-24 01:40 |
From | Tarmo Johannes |
Subject | Re: [Csnd] error in rtjack.c? |
Yes,
thank you, I could test it now after some break and CsoundQt (compiled against cs6) list the jack devices correctly now.
best! tarmo
On Sunday 14 July 2013 15:44:15 Victor Lazzarini wrote: OK, I've fixed and tested this. In GIT now. On 14 Jul 2013, at 13:56, Tarmo Johannes wrote: Thanks!
it crashes still, casused by
sprintf("%s%s%s", isOutput ? "dac:" : "adc:", list[cnt].device_id, port);
shouldn't sprintf have the fisrt parameter the destination string, where the result is copied?
There was no this problem some weeks ago when all clients active in jack were listed properly. Probably some editing mishap.
greetings, tarmo
I am not sure how much I can use computer in the coming days but try to be ready for testing and will provide more information, when necessary.
t
On Sunday 14 July 2013 09:44:50 Victor Lazzarini wrote: Changed in GIT, could you tell me whether it's fixed? On 14 Jul 2013, at 08:09, Tarmo Johannes wrote:
Hi,
testing CsoundQt with csound6 (and it works well!) I got a segmentation fault when I tried to choose a input device of jack. The traceback led me to line
rtjack.c:1033
sprintf("%s%s", isOutput ? "dac:" : "adc:", list[cnt].device_id, port);
It has two variable places in the format string, but three variables as parameters?
greetings, tarmo Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie |