http://bugs.winehq.org/show_bug.cgi?id=30290
Bug #: 30290 Summary: StartServiceCtrlDispatcher does not terminate a process on Windows Product: Wine Version: 1.5.0 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: advapi32 AssignedTo: wine-bugs@winehq.org ReportedBy: amorozov@etersoft.ru Classification: Unclassified
Created attachment 39578 --> http://bugs.winehq.org/attachment.cgi?id=39578 Test service with source code
To reproduce this problem copy test_service2.exe from attachment to windows\system32 and import test_service2.reg to registry. On Windows you need to reboot after. Run test_service with this command (in cmd):
net start test_service
C:\testserv.log will be created. On Wine this file will be empty. But on WinXP it will contain "error 0".
If you run test_service2.exe manulally on Wine it will create empty testserv.log but on WinXP it will contain "error 1063".
This is because Wine`s StartServiceCtrlDispatcher terminates a process and does not return.
http://bugs.winehq.org/show_bug.cgi?id=30290
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, testcase
http://bugs.winehq.org/show_bug.cgi?id=30290
Saulius K. saulius2@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |saulius2@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=30290
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr.caban@gmail.com
--- Comment #1 from Piotr Caban piotr.caban@gmail.com 2012-10-23 06:01:28 CDT --- This bug is partially fixed, wine will now write to testserv.log file when service is started correctly.
http://bugs.winehq.org/show_bug.cgi?id=30290
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |a792a5b4867c7cdefb1de7da3ef | |87bea06b1b3de Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com 2013-04-17 04:05:15 CDT --- I just tested this and now it behaves as it supposedly should according to description.
http://bugs.winehq.org/show_bug.cgi?id=30290
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org 2013-04-26 13:15:34 CDT --- Closing bugs fixed in 1.5.29.