[Mono-bugs] [Bug 539810] New: System.NotImplementedException on getter for FileStream.SafeFileHandle
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Sep 17 01:00:42 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=539810
Summary: System.NotImplementedException on getter for
FileStream.SafeFileHandle
Classification: Mono
Product: Mono: Class Libraries
Version: 2.4.x
Platform: 32bit
OS/Version: Ubuntu
Status: NEW
Severity: Normal
Priority: P5 - None
Component: System
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: olson.jeffery at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: Community User
Description of Problem:
FileStream.SafeFileHandle is un-impl'd, see output for example. this occurs in
the release version of 2.4.2.3
Steps to reproduce the problem:
1. in booish.exe (Boo interactive shell)
>>>import System.IO
>>>file = File.Open(path, FileMode.Open)
System.IO.FileStream
>>>file.SafeFileHandle
System.NotImplementedException: The requested feature is not implemented.
at System.IO.FileStream.get_SafeFileHandle () [0x00000]
at Input5Module.Main (System.String[] argv) [0x00000]
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke
(object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000]
>>>
Actual Results:
see about stack trace
Expected Results:
to not explode
How often does this happen?
every time
Additional Information:
this is a blocking issue.. I actually discovered this when trying to use
csharp-sqlite (a managed implementation of sqlite 3,
http://code.google.com/p/csharp-sqlite/) ... the full stack trace from
csharp-sqlite (with whom I also filed a bug) is:
Unhandled Exception: System.NotImplementedException: The requested feature is
not implemented.
at System.IO.FileStream.get_SafeFileHandle () [0x00000]
at CS_SQLite3.csSQLite.winOpen (CS_SQLite3.sqlite3_vfs pVfs, System.String
zName, CS_SQLite3.sqlite3_file pFile, Int32 flags, System.Int32& pOutFlags)
[0x00000]
at CS_SQLite3.csSQLite.sqlite3OsOpen (CS_SQLite3.sqlite3_vfs pVfs,
System.String zPath, CS_SQLite3.sqlite3_file pFile, Int32 flags, System.Int32&
pFlagsOut) [0x00000]
at CS_SQLite3.csSQLite.sqlite3PagerOpen (CS_SQLite3.sqlite3_vfs pVfs,
CS_SQLite3.Pager& ppPager, System.String zFilename, Int32 nExtra, Int32 flags,
Int32 vfsFlags, CS_SQLite3.dxReiniter xReinit) [0x00000]
at CS_SQLite3.csSQLite.sqlite3BtreeOpen (System.String zFilename,
CS_SQLite3.sqlite3 db, CS_SQLite3.Btree& ppBtree, Int32 flags, Int32 vfsFlags)
[0x00000]
at CS_SQLite3.csSQLite.sqlite3BtreeFactory (CS_SQLite3.sqlite3 db,
System.String zFilename, Boolean omitJournal, Int32 nCache, Int32 vfsFlags,
CS_SQLite3.Btree& ppBtree) [0x00000]
at CS_SQLite3.csSQLite.openDatabase (System.String zFilename,
CS_SQLite3.sqlite3& ppDb, Int32 flags, System.String zVfs) [0x00000]
at CS_SQLite3.csSQLite.sqlite3_open (System.String zFilename,
CS_SQLite3.sqlite3& ppDb) [0x00000]
at CS_SQLite3.SQLiteDatabase.OpenDatabase (System.String DatabaseName)
[0x00000]
at CS_SQLite3.SQLiteDatabase..ctor (System.String DatabaseName) [0x00000]
.. anyways, the csharp-sqlite code works fine in windows/ms.net .. I suppose
there's some block of un-impl'd functionality and FileStream.SafeFileHandle's
current status is just a symptom of that. Is it possible that this could be
rectified? if so, I would really appreciate it.
Thanks
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list