[Mono-list] Corrupted results with mono .net2.0

viraptor viraptor+nabble at gmail.com
Mon Nov 20 17:10:07 EST 2006

I'm running into a strange problem with mono, compiling with gmcs
(packages from ubuntu edgy).
Basically program's running ok, but it's looking for a minimal function
value in a List. I kept getting wrong results for it, so I added 2 lines in
search loop:

if(col.Name=="known good result")
    Console.WriteLine("Hit: {0}, {1}", col.Name, someDebugValue);

Then it started working properly. Removing it goes back to wrong result. I'm
not able to get a proper minimal test case, because it sometimes corrects
when I'm changing irrelevant code. Looks like typical heap/stack overwrite
with wild pointer, but whole code is managed in this case, so I suspect

If someone is interested in getting project (~20KB) for tests, please mail
me at viraptor+nabble at gmail.com
Also, if anyone would like to help and has newer version of mono installed,
I can mail him the code to check, if it's been corrected already - I need
the project working and don't have time to get current env. ver. running :(

Thanks for help.
View this message in context: http://www.nabble.com/Corrupted-results-with-mono-.net2.0-tf2672260.html#a7451847
Sent from the Mono - General mailing list archive at Nabble.com.

More information about the Mono-list mailing list