NVM I am discovering that setting the DGData of a datagrid in the middle of a 
selectionChanged handler is what is crashing to desktop. I can produce this 
every single time in my app, but alas when I rey to create a test stack I 
cannot reproduce it.

But I enabled gRevDevelopment and I discovered where it's going wrong. There is 
a private command called _resetdata that when called in this manner crashes to 
desktop. I will investigate further to see what command specifically is doing 
it.

BTW it is not the data itself. I put empty into the array, then set a single 
line and a single column to the value "12345". Still crashes.

Bob S


On Feb 8, 2017, at 11:38 , Bob Sneidar via use-livecode 
<[email protected]<mailto:[email protected]>> wrote:

I hesitate to post but...

A dev posted here about a change made to the engine to make it more efficient 
which ended up causing problems down the line, memory being released before 
it's time, and the need to create a special C class to handle it. When was this 
implemented? I ask because I am running 8.1.2 and I have a method I am using 
which involves some recursion and database reads and writes in between.

Sometimes it works famously, other times I crash to desktop. I have gone 
through the code to make sure I have no endless loops, and yet I am still 
getting this CtoD sporadically. If it were looping it would happen every time.

Bob S

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to