https://bugs.winehq.org/show_bug.cgi?id=39671
Bug ID: 39671
Summary: Wine 1.7.55 regression: buttons no longer visible
Product: Wine
Version: 1.7.55
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: scarre.lu(a)gmail.com
Distribution: ---
Buttons with images are no longer visible in several desktop applications
previously running fine under wine 1.7:
* SplashID desktop
* Most Delphi applications using speedbutton instances
The buttons are invisible, although clicking (blindly) on their supposed
position reveals them.
--
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=40095
Bug ID: 40095
Summary: Photos opened in Nikon Capture NX 2.4.7 have inverted
red and blue channel for displaying.
Product: Wine
Version: 1.9.3
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: wylda(a)volny.cz
Distribution: ---
I re-tested bug 33140, which was recelntly closed as fixed. Maybe it was fixed
just for RAW. Anyway, it is not fixed in wine-1.9.3 and default JPGs.
Steps:
1. winetricks dotnet40 corefonts gdiplus
2. set win version to Vista
3. install NX2
4. run the app and open:
c:\Program Files\Nikon\Capture NX 2\html\images\common\13redeyecp_02_nx20.jpg
Instead of human color you will see bluish face.
--
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=36319
Bug ID: 36319
Summary: valgrind shows several possible leaks in
quartz/tests/misc.c
Product: Wine
Version: 1.7.18
Hardware: x86
OS: Linux
Status: NEW
Keywords: download, source, testcase
Severity: normal
Priority: P2
Component: quartz
Assignee: wine-bugs(a)winehq.org
Reporter: austinenglish(a)gmail.com
Created attachment 48405
--> https://bugs.winehq.org/attachment.cgi?id=48405
valgrind log
==27568== 5,744 bytes in 148 blocks are possibly lost in loss record 643 of 655
==27568== at 0x7BC50A9B: RtlAllocateHeap (heap.c:255)
==27568== by 0x4ECBA52: alloc_bstr (oleaut.c:162)
==27568== by 0x4ECC255: SysAllocStringByteLen (oleaut.c:413)
==27568== by 0x4EF7C4F: ITypeLib2_Constructor_MSFT (typelib.c:2254)
==27568== by 0x4EFB20B: LoadTypeLibEx (typelib.c:3460)
==27568== by 0x4EFCDF2: LoadTypeLib (typelib.c:454)
==27568== by 0x4EFD4AA: LoadRegTypeLib (typelib.c:537)
==27568== by 0x647CAD3: ???
==27568== by 0x6483475: ???
==27568== by 0x6413806: ???
==27568== by 0x6413AC0: ???
==27568== by 0x53134DD: CoCreateInstance (unknwn.h:226)
==27568== by 0x64832A8: ???
==27568== by 0x6486644: ???
==27568== by 0x641A819: ???
==27568== by 0x6413AC0: ???
==27568== by 0x53134DD: CoCreateInstance (unknwn.h:226)
==27568== by 0x4D6F01A: test_aggregation (misc.c:81)
==27568== by 0x4D70125: func_misc (misc.c:174)
==27568== by 0x4D723D4: run_test (test.h:584)
==27568==
==9329== 288 bytes in 2 blocks are definitely lost in loss record 485 of 657
==9329== at 0x7BC50A9B: RtlAllocateHeap (heap.c:255)
==9329== by 0x654C126: ???
==9329== by 0x6544704: ???
==9329== by 0x64ECFB7: ???
==9329== by 0x64E7667: ???
==9329== by 0x53134DD: CoCreateInstance (unknwn.h:226)
==9329== by 0x4D6F01A: test_aggregation (misc.c:81)
==9329== by 0x4D70125: func_misc (misc.c:174)
==9329== by 0x4D723D4: run_test (test.h:584)
==9329== by 0x4D727C3: main (test.h:654)
==9329==
etc.
--
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=39512
Bug ID: 39512
Summary: Make it possible to run multiple tests in a single
task
Product: Wine-Testbot
Version: unspecified
Hardware: x86
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: unknown
Assignee: wine-bugs(a)winehq.org
Reporter: fgouget(a)codeweavers.com
Distribution: ---
Currently when a patch touches multiple tests the TestBot creates one task per
test per VM, and even multiple jobs if the patch touches tests for multiple
dlls.
For instance currently Wine patches are tested on four 32 bit VMs and five 64
bit VMs. So a patch that modified 2 tests in one dll and 3 in another would
create 2 jobs and 72 tasks (2 build tasks, (2+3)*(4+5) 32 bit tasks, and
(2+3)*5 64 bit tasks). The overall run time would obviously be quite long, thus
earning this type of (otherwise quite legitimate) patch the 'test bomb'
nickname.
The fix is to take the ability to build a WineTest executable with only a few
tests (see bug 39065) further so that:
* A WineTest executable containing only the modified tests is built.
* The TestBot then creates only one job and one task per VM to run that test
executable.
* Just like in bug 39065 the tasks would have to specify a command line such
that only the modified tests are run. That's not just for efficiency's sake but
also to avoid getting test failures from unmodified tests.
* Instead of having a constant 2 minutes timeout the tasks would also need to
have a timeout that's in line with the number of tests to run. This could be
something like:
MIN(tests_count, 2) * 2 minutes + average_time * tests_count
Where average_time would be some configurable constant (probably something
around 3 to 5 seconds).
--
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=37612
Bug ID: 37612
Summary: Mount & Blade: Crashes on startup (No compatible
Direct3D Device)
Product: Wine
Version: 1.7.31
Hardware: x86
OS: Mac OS X
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: m22mail(a)comcast.net
Mount & Blade: Warband crashes after the intro video with the error popup
"Could not find any compatible 3D device".
The game runs in Wine version 1.7.9 however it seems all the latest versions
crash with this error. I installed all the DirectX .dlls from winecfg and
installed the latest DirectX 9.0 Redistributable, but the crash remains. It
seems as though this error happens when a video card does not meet the
requirements, however I can confirm my card does meet the requirements, being
that it opens in older versions of Wine.
--
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=38290
Bug ID: 38290
Summary: LabVIEW installer (2009sp1, 2012 Fall, 2014 Fall)
fails with msi.dll ACCESS_VIOLATION
Product: Wine
Version: 1.6.2
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: msi
Assignee: wine-bugs(a)winehq.org
Reporter: enrico.segre(a)weizmann.ac.il
Distribution: ---
when setup.exe is run from desktop without particular wineprefix, as I reported
for the AppDB (
https://appdb.winehq.org/objectManager.php?sClass=application&iId=4556 ).
I see that several other bugs related to msi and labview (5399, 8895, 26537,
27841, 28849, 29099 for example) have already been filed and closed, so forgive
if that is a duplicate, or if there is a trivial workaround which I ignore.
--
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=35033
Bug #: 35033
Summary: Alpha Protocol: Game hangs with black screen at
startup
Product: Wine
Version: 1.7.7
Platform: Other
OS/Version: Mac OS X
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: ipickert55(a)gmail.com
Classification: Unclassified
Created attachment 46703
--> http://bugs.winehq.org/attachment.cgi?id=46703
Wine Log
Game just sits there with a black screen, no sound or menus or anything.
--
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=36801
Bug ID: 36801
Summary: Crash during program install
Product: Wine
Version: 1.6.2
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: mike99(a)live.co.uk
Created attachment 48876
--> http://bugs.winehq.org/attachment.cgi?id=48876
Contains data produced by 'Show Details' button in error box.
When trying to install BearShare, the BearShare installation box opens followed
by Program Error box with the error ' BearShareSetup-r0-n-bf.exe has
encountered a serious problem...'
I have attached a copy of the data produced by the 'Show Details' button.
--
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=29252
Bug #: 29252
Summary: ICBC Internet Banking Assistant ICBCEBankAssist.exe
can't open embed iexplore
Product: Wine
Version: 1.3.34
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: fracting(a)gmail.com
Classification: Unclassified
Created attachment 37828
--> http://bugs.winehq.org/attachment.cgi?id=37828
Log: start ICBC Assistant
wine-1.3.34-39-g95f81d1
1. Download ICBC Internet Banking Assistant installer (
ICBCSetupIntegration.msi ) from
https://mybank.icbc.com.cn/icbc/enperbank/index.jsp
$ wget
http://www.icbc.com.cn/icbc/html/download/EbankToolsSoftware/ICBCSetupInteg…
2. install ICBC Internet Banking Assistant
$ msiexec /i ICBCSetupIntegration.msi
3. Start Internet Banking Assistant
cd to "Program Files/ICBCEbankTools/ICBCSetupIntegration"
$ wine ICBCEBankAssist.exe
4. Click on "One-key Installation for Non-USBKey User"
Expect result:
open a embed iexplore, user can install ActiveX controls from the Assistant
Actual result:
nothing happen
winetricks wininet doesn't work, winetricks ie7 doesn't work
--
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=25579
Summary: Microsoft Flight Simulator X: cannot activate product
Product: Wine
Version: 1.3.9
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: austinenglish(a)gmail.com
Terminal shows some wininet fixme's:
fixme:wininet:CommitUrlCacheEntryInternal entry already in cache - don't know
what to do!
fixme:wininet:CommitUrlCacheEntryInternal entry already in cache - don't know
what to do!
fixme:wininet:CommitUrlCacheEntryInternal entry already in cache - don't know
what to do!
fixme:wininet:CommitUrlCacheEntryInternal entry already in cache - don't know
what to do!
fixme:wininet:CommitUrlCacheEntryInternal entry already in cache - don't know
what to do!
fixme:wininet:CommitUrlCacheEntryInternal entry already in cache - don't know
what to do!
so I tried native wininet, no dice. Next was a winhttp error:
err:winhttp:netconn_secure_connect couldn't verify server certificate (12057)
so 'winetricks winhttp'. Still no luck:
austin@aw21 ~/.wine/drive_c/Program Files/Microsoft Games/Microsoft Flight
Simulator X $ wine fsx.exe
fixme:heap:HeapSetInformation 0x750000 0 0x32f36c 4
fixme:heap:HeapSetInformation 0x110000 0 0x32f368 4
fixme:heap:HeapSetInformation 0x330000 0 0x32f364 4
fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub!
fixme:ras:RasEnumConnectionsW (0x204b90,0x1e1e454,0x1fd2004),stub!
fixme:ras:RasEnumConnectionsW RAS support is not implemented! Configure program
to use LAN connection/winsock instead!
fixme:secur32:schan_InitializeSecurityContextW Using hardcoded "NORMAL"
priority
fixme:wintrust:HTTPSCertificateTrust (0x1ef968)
fixme:wintrust:HTTPSFinalProv (0x1ef968)
didn't try beyond that.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38159
Bug ID: 38159
Summary: NULL pointer dereferencing
Product: Wine
Version: 1.7.37
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: kernel32
Assignee: wine-bugs(a)winehq.org
Reporter: isakov-sl(a)bk.ru
Distribution: ---
File /dlls/krnl386.exe16/int2f.c
Lines 1026-1034
if (!driver_request) {
/* FIXME - to be deleted ?? */
ERR("ES:BX==0 ! SEGFAULT ?\n");
ERR("-->BX=0x%04x, ES=0x%04x, DS=0x%04x, CX=0x%04x\n",
BX_reg(context), context->SegEs, context->SegDs,
CX_reg(context));
driver_request[4] |= 0x80;
driver_request[3] = 5; /* bad request length */
return;
}
If driver_request == NULL then driver_request[4] will be NULL pointer
dereferencing.
--
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=29849
Bug #: 29849
Summary: oleaut32's OLEPictureImpl_Load fails when Stat()
method is missing
Product: Wine
Version: 1.4-rc2
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: oleaut32
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: michael.blumenkrantz(a)gmail.com
Classification: Unclassified
Created attachment 38772
--> http://bugs.winehq.org/attachment.cgi?id=38772
test case
Without a Stat() method, this function should only read the parts of a file
that are needed. Instead, it continues to read and eventually crashes.
Find attached a test case which takes an image file as an argument, then
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.
https://bugs.winehq.org/show_bug.cgi?id=38356
Bug ID: 38356
Summary: Xibo Player 1.7.3: Cant start
Product: Wine
Version: 1.7.40
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: mscoree
Assignee: wine-bugs(a)winehq.org
Reporter: ignacio.santolin(a)gmail.com
Distribution: ---
Created attachment 51200
--> https://bugs.winehq.org/attachment.cgi?id=51200
Xibo debug
I Installed
http://xibo.org.uk/get-xibo/
"Xibo For Windows"
And When i tries to start, shows the attached debug and cant start
--
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=36633
Bug ID: 36633
Summary: Administrative privileges not sufficient
Product: Wine
Version: unspecified
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: 9728889999o(a)gmail.com
Created attachment 48676
--> http://bugs.winehq.org/attachment.cgi?id=48676
Error Message
I tried to run an application under Wine and it says that I have "insufficient
privileges, please close and run again as administrator." I tried to run the
Windows 7 USB/DVD Creator. See the attachment for more.
--
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=39306
Bug ID: 39306
Summary: wine crash when using Lord of the rings : battle for
middle earth 2
Product: Wine
Version: unspecified
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: directx-d3dx9
Assignee: wine-bugs(a)winehq.org
Reporter: titouan.dugre(a)gmail.com
Distribution: ---
Wine gives this message :
"direct 3 D error 0*80004001 (E_NOTIMPL)
14 adresses :
(0):(unknow mind) (unknow)
(0):(unknow mind) (unknow)
(0):(unknow mind) (unknow)
(0):(unknow mind) (unknow)
(0):(unknow mind) (unknow)
(0):(unknow mind) (unknow)
(0):(unknow mind) (unknow)
(0):(unknow mind) (unknow)
(0):(unknow mind) (unknow)
(0):(unknow mind) (unknow)
(0):(unknow mind) (unknow)
(0):(unknow mind) (unknow)
(0):(unknow mind) (unknow)
(0):(unknow mind) (unknow)
--
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=37067
Bug ID: 37067
Summary: System.NotSupportedException: CodePage 1361 not
supported
Product: Wine
Version: 1.7.22
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: mscoree
Assignee: wine-bugs(a)winehq.org
Reporter: t_arceri(a)yahoo.com.au
Gemini Script Editor crashes when trying to open a script. With the following
exception thrown.
The scripts are from rpgmaker I think it might use Korean as a was to try
obfuscate the script
Unhandled Exception:
System.TypeInitializationException: An exception was thrown by the type
initializer for ScintillaNet.Scintilla ---> System.NotSupportedException:
CodePage 1361 not supported
at System.Text.Encoding.GetEncoding (Int32 codepage) [0x00000] in <filename
unknown>:0
--
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=35927
Bug ID: 35927
Summary: Win Toolkit v.1.4.37.20 requires administrative
privilegies on startup.
Product: Wine
Version: 1.6.2
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: sov.info(a)mail.ru
Created attachment 47977
--> http://bugs.winehq.org/attachment.cgi?id=47977
screenshot
I tried to login as root and run wine, but this error still present. You can
see it on screenshot...
Ubuntu 14.04 beta x64, wine x86-x64, ver. 1.6.2 from proposed.
--
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=36434
Bug ID: 36434
Summary: Regression: Capture NX-D fails with "Initialization
error (E010)"
Product: Wine
Version: unspecified
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: fordfrog(a)fordfrog.com
i'm using latest wine from source repository. this bug is probably week or so
old. when launching Nikon Capture NX-D, it fails with "Initialization error
(E010)". i have wine compiled with both 32bit and 64 versions (using gentoo
live ebuild), but for the app i am using 32 bit version (64bit version does not
work due to some missing implementation in wine). i'm running the app using
following command:
WINEPREFIX=~/.wine32 WINEARCH=win32 wine .wine32/drive_c/Program\
Files/Nikon/Capture\ NX-D/Module/CaptureNX-D.exe
.wine32 directory is initialized for 32bit arch and windows 8.
before week or so the app started without any issue and it was usable. but few
days ago it stopped to launch.
this is the output before the bug occurs:
$ WINEPREFIX=~/.wine32 WINEARCH=win32 wine .wine32/drive_c/Program\
Files/Nikon/Capture\ NX-D/Module/CaptureNX-D.exe
fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x33fbcc 1 C) semi-stub
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:thread:GetThreadPreferredUILanguages 52, 0x33f9c0, 0x33fa30 0x33f9c8
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x33edc0 1 C) semi-stub
fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x33ee50 1 C) semi-stub
fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x33ec80 1 C) semi-stub
fixme:msvcrt:__clean_type_info_names_internal (0x788b0e54) stub
fixme:msvcrt:__clean_type_info_names_internal (0x1001e33c) stub
fixme:thread:SetThreadIdealProcessor (0xfffffffe): stub
the complete process of installation and running is the same as in bug #35864.
--
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=39996
Bug ID: 39996
Summary: Application Autodata will not load icons and text
Product: Wine
Version: 1.7.54
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: tutonis(a)gmail.com
Distribution: ---
Created attachment 53438
--> https://bugs.winehq.org/attachment.cgi?id=53438
It works with wine 1.7.53
After loading application all icons are not show until clicked or focused by
keyboard arrow movements. As you can see by pictures there is upper and lower
icon regions. After clicking place where icon suppose to be the icon is
revealed. The upper icon region gets different icons depending what is being
selected. Icons are not redrawn after "revealing" them with mouse or keyboard
and changing selection (icons should be redawrn and updated by selected
option).
The issue is nor present in wine 1.7.53 but happens in 1.7.54 with same
configurations.
--
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=10249
Summary: Battlefield2/SafeDisc 4.x and Punkbuster services cause
lockup: child processes debugging misconception
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=8876)
--> (http://bugs.winehq.org/attachment.cgi?id=8876)
WINEDEBUG=-all,+server,+tid,+loaddll,+seh wine ./BF2.exe +fullscreen 0 +szx 800
+szy 600 &>/tmp/debug_pipe
Hello,
while testing some PunkBuster stuff on popular games, I came across Battlefield
2 which employs SafeDisc 4.x
It seems there is a problem with debuggers in chained child processes.
Consider following scenario:
--- snip process list ---
pid threads parent executable (all id:s are in hex)
0000001b 1 00000008 'PnkBstrA.exe'
0000000c 2 00000008 'explorer.exe'
0000000a 2 00000008 '~e5.0001'
00000008 4 00000000 'BF2.exe'
--- snip process list ---
--- snip thread list ---
process tid prio (all id:s are in hex)
0000001b
0000001c 0
0000000c
00000010 0
0000000d 0
0000000a
00000012 0
0000000b 0
00000008
0000001a 1
00000014 15
00000013 0
00000009 0
--- snip thread list ---
"BF2.exe" = parent (game)
"~e5.0001" = 1st child = SafeDisc 4.x process = "debugger"
"PnkBstrA.exe" = 2nd child = PunkBuster Update Service
The 1st child acts as debugger for the parent "BF2.exe" and receives all debug
events (process, thread creation, dll load/unload...)
There are lots of breakpoint events triggered from parent.
This is part of SafeDisc 4.x and used for on-the-fly decryption of code
sections (child decrypts code of father).
When PunkBuster is initialized (loading of pbcl = client, pbag = agent), the
following services should get started: PnkBstrA.exe, PnkBstrB.exe and finally
the kmode driver PnkBstrK.exe
The service process "PnkBstrA.exe" is started from main process "BF2.exe"
(which is a debuggee itself).
No debug flags (DEBUG_PROCESS | DEBUG_ONLY_THIS_PROCESS) are specified in
process creation flags.
The debugger (child of parent, receives the process creation event) does not
make debugger_attach() to the newly created child process.
The child process seems to inherit the state of being a "debuggee": wine server
-> new_process -> set_process_debugger( process, parent->debugger );
The parent got its process->debugger from debugger_attach().
This leads to a problem in child process startup code:
"dlls/kernel32/process.c:start_process()" checks the PEB->BeingDebugged field
and if set, a system breakpoint is encountered before the entry code is called.
This breakpoint results in debug event - seen by debugger.
Unfortunately this event is _not_ expected by debugger because it didn't expect
another debuggee (child) to be created.
Ok, long story short solution: If you debug a process by attaching to an
already created process, you _must_ treat default debugging flags as if the
process has been created with DEBUG_ONLY_THIS_PROCESS, meaning that all childs
created by debuggee will NOT automagically become debuggees.
Short and (hopefully) acceptable patch snippet:
--- snip ---
diff --git a/server/debugger.c b/server/debugger.c
index a64a17a..c59f3a0 100644
--- a/server/debugger.c
+++ b/server/debugger.c
@@ -444,6 +444,7 @@ static int debugger_attach( struct process *process, struct
thread *debugger )
resume_process( process );
return 0;
}
+ process->create_flags |= DEBUG_ONLY_THIS_PROCESS;
return 1;
error:
--- snip ---
And yes, the patch (snippet) works as intended (tm) ;-)
Attached for sake of completeness is relevant server trace.
Search for "001c:trace:seh:raise_exception code=80000003 flags=0
addr=0x7b870ed8 " to the point where the entry system breakpoint is triggered.
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=20230
Summary: GetThreadTimes() and the Actual and Pseudo Current
Thread Handles
Product: Wine
Version: 1.1.30
Platform: PC
URL: http://rh-software.com
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ntdll
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: ray(a)pobox.co.uk
Some time ago I had an issue with SIV being unable to read the thread CPU time
usage when using GetThreadTimes(). I tracked down to the following and then did
a work-a-round.
The "Current Thread" effectively has 2 current thread handles, these are the
actual thread handle and the ~0 pseudo handle as returned by
GetCurrentThread(). When a call is made to GetThreadTimes() this calls
NtQueryInformationThread( ThreadTimes ) which contains the test "if (handle ==
GetCurrentThread())". As a result of this when GetThreadTimes() is called with
the actual thread handle no data is returned.
\WINE-1.1.30\dlls\ntdll\thread.c(1011): if (handle == GetCurrentThread())
I suspect the code should be changed to allow both the pseudo and actual thread
handles to be used as a minimum, better still would, when possible, be to
implement this function for any thread.
While searching the source I also noticed:
NTSTATUS WINAPI NtSetInformationThread( HANDLE handle, THREADINFOCLASS class,
LPCVOID data, ULONG length )
{
NTSTATUS status;
switch(class)
{
case ThreadZeroTlsCell:
if (handle == GetCurrentThread())
And suspect that code would benefit from a similar fix.
--
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=23431
Summary: provide a stub for ntdll.NtSystemDebugControl()
(Ollydbg 2.x)
Product: Wine
Version: 1.2-rc5
Platform: x86
URL: http://www.ollydbg.de/version2.html
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: ntdll
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Hello,
a simple one...
Ollydbg 2.x uses NtSystemDebugControl( DebugSysReadVirtual, ...) to read kernel
memory (driver/OS address space) for informational purposes.
Failure to do so doesn't cause harm.
Although this approach doesn’t require any additional kernel driver (only the
SeDebugPrivilege privilege on the running process) it's only useful for Windows
XP systems. It's disallowed since Windows Vista/Windows 7.
Not really useful in Wine but it obviously needs a stub.
--- snip ---
wine: Call from 0x7bc3d2d0 to unimplemented function
ntdll.dll.NtSystemDebugControl, aborting
First chance exception: unimplemented function ntdll.dll.NtSystemDebugControl
called in 32-bit code (0x7bc3d2d0).
...
=>0 0x7bc3d2d0 __wine_spec_unimplemented_stub+0x50(module="ntdll.dll",
function="NtSystemDebugControl")
[/opt/wine/wine-build/dlls/ntdll/../../../wine-git/dlls/ntdll/exception.c:268]
in ntdll (0x00334434)
1 0x7bc1f895 __wine_stub_NtSystemDebugControl+0x28() in ntdll (0x00334434)
2 0x004467ae in ollydbg (+0x467ad) (0x00334460)
3 0x0044698b in ollydbg (+0x4698a) (0x00334484)
--- snip ---
Dump params and return STATUS_NOT_IMPLEMENTED to keep it running ;-)
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=27222
Summary: dbghelp.dll.SymEnumSourceFilesW needed (ollydbg2)
Product: Wine
Version: 1.3.20
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: dbghelp
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Hello,
while attaching to a target using JIT (replacing winedbg), the following crash
occurred:
--- snip ---
wine: Call from 0x7b838aa3 to unimplemented function
dbghelp.dll.SymEnumSourceFilesW, aborting
--- snip ---
A stub keeps it from crashing (though it should not be hard to implement a wide
character version).
+tid,+dbghelp:
--- snip ---
...
fixme:dbghelp:SymEnumSourceFilesW 0x58 400000 (null) 0x4c06d8 0x400000: stub!
fixme:dbghelp:SymEnumSourceFilesW 0x58 68350000 (null) 0x4c06d8 0x68350000:
stub!
fixme:dbghelp:SymEnumSourceFilesW 0x58 68490000 (null) 0x4c06d8 0x68490000:
stub!
fixme:dbghelp:SymEnumSourceFilesW 0x58 68530000 (null) 0x4c06d8 0x68530000:
stub!
fixme:dbghelp:SymEnumSourceFilesW 0x58 68590000 (null) 0x4c06d8 0x68590000:
stub!
fixme:dbghelp:SymEnumSourceFilesW 0x58 685b0000 (null) 0x4c06d8 0x685b0000:
stub!
fixme:dbghelp:SymEnumSourceFilesW 0x58 685f0000 (null) 0x4c06d8 0x685f0000:
stub!
...
--- snip ---
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.