Seemingly Random String Concatenation Bug

Archives Forums/BlitzMax Bug Reports/Seemingly Random String Concatenation Bug

Otus(Posted 2008) [#1]
I get an Unhandled Memory Exception Error on the following line in Reflection.bmx (line 264):

meta=" "+meta+" "
Where, according to the debugger, meta is an empty string.

This only happens in debug mode and only under very specific conditions. I couldn't produce a short code example, but running the test file in the following zip should do (requires bah.libxml):

http://jan.varho.org/wp-content/uploads/bug-test.zip (3KB)

Changing the (unrelated) meta key as mentioned in the comment removes the problem as does disabling debug mode.

I used BlitzMax release 1.28 on WinXP.