[Mono-devel-list] Bug in Mono JIT optimizations

Jörg Rosenkranz joergr at voelcker.com
Wed Jun 23 07:02:54 EDT 2004


Hello all,

I'm recognizing a new problem with System.Data.OracleClient
under Mono/SuSE 8.2:
http://bugzilla.ximian.com/show_bug.cgi?id=60613

After some research I've found out that it's not a problem
with the code but with Mono JIT optimizations.

Running the test case using 

	mono OracleGetSchemaTable.exe

is failing with NullReferenceException. Running it using 

	mono -O=all OracleGetSchemaTable.exe

works without problems. Uncommenting the line 

	row ["NumericPrecision"]	= parameter.GetPrecision ();

in OracleDataReader.GetSchemaTable also "fixes" this problem.
I have only this Oracle related test case for this case. 
The change causing this must have been introduced during the 
last month because it worked before.

Are there any known problems with optimization which can cause 
this behaviour?

Thanks,
Joerg.



More information about the Mono-devel-list mailing list