http://bugs.winehq.org/show_bug.cgi?id=14358
Summary: fusion: installation .NET assemblies might fail due to
incorrect parsing of CLR metadata structures and tables
Product: Wine
Version: CVS/GIT
Platform: PC
URL: http://www.microsoft.com/downloads/details.aspx?familyid
=3c9a983a-ac14-4125-8ba0-d36d67e0f4ad
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Hello,
a bug for James Hawkins ... low priority.
Encountered this when I accidentally forgot the .NET 2.0 prerequisite before
Office 2007 installation.
Setup dies in wine's fusion due to bugs in CLR metadata processing while
installing primary interop assemblies for Office into GAC.
--- snip ---
003f:trace:fusion:CreateAssemblyCache (0x32fe9c, 0)
003f:Call ntdll.RtlAllocateHeap(00110000,00000000,00000008) ret=79655027
003f:Ret ntdll.RtlAllocateHeap() retval=00114ec0 ret=79655027
003f:Ret fusion.CreateAssemblyCache() retval=00000000 ret=694077de
003f:trace:fusion:IAssemblyCacheImpl_InstallAssembly (0x114ec0, 0,
L"Microsoft.mshtml.dll", (nil))
..
003f:Call KERNEL32.CreateFileW(00115168
L"Microsoft.mshtml.dll",80000000,00000001,00000000,00000003,00000080,00000000)
ret=7965724f
003f:Ret KERNEL32.CreateFileW() retval=00000038 ret=7965724f
003f:Call
KERNEL32.CreateFileMappingW(00000038,00000000,00000002,00000000,00000000,00000000)
ret=7965728e
003f:Ret KERNEL32.CreateFileMappingW() retval=0000003c ret=7965728e
003f:Call KERNEL32.MapViewOfFile(0000003c,00000004,00000000,00000000,00000000)
ret=796572c4
003f:Ret KERNEL32.MapViewOfFile() retval=00440000 ret=796572c4
003f:Call ntdll.RtlImageNtHeader(00440000) ret=796572d6
003f:Ret ntdll.RtlImageNtHeader() retval=00440080 ret=796572d6
003f:Call ntdll.RtlImageRvaToVa(00440080,00440000,00002008,00000000)
ret=7965736d
003f:Ret ntdll.RtlImageRvaToVa() retval=00441008 ret=7965736d
003f:Call ntdll.RtlImageRvaToVa(00440080,00440000,001237c4,00000000)
ret=7965739f
003f:Ret ntdll.RtlImageRvaToVa() retval=005627c4 ret=7965739f
003f:Call ntdll.RtlImageRvaToVa(00440080,00440000,001237e4,00000000)
ret=796573d1
003f:Ret ntdll.RtlImageRvaToVa() retval=005627e4 ret=796573d1
003f:trace:seh:raise_exception code=c0000005 flags=0 addr=0x602636b3
003f:trace:seh:raise_exception info[0]=00000000
003f:trace:seh:raise_exception info[1]=00000000
003f:trace:seh:raise_exception eax=00000000 ebx=79659168 ecx=00000000
edx=0012c8c0 esi=80131018 edi=00000000
003f:trace:seh:raise_exception ebp=0032fc08 esp=0032fbec cs=0073 ds=007b
es=007b fs=0033 gs=003b flags=00010246
003f:trace:seh:call_stack_handlers calling handler at 0x7b877bc0 code=c0000005
flags=0
wine: Unhandled page fault on read access to 0x00000000 at address 0x602636b3
(thread 003f), starting debugger...
003f:trace:seh:start_debugger Starting debugger "winedbg --auto 62 68"
003f:trace:seh:call_stack_handlers handler at 0x7b877bc0 returned 1
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code
(0x602636b3).
--- snip ---
CLR metadata section header is incorrectly processed (offset calculation).
The version length is rounded to DWORD boundary - this needs to be taken into
account (crash on some assemblies).
Also the CLR metadata tables offset calculation is not correct.
A good crash candidate is "Microsoft.mshtml.dll", the primary interop assembly
(PIA) for mshtml.dll
A good source of information about PE CLR data structures is here:
http://www.ntcore.com/Files/dotnetformat.htm
You might also want to have a look at CFF explorer, one of the rare PE tools
which support .NET/CLR metadata: http://www.ntcore.com/exsuite.php
If you use it on assemblies with large amount of CLR metadata, like
Microsoft.mshtml.dll PIA, it might take lots of time to parse all tables.
It gives you all the info (metadata table offsets/RVA's) for verification of
calculations.
I wrote my own little test which just calls fusion's
IAssemblyCache_InstallAssembly on assemblies to verify my findings/patches.
I'll leave out any patch snippets to give potential patch implementor full
freedom.
For testing purposes you can use the "Office 2003 Update: Redistributable
Primary Interop Assemblies" from Micro$oft support which is available for
download (see URL).
Extract and run 'msiexec -x O2003PIA.msi'.
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.
http://bugs.winehq.org/show_bug.cgi?id=20948
Summary: Eclipse (Europa) Links from Welcome window do not work
Product: Wine
Version: 1.1.34
Platform: PC
URL: http://www.eclipse.org/downloads/download.php?file=/te
chnology/epp/downloads/release/europa/winter/eclipse-j
ava-europa-winter-win32.zip
OS/Version: Linux
Status: NEW
Keywords: download
Severity: minor
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: bunglehead(a)gmail.com
Created an attachment (id=25114)
--> (http://bugs.winehq.org/attachment.cgi?id=25114)
Output after clicking Overview link
On wine-1.1.34-99-g8da7a00 Welcome window shows up with its content displayed
mostly right. Now the problem is that most links do nothing useful - new opened
page is white without content at all.
Attached log contains only lines outputted after clicking on Overview link.
All you need to run this is a Sun JVM - jre-6u16-windows-i586-s is what I
tested with.
--
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=19610
Summary: Eclipse exits on load with X Error
Product: Wine
Version: 1.1.26
Platform: PC
URL: http://www.eclipse.org/downloads/download.php?file=/te
chnology/epp/downloads/release/europa/winter/eclipse-j
ava-europa-winter-win32.zip
OS/Version: Linux
Status: NEW
Keywords: download, regression
Severity: normal
Priority: P2
Component: winex11.drv
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: bunglehead(a)gmail.com
CC: hverbeet(a)gmail.com
Blocks: 10916
Trying to solve bug 10916 I found that today git (at
760d2b652f547fe3861d5fa30fcbf219beab69da) introduced a regression that causes
Eclipse to exit earlier with the following X error:
---
X Error of failed request: BadValue (integer parameter out of range for
operation)
Major opcode of failed request: 147 (MIT-SHM)
Minor opcode of failed request: 3 (X_ShmPutImage)
Value in failed request: 0x48312be8
Serial number of failed request: 570
Current serial number in output stream: 571
---
This is caused by commit
http://source.winehq.org/git/wine.git/?a=commit;h=9fd29492c1b47fb0618997e99….
Reverting it allows application to start as before.
If you need any traces let me know.
--
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=19619
Summary: Eclipse (Europa) GUI is unusable
Product: Wine
Version: 1.1.27
Platform: PC
URL: http://www.eclipse.org/downloads/download.php?file=/te
chnology/epp/downloads/release/europa/winter/eclipse-j
ava-europa-winter-win32.zip
OS/Version: Linux
Status: NEW
Keywords: download
Severity: normal
Priority: P2
Component: comctl32
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: bunglehead(a)gmail.com
With current 1.1.27 Wine Eclipse europa is completely unusable. It starts
without any crash now, nut GUI is almost empty - no toolbars/docked panels
visible. Native comctl32 is a workaround for that.
--
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=20397
Summary: Eclipse (Europa) Welcome window is empty
Product: Wine
Version: 1.1.31
Platform: PC
URL: http://www.eclipse.org/downloads/download.php?file=/te
chnology/epp/downloads/release/europa/winter/eclipse-j
ava-europa-winter-win32.zip
OS/Version: Linux
Status: NEW
Keywords: download
Severity: minor
Priority: P2
Component: shdocvw
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: bunglehead(a)gmail.com
Created an attachment (id=24195)
--> (http://bugs.winehq.org/attachment.cgi?id=24195)
Terminal output starting eclipse till Welcome window
Hi.
On wine-1.1.31-272-g8c743cb after first starting Eclipse shows empty Welcome
window - embedded browser with a navigation page doesn't display at all. Whole
window area is filled white. 'winetricks ie6' is a workaround for this.
All you need to run this is a Sun JVM - latest jre-6u16-windows-i586-s runs
fine.
--
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=20398
Summary: Eclipse (Europa) splash screen doesn't look as it
should
Product: Wine
Version: 1.1.31
Platform: PC
URL: http://www.eclipse.org/downloads/download.php?file=/te
chnology/epp/downloads/release/europa/winter/eclipse-j
ava-europa-winter-win32.zip
OS/Version: Linux
Status: NEW
Keywords: download
Severity: trivial
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: bunglehead(a)gmail.com
Created an attachment (id=24196)
--> (http://bugs.winehq.org/attachment.cgi?id=24196)
Log from eclipse launching
On launching eclipse supposed to show a splash window with a picture, current
launching stage and a progress bar at bottom.
When progress bar appears splash window gets repainted at loses it's picture
showing white rectangle for entire window. Current text for launching stage
shows up over white window with a right color (light blue as far as I can
tell).
After launching some errors for x11drv channel outputted, see attached log.
Required prerequisite in jre installed (I tried with jre-6u16-windows-i586-s).
P.S. I tried with wine-1.1.31-272-g8c743cb.
--
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=10916
Summary: Latest eclipse crashes on startup in comctl32
Product: Wine
Version: CVS/GIT
Platform: Other
URL: http://eclipse.org
OS/Version: other
Status: NEW
Keywords: download
Severity: enhancement
Priority: P2
Component: wine-comctl32
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: dank(a)kegel.com
Created an attachment (id=9832)
--> (http://bugs.winehq.org/attachment.cgi?id=9832)
hs_err_pid8.log from java
... probably in imagelist.
$ cd .wine/drive_c
$ unzip ~/eclipse-java-europa-fall2-win32.zip
$ cd eclipse
$ wine eclipse.exe
fails with
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7eb9149a, pid=8, tid=9
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0_03-b05 mixed mode, sharing)
# Problematic frame:
# C [comctl32.dll+0x9149a]
#
# An error report file with more information is saved as hs_err_pid8.log
fairly early (after grinding for only 20 seconds).
I'll attach hs_err_pid8.log. I also tried running
WINEDEBUG=+seh,+imagelist,+relay ~/wine-git/wine eclipse.exe
but the log was really big and not obviously helpful.
This was with the very latest sun jre installed,
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
--
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=14016
Summary: Eclipse 3.3.x (customized) needs
WebBrowser_GetIDsOfNames fleshed out
Product: Wine
Version: CVS/GIT
Platform: PC
URL: http://www.eclipse.org/downloads
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: shdocvw
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Created an attachment (id=14206)
--> (http://bugs.winehq.org/attachment.cgi?id=14206)
Relevant java code for browser wrapper setText
Hello,
this is a bug report is based on a (Customer) Eclipse 3.3 Europa with lots of
additional plugins (OpenArchitectureWare/Enterprise Architect
Integration/Microsoft Pict).
It's not encountered with standard Eclipse 3.3 version.
After getting past http://bugs.winehq.org/show_bug.cgi?id=14015
it crashes again because it needs WebBrowser_GetIDsOfNames fleshed out.
--- snip wine trace ---
..
0009:fixme:shdocvw:WebBrowser_GetIDsOfNames
(0x35772c8)->({00000000-0000-0000-0000-000000000000} 0x15d668 2 2048 0x46d3e00)
..
0009:trace:seh:raise_exception code=c0000005 flags=0 addr=0x74b6b2
0009:trace:seh:raise_exception info[0]=00000000
0009:trace:seh:raise_exception info[1]=00000008
0009:trace:seh:raise_exception eax=00000001 ebx=0000002e ecx=00000008
edx=00000000 esi=1bf4a5ba edi=0032ea18
0009:trace:seh:raise_exception ebp=0032e9f0 esp=0032e9c8 cs=0073 ds=007b
es=007b fs=0033 gs=003b flags=00210202
0009:trace:seh:call_stack_handlers calling handler at 0x6d983d10 code=c0000005
flags=0
..
--- snip wine trace ---
--- snip java callstack ---
..
Exception in thread "Thread-1" java.lang.NullPointerException
at org.eclipse.swt.browser.IE.setText(IE.java:767)
at org.eclipse.swt.browser.Browser.setText(Browser.java:698)
at
org.eclipse.ui.internal.intro.impl.presentations.BrowserIntroPartImplementation.generateDynamicContentForPage(BrowserIntroPartImplementation.java:249)
at
org.eclipse.ui.internal.intro.impl.presentations.BrowserIntroPartImplementation.dynamicStandbyStateChanged(BrowserIntroPartImplementation.java:445)
at
org.eclipse.ui.internal.intro.impl.presentations.BrowserIntroPartImplementation.doStandbyStateChanged(BrowserIntroPartImplementation.java:652)
..
--- snip java callstack ---
Attached is snippet of relevant java code which causes the problem.
It shows how wrapper/native API is invoked.
Although there already exist typeinfo retrieval helper/boiler plate code (used
for WebBrowser_Invoke), it's not enough to succeed.
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.
http://bugs.winehq.org/show_bug.cgi?id=14015
Summary: Eclipse 3.3.x (customized) crashes on null REFCLSID
passed to ole32.WriteClassStg
Product: Wine
Version: CVS/GIT
Platform: PC
URL: http://www.eclipse.org/downloads
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ole
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Created an attachment (id=14205)
--> (http://bugs.winehq.org/attachment.cgi?id=14205)
Patch to handle null REFCLSID in ole32.WriteClassStg properly
Hello,
this bug report is based on a (Customer) Eclipse 3.3 Europa with lots of
additional plugins (OpenArchitectureWare/Enterprise Architect
Integration/Microsoft Pict).
It's not encountered with standard Eclipse 3.3 version.
The first crash is due to not handling null REFCLSID in ole32.WriteClassStg:
--- snip ---
..
err:ole:apartment_getclassobject DllGetClassObject returned error 0x80004002
err:ole:CoGetClassObject no class object {8856f961-340a-11d0-a96b-00c04fd705a2}
could be created for context 0x3
fixme:shdocvw:PersistStorage_InitNew (0x5566ea0)->(0x6825678)
fixme:shdocvw:PersistStorage_GetClassID (0x5566ea0)->(0x33e8c8)
fixme:shdocvw:ViewObject_SetAdvise (0x5566ea0)->(1 00000000 0x5f557e8)
fixme:shdocvw:OleObject_Advise (0x5566ea0)->(0x5f557e8, 0x29ae950)
fixme:shdocvw:WebBrowser_QueryInterface
(0x5566ea0)->({0000011d-0000-0000-c000-000000000046} 0x29ae950) interface not
supported
fixme:shdocvw:PersistStorage_GetClassID (0x5566ea0)->(0x33e97c)
fixme:shdocvw:PersistStorage_Save (0x5566ea0)->(0x6825678 1)
First chance exception: page fault on read access to 0x00000000 in 32-bit code
(0x60cccd3b).
..
Backtrace:
=>1 0x60cccd3b StorageBaseImpl_SetClass+0x9b(iface=0x6825678, clsid=0x0)
[/home/focht/wine-git/dlls/ole32/storage32.c:1136] in ole32 (0x0033e96c)
2 0x60cc63f1 WriteClassStg+0x21(pStg=0x6825678, rclsid=0x0)
[/home/focht/wine-git/dlls/ole32/storage32.c:6290] in ole32 (0x0033e97c)
3 0x0505589b in swt-win32-3349 (+0x2589b) (0x0033e9a8)
4 0x00749c91 XChangeKeyboardControl+0x111() in libx11.so.6 (0x0033e9e8)
5 0x00742dd5 in libx11.so.6 (+0xddd5) (0x0033ea20)
..
--- snip ---
For the interested, the relevant Eclipse JNI COM wrapper snippet reads like
this:
--- snip (swt-win32-3349.dll) ---
/*
* Class: org_eclipse_swt_internal_ole_win32_COM
* Method: WriteClassStg
* Signature: (ILorg/eclipse/swt/internal/ole/win32/GUID;)I
*/
JNIEXPORT jint JNICALL
Java_org_eclipse_swt_internal_ole_win32_COM_WriteClassStg
(JNIEnv *env, jclass that, jint pStg, jobject rclsid)
{
GUID guid, *rclsid1=NULL;
jint rc;
#ifdef DEBUG_CALL_PRINTS
fprintf(stderr, "WriteClassStg\n");
#endif
if (rclsid) {
rclsid1=&guid;
getGUIDFields(env, rclsid, rclsid1);
}
rc = (jint) WriteClassStg((IStorage *)pStg, rclsid1);
if (rclsid) {
setGUIDFields(env, rclsid, rclsid1);
}
return rc;
}
--- snip (swt-win32-3349.dll) ---
If for whatever reason, a null rclsid is passed in, NULL will be passed to
WriteClassStg.
Wine should handle this case properly.
With attached patch it goes further - to crash again (separate bug report).
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.
http://bugs.winehq.org/show_bug.cgi?id=21464
Summary: Encoding error with License Agreement in .NET 3.5
Installer
Product: Wine
Version: 1.1.37
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: msi
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: Mitya57(a)gmail.com
Created an attachment (id=25848)
--> (http://bugs.winehq.org/attachment.cgi?id=25848)
Screenshot of .NET installer
Russian license agreemen't isn't shown properly in Microsoft .NET Framework 3.5
Installer. See the screenshot attached.
--
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.