bahry Posted May 1, 2019 Share Posted May 1, 2019 HI, I have an Application as a Standalone runs without problem but as a Service it crash in the login screen here is the log file ++++++++++++++++++++++++++++++++++ BO.exe: 000008E4: 19:37:06 []:>--------------------------------------------------------------< BO.exe: 000008E4: 19:37:06 [TUniServerModule]:Server First Init. BO.exe: 000008E4: 19:37:06 [TUniServerModule]:Starting HTTP Server on Port: 8077... BO.exe: 000008E4: 19:37:06 [TUniServerModule]:HTTP Server Started on Port: 8077 BO.exe: 000008E4: 19:37:10 [TUniServerModule]:Shutting Down Server. BO.exe: 000008E4: 19:37:10 [TUniServerModule]:Stopping HTTP Server. BO.exe: 000008E4: 19:37:11 [TUniServerModule]:HTTP Server Stopped. BO.exe: 000008E4: 19:37:11 [TUniGUISessionManager]:Terminating Session manager. BO.exe: 000008E4: 19:37:11 [TUniGUISessionManager]:Stopping Cache Eraser... BO.exe: 000008E4: 19:37:11 [TUniGUISessionManager]:Cache Eraser Stopped. BO.exe: 000008E4: 19:37:11 [TUniGUISessionManager]:Destroying Worker Threads. BO.exe: 000008E4: 19:37:11 [TUniGUISessionManager]:Session manager terminated. BO.exe: 000008E4: 19:37:11 [TUniServerModule]:Server Shutdown Completed. BO.exe: 000008E4: 19:37:11 []:<--------------------------------------------------------------> BO.exe: 00003FF8: 19:37:11 [Terminated]:Exit Code: 0 BO.exe: 00001930: 19:37:13 []:>--------------------------------------------------------------< BO.exe: 00001930: 19:37:13 [TUniServerModule]:Server First Init. BO.exe: 00001930: 19:37:13 [TUniServerModule]:Starting HTTP Server on Port: 8077... BO.exe: 00001930: 19:37:13 [TUniServerModule]:HTTP Server Started on Port: 8077 BO.exe: 0000398C: 19:43:17 [Unhandled Web]:EThread : CheckSynchronize called from thread $398C, which is NOT the main thread : Addr: $004D74A3 BO.exe: 00001930: 19:43:35 [TUniServerModule]:Shutting Down Server. BO.exe: 00001930: 19:43:35 [TUniServerModule]:Stopping HTTP Server. BO.exe: 00000368: 20:05:33 []:>--------------------------------------------------------------< BO.exe: 00000368: 20:05:33 [TUniServerModule]:Server First Init. BO.exe: 00000368: 20:05:33 [TUniServerModule]:Global Cache Folder Erased. <3> Files deleted. BO.exe: 00000368: 20:05:33 [TUniServerModule]:Starting HTTP Server on Port: 8077... BO.exe: 00000368: 20:05:33 [TUniServerModule]:HTTP Server Started on Port: 8077 BO.exe: 00000ADC: 20:05:47 [Unhandled Web]:EThread : CheckSynchronize called from thread $ADC, which is NOT the main thread : Addr: $004D74A3 BO.exe: 00000368: 20:06:03 [TUniServerModule]:Shutting Down Server. BO.exe: 00000368: 20:06:03 [TUniServerModule]:Stopping HTTP Server. BO.exe: 000029E0: 20:21:32 []:>--------------------------------------------------------------< BO.exe: 000029E0: 20:21:32 [TUniServerModule]:Server First Init. BO.exe: 000029E0: 20:21:32 [TUniServerModule]:Global Cache Folder Erased. <3> Files deleted. BO.exe: 000029E0: 20:21:32 [TUniServerModule]:Starting HTTP Server on Port: 8077... BO.exe: 000029E0: 20:21:32 [TUniServerModule]:HTTP Server Started on Port: 8077 BO.exe: 00003E78: 20:21:49 [Unhandled Web]:EThread : CheckSynchronize called from thread $3E78, which is NOT the main thread : Addr: $004D74A3 BO.exe: 000029E0: 20:22:45 [TUniServerModule]:Shutting Down Server. BO.exe: 000029E0: 20:22:45 [TUniServerModule]:Stopping HTTP Server. BO.exe: 00001F64: 20:29:19 []:>--------------------------------------------------------------< BO.exe: 00001F64: 20:29:19 [TUniServerModule]:Server First Init. BO.exe: 00001F64: 20:29:19 [TUniServerModule]:Global Cache Folder Erased. <2> Files deleted. BO.exe: 00001F64: 20:29:19 [TUniServerModule]:Starting HTTP Server on Port: 8077... BO.exe: 00001F64: 20:29:19 [TUniServerModule]:HTTP Server Started on Port: 8077 BO.exe: 000026B0: 20:29:43 [Unhandled Web]:EThread : CheckSynchronize called from thread $26B0, which is NOT the main thread : Addr: $004D74A3 BO.exe: 00001F64: 20:29:59 [TUniServerModule]:Shutting Down Server. BO.exe: 00001F64: 20:29:59 [TUniServerModule]:Stopping HTTP Server. ++++++++++++++++++++++++++++++++++ The Service App using the same Units as the standalone. Using latest version 1.90.0.1496 with latest Delphi RIO Does anyone experience the same issue? Regards Quote Link to comment Share on other sites More sharing options...
Jeevika Posted October 25, 2023 Share Posted October 25, 2023 Apparently, trying to execute the program as a service results in a crash. There might be a number of causes for this, including compatibility difficulties, inadequate system resources, or problems with service setup. We need carefully review the error logs, confirm the service configurations, and make sure the application is appropriate for the service environment in order to resolve this. This will enable steady, continuous service functioning and assist in locating and resolving the crash's primary cause. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.