| yes! now it works as it should.
i'll upload the udo very soon.
best -
joachim
Am 17.07.2013 18:58, schrieb Victor Lazzarini:
> Ok, yes, strings can shrink and I am reporting the size of allocated space rather than string length, so that was wrong. I fixed it now
> to report actual string length.
> On 17 Jul 2013, at 17:27, joachim heintz wrote:
>
>> mmmh -- unfortunately still not quite happy with strlenk. i cannot really track this down, but in the attached code, i have this situation:
>>
>> (Sdump is "5,000, 6,000, 7,000, ")
>> klen strlenk Sdump
>> printf "Sdump = '%s', klen = %d\n", kndx+1, Sdump, klen
>>
>> -> Sdump = '5,000, 6,000, 7,000, ', klen = 29
>>
>> which is obviously nonsense, as klen should return 21, not 29.
>>
>> i don't know what the reason is; when i ask
>> klen strlenk "5,000, 6,000, 7,000, "
>> the return value is correct.
>>
>> something to do with the loop before?
>>
>> best -
>>
>> joachim
>>
>>
>>
>> Am 17.07.2013 14:25, schrieb Victor Lazzarini:
>>> well, it was my fault to start with that the bug was there. I'm glad it's working now.
>>> On 17 Jul 2013, at 13:22, joachim heintz wrote:
>>>
>>>> wow victor -- your speed is really breathtaking ...
>>>> yes, works now; now i should be able to upload the array print udo.
>>>> all best =) -
>>>> joachim
>>>>
>>>>
>>>> Am 17.07.2013 13:14, schrieb Victor Lazzarini:
>>>>> OK, fixed.
>>>>>
>>>>> Victor
>>>>> On 17 Jul 2013, at 11:50, joachim heintz wrote:
>>>>>
>>>>>> sorry in advance for the messed code i do attach. i am still debugging a udo code which i had written for printing function tables in csound5, for printing out arrays now. with the attached code, i get this:
>>>>>>
>>>>>> *** glibc detected *** ./csound: free(): invalid next size (fast): 0x0000000000efaeb0 ***
>>>>>> Inconsistency detected by ld.so: dl-open.c: 221: dl_open_worker: Assertion `_dl_debug_initialize (0, args->nsid)->r_state == RT_CONSISTENT' failed!
>>>>>>
>>>>>> when i comment out the last line, it segfaults.
>>>>>>
>>>>>> i can find another code, but i thought it might be useful to report, because there seems to be a bug anywhere.
>>>>>>
>>>>>> best -
>>>>>>
>>>>>> joachim
>>>>>> ------------------------------------------------------------------------------
>>>>>> See everything from the browser to the database with AppDynamics
>>>>>> Get end-to-end visibility with application monitoring from AppDynamics
>>>>>> Isolate bottlenecks and diagnose root cause in seconds.
>>>>>> Start your free trial of AppDynamics Pro today!
>>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk_______________________________________________
>>>>>> 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
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> See everything from the browser to the database with AppDynamics
>>>>> Get end-to-end visibility with application monitoring from AppDynamics
>>>>> Isolate bottlenecks and diagnose root cause in seconds.
>>>>> Start your free trial of AppDynamics Pro today!
>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> See everything from the browser to the database with AppDynamics
>>>> Get end-to-end visibility with application monitoring from AppDynamics
>>>> Isolate bottlenecks and diagnose root cause in seconds.
>>>> Start your free trial of AppDynamics Pro today!
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>>>> _______________________________________________
>>>> 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
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> See everything from the browser to the database with AppDynamics
>>> Get end-to-end visibility with application monitoring from AppDynamics
>>> Isolate bottlenecks and diagnose root cause in seconds.
>>> Start your free trial of AppDynamics Pro today!
>>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>> ------------------------------------------------------------------------------
>> See everything from the browser to the database with AppDynamics
>> Get end-to-end visibility with application monitoring from AppDynamics
>> Isolate bottlenecks and diagnose root cause in seconds.
>> Start your free trial of AppDynamics Pro today!
>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk_______________________________________________
>> 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
>
>
>
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |