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=14316
Summary: Elona is really slow
Product: Wine
Version: CVS/GIT
Platform: Other
URL: http://homepage3.nifty.com/rfish/index_e.html
OS/Version: other
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: leffeman(a)gmail.com
The Roguelike Elona (versions 1.08 and 1.11 at least) is abnormally slow
(especially during gameplay), both in rendering and input. There are no
interesting fixmes or anything for clues. CPU usage is quite high.
Unsuccessfully tried to run it through winedbg for breaking during slowness.
--
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=13502
Summary: BRenBot application fails to start
Product: Wine
Version: CVS/GIT
Platform: PC
URL: http://new.brenbot.com/files/brenbot/br_1-
52_install_mini.exe
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: msvcrt
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: nodisgod(a)yahoo.com
Created an attachment (id=13423)
--> (http://bugs.winehq.org/attachment.cgi?id=13423)
BRenBot with msvcrt traces
With Wine version wine-1.0-rc2-65-g914cb22, running BRenBot, a server bot for
the Renegade FDS, fails with some msvcrt fixmes and Perl compilation failures.
If native msvcrt is used, the app starts successfully (though the Renegade FDS
is needed for it to completely 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=13564
Summary: VeohTV beta login window is improperly drawn
Product: Wine
Version: CVS/GIT
Platform: PC
URL: http://www.veoh.com/veohTV/getStarted.html
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: nodisgod(a)yahoo.com
Created an attachment (id=13505)
--> (http://bugs.winehq.org/attachment.cgi?id=13505)
VeohTV output
The version is really 1.0-rc3, but no such option is yet available. After
installing VeohTV beta and installing pdh with winetricks (else you get a bug
report dialog) starting VeohTV, the login window is all black and improperly
rendered, unlike the gray skinned interface that shows on Windows. Logs are
attached, and the crash that occurs at the end of the log happens when
explicitly exiting VeohTV, and is for another bug report.
--
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=14118
Summary: wine needs its own dxdiag
Product: Wine
Version: CVS/GIT
Platform: Other
URL: http://www.gameshadow.com/
OS/Version: other
Status: NEW
Keywords: download
Severity: enhancement
Priority: P2
Component: directx-d3d
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: xerox_xerox2000(a)yahoo.co.uk
Hi, some apps like gameshadow expect dxdiag.exe to be present so wine needs
it's own to satisfy these apps.
I fixed something together, but somehow i cannot send it to wine-patches, so
i'll just attach it to this bug (i'll try link it from here.)
--
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=13383
Summary: Firefox 3.0rc1 crashes on startup on 64bit Kubuntu 8.04
[dogfood]
Product: Wine
Version: 1.0-rc2
Platform: Other
OS/Version: other
Status: NEW
Severity: enhancement
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: kai.blin(a)gmail.com
Created an attachment (id=13293)
--> (http://bugs.winehq.org/attachment.cgi?id=13293)
+relay,+tid,+seh log of ff3 starting and crashing
When trying to run Firefox 3.0rc1 on my 64bit Kubuntu 8.04 box, FF crashes on
startup. On my 32bit Kubuntu 8.04 box, the same installer works without
problems.
+relay,+tid,+seh trace 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=9454
Summary: Panzer General III Scorched Earth hang with
seh:setup_exception nested exception
Product: Wine
Version: 0.9.44.
Platform: PC-x86-64
OS/Version: Linux
Status: UNCONFIRMED
Severity: major
Priority: P2
Component: wine-kernel
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: phajdan.jr(a)gmail.com
While normally playing in the battle screen, the game hanged, the music started
to repeat a short fragment, and the UI was unresponsive. The error printed was
err:seh:setup_exception nested exception on signal stack in thread 002b eip
ffffe405 esp 7ffdd648 stack 0x241000-0x350000
--
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=13985
Summary: Skype 4.0.0.145 Beta crash on Gdiplus
Product: Wine
Version: 1.0.0
Platform: PC-x86-64
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gdiplus
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: lleoliveirabr(a)gmail.com
Hi, Skype 4.0.0.145 Beta crash: fixme:gdiplus:GdipCreateBitmapFromHBITMAP don't
know how to handle 32 bpp
To reproduce the problem, download Skype from: (direct link)
http://www.filehippo.com/download_skype/download/0ea2f324993895d73c4c5aee20…
Install it, and login. Will appear a page, close this page to go to skype.
After you close it in a second skype will crash.
--
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=9400
Summary: Panzerg General III Scorched Earth random hang,
threading-related
Product: Wine
Version: 0.9.43.
Platform: PC-x86-64
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-misc
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: phajdan.jr(a)gmail.com
At random moments the game hangs, will attach wine output in a moment.
Note that this log is only relevant for wine 0.9.43. Before it also hanged
sometimes, but the message
err:ntdll:RtlpWaitForCriticalSection section 0x7eb87ae0 "gdiobj.c: GDI_level"
wait timed out in thread 000c, blocked by 0009, retrying (60 sec)
wine: Critical section 7eb87ae0 wait failed at address 0x7ef97b20 (thread
000c), starting debugger...
was not present. And before upgrade to 0.9.43 it had some problems with music,
like randomly switching tracks etc (sometimes it hanged during these, sometimes
not). After the upgrade the problem is gone, when it hangs music still plays,
but the mouse does not move, and the game does not receive keyboard input.
--
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=13885
Summary: Visio 2003 crash on digit entry or paste
Product: Wine
Version: 1.0-rc4
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: fnjordy(a)gmail.com
Created an attachment (id=13975)
--> (http://bugs.winehq.org/attachment.cgi?id=13975)
HEAP_ValidateInUseArena error
Entering digits (0-9) or pasting within a text label in Visio 2003 causes Visio
to crash and start automagic application recovery. Log is attached.
NB: GDIPlus was installed in order for Visio to run.
--
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.