[Bug 31109] New: Microshop 2.0 (.NET 2.0 app using System.Transactions) wants ole32 CoGetDefaultContext

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Jul 2 15:48:36 CDT 2012


http://bugs.winehq.org/show_bug.cgi?id=31109

             Bug #: 31109
           Summary: Microshop 2.0 (.NET 2.0 app using System.Transactions)
                    wants ole32 CoGetDefaultContext
           Product: Wine
           Version: 1.5.7
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ole32
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: focht at gmx.net
    Classification: Unclassified


Hello,

not really serious (yet), it seems the exception is swallowed somewhere and the
app continues to load.
Though the impact is unclear (no default COM context state?).

At least worth a bug to document the use of the API from .NET
System.Transactions namespace.

Prerequisites: 'winetricks -q dotnet20sp1 mdac28 jet40'

Exception info:

--- snip ---
Exception object: 0149c08c
Exception type: System.EntryPointNotFoundException
Message: Unable to find an entry point named 'CoGetDefaultContext' in DLL
'Ole32'.
InnerException: <none>
StackTrace (generated):
<none>
StackTraceString: <none>
HResult: 80131523 
--- snip ---

CLR stack:

--- snip ---
OS Thread Id: 0x24 (0)
ESP       EIP     
0033edec 7b83953f [PrestubMethodFrame: 0033edec]
System.Transactions.NativeMethods.CoGetDefaultContext(Int32, System.Guid ByRef,
System.Transactions.SafeIUnknown ByRef)
0033ee00 67af2fce
System.Transactions.Transaction.JitSafeGetContextTransaction(System.Transactions.ContextData)
0033ee34 67af31ba
System.Transactions.Transaction.FastGetTransaction(System.Transactions.TransactionScope,
System.Transactions.ContextData, System.Transactions.Transaction ByRef)
0033ee48 67af32fd System.Transactions.Transaction.get_Current()
0033ee6c 65250312 System.Data.Common.ADP.IsSysTxEqualSysEsTransaction()
0033ee74 6525037d System.Data.Common.ADP.NeedManualEnlistment()
0033ee7c 652bd6cd System.Data.OleDb.OleDbConnection.Open()
0033ee88 073b417d NHibernate.JetDriver.JetDbConnection.Open()
0033ee8c 073b3ff9
NHibernate.Connection.DriverConnectionProvider.GetConnection()
0033eeb8 073b3f75
NHibernate.Tool.hbm2ddl.SuppliedConnectionProviderConnectionHelper.Prepare()
0033eec4 073b3e7a
NHibernate.Tool.hbm2ddl.SchemaMetadataUpdater.GetReservedWords(NHibernate.Dialect.Dialect,
NHibernate.Tool.hbm2ddl.IConnectionHelper)
0033eef8 073b3dd7
NHibernate.Tool.hbm2ddl.SchemaMetadataUpdater.Update(NHibernate.ISessionFactory)
0033ef0c 073b29b9
NHibernate.Impl.SessionFactoryImpl..ctor(NHibernate.Cfg.Configuration,
NHibernate.Engine.IMapping, NHibernate.Cfg.Settings,
NHibernate.Event.EventListeners)
0033f0b0 0734c83f NHibernate.Cfg.Configuration.BuildSessionFactory()
0033f0c0 02be9823 SABS.Common.Helpers.NHibernateHelper.a()
0033f100 02be9503 SABS.Common.Helpers.NHibernateHelper.GetSessionFactory()
0033f10c 02be4c18 an.a(System.String[]) 
--- snip ---

MSDN:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms684311%28v=vs.85%29.aspx 

It's called with APTTYPE_CURRENT -> -1

Direct download: http://www.sabs.ro/fw_files/download/Microshop_2.0.3.107.exe

$ du -sh Microshop_2.0.3.107.exe 
21M    Microshop_2.0.3.107.exe

$ sha1sum Microshop_2.0.3.107.exe 
5a773e093e718487139ab347d1bc8de8dadd9e03  Microshop_2.0.3.107.exe

$ wine --version
wine-1.5.7-309-gb4da889

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list