Hi All,

It's just a sort of hunch, since I don't have 
test code and detailed theoretical proof for this, 
but it looks like existing HBQT_QTPTR_FROM_GCPOINTER() 
is a wrong concept and should not be used at all.

It converts GC pointer to a simple one.

In code it's used for some comparisons, but it's 
also stored in object vars, which is very dangerous 
to do as pointer may go invalid anytime, and 
references aren't counted, etcetc.

To me it looks like something to be solved differently 
to avoid GPF time-bombs.

Brgds,
Viktor

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to