"Bad refs" error in output screen, MaxGUI

BlitzMax Forums/BlitzMax Programming/"Bad refs" error in output screen, MaxGUI

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I got one of these yesterday, thanks for the hard work Fry, will have a look on Monday for this one.

I think that message only happens during garbage collection and usually has to do with some native c function thinking it has a copy of a string that it can retain (usually from a bytr ptr) rather than a string it must forget about when it returns at the end of the function (from a $z parameter).

The problem locating these problem functions is that the function at fault may have been called many instructions in the past and only when garbage collection occurs (insert mysterious 13 rumour here) does the problem / warning appear.