[Bug 46840] New: SoundBridge does`t start: spamming endless fixme:ntdll: NtSetInformationToken TokenIntegrityLevel stub!
https://bugs.winehq.org/show_bug.cgi?id=46840 Bug ID: 46840 Summary: SoundBridge does`t start: spamming endless fixme:ntdll:NtSetInformationToken TokenIntegrityLevel stub! Product: Wine Version: 4.3 Hardware: x86 URL: https://soundbridge.io/ OS: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: xerox.xerox2000x(a)gmail.com Distribution: Debian Hi, A user reported this on the forum (https://forum.winehq.org/viewtopic.php?f=8&t=32121) I`m opening bugreport so one can find some info here, (and in case other apps run into same issue. ) The app actually starts in old wine-version wine-3.0, i found commit 407fd270a3114ea6a8f39d893292086a84e3d481 made it run into this bug (Author: Andrew Wesie <awesie(a)gmail.com> Date: Fri May 18 04:51:01 2018 +0000 ntdll: Return success for TokenIntegrityLevel in NtSetInformationToken. Reverting that commit makes the app start, but fortunately you can also use wine-staging`s "/opt/wine-staging/bin/wine runas /trustlevel:0x20000 SoundBridge.exe" There`s already bug 40613 for the Staging patchset, but I thought this looks like a bit different so worth to open another bugreport Note: the installer suffers from another bug, but you can use workaround from the forum here: https://forum.winehq.org/viewtopic.php?f=8&t=32121#p121349 Note2: the app can be downloaded after a very short registration. sha1sum SoundBridge_\(64-bit\).exe 667318d676363f14cd155dfd96425c9e9953350a SoundBridge_(64-bit).exe -- 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=46840 Zebediah Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |ntdll CC| |z.figura12(a)gmail.com Keywords| |regression Regression SHA1| |407fd270a3114ea6a8f39d89329 | |2086a84e3d481 -- 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=46840 Zebediah Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |awesie(a)gmail.com, | |leslie_alistair(a)hotmail.com -- 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=46840 --- Comment #1 from Louis Lenders <xerox.xerox2000x(a)gmail.com> --- Hi Zebediah, I`m by far an expert on this, but I wonder if this should really be marked as a regression. To me it looked as if the app now just got a little bit further to run into next wine-bug.But as I said, I lack knowledge on this to be sure about that.... -- 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=46840 --- Comment #2 from Zebediah Figura <z.figura12(a)gmail.com> --- (In reply to Louis Lenders from comment #1)
Hi Zebediah,
I`m by far an expert on this, but I wonder if this should really be marked as a regression. To me it looked as if the app now just got a little bit further to run into next wine-bug.But as I said, I lack knowledge on this to be sure about that....
I'm a little confused, didn't you say that it runs successfully with that commit reverted? It may not mean a high priority to be fixed, but it is still a regression. -- 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=46840 --- Comment #3 from Louis Lenders <xerox.xerox2000x(a)gmail.com> --- (In reply to Zebediah Figura from comment #2)
(In reply to Louis Lenders from comment #1)
I'm a little confused, didn't you say that it runs successfully with that commit reverted?
Yes, reverting the commit makes the app start, but i afaict that`s not the correct solution to this bug
It may not mean a high priority to be fixed, but it is still a regression.
Ok, that`s fine then; As i said i mainly opened this bugreport so one can find some info in case other programs run into the same issue. -- 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=46840 --- Comment #4 from Gijs Vermeulen <gijsvrm(a)gmail.com> --- Louis, do you happen to still have this app somewhere? I was able to download the newest one, but it seems very likely that it is different from the one you reported this bug against 6 years ago. -- 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=46840 Ian <superian@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |superian@gmail.com --- Comment #5 from Ian <superian@gmail.com> --- This one is still present with Wine-staging 11.18 and SoundBridge 3.20. It installs, but on attempting to run it, there is an endless sequence of 0290:fixme:netprofm:init_networks no support for detecting network changes 0290:fixme:ntdll:NtSetInformationToken TokenIntegrityLevel stub! lines. Pressing ctrl-C doesn't stop them either. I'd include a log, but those two lines interspersed with fixme:winediag:loader_init wine-staging 11.18 is a testing version containing experimental patches. fixme:winediag:loader_init Please mention your exact version when filing bug reports on winehq.org. lines are all that are in it. Has the runas syntax changed? I'm told runas.exe needs a /user: Syntax: runas.exe /user:user@domain.com program.exe 72670c0ea4e0fee263664245cd249a945b5921cd37cb4978e8e7b8a2b432feaf SoundBridge_64-bit.exe Downloadable from soundbridge.io with a free account - it will be in trial mode -- 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=46840 --- Comment #6 from Louis Lenders <xerox.xerox2000x@gmail.com> --- (In reply to Ian from comment #5)
This one is still present with Wine-staging 11.18 and SoundBridge 3.20.
It installs, but on attempting to run it, there is an endless sequence of
0290:fixme:netprofm:init_networks no support for detecting network changes 0290:fixme:ntdll:NtSetInformationToken TokenIntegrityLevel stub!
Yes, I can confirm that for SoundBridge 3.20. It shows endless sequence of: 0130:trace:security:GetTokenInformation (00000000000000A8, 25 [Unknown], 0000000 000000000, 0, 000000000014F614): 0130:trace:security:GetTokenInformation (00000000000000A8, 25 [Unknown], 0000000 00143EC60, 28, 000000000014F614): 0130:trace:security:DuplicateTokenEx 00000000000000A8 0x00000000 0x00000002 0x00000001 000000000014F640 0130:trace:security:ConvertStringSidToSidW L"S-1-16-8192", 000000000014F668 0130:fixme:ntdll:NtSetInformationToken TokenIntegrityLevel stub! As a guess it might not expect the: /* report always "S-1-16-12288" (high mandatory level) for now */ coming from NtQueryInformationToken. The hack below makes the program start. So it looks like we need a real implementation of NtSetInformationToken TokenIntegrityLevel diff --git a/dlls/ntdll/unix/security.c b/dlls/ntdll/unix/security.c index 1e1b4f874cf..bae38960236 100644 --- a/dlls/ntdll/unix/security.c +++ b/dlls/ntdll/unix/security.c @@ -622,7 +622,7 @@ NTSTATUS WINAPI NtQueryInformationToken( HANDLE token, TOKEN_INFORMATION_CLASS c { /* report always "S-1-16-12288" (high mandatory level) for now */ static const SID high_level = {SID_REVISION, 1, {SECURITY_MANDATORY_LABEL_AUTHORITY}, - {SECURITY_MANDATORY_HIGH_RID}}; + {SECURITY_MANDATORY_MEDIUM_RID}}; TOKEN_MANDATORY_LABEL *tml = info; PSID psid = tml + 1; -- 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.
participants (3)
-
wine-bugs@winehq.org -
WineHQ Bugzilla -
WineHQ Bugzilla