http://bugs.winehq.org/show_bug.cgi?id=26105
Summary: oleaut32/tmarshal tests shows several valgrind
warnings
Product: Wine
Version: 1.3.13
Platform: x86
OS/Version: Linux
Status: NEW
Keywords: download, source, testcase
Severity: minor
Priority: P2
Component: oleaut32
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: austinenglish(a)gmail.com
Conditional jump or move depends on uninitialised value(s)
at serialize_param (tmarshal.c:748)
by serialize_param (tmarshal.c:756)
by xCall (tmarshal.c:1356)
by ???
by func_tmarshal (tmarshal.c:1548)
by run_test (test.h:556)
by main (test.h:624)
Uninitialised value was created by a stack allocation
at test_typelibmarshal (tmarshal.c:962)
...
22 bytes in 1 blocks are definitely lost
at notify_alloc (heap.c:254)
by RtlAllocateHeap (heap.c:1701)
by SysAllocStringLen (oleaut.c:235)
by SysAllocString (oleaut.c:159)
by test_typelibmarshal (tmarshal.c:1088)
by func_tmarshal (tmarshal.c:1548)
by run_test (test.h:556)
by main (test.h:624)
...
144 bytes in 1 blocks are possibly lost
at notify_alloc (heap.c:254)
by RtlAllocateHeap (heap.c:1701)
by rpcrt4_conn_np_alloc (rpc_transport.c:120)
by RPCRT4_CreateConnection (rpc_transport.c:2939)
by rpcrt4_protseq_ncalrpc_open_endpoint (rpc_transport.c:285)
by RPCRT4_use_protseq (rpc_server.c:810)
by RpcServerUseProtseqEpExW (rpc_server.c:1022)
by RpcServerUseProtseqEpW (rpc_server.c:907)
by RPC_StartRemoting (rpc.c:1626)
by StdMarshalImpl_MarshalInterface (marshal.c:1245)
by CoMarshalInterface (marshal.c:1797)
by host_object_proc (tmarshal.c:76)
by ??? (signal_i386.c:2473)
by call_thread_entry_point (signal_i386.c:2499)
by start_thread (thread.c:404)
by start_thread (in /lib/libpthread-2.11.2.so)
by clone (in /lib/libc-2.11.2.so)
...
2,020 bytes in 1 blocks are possibly lost
at notify_alloc (heap.c:254)
by RtlAllocateHeap (heap.c:1701)
by get_tls_data (test.h:240)
by winetest_set_location (test.h:275)
by host_object_proc (tmarshal.c:77)
by ??? (signal_i386.c:2473)
by call_thread_entry_point (signal_i386.c:2499)
by start_thread (thread.c:404)
by start_thread (in /lib/libpthread-2.11.2.so)
by clone (in /lib/libc-2.11.2.so)
this may be related to bug 25828.
--
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=25853
Summary: Dead Space 2 digital download installer crashes on
start
Product: Wine
Version: 1.3.11
Platform: x86-64
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: NightNord(a)gmail.com
Created an attachment (id=32945)
--> (http://bugs.winehq.org/attachment.cgi?id=32945)
Default deadspace_f_activation.exe log
While game itself isn't released, if you'd preordered it from EA Store, it's
possible to download installer.
While trying to launch installer, it's launching "activation.exe", that unpacks
itself into C:\users\Temp\mtka_tmp and runs deadspace_f_activation, that
crashes (log attached).
It's almost definite, that SecuROM is somehow involved in process, as there is
a bunch of SecuROM files and dlls request in WINEDEBUG=+warn, and there is
secupacker_launcher.exe, but, probably, crash caused by something else.
It should be runnable before release date, I'm sure, as language files contents
strings of "too early" messages and there is "Release Date Check" procedure.
Before closing, it told me, that "To finish activation process, you must have
Administrative privileges" (or something like that, translated from Russian)
No tweaks and no additional software installed - pure ~/.wine prefix.
Log produced from launching only deadspace_f_activation.exe - otherwise
debugger can't produce backtrace.
Kernel: 2.6.37
wine: 1.3.11
--
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=25733
Summary: Magic the Gathering: DotP is really slow loading a
match
Product: Wine
Version: 1.3.11
Platform: x86
OS/Version: Mac OS X 10.6
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: ntdll
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: per(a)morth.org
When Magic the Gathering: Duels of the Plainswalker starts a match, it does a
_lot_ of these calls:
trace:file:FindFirstFileExW
L"DATA_DLC_0003\\DATA_PC\\DATA_SHARED\\ART_ASSETS\\MODELS\\CARD\\ART_ASSETS\\TEXTURES\\PTBOX_FULL.IMG"
0 0x33bb60 0 0x0 0
trace:file:RtlDosPathNameToNtPathName_U
(L"DATA_DLC_0003\\DATA_PC\\DATA_SHARED\\ART_ASSETS\\MODELS\\CARD\\ART_ASSETS\\TEXTURES\\PTBOX_FULL.IMG",0x33baf4,0x33bafc,0x0)
trace:file:RtlGetFullPathName_U
(L"DATA_DLC_0003\\DATA_PC\\DATA_SHARED\\ART_ASSETS\\MODELS\\CARD\\ART_ASSETS\\TEXTURES\\PTBOX_FULL.IMG"
520 0x33b818 0x33bafc)
trace:file:wine_nt_to_unix_file_name L"\\program
files\\steam\\steamapps\\common\\magic the gathering - duels of the
planeswalkers\\DATA_DLC_0003\\DATA_PC\\DATA_SHARED\\ART_ASSETS\\MODELS\\CARD\\ART_ASSETS\\TEXTURES\\"
not found in /Users/pelle/.wine/dosdevices/c:/program
files/steam/steamapps/common/magic the gathering - duels of the planeswalkers
I estimated it to around 290k calls for one match using wc. Of these over 95 %
fail like the one above, while a few do find the requested file. This makes the
match take several minutes to load in wine. I don't have any windows machine
but I assume it's much much faster there.
Something should be done to speed this up. I was thinking maybe a cache, but
ofc it's difficult to cache when the file system might change under your feet.
Ideas appreciated.
--
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=26109
Summary: ole32/hglobalstream tests shows a valgrind warning
Product: Wine
Version: 1.3.13
Platform: x86
OS/Version: Linux
Status: NEW
Keywords: download, source, testcase
Severity: minor
Priority: P2
Component: ole32
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: austinenglish(a)gmail.com
Invalid read of size 2
at GlobalLock (heap.c:439)
by HGLOBALStreamImpl_Read (hglobalstream.c:235)
by test_freed_hglobal (hglobalstream.c:490)
by func_hglobalstream (hglobalstream.c:517)
by run_test (test.h:556)
by main (test.h:624)
Address 0x7f02a440 is 0 bytes inside a block of size 8 free'd
at notify_free (heap.c:262)
by RtlFreeHeap (heap.c:1747)
by HeapFree (heap.c:272)
by GlobalFree (heap.c:770)
by test_freed_hglobal (hglobalstream.c:486)
by func_hglobalstream (hglobalstream.c:517)
by run_test (test.h:556)
by main (test.h:624)
...
Invalid read of size 4
at GlobalReAlloc (heap.c:669)
by HGLOBALStreamImpl_SetSize (hglobalstream.c:446)
by test_freed_hglobal (hglobalstream.c:496)
by func_hglobalstream (hglobalstream.c:517)
by run_test (test.h:556)
by main (test.h:624)
Address 0x7f02a442 is 2 bytes inside a block of size 8 free'd
at notify_free (heap.c:262)
by RtlFreeHeap (heap.c:1747)
by HeapFree (heap.c:272)
by GlobalFree (heap.c:770)
by test_freed_hglobal (hglobalstream.c:486)
by func_hglobalstream (hglobalstream.c:517)
by run_test (test.h:556)
by main (test.h:624)
...
Invalid read of size 4
at GlobalReAlloc (heap.c:669)
by HGLOBALStreamImpl_SetSize (hglobalstream.c:446)
by HGLOBALStreamImpl_Write (hglobalstream.c:313)
by test_freed_hglobal (hglobalstream.c:499)
by func_hglobalstream (hglobalstream.c:517)
by run_test (test.h:556)
by main (test.h:624)
Address 0x7f02a442 is 2 bytes inside a block of size 8 free'd
at notify_free (heap.c:262)
by RtlFreeHeap (heap.c:1747)
by HeapFree (heap.c:272)
by GlobalFree (heap.c:770)
by test_freed_hglobal (hglobalstream.c:486)
by func_hglobalstream (hglobalstream.c:517)
by run_test (test.h:556)
by main (test.h:624)
...
Invalid read of size 4
at GlobalReAlloc (heap.c:676)
by HGLOBALStreamImpl_SetSize (hglobalstream.c:446)
by HGLOBALStreamImpl_Write (hglobalstream.c:313)
by test_freed_hglobal (hglobalstream.c:499)
by func_hglobalstream (hglobalstream.c:517)
by run_test (test.h:556)
by main (test.h:624)
Address 0x7f02a442 is 2 bytes inside a block of size 8 free'd
at notify_free (heap.c:262)
by RtlFreeHeap (heap.c:1747)
by HeapFree (heap.c:272)
by GlobalFree (heap.c:770)
by test_freed_hglobal (hglobalstream.c:486)
by func_hglobalstream (hglobalstream.c:517)
by run_test (test.h:556)
by main (test.h:624)
--
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=17718
Summary: Fatal error 'Cannot allocate red zone for initial
thread' on FreeBSD
Product: Wine
Version: 1.1.17
Platform: PC
OS/Version: FreeBSD
Status: NEW
Severity: critical
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: gerald(a)pfeifer.com
CC: tijl(a)ulyssis.org, austinenglish(a)gmail.com
Wine 1.1.17 causes the following on FreeBSD 7.2 when starting almost
any application (this is for an old version of calc.exe):
Fatal error 'Cannot allocate red zone for initial thread' at line 384 in file
/usr/src/lib/libthr/thread/thr_init.c (errno = 2)
err:module:attach_process_dlls "ntdll.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for
L"C:\\windows\\system32\\wineboot.exe" failed, status 80000101
err:process:__wine_kernel_init boot event wait timed out
Fatal error 'Cannot allocate red zone for initial thread' at line 384 in file
/usr/src/lib/libthr/thread/thr_init.c (errno = 2)
err:module:attach_process_dlls "ntdll.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for
L"Z:\\home\\pfeifer\\_\\wcalc.exe" failed, status 80000101
Segmentation fault (core dumped)
--
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=23641
Summary: Need for speed Most wanted controls error
Product: Wine
Version: 1.2-rc7
Platform: x86
OS/Version: other
Status: UNCONFIRMED
Severity: critical
Priority: P1
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: s_paul1408(a)yahoo.com
My OS is ubuntu 10.04. With wine rc2 nfs most wanted+patch 1.3+crack wouldn't
start, but when i tested rc7 it worked almost perfect except a control bug:
it's as if the "left arrow" is pressed. It keeps turning left, even after i
changed the controls. The same problem is with gta vice city and gta san
andreas, except it's the "down arrow".
--
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=12267
Summary: winstone 32 hangs
Product: Wine
Version: CVS/GIT
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: dank(a)kegel.com
Here's what happens when you launch c:\zdbench\ws32\ui.exe:
it puts up its window, says "examining the execution environment"
(although you can't see it, since the window is too big, and
falls off the bottom), and hangs.
err:ntdll:RtlpWaitForCriticalSection section 0x7b922ee0 "syslevel.c:
Win16Mutex" wait timed out in thread 0016, blocked by 0012, retrying (60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x7bc8d6e4 "loader.c:
loader_section" wait timed out in thread 0012, blocked by 0016, retrying (60
sec)
It hangs just like this on XP, too. But what the heck, if
we could get it to not hang on wine, that'd be nice.
--
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=11109
Summary: dream of mirror online crash
Product: Wine
Version: 0.9.52.
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: major
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: petifrancais(a)gmail.com
Created an attachment (id=10143)
--> (http://bugs.winehq.org/attachment.cgi?id=10143)
txt contenant les erreurs en console
The game game domo crash after the logo "GameTribe"
--
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=16674
Summary: Battle for middle earth2: No network multiplayer
possible
Product: Wine
Version: 1.1.11
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: minor
Priority: P4
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: mcflow-forum(a)gmx.net
Multiplayer games with Battle for Middle Earth2 in wine are not possible.
According to the information on the game package it uses TCP/IP for network
multiplayer. I already tried using the native dplay dlls like it is stated in
the wiki, LAN still does not work.
It happens like this:
I enter the network mode and the game displays myself two times in the players
list. The other player sees me in the list only one time, as it should be. I
can read what he writes and vice versa. If I write something I can see it two
times in the chat. For the other user it appears only one time.
Now, if I open a game, the other player can see it in the game list. If he
wants to join he gets a "Connection Timout" error. Same happens if the other
player opens a game and I want to join it.
I searched the Bugzilla for quite a time now because I do not want to open a
duplicate bug. I found a few things that first sounded interesting but when I
tested them nothing changed. I found a note at the AppDB page of Garena 3.0
(http://appdb.winehq.org/objectManager.php?sClass=version&iId=14147&iTesting…)
Patching with the patch that is linked there did not solve the problem with
wine-1.1.11(well one of the hunks failed but it compiled) In Bug 9787 there
also was a patch for the AcceptEX for wine-1.1.6. It did not work with
wine-1.1.6.
It said that wine does not include AcceptEX. I'm not sure if "The battle for
middle earth" requires it. I did not find anything about it on the net except
that it uses tcp/ip.
--
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=26103
Summary: opengl32/opengl test has an invalid read (valgrind)
Product: Wine
Version: 1.3.13
Platform: x86
OS/Version: Linux
Status: NEW
Keywords: download, source, testcase
Severity: minor
Priority: P2
Component: opengl
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: austinenglish(a)gmail.com
Invalid read of size 4
at wglDeleteContext (opengl.c:144)
by test_deletecontext (opengl.c:653)
by func_opengl (opengl.c:967)
by run_test (test.h:556)
by main (test.h:624)
Address 0x7f001fb8 is 72 bytes inside a block of size 358 free'd
at notify_free (heap.c:262)
by RtlFreeHeap (heap.c:1747)
by RtlFreeAnsiString (rtlstr.c:173)
by NtQueryAttributesFile (file.c:2252)
by RtlDoesFileExists_U (directory.c:2992)
by RtlDosSearchPath_U (path.c:475)
by SearchPathW (path.c:825)
by __wine_kernel_init (process.c:1182)
by __wine_process_init (loader.c:2872)
by wine_init (loader.c:831)
by main (main.c:228)
I doubt it matters, but card is an onboard nvidia 7150, I think, and using mesa
from git.
--
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=19083
Summary: Respondus LockDown Browser: outside processes should
not be able to detect its window (appinstall)
Product: Wine
Version: 1.1.21
Platform: PC
URL: https://hdc.tamu.edu/files/book/6/425/LockDownSetup_1.
0.3.exe
OS/Version: Linux
Status: NEW
Keywords: download, testcase
Severity: minor
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: austinenglish(a)gmail.com
Not sure how to describe this exactly...but the Respondus Lockdown Browser is
meant to be used by universities to make sure that students don't use other
programs when taking quizzes/exams/etc. As a result, it does some really funky
stuff...While writing an appinstall test for it, found a few interesting
things. First up, on windows, the IfWinExist
(http://www.autohotkey.com/docs/commands/IfWinExist.htm) function fails for
this window (never seen that happen for any other app). On wine, however, we
detect it just 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=15250
Summary: MINITAB 14 graph editor crashes when File menu is
clicked
Product: Wine
Version: CVS/GIT
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: user32
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: nodisgod(a)yahoo.com
Created an attachment (id=16034)
--> (http://bugs.winehq.org/attachment.cgi?id=16034)
rzipped relay log
With current Git (wine-1.1.4-292-g4b4109a), when clicking on the File menu in
the graph editor, mtb14ge.exe, the application crashes. The point at which the
application crashes seems to be here:
0009:Call user32.CallWindowProcW(7edae5b0,00010030,00000229,00000000,00000000)
ret=5f8487d1
0009:Call window proc 0x7edae5b0
(hwnd=0x10030,msg=WM_MDIGETACTIVE,wp=00000000,lp=00000000)
0009:Ret window proc 0x7edae5b0
(hwnd=0x10030,msg=WM_MDIGETACTIVE,wp=00000000,lp=00000000) retval=00000000
0009:Ret user32.CallWindowProcW() retval=00000000 ret=5f8487d1
0009:Ret window proc 0x5f870878
(hwnd=0x10030,msg=WM_MDIGETACTIVE,wp=00000000,lp=00000000) retval=00000000
0009:Ret user32.SendMessageW() retval=00000000 ret=5f862aa3
0009:Call KERNEL32.TlsGetValue(00000003) ret=5f870ec6
0009:Ret KERNEL32.TlsGetValue() retval=00139408 ret=5f870ec6
0009:Call KERNEL32.TlsGetValue(00000003) ret=5f870ec6
0009:Ret KERNEL32.TlsGetValue() retval=00139408 ret=5f870ec6
0009:Call KERNEL32.TlsGetValue(00000003) ret=5f870ec6
0009:Ret KERNEL32.TlsGetValue() retval=00139408 ret=5f870ec6
trace:seh:raise_exception code=c0000005 flags=0 addr=0x32eeda
Compressed relay log is 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.
http://bugs.winehq.org/show_bug.cgi?id=24156
Summary: Empire Earth: crashes when starting the game
Product: Wine
Version: 1.3.1
Platform: x86-64
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: simondani91(a)gmail.com
Created an attachment (id=30402)
--> (http://bugs.winehq.org/attachment.cgi?id=30402)
This is the debug output.
After checking if game CD is in the drive, an error message appears 'Unhandled
page fault'
The problem is probably with Low-Level Engine.dll which is in the directory of
the game.
--
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=26138
Summary: comctl32/toolbar tests shows an invalid read under
valgrind
Product: Wine
Version: 1.3.13
Platform: x86
OS/Version: Linux
Status: NEW
Keywords: download, source, testcase
Severity: minor
Priority: P2
Component: comctl32
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: austinenglish(a)gmail.com
Invalid read of size 2
at RtlImageNtHeader (loader.c:2508)
by RtlImageDirectoryEntryToData (loader.c:2684)
by find_entry (resource.c:189)
by LdrFindResource_U (resource.c:303)
by find_resourceW (resource.c:139)
by FindResourceExW (resource.c:183)
by FindResourceW (resource.c:192)
by TOOLBAR_AddStringW (toolbar.c:2917)
by TOOLBAR_AddStringA (toolbar.c:2988)
by ToolbarWindowProc (toolbar.c:6435)
by ??? (winproc.c:172)
by call_window_proc (winproc.c:242)
by WINPROC_CallProcAtoW (winproc.c:601)
by WINPROC_call_window (winproc.c:910)
by call_window_proc (message.c:2201)
by send_message (message.c:3042)
by SendMessageA (message.c:3187)
by test_add_string (toolbar.c:518)
by func_toolbar (toolbar.c:1666)
by run_test (test.h:556)
Address 0xdeadbeee is not stack'd, malloc'd or (recently) free'd
--
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=22217
Summary: Klick & Play complains about lack of memory
Product: Wine
Version: 1.1.41
Platform: x86
OS/Version: Mac OS X 10.6
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: dos
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: computers57(a)hotmail.com
CC: computers57(a)hotmail.com
Created an attachment (id=27110)
--> (http://bugs.winehq.org/attachment.cgi?id=27110)
Klick & Play crash log
When I start up Klick & Play, it complains that there isn't enough memory.
This is most likely related to the following log message that I get at about
the same time:
err:dc:CreateDCW no driver found for L"DIB"
Since the program gives me the option to retry, I get the same error almost
each time.
I am using a virtual desktop if that helps any.
When I click on "Create a game" it just up and crashes (crash log 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.
http://bugs.winehq.org/show_bug.cgi?id=11077
Summary: does not find a serial port while running this
application under wine
Product: Wine
Version: unspecified
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: only4john(a)gmail.com
Environment: wine under Ubuntu 7.10
Hardware Device: IRISYS 1001 thermal imager
(http://www.entherm.com/Irisys/IRISYS%20Thermal%20Imager.htm)
Driving Application: http://only4john.googlepages.com/Imager3309.exe
The Driving Application can not find serial port while running the application
under wine, while the PC has a serial port.
--
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=26121
Summary: msacm32/msacm test shows an invalid read under
valgrind
Product: Wine
Version: 1.3.13
Platform: x86
OS/Version: Linux
Status: NEW
Keywords: download, source, testcase
Severity: minor
Priority: P2
Component: msacm32
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: austinenglish(a)gmail.com
Invalid read of size 4
at MSACM_GetObj (internal.c:812)
by MSACM_GetDriver (internal.c:830)
by acmDriverClose (driver.c:195)
by DriverEnumProc (msacm.c:374)
by acmDriverEnum (driver.c:345)
by msacm_tests (msacm.c:485)
by func_msacm (msacm.c:493)
by run_test (test.h:556)
by main (test.h:624)
Address 0x7f240a00 is 0 bytes inside a block of size 20 free'd
at notify_free (heap.c:262)
by RtlFreeHeap (heap.c:1747)
by acmDriverClose (driver.c:218)
by DriverEnumProc (msacm.c:368)
by acmDriverEnum (driver.c:345)
by msacm_tests (msacm.c:485)
by func_msacm (msacm.c:493)
by run_test (test.h:556)
by main (test.h:624)
Expected, since we're doing:
/* try valid parameters */
rc = acmDriverClose(had, 0);
ok(rc == MMSYSERR_NOERROR,
"acmDriverClose(): rc = %08x, should be %08x\n",
rc, MMSYSERR_NOERROR);
/* try closing again */
rc = acmDriverClose(had, 0);
ok(rc == MMSYSERR_INVALHANDLE,
"acmDriverClose(): rc = %08x, should be %08x\n",
rc, MMSYSERR_INVALHANDLE);
Placeholder bug.
--
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=14847
Summary: UFO Extraterrestials: Problems with mouse cursor and
textures.
Product: Wine
Version: 1.0.0
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: RodionKarimov(a)yandex.ru
Problem with mouse: cursor is shown not exactly there where it is, for exmple,
when cursor is graphically shown a long away from button - the button is
selected, when it is on button - button is not selected.
There is some problem in inner game mouse driver, because, when i am changing
mouse sensitivity in file "ufo-et.ini", that is located in "data" directory
from 255 to 100, image of mouse cursor starts to be much closer to there, where
it actually is. But not exactly. And some times image of cursor again starts to
go far from exact cursor location, for example: sometimes when rotating the
globe or in tactical mode, when shooting.
Problem with textures: when in "ufo-et.ini" "scissortesting=true", that
default is, there is not seen in global mode: images of soldiers; research
tasks; rifles, pistols, grenades and ammunition of soldiers; and name of the
save game that is being enter when saving game.
When "scissortesting=false" all of that is shown, but name of the saving game
is very little, project names is also very little, images of soldioers and
weapons is also very little. And everything of this is not on its place, for
example images of weapons is right and down from its location; images of
soldiers are placed down from its locations; names of projects are right and
down from its location, but they are selecting and activating by mouse at that
position where they must be.
--
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=17536
Summary: Atari Scrabble Online fails to install (regression)
Product: Wine
Version: 1.1.11
Platform: PC
URL: http://appdb.winehq.org/objectManager.php?sClass=version
&iId=12955
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: msi
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: kennybobs(a)o2.co.uk
Created an attachment (id=19670)
--> (http://bugs.winehq.org/attachment.cgi?id=19670)
Wine 1.1.15 +msi
Atari Scrabble Online fails to install. The culprit seems to be:
err:msi:ITERATE_Actions Execution halted, action
L"DX9_Launcher.A545835B_7768_4D96_A5BC_930949616C2D" returned 1603
At this point the installer attempts to start the DirectX9 installer, whether
it is already installed or not. There therefore is no workaround.
Tested in Wine 1.1.11 and 1.1.15 and bug exists. Tested in Wine 1.0 and bug
does not exist.
Result of bisect:
731306bf78f2b8a6a92448e1977268b4396eb449 is first bad commit
commit 731306bf78f2b8a6a92448e1977268b4396eb449
Author: James Hawkins <jhawkins(a)codeweavers.com>
Date: Tue Sep 2 01:01:59 2008 -0500
kernel32: Fix two tests that fail in win2k3 and modify LoadLibraryEx to
match this behavior.
:040000 040000 64ed6c6c7ae8c6e131079052e9113f07a467d58b
64a781d6056ae364ba95c128901381cc6343c06a M dlls
which doesn't make much sense to me.
--
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=11419
Summary: Installation of Intel Indeo Video freezes
Product: Wine
Version: 0.9.54.
Platform: Other
OS/Version: other
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: ole
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: elicoten(a)live.co.uk
Installation gets upto "searching for components: Netscape", and about 9% on
the progress bar then freezes. Cannot be installed.
--
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=27326
Summary: DiRT 3 fails to launch (exits silently)
Product: Wine
Version: 1.3.21
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: nwarrenfl(a)gmail.com
When running DiRT 3 nothing happens and the process quits.
This is the output when running the executable:
wine: Unhandled page fault on read access to 0x00000000 at address (nil)
(thread 0020), starting debugger...
I did a relay log to find the cause but I'm not experienced enough to find it.
The relay log is attached in the hope someone will find the problem.
--
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=20281
Summary: Adobe Photoshop CS4 installer unusable
Product: Wine
Version: 1.1.30
Platform: PC
URL: http://trials.adobe.com/Applications/Photoshop/CS4/Win
/ADBEPHSPCS4_LS1.7z
OS/Version: Linux
Status: NEW
Keywords: download, Installer, regression
Severity: normal
Priority: P2
Component: mshtml
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: kennybobs(a)o2.co.uk
CC: jacek(a)codeweavers.com
Created an attachment (id=23956)
--> (http://bugs.winehq.org/attachment.cgi?id=23956)
Screenshot
The Adobe Photoshop CS4 installer is currently unusable, see screenshots for
details.
Probably affects other CS4 installers too, but I have not tested them.
df90f665bb11e2d01ff3e061d6f989ce2589cadb is first bad commit
commit df90f665bb11e2d01ff3e061d6f989ce2589cadb
Author: Jacek Caban <jacek(a)codeweavers.com>
Date: Fri Oct 2 13:51:19 2009 +0200
mshtml: Added HTMLAnchorElement dispex data.
:040000 040000 1e962f09f4793df3ac56a123fd68e7d8dc07d33e
07fbe0ed134096e9e663b4722f97f57140bc431a M dlls
To get this far, have to work around Bug 18070.
It appears that all the possible fields are shown at once, and none of them are
accessible.
--
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=26423
Summary: Wine should use MS-DOS (8.3) file names when
interacting with Dosbox
Product: Wine
Version: 1.3.15
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: dos
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: spammis(a)spam.la
This depends on bug 26422.
Let's assume that the current directory is "C:\Program Files"
(~/.wine/drive_c/Program Files). I type "wine dosprog" where "dosprog" is some
MS-DOS program. Wine starts Dosbox and runs the following commands:
mount c /home/username/.wine/dosdevices/c:
mount d /home/username/.wine/dosdevices/d:
C:
cd \Program Files
C:\Program Files\dosprog.exe
exit
Dosbox does not recognise long file names (Program Files); Dosbox requires
short names (PROGRA~1). The "cd" call and the program call will both fail
because of this.
--
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=23334
Summary: SimCity 3000: after install regedit shows
Product: Wine
Version: 1.2-rc4
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: trivial
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: felipemoraesbr(a)gmail.com
This is the single game I tested where it happens
--
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=11239
Summary: Steam Games No Longer Start - bisected the cause to
ntdll
Product: Wine
Version: CVS/GIT
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: major
Priority: P2
Component: ntdll
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: philcostin(a)hotmail.com
The following patch, introduced on Jan 15th 2008 has resulted in Steam games
being unable to start.
bd352bcd1c98ed91bdb337e73cddfd8ceac095d6
err:seh:setup_exception nested exception on signal stack in thread 004f eip
7efc20b3 esp 7ffdb770 stack 0x241000-0x350000
--
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=14390
Summary: Gmax 1.2: Fatal Error on Install - Ended Prematurely.
Product: Wine
Version: 1.1.0
Platform: PC-x86-64
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P1
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: gaming4jc2(a)yahoo.com
Created an attachment (id=14701)
--> (http://bugs.winehq.org/attachment.cgi?id=14701)
Fatal Error on install.
When installing GMAX 1.2 on WINE 1.1.0 I receive the following errors which are
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.
http://bugs.winehq.org/show_bug.cgi?id=23675
Summary: Portable Apps Platform (beta 5) works under Vista,
Win7, but not Wine’s emulation
Product: Wine
Version: 1.2-rc7
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: joelcsalomon(a)gmail.com
Portable Apps Platform (beta 5, see <http://portableapps.com/node/24258>) gives
me the error “The program PortableAppsPlatform.exe has encountered a serious
problem and needs to close. We are sorry for the inconvenience.” Telling Wine
to mimic Windows XP for this program avoids the crash, but the Platform runs
fine under (real) Windows Vista & 7.
--
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=18777
Summary: Wine 1.1.22+ resets customized FontLink when switching
locales
Product: Wine
Version: 1.1.22
Platform: All
OS/Version: Linux
Status: UNCONFIRMED
Severity: major
Priority: P2
Component: gdi32
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: matthewsage(a)live.com
CC: Paul.Hampson(a)Pobox.com
Created an attachment (id=21546)
--> (http://bugs.winehq.org/attachment.cgi?id=21546)
Regression test that shows the patch that broke the desired functionality
Whenever you switch locales (using the latest Wine dev. version -1.1.22-),
whatever custom Font Linking you have made in the FontLink/SystemLink register
key will be wiped out.
This was tested on Wine 1.1.22, after wiping out ~/.wine
I tested it with the Ubuntu x86_64 binary package from the budgetdedicated
servers, AND after building from source.
Steps to reproduce:
1) Run "regedit"
2) Set some System Font Linking replacements in the
HKLM/Software/Microsoft/Windows NT/CurrentVersion/FontLink/SystemLink register
key (in my case: Tahoma -> VL Gothic, Microsoft Sans Serif -> VLGothic, MS Sans
Serif -> VL Gothic)
3) Run any Win32 application with LANG set to a different locale (in my case,
LANG=ja_JP.UTF-8)
Expected results:
The application is executed, whatever Font Linking you made is visible (which
means that the custom Font Linking I made is respected by Wine).
Actual Results:
The application is executed, whatever Font Linking you made is not visible. If
you run "regedit" again, you'll see that the FontLink/SystemLink key is now
empty.
Workaround:
Always run Wine apps with the same locale (LANG=ja_JP.UTF-8 in my case) - That
would include regedit itself, so that the Font Linking you set up is not wiped
as soon as you run another app with a different locale.
--
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=10273
Summary: satisfy SafeDisc 2.x heuristic API analyzer by
"adjusting" API exports/entry statistics of wine
builtins
Product: Wine
Version: CVS/GIT
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: wine-kernel
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Created an attachment (id=8924)
--> (http://bugs.winehq.org/attachment.cgi?id=8924)
Patch which should fix SafeDisc 2.x copy protection api analyzer issue
Hello,
if not interested in technical details goto (2) ;-)
I made this a separate bug report like
http://bugs.winehq.org/show_bug.cgi?id=9925 (SafeDisc 1.x stopper) because
SafeDisc has many flavors that differ in various technical ways and can't be
discussed/handled in a single SafeDisc "metabug" like
http://bugs.winehq.org/show_bug.cgi?id=219
SafeDisc Major version based separation allows better tracking of "completion"
state (1.x/2.x/3.x/4.x).
-----------
(1)
It took me a couple of days to get an idea what SafeDisc 2.x really does with
the API exports and to find a way to cope with it...
Various anti-debugging techniques and nasty runtime code obfuscation made this
journey somewhat challenging.
Parts of SafeDisc 2.x analyze the API code of the following system libraries:
kernel32.dll (wine builtin)
user32.dll (wine builtin)
gdi32.dll (wine builtin)
cdasdtst.dll (developer backdoor?)
The latter one is probably a "developer backdoor", used to verify their
code/algorithms (not needed to be present).
For each of these libraries all named exports are taken into account.
A number of API entry opcode sequences are read and used for statistical
analysis (number depends on type of encountered opcodes).
>From what I've seen there is some kind of "behavioural probability" of each API
entry calculated, with typical opcode sequences having a "weighting".
Just think of advanced heuristic detection methods of antivirus scanners and
you get the idea ;-).
Anyway, wine's builtin libraries differ in their signatures from windows entry
code and to make things worse, wine's +relay/+snoop feature heavily interferes
with the analyzer results. :-(
First I made some experiments with additional (dummy) function exports, small
__asm__ wrappers with opcode sequences to see how the distribution of opcodes
influences the analyzer results.
The result was rather disappointing.
I needed a large number of exports to gain some results but not significantly
enough to get below the "bad" threshold.
Then I came across the magic "0" value. As soon as I used this value either as
first .byte on API entry or init value for data export, the entry scan was
short circuited.
This value seemed to have the highest influence of all code/data sequences
used.
I added quite a number of data exports - aliased to initialized "0" value -
safe enough to let even wine's +relay work (remember: relay code influences
analyzer).
If you look at the patch don't get mad ;-)
You will see a crapload of named "__wine_safedisc2" data exports/aliases added
to wine builtin kernel32, user32 and gdi32.
For the record: http://bugs.winehq.org/show_bug.cgi?id=9926 which talks about
"problematic" gdi32 data exports (pfnPalette stuff) in SafeDisc 3.x.
SafeDisc 2.x code triggers SEH upon exported function pointers too but this is
gracefully handled. No harm at all.
I wonder if this is really a problem in SafeDisc 3.x ...
I thought about other possible solutions but found no one easier to implement
to prove my findings without hurting wine too much :-)
Making wrappers of the whole kernel32, user32, gdi32 named exports API just to
please the entry analyzer is not an option to me.
Another way could be the relocation of export table upon module loading,
expanding it at runtime by adding the required number of "statistics fakers"
(data exports with zero init).
This requires modifying the ntdll loader .. though i'm not sure if this
approach breaks other applications/braindamaged PE protection stuff which
expect certain conditions to be met (tables present at specific sections/memory
areas).
------------------------------
(2)
Well, take it as proof of concept. Play with it.
I tested my patch with a few SafeDisc 2.x games I have original media.
No cracks/no-cd patches were used.
Only official game patches were used.
Battlefield 1924 (1.6x) - SafeDisc 2.6/2.8
Road To Rome (BF1942 expansion) - SafeDisc 2.8
Battlefield Vietnam - SafeDisc 2.9
All of these work fine for me with the patch applied.
Please test this patch on many SafeDisc 2.x games as possible and report your
results (works or works not).
Make sure you have original media mounted and drive/data is visible within
wine.
If it fails for first time, the media might not ready yet, try again then (I
experienced this sometimes).
Use this link to verify what SafeDisc Version is used:
http://www.120search.net/ (alcohol software copy protection database)
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=9798
Summary: bioshock demo needs glsl enabled
Product: Wine
Version: CVS/GIT
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-directx-d3d
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Created an attachment (id=8240)
--> (http://bugs.winehq.org/attachment.cgi?id=8240)
crash log with glsl disabled
Hello,
Bioshock demo crashes if glsl is not enabled.
Attached are relevant traces made with:
WINEDEBUG=+seh,+tid,+d3d,+d3d_shader wine ./Bioshock.exe -dx9
Using following registry settings enables bioshock demo to run:
--- snip ---
HKEY_CURRENT_USER/Software/Wine/Direct3D
UseGLSL = "enabled"
--- snip ---
Optional: OffscreenRenderingMode = "fbo"
==================
Addendum:
wine --version
wine-0.9.45-406-g2ba3247
Currently uses secuROM hack (http://bugs.winehq.org/attachment.cgi?id=8235
) to run, see http://bugs.winehq.org/show_bug.cgi?id=7065
Be sure to include "-dx9" command line to work around directx 10 issue.
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=10225
Summary: SafeDisc 2.x triggers async device ioctl status code
propagation bug in wine server
Product: Wine
Version: CVS/GIT
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: major
Priority: P2
Component: wine-kernel
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Created an attachment (id=8843)
--> (http://bugs.winehq.org/attachment.cgi?id=8843)
relevant trace which shows ioctl status code propagation bug
Hello,
while testing my proof-of-concept patch which makes SafeDisc v2 (yuck!) finally
work, I stumbled across a nasty ioctl status code propagation (completion) bug
in wine server.
Wasted several hours on it .. I was suspecting SD issue whole time, but its a
wine server bug :(
Attached is relevant trace (WINEDEBUG=+seh,+tid,+relay,+ntoskrnl,+server wine
./BfVietnam.exe)
Before the bug is triggered, the SafeDisc security driver makes several device
ioctl requests which return 0xC0000001 (unsuccessful) on purpose, e.g. reading
debug Drx registers with index that does not exist.
This is intended to fool reversers :-)
The next operation - checking IDT entries should succeed - but does not (as
seen from calling client).
The kernel driver completes the operation successfully and returns
irp.IoStatus.u.Status == 0 with xxxx bytes in output buffer.
I verified it several times by debugging the kernel driver.
Upon driver ioctl call return, get_next_device_request() is triggered again in
ntoskrnl event loop which sets the return data (and status code) ->
set_ioctl_result().
This queues an APC, waking up the client (alertable state).
The client process device ioctl completes with 0 (FALSE) which is wrong.
Further debugging showed that ioctl_completion APC (dlls/ntdll/file.c) returns
the errornous status code in get_ioctl_result() when woken up by server.
This error is then propagated in server_ioctl_file() to result in wrong
NtDeviceIoControlFile() return code.
What puzzled me is that "ioctl->status" is correctly set by set_ioctl_result()
(=0) but get_ioctl_result() - called within client context - yields the
previous error code (0xC0000001 of failed request).
This is either a problem of global vs. thread local error status (global_error
vs. current->error/thread) or the ioctl call data is the wrong one.
The following patch works for me, letting SD 2.x continue - though i'm not sure
if it's right:
--- snip ---
diff --git a/server/device.c b/server/device.c
index 46b2796..8fe8f7c 100644
--- a/server/device.c
+++ b/server/device.c
@@ -528,7 +528,7 @@ DECL_HANDLER(get_ioctl_result)
ioctl->out_data = NULL;
}
}
- set_error( ioctl->status );
+
list_remove( &ioctl->dev_entry );
release_object( ioctl ); /* no longer on the device queue */
}
--- snip ---
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=10293
Summary: sequentially running games/apps with different SafeDisc
versions fails
Product: Wine
Version: CVS/GIT
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: wine-kernel
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Created an attachment (id=8945)
--> (http://bugs.winehq.org/attachment.cgi?id=8945)
Patch which fixes various isses regarding kmode driver unload/reload
Hello,
currently wine's kernel mode driver cleanup/unloading facility has several
issues when it comes to applications/games that unload and reload different
driver versions on the fly.
Example: run multiple SafeDisc 2.x, 3.x and 4.x games sequentially.
Symptoms: game either hangs/crashes/exits silently
Usually the SD security driver is placed in
"c:\windows\system32\drivers\secdrv.sys"
If a SafeDisc protected program encounters a driver version that is
incompatible it does the following:
- stop the current security service (should unload the driver)
- unpack own security driver from resources to temp storage and move the binary
to "c:\windows\system32\drivers\secdrv.sys", overwriting the previous
- restart the service (loads the new driver)
This currently fails for various reasons:
(1)
The driver binary is loaded using LoadLibrary() -> the matching FreeLibrary()
is missing on service stop.
This leads to sharing violation when the driver binary going to be replaced
(CopyFile fails).
(2)
No driver unload routine called. Very problematic.
Various objects (symlinks) created by driver entry are not freed.
When the driver is reloaded the init routine usually fails with "object
exists".
(3)
Driver state objects (driver_obj, driver_extension) have undefined state due to
static storage.
Raises all sorts of problems because the driver entry routine does not init all
fields.
---------
Attached is a patch which fixes these problems, allowing to sequentially run
programs with different SafeDisc Versions.
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=10451
Summary: Various AutoDesk 2008 product installers fail due to
unimplemented msi.MsiEnumComponentCostsW
Product: Wine
Version: CVS/GIT
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-msi
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Created an attachment (id=9156)
--> (http://bugs.winehq.org/attachment.cgi?id=9156)
stub impl of msi.MsiEnumComponentCostsW to keep AutoDesk 2008 installers happy
Hello,
various AutoDesk 2008 product installers fail due to unimplemented
msi.MsiEnumComponentCostsW API (mentioned in bug 9809).
--- snip ---
wine: Call from 0x7b841460 to unimplemented function
msi.dll.MsiEnumComponentCostsW, aborting
wine: Unimplemented function msi.dll.MsiEnumComponentCostsW called at address
0x7b841460 (thread 000e), starting debugger...
Unhandled exception: unimplemented function msi.dll.MsiEnumComponentCostsW
called in 32-bit code (0x7b8414d8).
--- snip ---
Attached patch makes installer happy.
Though that API (A/W) should be fleshed out some day ... this is left as
exercise for msi maintainers :-)
If you test this on AutoDesk 2008 installers, you need my shell32/shlfileop
patch from bug 9809 too.
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=11789
Summary: Recent Fls API additions break many installers/apps
Product: Wine
Version: CVS/GIT
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: ntdll
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Hello,
after upgrading to recent GIT (wine-0.9.56-264-g848383a) it seems the recent
Fls API additions broke almost every installer i'm working on ;-(
http://source.winehq.org/git/wine.git/?a=commit;h=6d6e9a42b13c827d1cc795c3b…http://source.winehq.org/git/wine.git/?a=commit;h=b2ad268a8b7d7ac65029bbdd7…
I won't question if there was a specific need to introduce this ...
Reason of crash in FlsAlloc() is simple.
Different TEB definition in <thread.h> vs. <winternl.h> leads to incorrect TEB
allocation size (ntdll -> thread.h) vs. usage (fiber/Fls -> winternl.h)
Solution: use winternl.h TEB definition to ensure correct TEB allocation size
in dlls/ntdll/thread.c
Either change include order of both (needs <stdarg.h>) .. or sync both .. or
better get rid of the thread.h one to avoid such recurring problem.
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=14499
Summary: ImageDirectoryEntryToDataEx: section header param [out,
optional], needs to be zeroed before RtlImageRvaToVa
Product: Wine
Version: CVS/GIT
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: dbghelp
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Hello,
a quickie, as title says.
Section header param passed to ImageDirectoryEntryToDataEx is [out, optional].
Crashes RtlImageRvaToVa if caller doesn't initialize the out param to zero
(stack var).
--- snip ---
..
0020:Call
dbghelp.ImageDirectoryEntryToDataEx(00340000,00000000,00000006,0032cc34,0032cc38)
ret=004048ec
0020:Call ntdll.RtlImageNtHeader(00340000) ret=6076ce7b
0020:Ret ntdll.RtlImageNtHeader() retval=003400e8 ret=6076ce7b
0020:Call ntdll.RtlImageRvaToVa(003400e8,00340000,00001270,0032cc38)
ret=6076ceeb
0020:trace:seh:raise_exception code=c0000005 flags=0 addr=0x7bc4337a
--- snip ---
Fix: unconditionally "if (section) *section = NULL" on
ImageDirectoryEntryToDataEx entry (like size).
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=14568
Summary: Silence FIXME from CoGetContextToken stub to prevent
flooding of trace output when COM+ context is queried
from .NET runtime
Product: Wine
Version: CVS/GIT
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: ole32
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Hello,
ole32.CoGetContextToken being currently a stub prints out large amounts of
FIXME's when .NET runtime queries COM+ context for run/debugged .NET
applications.
--- snip ---
..
fixme:ole:CoGetContextToken stub
fixme:ole:CoGetContextToken stub
fixme:ole:CoGetContextToken stub
fixme:ole:CoGetContextToken stub
fixme:ole:CoGetContextToken stub
..
<repeat this gazillion times>
--- snip ---
Please use a static or remove the FIXME.
It's really annoying and makes console tracing/debugging of .NET apps really
messy.
And no, WINEDEBUG=-ole is *not* an option, it actually hides other bugs.
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=16544
Summary: winmm: mixerOpen(): when CALLBACK_WINDOW flag given,
NULL Callback is also valid
Product: Wine
Version: 1.1.10
Platform: PC-x86-64
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: winmm&mci
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Hello,
while revisiting a Battlefield 2 issue I came across another one...
BF2 voice setup (C:\Program Files\EA GAMES\Battlefield 2\BF2VoiceSetup.exe)
crashes when "Save Settings" button is clicked.
This happens from BF2 sub-installer (causing no harm) or when the voice setup
app is run stand alone.
--- snip ---
..
wine: Unhandled page fault on read access to 0x0000002c at address 0x408661
(thread 0044), starting debugger...
Unhandled exception: page fault on read access to 0x0000002c in 32-bit code
(0x00408661).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:00408661 ESP:0033dadc EBP:0033dbc0 EFLAGS:00010216( - 00 -RIAP1)
EAX:00000000 EBX:00000111 ECX:00000000 EDX:00000002
ESI:0033dadc EDI:0033dbc0
Stack dump:
0x0033dadc: 00000001 0033f60c 00000111 cccccccc
0x0033daec: cccccccc cccccccc cccccccc cccccccc
0x0033dafc: cccccccc cccccccc cccccccc cccccccc
0x0033db0c: cccccccc cccccccc cccccccc cccccccc
0x0033db1c: cccccccc cccccccc cccccccc cccccccc
0x0033db2c: cccccccc cccccccc cccccccc cccccccc
Backtrace:
=>0 0x00408661 in bf2voicesetup (+0x8661) (0x0033dbc0)
1 0x00403978 in bf2voicesetup (+0x3978) (0x0033dd8c)
2 0x7c171915 in mfc71 (+0x31915) (0x0033ddbc)
3 0x7c14db36 in mfc71 (+0xdb36) (0x0033dde0)
4 0x7c175cd8 in mfc71 (+0x35cd8) (0x0033de30)
5 0x7c175cf2 in mfc71 (+0x35cf2) (0x0033dec4)
..
--- snip ---
The crash location is only indirectly related to the problem, hence this was a
bit tricky to debug to the real cause.
The real problem seems to be a Wine's winmm.mixerOpen() handling fdwOpen flags
with CALLBACK_WINDOW when dwCallback is NULL.
Consider the following (WINEDEBUG=+winmm):
--- snip ---
0023:trace:winmm:DllMain 0x60380000 0x1 0x1
0023:trace:winmm:MMDRV_Init ()
..
0023:trace:winmm:MIXER_Open (0x425f0c, 0, 00000000, 00000000, 00010000)
..
--- snip ---
mixerOpen() with CALLBACK_WINDOW flags and NULL dwCallback results in
MMSYSERR_INVALPARAM.
Corresponding Wine code:
--- snip dlls/winmm/winmm.c:MIXER_Open ---
UINT MIXER_Open(LPHMIXER lphMix, UINT uDeviceID, DWORD_PTR dwCallback,
DWORD_PTR dwInstance, DWORD fdwOpen, BOOL bFrom32)
{
...
switch (fdwOpen & CALLBACK_TYPEMASK) {
..
case CALLBACK_WINDOW:
mod.dwInstance = dwCallback;
if (!IsWindow((HWND)dwCallback))
return MMSYSERR_INVALPARAM;
break;
}
..
}
--- snip dlls/winmm/winmm.c:MIXER_Open ---
MSDN: http://msdn.microsoft.com/en-us/library/ms712134.aspx
It says: "The dwCallback parameter is assumed to be a window handle (HWND)."
Unfortunately the app expects MMSYSERR_NOERROR but not a failure (bad app error
handling anyway).
Hence crucial data structures are not getting setup properly (C++
instances/member data), leading to NULL ptr dereference at much later time.
A small conformance test case (fdwOpen=CALLBACK_WINDOW, dwCallback=NULL) should
reveal this MSDN documentation insufficiency.
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=16598
Summary: winuser.rh misses some standard control ids (dialog
button, ...) resulting in wrc failure with windows.h
include only
Product: Wine
Version: 1.1.10
Platform: Other
OS/Version: other
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Hello,
while doing some occasional end user support on #winehq (*yuck*), one user
complained about wrc not compiling his .rc file.
Visual C++ and mingw toolchains compiled it in Windows without problems but
Wine's wrc didn't like it.
--- snip ---
...
resource.rc:114:31: Error: syntax error
--- snip ---
He sent me a link to the .rc file to have a look at.
Relevant parts:
Resource.rc:
--- snip ---
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include <windows.h>
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
...
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDR_MENU MENU
BEGIN
...
END
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_MEMTRANSFER DIALOGEX 100, 100, 174, 90
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
CAPTION "Memory Transfer"
FONT 8, "Courier New", 0, 0, 0x0
BEGIN
DEFPUSHBUTTON "&OK",IDOK,42,72,40,14
...
--- snip ---
Resource.h:
--- snip ---
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by resource.rc
//
#define IDR_MENU 100
#define IDI_ICON 101
#define IDB_BITMAP 102
#define IDR_MAIN_ACCEL 103
#define IDD_MEMTRANSFER 104
...
--- snip ---
The resource include chain is as follows:
resource.h
windows.h (due to RC_INVOKED defined by wrc) -> winresrc.h -> winuser.rh and
commctrl.rh
The problem is that winuser.rh defines only a subset of winuser.h control ids
This breaks resource scripts which for example reference standard dialog button
IDs.
Telling the user to explicitly include <winuser.h> solved his problems.
You might want to extend winuser.rh a bit to include often used standard
control ids (ex: dialog button).
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=13399
Summary: Appdb doesn't remember logins
Product: WineHQ Apps Database
Version: unspecified
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: appdb-unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: tehblunderbuss(a)gmail.com
The appdb doesn't remember logins, like how the bugzilla or wiki do.
--
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=12939
Summary: >=wine-0.9.59: Selection using control key and mouse
button does not work.
Product: WineHQ Bugzilla
Version: unspecified
Platform: PC
URL: http://www.foobar2000.org
OS/Version: Linux
Status: UNCONFIRMED
Severity: major
Priority: P2
Component: bugzilla-unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: h.judt(a)gmx.at
In Foobar2000, <Control>-<Mouse1> should select or deselect a single entry in
the playlist. Instead, it just selects a new entry and deselects all others as
if the control key has not been pressed.
This worked in <wine-0.9.59 but does not in >=wine-0.9.59 (last version tested
was 0.9.61).
Similar problem with <Shift>-<Mouse1> existed in =wine-0.9.59, but was solved
in >=0.9.60 and works fine now.
Occurs with: Foobar2000-0.9.4.4, Exact Audio Copy-0.99prebeta4, file selector
dialogs, but might effect other software / versions / dialogs as well.
When I launch Foobar2000 and try to add files, I get the following messages on
the terminal, maybe this is of some help:
fixme:menu:TrackPopupMenuEx not fully implemented
fixme:commdlg:GetFileName95 Flags 0x00800000 not yet implemented
fixme:shell:ShellView_OnNotify LVN_KEYDOWN key=0x00000011
fixme:shell:ShellView_OnNotify LVN_KEYDOWN key=0x00000041
fixme:shell:ShellView_OnNotify LVN_KEYDOWN key=0x00000010
fixme:shell:ShellView_OnNotify LVN_KEYDOWN key=0x00000011
fixme:shell:ShellView_OnNotify LVN_KEYDOWN key=0x00000011
fixme:shell:ShellView_OnNotify LVN_KEYDOWN key=0x00000041
fixme:shell:ShellView_OnNotify LVN_KEYDOWN key=0x00000010
--
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=21777
Summary: CreateMutexExA(): use heap for A to W conversion to
work around transbase db engine app bug (affects
multiple apps, TecDoc CATALOG ...)
Product: Wine
Version: 1.1.39
Platform: x86
URL: http://www.tecdoc.de
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: kernel32
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Hello,
at the end of TecDoc CATALOG 1/2010 DVD install a crash dialog is displayed
while starting a service (the msi part of install is finished anyway).
The database engine service has auto-start type set hence on every program
start (wine notepad) the infamous crash dialog is displayed.
This turns out to be an app bug but due to differences in Wine vs. Windows API
design/usage this bug has no consequences in Windows and goes on unnoticed.
Unfortunately the part of software that crashes comes from another software
supplier "Transaction Software" (http://www1.transaction.de/transaction/).
Many automotive spare parts catalogue software (BMW, VW, Audi, GM, Fiat ...)
internally use the Transbase SQL database engine for years.
In case of Wine/Linux this means many broken apps/versions in the wild due to
this bug and even if the original software supplier fixes the bug, it will take
years until spare parts catalogue software vendors using the engine to pick up
and release new versions of their own products.
Despite being an app bug I suggest to modify Wine to work around this developer
stupidity.
Here it goes, first the crash itself:
--- snip ---
wine: Unhandled page fault on read access to 0x012f0000 at address 0x681ee546
(thread 001d), starting debugger...
Unhandled exception: page fault on read access to 0x012f0000 in 32-bit code
(0x681ee546).
...
Threads:
process tid prio (all id:s are in hex)
...
00000019 (D) C:\TECDOC_CD\1_2010\db\tbmux32.exe
0000001d 0 <==
0000001b 0
0000001a 0
...
Backtrace:
=>0 0x681ee546 (0x012eddd4)
1 0x7bc79ac0 NtCreateMutant+0xae(MutantHandle=0x12eded4, access=0x1f0001,
attr=0x12edeb4, InitialOwner=0) [/opt/wine/wine-git/dlls/ntdll/sync.c:429] in
ntdll (0x012ede94)
2 0x7b869dc8 CreateMutexExW+0xb2(sa=0x12ee16c, name="Global\TBSEM ( TECDOC_C
) = (Key=32769, Ind=0)", flags=0, access=0x1f0001)
[/opt/wine/wine-git/dlls/kernel32/sync.c:653] in kernel32 (0x012edee4)
3 0x7b869d0c CreateMutexExA+0xb6(sa=0x12ee16c, name="Global\TBSEM ( TECDOC_C
) = (Key=32769, Ind=0)", flags=0, access=0x1f0001)
[/opt/wine/wine-git/dlls/kernel32/sync.c:626] in kernel32 (0x012ee124)
4 0x7b869c08 CreateMutexA+0x3a(sa=0x12ee16c, owner=0, name="Global\TBSEM (
TECDOC_C ) = (Key=32769, Ind=0)") [/opt/wine/wine-git/dlls/kernel32/sync.c:599]
in kernel32 (0x012ee144)
5 0x0041a2a3 in tbmux32 (+0x1a2a3) (0x74fd9c13)
6 0x458d28ec (0x83e58955)
--- snip ---
Starting the whole thing (db service) with +relay exhibits a different
behaviour: the service doesn't crash but it doesn't really work, indicating a
stack usage problem.
Have a close look at security descriptor dump, DACL part:
--- snip ---
001e:Call advapi32.InitializeSecurityDescriptor(012ee2bc,00000001) ret=00419b06
001e:Ret advapi32.InitializeSecurityDescriptor() retval=00000001 ret=00419b06
001e:Call advapi32.InitializeAcl(012ede8c,00000400,00000002) ret=00419b28
001e:Ret advapi32.InitializeAcl() retval=00000001 ret=00419b28
001e:Call advapi32.InitializeSid(012eda8c,012eda84,00000001) ret=00419b47
001e:Ret advapi32.InitializeSid() retval=00000001 ret=00419b47
001e:Call advapi32.GetSidSubAuthority(012eda8c,00000000) ret=00419b60
001e:Ret advapi32.GetSidSubAuthority() retval=012eda94 ret=00419b60
001e:Call advapi32.AddAccessAllowedAce(012ede8c,00000002,10000000,012eda8c)
ret=00419b7c
001e:Ret advapi32.AddAccessAllowedAce() retval=00000001 ret=00419b7c
001e:Call
advapi32.SetSecurityDescriptorDacl(012ee2bc,00000001,012ede8c,00000000)
ret=00419b9e
001e:Ret advapi32.SetSecurityDescriptorDacl() retval=00000001 ret=00419b9e
001e:Call KERNEL32.CreateMutexA(012ee2b0,00000000,012ee2d0 "Global\\TBSEM (
TECDOC_C ) = (Key=808607544, Ind=0)") ret=0041a2a3
001e: create_mutex( access=001f0001, attributes=00000080, owned=0,
objattr={rootdir=0018,sd={control=00000004,owner=<not present>,group=<not
present>,sacl={},dacl={{AceType=unknown<156>,AceFlags=e2},{AceType=unknown<46>,AceFlags=1}}},name=L"Global\\TBSEM
( TECDOC_C ) = (Key=808607544, Ind=0)"} )
001e: create_mutex() = INVALID_SECURITY_DESCR { handle=0000 }
001e:Ret KERNEL32.CreateMutexA() retval=00000000 ret=0041a2a3
--- snip ---
Pretty much messed up.
To keep the story short, I translated debugger disassembly snippets and
annotated stack dumps into a snippet of C code so you won't get annoyed with
too much detail ;-)
This is most likely what the app does (might not be 100% accurate, just to
illustrate the problem):
--- stupid app code start ---
static int prepare_sd( SECURITY_ATTRIBUTES *sa)
{
SID_IDENTIFIER_AUTHORITY sia_world = SECURITY_WORLD_SID_AUTHORITY;
BYTE user_sid[0x400];
BYTE acl_buffer[0x400];
int res = InitializeSecurityDescriptor( sa->lpSecurityDescriptor,
SECURITY_DESCRIPTOR_REVISION);
if( !retval)
return res;
res = InitializeAcl( (PACL) acl_buffer, sizeof(acl_buffer), ACL_REVISION);
if( !retval)
return res;
res = InitializeSid( (PSID) user_sid, &sia_world, 1);
if( !retval)
return res;
*GetSidSubAuthority( (PSID) user_sid, 0) = SECURITY_WORLD_RID;
res = AddAccessAllowedAce( (PACL) acl_buffer, ACL_REVISION, 0x10000000,
(PSID) user_sid);
if( !retval)
return res;
return SetSecurityDescriptorDacl( sa->lpSecurityDescriptor, TRUE,
(PACL)acl_buffer, FALSE);
}
static int open_app_mutex( ...)
{
SECURITY_DESCRIPTOR sd;
SECURITY_ATTRIBUTES sa = {0};
char name[0x80];
wsprintfA( name, "xxx", ...);
sa.nLength= sizeof(SECURITY_ATTRIBUTES);
sa.lpSecurityDescriptor = &sd;
sa.bInheritHandle = FALSE;
prepare_sd( &sa);
CreateMutexA( &sa, FALSE, name);
...
}
--- stupid app code end ---
You can probably spot the biggest mistake of all pretty soon: some "genius"
decided to put everything on stack in prepare_sd().
Upon return of prepare_sd() helper function, the stack locals used within
prepare_sd() are still *intact*
When the app calls CreateMutexA(), the call sequence is as follows:
CreateMutexA -> CreateMutexExA -> CreateMutexExW -> NtCreateMutant
--- snip dlls/kernel32/sync.c ---
HANDLE WINAPI CreateMutexA( SECURITY_ATTRIBUTES *sa, BOOL owner, LPCSTR name )
{
return CreateMutexExA( sa, name, owner ? CREATE_MUTEX_INITIAL_OWNER : 0,
MUTEX_ALL_ACCESS );
}
...
HANDLE WINAPI CreateMutexExA( SECURITY_ATTRIBUTES *sa, LPCSTR name, DWORD
flags, DWORD access )
{
WCHAR buffer[MAX_PATH];
if (!name) return CreateMutexExW( sa, NULL, flags, access );
if (!MultiByteToWideChar( CP_ACP, 0, name, -1, buffer, MAX_PATH ))
{
SetLastError( ERROR_FILENAME_EXCED_RANGE );
return 0;
}
return CreateMutexExW( sa, buffer, flags, access );
}
--- snip dlls/kernel32/sync.c ---
The problem is buried within CreateMutexExA(): the A to W conversion uses a
stack based buffer of MAX_PATH len.
This eats stack, partly overwriting the ACL buffer (DACL) from previous
prepare_sd() which used to be a stack local too.
The reason that this doesn't happen on Windows is most likely conversions are
heap based or the call path to kernel mode is very short, not consuming that
much stack as Wine does.
I verified with a patch to use heap based buffer in CreateMutexExA() for A to W
conversion (similar what's being done in CreateMailslotA()) and it lets the app
succeed despite that nasty stack bug.
I'll leave it to Alexandre to judge this (change or leave Wine as it is).
If you decide for WONTFIX (that app bug would really deserve such treatment), I
will attach a patch to give users a chance work around various broken transbase
versions.
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=24213
Summary: WMI: provide "WMIC" stub executable to silence various
"file not found" messages (Java SE JRE/JDK installers)
Product: Wine
Version: 1.3.1
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: wmi&wbemprox
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Hello,
when installing Java SE JRE/JDK, the installer calls the WMIC executable (using
"cmd"), cluttering console with messages:
--- snip ---
wine: cannot find L"C:\\windows\\system32\\WMIC.exe"
--- snip ---
This is a tool to access Windows Management Instrumentation (WMI) from the
command line, part of WMI core.
See: http://msdn.microsoft.com/en-us/library/aa394531.aspx
Trace log:
--- snip ---
0047:Call KERNEL32.CreateProcessA(00000000,005dead0 "cmd /C WMIC computersystem
get
model",00000000,00000000,00000001,08000400,00000000,00000000,0074e3f8,0074e43c)
ret=6d337ea3
...
0047:Ret KERNEL32.CreateProcessA() retval=00000001 ret=6d337ea3
...
0023:Call KERNEL32.CreateProcessW(00000000,0013a9c8 L"WMIC computersystem get
model",00000000,00000000,00000001,00000000,00000000,00000000,0033eff0,0033f034)
ret=68198ea3
...
wine: cannot find L"C:\\windows\\system32\\WMIC.exe"
0023:Ret KERNEL32.CreateProcessW() retval=00000000 ret=68198ea3
...
0047:Call KERNEL32.CreateProcessA(00000000,005ef958 "cmd /C WMIC computersystem
get
manufacturer",00000000,00000000,00000001,08000400,00000000,00000000,0074e3e8,0074e42c)
ret=6d337ea3
...
0047:Call KERNEL32.CreateProcessA(00000000,005ef958 "cmd /C WMIC bios get
serialnumber",00000000,00000000,00000001,08000400,00000000,00000000,0074e3e8,0074e42c)
ret=6d337ea3
...
0047:Call KERNEL32.CreateProcessA(00000000,005ef958 "cmd /C WMIC cpu get
manufacturer",00000000,00000000,00000001,08000400,00000000,00000000,0074e3f8,0074e43c)
ret=6d337ea3
...
--- snip ---
Would be fine if Wine could provide a stub executable to silence this until
real work on WMI starts one day ... (like Wine's "lodctr" for .NET stuff)
Ideally the WMIC stub should print the command line passed to it using own
debug channel ;-)
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=27400
Summary: SecuROM 4.x/5.x helper driver needs
ntoskrnl.exe.IoSetThreadHardErrorMode stub
Product: Wine
Version: 1.3.21
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: ntoskrnl
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Hello,
the driver is part of SecuROM 4.x/5.x and dynamically extracted and loaded if
"\Device\CdRom0" is present (cdrom0 -> /dev/cdrom via manually created symlink
in dosdevices).
The driver isn't particularly useful as of now but it shouldn't crash.
--- snip ---
...
0021:Call KERNEL32.CreateFileA(0032ce0c
"C:\\users\\focht\\Temp\\pfsvgae.sys",40000000,00000000,00000000,00000002,00000000,00000000)
ret=00486114
0021:Ret KERNEL32.CreateFileA() retval=00000080 ret=00486114
...
0021:Call advapi32.CreateServiceA(00161bc8,0032d00c "pfsvgae",0032d00c
"pfsvgae",000f01ff,00000001,00000003,00000001,0032ce0c
"C:\\users\\focht\\Temp\\pfsvgae.sys",00000000,00000000,00000000,00000000,00000000)
ret=00487aae
...
fixme:ntoskrnl:IoGetDeviceObjectPointer stub: L"\\Device\\CdRom0" 0 0x53e20c
0x53e1e8
fixme:ntoskrnl:IoRegisterDriverReinitialization stub: 0x787a54a0 0x541a6f (nil)
fixme:ntoskrnl:IoGetDeviceObjectPointer stub: L"\\Device\\LanmanRedirector" 1
0x53e21c 0x53e218
fixme:ntoskrnl:IoGetDeviceObjectPointer stub: L"\\Device\\NetWareRedirector" 1
0x53e21c 0x53e218
wine: Call from 0x7b838b9b to unimplemented function
ntoskrnl.exe.IoSetThreadHardErrorMode, aborting
wine: Unimplemented function ntoskrnl.exe.IoSetThreadHardErrorMode called at
address 0x7b838b9b (thread 0028), starting debugger...
wine: Call from 0x7b838b9b to unimplemented function
ntoskrnl.exe.IoSetThreadHardErrorMode, aborting
--- snip ---
MSDN: http://msdn.microsoft.com/en-us/library/ff550342.aspx
The driver uses the IoSetThreadHardErrorMode API as follows:
--- snip pseudo code ---
old_harderror = IoSetThreadHardErrorMode( FALSE);
// device: L"\\DosDevices\\C:\\" ... L"\\DosDevices\\D:\\" ...
ZwCreateFile( ... device ... )
IoSetThreadHardErrorMode( old_harderror)
--- snip pseudo code ---
This is to prevent a message box like "There is no disk in the drive. Please
insert a disk into drive x" or "Windows cannot access the specified device,
path or file." from being shown when the device link is not present or no cdrom
is inserted.
The driver iterates through all possible drive letters regardless if applicable
or not.
The return value doesn't really matter for now.
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=27550
Summary: SafeDisc 4.x: first opcode byte of
kernel32.DebugBreak() API entry must not be "int 3"
(0xCC) (Rainbow Six: Vegas 2 fails on startup)
Product: Wine
Version: 1.3.22
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: kernel32
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Hello,
"Rainbow Six: Vegas 2" complains about a debugger being present.
The game shows a message box on startup:
"A debugger has been detected"
"Unload the debugger and try again"
--- snip ---
=[ ProtectionID v0.6.4.0 JULY]=-
(c) 2003-2010 CDKiLLER & TippeX
Build 07/08/10-17:57:05
Ready...
Scanning -> Z:\home\focht\.wine\drive_c\Program Files\Ubisoft\Tom Clancy's
Rainbow Six Vegas 2\Binaries\R6Vegas2_Game.exe
File Type : 32-Bit Exe (Subsystem : Win GUI / 2), Size : 30277768 (01CE0088h)
Byte(s)
-> File Appears to be Digitally Signed @ Offset 01CDEE00h, size : 01288h /
04744 byte(s)
-> File has 1449472 (0161E00h) bytes of appended data starting at offset
01B7D000h
[File Heuristics] -> Flag : 00000000000000000100000000000111 (0x00004007)
[!] Safedisc v4.85.000 detected !
[i] Appended data contents....
[.] o: 0x01B7D028 / t: <0xA8726B03> <0xEF01996C> <0x00000001> / s: 00302963
byte(s) -> ~deaa13.tmp
[.] o: 0x01BC6FC2 / t: <0xA8726B03> <0xEF01996C> <0x0000044C> / s: 00015887
byte(s) -> clcd32.dll
[.] o: 0x01BCADF8 / t: <0xA8726B03> <0xEF01996C> <0x0000044C> / s: 00004122
byte(s) -> clcd16.dll
[.] o: 0x01BCBE36 / t: <0xA8726B03> <0xEF01996C> <0x0000044D> / s: 00037971
byte(s) -> mcp.dll
[.] o: 0x01BD52B2 / t: <0xA8726B03> <0xEF01996C> <0x0000000B> / s: 00005446
byte(s) -> SecDrv04.VxD
[.] o: 0x01BD681D / t: <0xA8726B03> <0xEF01996C> <0x00000000> / s: 00072192
byte(s) -> ~e5.0001
[.] o: 0x01BE8244 / t: <0xA8726B03> <0xEF01996C> <0x00000000> / s: 00045056
byte(s) -> PfdRun.pfd
[.] o: 0x01BF326C / t: <0xA8726B03> <0xEF01996C> <0x00000000> / s: 00965148
byte(s) -> ~df394b.tmp
[CompilerDetect] -> Visual C++ 8.0 (Visual Studio 2005)
- Scan Took : 1.569 Second(s)
--- snip ---
I debugged the protection through various anti-debugging checks and found out a
specific check failed.
SafeDisc 4.x checks all kernel32 exports and specifically looks for
soft-breakpoints (0xcc) on API entries.
This fails now for kernel32.DebugBreak() because AJ used an inline asm int 3
(0xcc) to fix bug 24157
The protection treats this as "malicious" soft breakpoint and flags this entry
as "bad".
bug 24157 ->
http://source.winehq.org/git/wine.git/commitdiff/5f06809ab3339e2001de57f18b…
- technically a regression.
Fortunately SafeDisc only checks the first opcode byte so one could prepend a
simple "HOTPATCH" instruction to work around that.
Though I'm not sure if this is a "safe" long term solution (in this case it's
sufficient).
Another way could be forwarding kernel32.DebugBreak to ntdll.DbgBreakPoint
I only tested both methods, they work.
Though the copy protection later fails for DVD media validation but this is
another bug.
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=13958
Summary: Services: handle null display names properly when
populating SCM db entries
Product: Wine
Version: 1.0-rc5
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: programs
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Hello,
there is a bug in services code when one or more services have no display name
set (null).
If CreateServiceW() is called, it checks for existing services using
scmdatabase_find_service_by_displayname().
Unfortunately this internal helper doesn't handle the "null" service name
properly while iterating, resulting in exception and messy side effects
(although mapped to rpc exception it isn't propagated properly).
Following is service db dump with such cases:
--- snip ---
000d:trace:service:scmdatabase_load_services Loading service L"BITS"
000d:trace:service:load_service_config Image path = L"svchost.exe -k
netsvcs"
000d:trace:service:load_service_config Group = (null)
000d:trace:service:load_service_config Service account name = L"LocalSystem"
000d:trace:service:load_service_config Display name = L"BITS"
000d:trace:service:load_service_config Service dependencies : (none)
000d:trace:service:load_service_config Group dependencies : (none)
000d:trace:service:scmdatabase_load_services Loading service L"MountMgr"
000d:trace:service:load_service_config Image path =
L"C:\\windows\\system32\\drivers\\mountmgr.sys"
000d:trace:service:load_service_config Group = (null)
000d:trace:service:load_service_config Service account name = L"LocalSystem"
000d:trace:service:load_service_config Display name = L"Mount Manager"
000d:trace:service:load_service_config Service dependencies : (none)
000d:trace:service:load_service_config Group dependencies : (none)
000d:trace:service:scmdatabase_load_services Loading service L"MSIServer"
000d:trace:service:load_service_config Image path =
L"C:\\windows\\system32\\msiexec.exe /V"
000d:trace:service:load_service_config Group = (null)
000d:trace:service:load_service_config Service account name = L"LocalSystem"
000d:trace:service:load_service_config Display name = L"MSIServer"
000d:trace:service:load_service_config Service dependencies : (none)
000d:trace:service:load_service_config Group dependencies : (none)
000d:trace:service:scmdatabase_load_services Loading service L"PnkBstrA"
000d:trace:service:load_service_config Image path =
L"C:\\windows\\system32\\PnkBstrA.exe"
000d:trace:service:load_service_config Group = (null)
000d:trace:service:load_service_config Service account name = L"LocalSystem"
000d:trace:service:load_service_config Display name = L"PnkBstrA"
000d:trace:service:load_service_config Service dependencies : (none)
000d:trace:service:load_service_config Group dependencies : (none)
000d:trace:service:scmdatabase_load_services Loading service L"PnkBstrB"
000d:trace:service:load_service_config Image path =
L"C:\\windows\\system32\\PnkBstrB.exe"
000d:trace:service:load_service_config Group = (null)
000d:trace:service:load_service_config Service account name = L"LocalSystem"
000d:trace:service:load_service_config Display name = L"PnkBstrB"
000d:trace:service:load_service_config Service dependencies : (none)
000d:trace:service:load_service_config Group dependencies : (none)
000d:trace:service:scmdatabase_load_services Loading service L"PnkBstrK"
000d:trace:service:load_service_config Image path =
L"C:\\windows\\system32\\drivers\\PnkBstrK.sys"
000d:trace:service:load_service_config Group = (null)
000d:trace:service:load_service_config Service account name = L"LocalSystem"
000d:trace:service:load_service_config Display name = L"PnkBstrK"
000d:trace:service:load_service_config Service dependencies : (none)
000d:trace:service:load_service_config Group dependencies : (none)
000d:trace:service:scmdatabase_load_services Loading service L"PROCMON13"
000d:trace:service:load_service_config Image path =
L"\\??\\C:\\windows\\system32\\Drivers\\PROCMON13.SYS"
000d:trace:service:load_service_config Group = (null)
000d:trace:service:load_service_config Service account name = (null)
000d:trace:service:load_service_config Display name = (null)
000d:trace:service:load_service_config Service dependencies : (none)
000d:trace:service:load_service_config Group dependencies : (none)
000d:trace:service:scmdatabase_load_services Loading service L"SecDrv"
000d:trace:service:load_service_config Image path =
L"C:\\windows\\system32\\drivers\\\\SECDRV.SYS"
000d:trace:service:load_service_config Group = (null)
000d:trace:service:load_service_config Service account name = L"LocalSystem"
000d:trace:service:load_service_config Display name = L"SecDrv"
000d:trace:service:load_service_config Service dependencies : (none)
000d:trace:service:load_service_config Group dependencies : (none)
000d:trace:service:scmdatabase_load_services Loading service L"Spooler"
000d:trace:service:load_service_config Image path =
L"C:\\windows\\system32\\spoolsv.exe"
000d:trace:service:load_service_config Group = L"SpoolerGroup"
000d:trace:service:load_service_config Service account name = L"LocalSystem"
000d:trace:service:load_service_config Display name = L"Print Spooler"
000d:trace:service:load_service_config Service dependencies : (none)
000d:trace:service:load_service_config Group dependencies : (none)
000d:trace:service:scmdatabase_load_services Loading service L"VxD"
000d:trace:service:load_service_config Image path = (null)
000d:trace:service:load_service_config Group = (null)
000d:trace:service:load_service_config Service account name = (null)
000d:trace:service:load_service_config Display name = (null)
000d:trace:service:load_service_config Service dependencies : (none)
000d:trace:service:load_service_config Group dependencies : (none)
--- snip ---
Quick fix:
--- snip ---
diff --git a/programs/services/services.c b/programs/services/services.c
index 806fbb6..d48c985 100644
--- a/programs/services/services.c
+++ b/programs/services/services.c
@@ -341,7 +341,7 @@ struct service_entry
*scmdatabase_find_service_by_displayname(struct scmdatabase
LIST_FOR_EACH_ENTRY(service, &db->services, struct service_entry, entry)
{
- if (strcmpiW(name, service->config.lpDisplayName) == 0)
+ if (service->config.lpDisplayName && strcmpiW(name,
service->config.lpDisplayName) == 0)
return service;
}
--- snip ---
Hopefully it's not too late for 1.0 ;-|
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=18122
Summary: Add ability to force specific order of notes/howtos
Product: WineHQ Apps Database
Version: unspecified
Platform: Other
OS/Version: other
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: appdb-unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Hello,
I would like to see the ability to force the order of NOTES/HOWTOS.
I experimented with deleting and re-adding notes or adding some number "prefix"
in headline to force ordering but they still appear in some random order.
This feature would improve readability as there are several appdb entries which
contain a large number of notes/howtos and the most important ones should be
displayed first.
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=24584
Summary: Serif Draw SE installer fails
Product: Wine
Version: 1.3.3
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: msi
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: intialonso(a)yahoo.com
Running setup.exe shows:
wine setup.exe
fixme:storage:create_storagefile Storage share mode not implemented.
fixme:advapi:LookupAccountNameW (null) L"mendicante" (nil) 0x32ea54 (nil)
0x32ea58 0x32ea4c - stub
fixme:advapi:LookupAccountNameW (null) L"mendicante" 0x1cfc78 0x32ea54 0x1cfb38
0x32ea58 0x32ea4c - stub
fixme:msi:msi_unimplemented_action_stub MigrateFeatureStates -> 3 ignored
L"Upgrade" table values
err:msi:ITERATE_Actions Execution halted, action L"NotWelcomeDlg" returned 1602
And this message:
"this action is not supported, please use setup.exe"
Im using wine 1.3.3 on Ubuntu 10.10rc
--
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=17076
Summary: Embedded .NET installer hangs in installation of
SnelStart
Product: Wine
Version: 1.1.13
Platform: PC-x86-64
URL: http://www.snelstart.nl/Proberen/Proberen.aspx
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: Paul.Vriens.Wine(a)gmail.com
(SnelStart is a Dutch Accounting Application)
I'm running up-to-date GIT.
When running 'wine SetupDemoSnelStart.exe' one sees that it downloads
dotnetfx.exe (http://www.installengine.com/cert05/dotnetfx/dotnetfx.exe). After
that there will be a 'InstallShield Wizard' window that keeps busy stating that
it's configuring the .NET framework.
'ps -ef' shows:
C:\windows\temp\{A4D5D16A-A0C9-4F8A-8929-F0B61C32EDEB}\dotnetfx.exe /q:a
/ver:v1.1.4322 /redistui:S /c:/q:a /c:install /q /coreui:1033
I have no idea what logs to attach so please advise.
--
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.