http://bugs.winehq.org/show_bug.cgi?id=10467
Summary: Making Microsoft .NET 2.0 to work in wine, based on
example app FastMD5 1.4 for NET 2.0
Product: Wine
Version: CVS/GIT
Platform: PC
URL: http://www.paehl.de/english.php
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-dotnet
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Hello,
this bug id exists for the sole purpose of showing my little journey of getting
.NET 2.0 to work in wine.
This topic does *NOT* cover the MONO project in any way.
The windows version of MONO is covered by other bug reports.
DISCLAIMER: This is just a first step which aims at major show stoppers.
There are *many* issues left when it comes to managed (JIT) vs. unmanaged
(native) API code bridging.
To iron out all the bugs, many different applications are needed which cover
the whole range of .NET Framework.
I randomly chose a simple .NET 2.0 app which uses plain system.windows.forms
stuff (no fancy controls/interop).
--- snip ---
http://www.paehl.de/fastmd5_net20.zip
FASTMD5 create very fast with low CPU use a MD5 hash. Required .NET 1.1 or 2.0
--- snip ---
Just as foreword: yes, it plain sucks to debug mixed code in wine (managed +
unmanaged) because the tools required don't work reliable (or at all) due to
several wine bugs/design problems.
Prerequisite: successful installation of .NET 2.0 Framework and wine-0.9.49 (or
GIT)
----------
If you start .NET apps they will fail with stack overflows and some exceptions
thrown.
The exception type tells us what we are dealing with: 0xe0434f4d
For the uninitiated: this an exception type exclusively thrown by .NET common
language runtime (CLR).
Using my specially hacked wine to run tools like windbg one can get a raw
estimate by looking at native method callstack:
--- snip ---
0:000> sxe clr
..
0:000> .load clr20\sos.dll
..
0:000> g
..
0:000> kb
ChildEBP RetAddr Args to Child
WARNING: Stack unwind information not available. Following frames may be wrong.
0034efb8 79f97065 e0434f4d 00000001 00000001 KERNEL32!RaiseException+0x78
0034f018 7a0945a4 00a11cb4 00000000 00000000
mscorwks!RaiseTheExceptionInternalOnly+0x226
0034f0dc 02fa364b 00000000 0000007f 0034f138 mscorwks!JIT_Throw+0xd0
0034f1d8 79e88f63 00000000 0012e0f8 0034f22c 0x2fa364b
0034f1f8 79e88f63 00000000 00000000 0016b200 mscorwks!CallDescrWorker+0x33
0034f210 79e88ee4 0034f2e8 00000002 0034f2b0 mscorwks!CallDescrWorker+0x33
..
--- snip ---
JIT code is at 0x2fa364b which transfers managed exceptions using
mscorwks!JIT_Throw() to native code/OS.
Lets look at CLR exception info...
--- snip ---
0:000> !PrintException
Exception object: 00a11cb4
Exception type: System.TypeInitializationException
Message: The type initializer for 'System.Globalization.TextInfo' threw an
exception.
InnerException: <none>
StackTrace (generated):
<none>
StackTraceString: <none>
HResult: 80131534
--- snip ---
And the managed code callstack...
--- snip ---
0:000> !ClrStack
OS Thread Id: 0xf (0)
ESP EIP
0034f040 7b8414d8 [HelperMethodFrame: 0034f040]
0034f0e4 02fa364b System.Globalization.TextInfo.GetNativeTextInfo(Int32)
0034f114 02fa3511 System.Globalization.TextInfo.get_InvariantNativeTextInfo()
0034f140 02fa193d System.String.Compare(System.String, Int32, System.String,
Int32, Int32, System.StringComparison)
0034f16c 02fa15a1
System.Security.Util.URLString.PreProcessForExtendedPathRemoval(System.String,
Boolean)
0034f184 02fa10b0 System.AppDomainSetup.NormalizePath(System.String, Boolean)
0034f1a4 02fa06d6
System.AppDomainSetup.SetupDefaultApplicationBase(System.String)
0034f1bc 02fa02cc System.AppDomain.SetupFusionStore(System.AppDomainSetup)
0034f1d4 02fa01fa System.AppDomain.SetupDomain(Boolean, System.String,
System.String)
0034f42c 79e88f63 [GCFrame: 0034f42c]
0034f9e0 79e88f63 [DebuggerClassInitMarkFrame: 0034f9e0]
--- snip ---
Some native method call in GetNativeTextInfo() seems to be the culprit.
For many (string) resource based stuff to work, a unicode OS casing table is
required.
The table for the invariant version is built from external .NLS file.
To make story short: wine does not ship the default case mapping table for
unicode characters: "l_intl.nls".
This is a "must" requirement and failure results in early
TypeInitializationException while setting up default application domain.
Short fix: copy the file from your windows system32 directory to wine system32.
Long run fix: let wine generate/install this file. Not a big deal.
Now simple .NET _console_ based apps (like "Hello World") will work.
---------------------------------------
Stay tuned, more goodies to come ...
Regards
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9773
Summary: FileMaker crashes
Product: WineHQ Apps Database
Version: unspecified
Platform: Other
OS/Version: other
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: website-bugs
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: hhalvors(a)princeton.edu
Created an attachment (id=8211)
--> (http://bugs.winehq.org/attachment.cgi?id=8211)
partial backtrace
Wine 0.9.39, trying to run FileMaker Pro 8.5. Installation went great.
I can start FileMaker, and I can open a database. However, when I click on the
screen, FileMaker crashes. I have attached a partial backtrace.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11414
Summary: msidb:STREAMS_modify 0x1c2178 3 0x12d2aa0 - mode not
implemented
Product: Wine
Version: unspecified
Platform: Other
OS/Version: other
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: msi
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: jdahlin(a)async.com.br
To be able to test this you need to install mono on win32. I used the 1.2.6
version.
I installed the latest beta of WiX, 3.0.2925 available from
wix.sourceforge.net.
First light.exe needs to be run on product.wxs on the
examples/public/first/product.wxs, this generated product.wixobj.
After that I run, with only builtin dlls:
wine ../light.exe "-cultures:en-us" product.wixobj
fixme:msidb:STREAMS_modify 0x1c2178 3 0x12d2aa0 - mode not implemented
light.exe : error LGHT0001 : Some sort of w32 error occurred: 120
Exception Type: System.ComponentModel.Win32Exception
Stack Trace:
[mono backtrace cut]
--
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.
http://bugs.winehq.org/show_bug.cgi?id=11411
Summary: GetFileVersionInfoSizeW returns wrong error code if file
has no version (affects WiX)
Product: Wine
Version: 0.9.54.
Platform: Other
OS/Version: other
Status: UNCONFIRMED
Keywords: patch
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: dank(a)kegel.com
http://blog.rvburke.com/2008/01/30/gtk-and-pygtk-on-win32/
complained about WiX not running.
http://www.winehq.org/pipermail/wine-patches/2007-November/046456.html
talks about two changes needed to get it closer to running.
It seems to have been dropped, so here's one of the two bugs
it reports:
Running light.exe from wix on a wixobj file with a non-versioned
file as a component prints a diagnostic error indicating
ERROR_FILE_NOT_FOUND using wine's builtin of version.dll and msi.dll,
but ERROR_RESOURCE_DATA_NOT_FOUND using wine's builtin of msi.dll and
native version.dll.
... version.dll's GetFileVersionInfoSizeW does return
ERROR_FILE_NOT_FOUND when trying to get the version of a file that
does not contain a version (for example, a text file). This is
because it relies on VERSION_GetFileVersionInfo_16 to do the file
existance check, which returns 0 (meaning file does not exist) if
LoadLibrary16 fails.
The patch addresses this by making VERSION_GetFileVersionInfo_16
return 0xFFFFFFFF (meaning file exists but does not have version) if
LoadLibrary16 returns an error beside ERROR_FILE_NOT_FOUND.
--
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.
http://bugs.winehq.org/show_bug.cgi?id=9727
Summary: OPML displays error on startup; mshtml's ShowHTMLDialog
too stubby
Product: Wine
Version: CVS/GIT
Platform: Other
URL: http://support.opml.org/download
OS/Version: other
Status: NEW
Keywords: download
Severity: normal
Priority: P2
Component: wine-shdocvw
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: dank(a)kegel.com
http://www.scripting.com/stories/2007/09/20/howToSponsorAnOpenSourcePr.html
says Dave Winer really wants OPML working well on Linux,
so I had a look.
First problem: on startup, it tries to run
some javascript that runs a dll function. It fails with an
error dialog, and wine complains
fixme:mshtml:ShowHTMLDialog ((nil) 0x1959980 (nil) L"help: no" 0x7bdfadc4)
Second problem: any time it tries to display a web page,
it does start up your web browser, but the resulting page is
blank (perhaps it can't pass the URL to the browser).
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10291
Summary: Can't input data into quickbooks
Product: Wine
Version: 0.9.47.
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: wine-binary
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: marc(a)mwiriadi.id.au
Created an attachment (id=8942)
--> (http://bugs.winehq.org/attachment.cgi?id=8942)
winedebug=warn+all
I can't input data into quickbooks after it is installed. I can open it but it
complains about a file missing even after the installation. I'm not to sure
about specifics of it but I did do a warn+all output which I will attach.
Please advise me how you would want this bugreport adjusted when you look at
the output.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11080
Summary: Powerpoint Viewer fails to install
Product: Wine
Version: CVS/GIT
Platform: Other
URL: http://download.microsoft.com/download/a/1/a/a1adc39b-
9827-4c7a-890b-91396aed2b86/ppviewer.exe
OS/Version: other
Status: NEW
Keywords: Installer, regression
Severity: normal
Priority: P2
Component: kernel32
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: dank(a)kegel.com
Aborts since today with error message
"The setup program could not retrieve the volume information for drive
(C:\windows\temp\IXP000.TMP\.
System message: Bad device type"
Susan also reports seeing this, so I'm not alone.
+relay,+volume show:
0009:Call
KERNEL32.GetVolumeInformationA(00000000,00000000,00000000,00000000,0032fc1c,0032fc20,00000000,00000000)
ret=01003fe6
trace:volume:GetVolumeInformationW L"\\\\.\\C:": found fs type 0
0009:Ret KERNEL32.GetVolumeInformationA() retval=00000000 ret=01003fe6
0009:Call KERNEL32.GetLastError() ret=01003550
0009:Ret KERNEL32.GetLastError() retval=00000042 ret=01003550
...
0009:Call user32.MessageBoxA(00000000,0014c488 "The setup program could not
retrieve the volume information for drive (C:\\windows\\temp\\IXP000.TMP\\) .
\nSystem message: Bad device type\r\n.",0100abb4 "Microsoft Office PowerPoint
Viewer 2003",00010010) ret=01003a64
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9519
Summary: Adobe Reader 8.1: Unable to accept License
(:mshtml:nsURI_Equals)
Product: Wine
Version: 0.9.44.
Platform: PC
URL: http://appdb.winehq.org/appview.php?iVersionId=8988
OS/Version: Linux
Status: NEW
Keywords: download
Severity: normal
Priority: P2
Component: wine-misc
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: wine.dev(a)web.de
Created an attachment (id=7882)
--> (http://bugs.winehq.org/attachment.cgi?id=7882)
reader 8.1 in wine
The License for the Adobe Reader 8.1 must be accepted, before you can
use the Application.
In wine, the License is not visible (another bug will follow),
but a click on the button "Accept" produce the following
trace and the Window is not closed:
2648:0010:trace:mshtml:nsURI_AddRef (0x2c421b0) ref=4
2649:0010:trace:mshtml:nsURI_Equals (0x2c421b0)->(0x2c421b0 0x34de48)
2650:0010:fixme:mshtml:nsURI_Equals default action not implemented
2651:0010:trace:mshtml:nsURI_Release (0x2c421b0) ref=3
Screehshot is attached
--
By by ... Detlef
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9520
Summary: Adobe Reader 8.1: License not visible (html-page)
Product: Wine
Version: 0.9.44.
Platform: PC
URL: http://appdb.winehq.org/appview.php?iVersionId=8988
OS/Version: Linux
Status: NEW
Keywords: download
Severity: normal
Priority: P2
Component: wine-misc
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: wine.dev(a)web.de
Created an attachment (id=7883)
--> (http://bugs.winehq.org/attachment.cgi?id=7883)
reader 8.1 in wine
The License for the Adobe Reader 8.1 must be accepted, before you can
use the Application.
In wine, the License is not visible.
(license.html)
Screehshot is attached.
--
By by ... Detlef
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11053
Summary: Tropico 2: blank screen
Product: Wine
Version: 0.9.52.
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: directx-d3d
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: hatta(a)softhome.net
Created an attachment (id=10067)
--> (http://bugs.winehq.org/attachment.cgi?id=10067)
STDERR after running Tropico 2 v1.2
Nothing is shown by Tropico 2 except for the mouse cursor. I get the same
behavior from 1.0, 1.2, and the demo available here:
http://www.gamershell.com/download_2083.shtml
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.