[Kst] Kst Crash

Ben Lewis egretengineering at gmail.com
Wed Jan 1 14:25:21 UTC 2014


Peter,

With larger file sizes (>5MB) there is no way to load the data file without Kst crashing. To get 
around this I can use the "Count from end" option in the Data Wizard. Using any number less than 
about 60,000 rows works pretty reliably, more than this an Kst crashes.

Ben

On 2/01/2014 1:10 AM, Ben Lewis wrote:
> Peter,
>
> I spoke too soon. Kst still crashes when trying to load live data files larger than about 4MB 
> (even with 100ms updates). I think I must have had a good run in my initial testing because it's 
> crashed quite a few times now.
>
> Ben
>
> On 2/01/2014 12:43 AM, Ben Lewis wrote:
>> Hi Peter,
>>
>> I've changed my application so that it now writes to my CSV file every 100 ms (instead of every 
>> 10ms). Kst has not crashed since I've made this change.
>>
>> Kst is configured to update every 1000 ms so I'm not sure why this makes a difference. Possibly 
>> my application was not providing sufficient time for Kst to read the file between my write cycles.
>>
>> I'll do some more testing with larger file sizes and get back to you.
>>
>> Ben
>>
>>
>> On 1/01/2014 12:01 PM, Ben Lewis wrote:
>>> Hi Peter,
>>>
>>> When Kst crashes the log file always shows that the INDEX and Column1 vectors are read twice 
>>> (see "kst crash1.png"). When the data file loads successfully Kst only reads each vector once 
>>> (see "kst success1.png").
>>>
>>> Small files (< 100k rows, < 4MB) do not trigger this double read. My application updates the CSV 
>>> data file with approximately 15 rows every 10ms.
>>>
>>> Ben
>>>
>>> On 23/12/2013 8:45 PM, Peter Kümmel wrote:
>>>> Hi Ben,
>>>>
>>>> thanks for the video.
>>>> But currently I don't have access to your test data,
>>>> and I can't reproduce it with the gyro test data.
>>>> I plot the graphs and change the data with help of
>>>> Notepad++, but it doesn't crash. Do you have an idea
>>>> how to reproduce the crash?
>>>>
>>>> Peter
>>>>
>>>>
>>>> On 19.12.2013 14:34, Ben Lewis wrote:
>>>>> Hi Peter,
>>>>>
>>>>> Here is an example of a crash. I had to repeat these same steps about 5 times to get this
>>>>> to happen, so it's pretty intermittent.
>>>>>
>>>>> The attached screen cast can be played withVLC player
>>>>> <http://www.videolan.org/vlc/index.html>.
>>>>>
>>>>> Please let me know if there is anything more I can do.
>>>>>
>>>>> Cheers, Ben
>>>>>
>>>>
>>>
>>
>



More information about the Kst mailing list