https://bugs.winehq.org/show_bug.cgi?id=55260
Bug ID: 55260 Summary: wineserver and wine -k don't kill wine process Product: Wine-staging Version: 8.12 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: b1779506@trbvn.com CC: leslie_alistair@hotmail.com, z.figura12@gmail.com Distribution: ---
ubuntu 23.04 and wine-staging 8.12 Install the Bentley CONNECTION Client from this bug: https://bugs.winehq.org/show_bug.cgi?id=55248
After installing the program, the uninstaller finishes upon clicking on "Don't show this again", however the Client launches as a separate process. Click on system tray and Exit, however the terminal does not finish the wine process and can't be killed.
The wine log is: DFMT_B8G8R8X8_UNORM stub! 04c8:fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_END_BROWSER_SESSION: semi-stub 04c8:fixme:wtsapi:WTSUnRegisterSessionNotification Stub 00000000000200BE 04c8:fixme:uiautomation:UiaClientsAreListening () 04c8:fixme:win:UnregisterPowerSettingNotification (00000000DEADBEEF): stub 04c8:fixme:wtsapi:WTSUnRegisterSessionNotification Stub 0000000000030066 04c8:fixme:dwmapi:DwmDetachMilContent (000000000002006E) stub (waiting unless I Ctrl+C)
Can't be killed from another terminal: wineserver -k has exit code 1 killall wineserver wineserver: no process found
I'm not able to detect the process ID because bash doesn't have any child process, yet the log is displayed in konsole.
https://bugs.winehq.org/show_bug.cgi?id=55260
--- Comment #1 from Otto b1779506@trbvn.com --- After several minutes the process releases the terminal without manually terminating it. Launching the client after doesn't expose the problem, looks like installer issue. wine "$(winepath 'C:\Program Files\Common Files\Bentley Shared\CONNECTION Client\Bentley.Connect.Client.exe')"
https://bugs.winehq.org/show_bug.cgi?id=55260
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEEDINFO Ever confirmed|0 |1
--- Comment #2 from Ken Sharp imwellcushtymelike@gmail.com --- Stop logging everything under Wine Staging unless you have confirmed that it doesn't occur in vanilla Wine.
1. Does this occur in vanilla Wine?
2. Are you using a non-default $WINEPREFIX?
I'm not able to detect the process ID because bash doesn't have any child process
What does this mean? Have you set up security to stop terminals seeing each other's processes?
https://bugs.winehq.org/show_bug.cgi?id=55260
--- Comment #3 from Otto b1779506@trbvn.com --- (In reply to Ken Sharp from comment #2)
Stop logging everything under Wine Staging unless you have confirmed that it doesn't occur in vanilla Wine.
Does this occur in vanilla Wine?
Are you using a non-default $WINEPREFIX?
I'm not able to detect the process ID because bash doesn't have any child process
What does this mean? Have you set up security to stop terminals seeing each other's processes?
I'm using a clean wineprefix ~/.wine/
These are the packages installed in ubuntu 23.04 (I'm using the official wine from the repos): $ apt list --installed | grep wine WARNING: apt does not have a stable CLI interface. Use with caution in scripts. fonts-wine/lunar,lunar,lunar,lunar,lunar,lunar,now 8.0~repack-4 all [installed] libkwineffects14/lunar,lunar,lunar,now 4:5.27.4-0ubuntu1 amd64 [installed,automatic] libwine-development/lunar,lunar,lunar,now 7.20~repack-1 amd64 [installed,automatic] libwine/lunar,lunar,lunar,now 8.0~repack-4 amd64 [installed,automatic] libwine/lunar,lunar,lunar,now 8.0~repack-4 i386 [installed,automatic] wine-staging-amd64/lunar,now 8.12~lunar-1 amd64 [installed,automatic] wine-staging-i386/lunar,now 8.12~lunar-1 i386 [installed,automatic] wine-staging/lunar,now 8.12~lunar-1 amd64 [installed,automatic] wine32/lunar,lunar,lunar,now 8.0~repack-4 i386 [installed] wine64/lunar,lunar,lunar,now 8.0~repack-4 amd64 [installed] winehq-staging/lunar,now 8.12~lunar-1 amd64 [installed] winetricks/lunar,lunar,lunar,lunar,lunar,lunar,now 20220411-1 all [installed]
I did not change any security configuration, the thing is, the installer terminates and then another process is launched in the background, so it goes like this:
1st-Run the Client _installer_: wine Setup_CONNECTIONClientx64_23.00.00.10.exe
while the installer is running, there's a bash child process for the installer: pstree -p 12343 bash(12343)───start.exe(12407)
Then it turns out the installer finishes (you can click the Finished button), and the bash does not has anymore any child process, but more debug keeps coming to gnome-terminal, since the client is automatically launched in the background (Bentley.Connect.Client.exe), and for some reason, it's attached to it. After several minutes, the process is released from gnome-terminal and it's possible to run more commands there.
If you want me, i can make a screen recording to demonstrate the issue.