http://bugs.winehq.org/show_bug.cgi?id=19157
Summary: CoGetContextToken and CoGetObjectContext need to take
existing MTA into account
Product: Wine
Version: 1.1.24
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ole32
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Hello,
since ole32.CoGetContextToken() is no longer a stub, debugging of managed code
(.NET) with cordbg/mdbg doesn't work anymore.
Main thread (tid=0009) creates MTA:
--- snip ---
...
0009:Call ole32.CoInitializeEx(00000000,00000000) ret=79ebfba8
...
0009:trace:ole:apartment_construct creating new apartment, model=0
0009:trace:ole:apartment_construct Created apartment on OXID 80000cafe
...
0009:Ret ole32.CoInitializeEx() retval=00000000 ret=79ebfba8
--- snip ---
Helper thread (tid=001f) explicitly demands MTA after CoGetContextToken()
failure:
--- snip ---
...
001f:Call ole32.CoGetContextToken(02c1e5f4) ret=79ee2b0f
...
001f:trace:ole:CoGetContextToken (0x2c1e5f4)
001f:Ret ole32.CoGetContextToken() retval=800401f0 ret=79ee2b0f
...
001f:Call ole32.CoInitializeEx(00000000,00000000) ret=79ebfba8
...
001f:trace:ole:apartment_get_or_create entering the multithreaded apartment
80000cafe
...
001f:trace:ole:apartment_addref 80000cafe: before = 1
...
--- snip ---
Another debugger helper/worker thread gets created (tid=0021) which *never*
initializes COM explicitly - unlike the other threads:
--- snip ---
...
0009:Call
KERNEL32.CreateThread(00000000,00000000,63ea71dc,00176a58,00000000,00176a68)
ret=63ea5b42
0009:Ret KERNEL32.CreateThread() retval=0000018c ret=63ea5b42
0009:Call ole32.CoCreateInstance(63ea5bfc,00000000,00000001,63ea5c0c,001768e8)
ret=63ea5bda
0009:trace:ole:CoCreateInstance (rclsid={e5cb7a31-7512-11d2-89ce-0080c792e5d8},
pUnkOuter=(nil), dwClsContext=00000001,
riid={809c652e-7396-11d2-9771-00a0c9b4d50c}, ppv=0x1768e8)
...
0021:Call ole32.CoGetContextToken(0319d730) ret=79ee2b0f
0021:trace:ole:CoGetContextToken (0x319d730)
0021:Ret ole32.CoGetContextToken() retval=800401f0 ret=79ee2b0f
...
0021:Call ole32.CoGetObjectContext(79ee2a20,00173224) ret=79f82943
...
0021:trace:ole:CoGetObjectContext ({00000000-0000-0000-c000-000000000046},
0x173224)
0021:err:ole:CoGetObjectContext apartment not initialised
0021:Ret ole32.CoGetObjectContext() retval=800401f0 ret=79f82943
...
0021:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,0319d644)
ret=78158dd3
0021:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b842f46
ip=7b842f46 tid=0021
0021:trace:seh:raise_exception info[0]=19930520
0021:trace:seh:raise_exception info[1]=0319d6b8
0021:trace:seh:raise_exception info[2]=79f9acc4
0021:trace:seh:raise_exception eax=7b82ca8d ebx=7b8d1398 ecx=00000000
edx=0319d630 esi=0319d630 edi=0319d5b0
0021:trace:seh:raise_exception ebp=0319d598 esp=0319d534 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00000246
...
<managed debugging hangs here>
--- snip ---
This is most likely same problem domain as bug 17902 (fixed by
http://source.winehq.org/git/wine.git/?a=commit;h=bd4975acb0b682bbf2b4934d1…
- "ole32: Use existing MTA in CoGetClassObject and CoCreateInstance")
Since the thread in question doesn't initialize COM at all, CoGetContextToken
and CoGetObjectContext most likely need to look at existing MTA(s).
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=33849
Bug #: 33849
Summary: Unhandled exception: page fault on read access to
0xfffff78000000014 in 64-bit code
(0x000000000048e10f).
Product: Wine
Version: 1.6-rc2
Platform: arm64
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: winedbg
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: local1907(a)gmail.com
Classification: Unclassified
giving this error when I try to open any program. Opening the program is
operating normally, but there is an error.
google translate
wine-1.6-rc2
Ubuntu 12.10
kernel 3.8.10-030810-generic
Nvidia 319.23
--
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.
https://bugs.winehq.org/show_bug.cgi?id=37537
Bug ID: 37537
Summary: Tages v5.x DRM driver needs
'irp.Tail.Overlay.OriginalFileObject' initialized with
stub file object
Product: Wine
Version: 1.7.30
Hardware: x86
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: ntoskrnl
Assignee: wine-bugs(a)winehq.org
Reporter: focht(a)gmx.net
Distribution: ---
Hello folks,
split off from https://bugs.winehq.org/show_bug.cgi?id=33849#c13
--- quote ---
* Tages tries to access irp.Tail.Overlay.OriginalFileObject (that was the
remaining issue I mentioned in comment 11). Patch:
https://github.com/wine-compholio/wine-staging/tree/master/patches/ntoskrnl…
--- quote ---
Regards
--
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.
https://bugs.winehq.org/show_bug.cgi?id=37882
Bug ID: 37882
Summary: user32.GetKeyboardLayoutNameA/W can't handle NULL out
parameter, causing crash in custom application
Product: Wine
Version: 1.7.34
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: user32
Assignee: wine-bugs(a)winehq.org
Reporter: focht(a)gmx.net
Distribution: ---
Hello folks,
as the summary says.
A user in #winehq asked about this and I looked into it.
Kind of non-standard use case but since Wine strives to be compatible with as
many Windows apps as possible this should work too.
Relevant part of trace log:
--- snip ---
...
003d:Starting process
L"Z:\\home\\focht\\Downloads\\44217C15F30538A1FBDF614C9785C9B7.exe"
(entryproc=0x437927)
003d:Call user32.GetKeyboardLayoutNameW(00000000) ret=00437377
003d:Call PE DLL (proc=0x7dd53e78,module=0x7dcf0000
L"winex11.drv",reason=PROCESS_ATTACH,res=(nil))
003d:Ret PE DLL (proc=0x7dd53e78,module=0x7dcf0000
L"winex11.drv",reason=PROCESS_ATTACH,res=(nil)) retval=1
003d:Call winex11.drv.wine_get_gdi_driver(0000002e) ret=7eb3c4d4
003d:Ret winex11.drv.wine_get_gdi_driver() retval=7dd7ace0 ret=7eb3c4d4
003d:Call winex11.drv.CreateDesktopWindow(00010020) ret=7ec6200a
003d:Ret winex11.drv.CreateDesktopWindow() retval=00000001 ret=7ec6200a
003d:Call winex11.drv.wine_get_gdi_driver(0000002e) ret=7eb3c4d4
003d:Ret winex11.drv.wine_get_gdi_driver() retval=7dd7ace0 ret=7eb3c4d4
003d:Call winex11.drv.GetKeyboardLayoutName(00000000) ret=7ec61cc6
003d:trace:seh:raise_exception code=c0000005 flags=0 addr=0xf75bdf80
ip=f75bdf80 tid=003d
003d:trace:seh:raise_exception info[0]=00000001
003d:trace:seh:raise_exception info[1]=00000000
003d:trace:seh:raise_exception eax=00000000 ebx=f7755000 ecx=00000000
edx=00000030 esi=0033f9b4 edi=0033f984
003d:trace:seh:raise_exception ebp=0033f908 esp=0033f660 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00210293
003d:trace:seh:call_stack_handlers calling handler at 0x7bc9ed1b code=c0000005
...
Backtrace:
=>0 0xf75bdf80 vsnprintfW+0x546(str=*** invalid address 0x2 ***,
len=0x7fffffff, format="%08x", valist="Ó¸×}HÜÎ{")
[/home/focht/projects/wine/wine.repo/src/libs/wine/string.c:485] in
libwine.so.1 (0x0033f908)
1 0xf75be096 sprintfW+0x38(str=0x0(nil), format="%08x")
[/home/focht/projects/wine/wine.repo/src/libs/wine/string.c:525] in
libwine.so.1 (0x0033f938)
2 0x7dd1b261 X11DRV_GetKeyboardLayoutName+0x57(name=0x0(nil))
[/home/focht/projects/wine/wine.repo/src/dlls/winex11.drv/keyboard.c:1590] in
winex11 (0x0033f978)
3 0x7bc6e63e relay_call+0x39() in ntdll (0x0033f998)
4 0x7dcfa6ad frame_dummy+0xcc() in winex11 (0x0033f9c8)
5 0x7ec61cc6 loaderdrv_GetKeyboardLayoutName+0x18(name=0x0(nil))
[/home/focht/projects/wine/wine.repo/src/dlls/user32/driver.c:618] in user32
(0x0033f9c8)
6 0x7ec77b70 GetKeyboardLayoutNameW+0x25(pwszKLID=0x0(nil))
[/home/focht/projects/wine/wine.repo/src/dlls/user32/input.c:969] in user32
(0x0033f9e8)
7 0x7bc6e63e relay_call+0x39() in ntdll (0x0033fa00)
8 0x7ec33b05 in user32 (+0x3b04) (0x0033fa64)
9 0x00437377 in
44217c15f30538a1fbdf614c9785c9b7Z:\home\focht\Downloads\44217C15F30538A1FBDF614C9785C9B7.exe
(+0x37376) (0x0033fa64)
...
--- snip ---
MSDN:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms646298%28v=vs.85%…
With 'FALSE' being returned, the application checks the last error code for
0x3e6 ('ERROR_NOACCESS') and bails if not matching.
With that part fixed, the app runs much farther (doesn't fully work yet, but
that could be subject to additional bugs).
$ sha1sum 44217C15F30538A1FBDF614C9785C9B7.exe
64f4d39d57b33e58a3937a23e37889583dce47dc 44217C15F30538A1FBDF614C9785C9B7.exe
$ du -sh 44217C15F30538A1FBDF614C9785C9B7.exe
388K 44217C15F30538A1FBDF614C9785C9B7.exe
$ wine --version
wine-1.7.34
Regards
--
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=37095
Bug ID: 37095
Summary: Maestia Launcher render problems
Product: Wine
Version: 1.7.24
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: linuxdonald(a)posteo.de
Created attachment 49316
--> http://bugs.winehq.org/attachment.cgi?id=49316
Log
The Maestia Launcher dont render correctly.
Running wine arch=32
System Arch Linux 64 bit. clean wineprefix.
--
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=22870
Summary: Visual Studio remote debugger msvsmon.exe does not
launch debug target
Product: Wine
Version: 1.1.44
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: ninevoltz(a)metalink.net
msvsmon.exe does not work on Wine, the monitor will start and can connect with
Visual Studio's debugger, but it will not start the target program to debug. I
am attempting to debug PuTTY's Pageant program which also does not work
properly in Wine. I also tried debugging with MinGW's gdb and gdb crashes.
--
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=10601
Summary: .NET Framework 2.0: Installation Fails
Product: Wine
Version: 0.9.49.
Platform: PC
URL: http://www.microsoft.com/downloads/details.aspx?familyid
=0856eacb-4362-4b0d-8edd-aab15c5e04f5&displaylang=en
OS/Version: Linux
Status: UNCONFIRMED
Severity: major
Priority: P2
Component: wine-ole
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: jmdoles(a)digitaldeviation.com
Created an attachment (id=9399)
--> (http://bugs.winehq.org/attachment.cgi?id=9399)
wine console output
The installation appears to start correctly, but it eventually causes and
unhandled exception within wine. I have installed IE6 as a prequisite.
--
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=29392
Bug #: 29392
Summary: i cant run game www.jugger.ru - will be very preciate
if you can help out
Product: Wine
Version: unspecified
Platform: x86
OS/Version: Mac OS X
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: loader
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: monteskju(a)inbox.lv
Classification: Unclassified
the program juggernautclient.exe has encountered a serious problem and needs to
close.
Exception EExternalException in module ntdll.dll at 0001F977. External
exception C0000025
this is what i see when i launch a program. if you need some more information i
will be glad to give it to you.
thx in advice
--
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.