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.
http://bugs.winehq.org/show_bug.cgi?id=15258
Summary: It dosen't let me run the progamm
Product: Wine
Version: unspecified
Platform: All
URL: http://www.g4hfq.co.uk
OS/Version: Linux
Status: UNCONFIRMED
Severity: blocker
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: wb0zur(a)arrl.net
Hi
I have a bug I think.
This is for programming a Ham radio the program is FTB7800.
The bug is
Run-time error '451'
Property let procedure not defined and property get procedure did not
return an object.
I am just fooling with Ubuntu 8.04
Any questions please ask.
Denton Larson
--
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=21710
Summary: [regression] MotorM4X menu background image is not
shown anymore
Product: Wine
Version: unspecified
Platform: x86
URL: http://appdb.winehq.org/objectManager.php?sClass=versi
on&iId=15060
OS/Version: Solaris
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: christian.thalinger(a)gmail.com
CC: julliard(a)winehq.org
Simply start the game and the menu background image is not there anymore. The
failing changeset seems to be:
$ git bisect bad
1aa749d9e7ee54f221373ccb2b47bcb31ef6533f is first bad commit
commit 1aa749d9e7ee54f221373ccb2b47bcb31ef6533f
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Tue Oct 27 19:06:48 2009 +0100
libwine: Reserve some low memory space even without a preloader.
:040000 040000 c6cbdf6fa3f40c287da32a6a3906d4d0ad7c5909
9fee74fb30f8b9bb7ccc3905c65607d13aabdf8b M libs
--
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=21144
Summary: cmd missing newline in output?
Product: Wine
Version: 1.1.35
Platform: x86
URL: http://kegel.com/wine/cmdtest.tar.gz
OS/Version: Linux
Status: NEW
Keywords: download, source, testcase
Severity: normal
Priority: P2
Component: programs
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: dank(a)kegel.com
Even with Austin's recent patch
http://www.winehq.org/pipermail/wine-patches/2009-December/083144.html
applied, doing
wget http://kegel.com/wine/cmdtest.tar.gz
tar -xzvf cmdtest.tar.gz
cd cmdtest
sh cmdtest.sh
shows that our cmd is missing a newline in its output:
@@ -1,35 +1,22 @@
-
-C:\fake>rem Easy cmd tests
-
...
+C:\fake>rem Easy cmd tests
Looks like it needs to output another CRLF after the end of output of any
command?
--
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=27928
Summary: Wine don't run the program SIMPLO
Product: Wine
Version: unspecified
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: dankton96(a)hotmail.com
I can't run the program SIMPLO in wine, their "components" don't work in wine
--
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=26640
Summary: Disciples II: sound artifacts during music playback
Product: Wine
Version: 1.3.17
Platform: x86
URL: http://www.fileplanet.com/86712/80000/fileinfo/Discipl
es-II:-Dark-Prophecy-Empire-Demo
OS/Version: Linux
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: gyebro69(a)gmail.com
Created an attachment (id=33914)
--> (http://bugs.winehq.org/attachment.cgi?id=33914)
console log
There is a constant scratching/grinding noise during music playback in the game
when ALSA is set to full hardware acceleration. Can be heard in the main menu
and during gameplay, too.
Workaround: ALSA with 'emulation' mode.
No such problem when using OSS as sound driver.
Fedora 14
Alsa 1.0.24 (no Pulseaudio here)
Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2)
--
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.