sourceforgenet uiaregisourceforgenet bugs item 1273738 opened 20050826 1152 message generated change comment added made mhammond respond visiting httpssourceforgenettrackerfuncdetailatid551954aid1273738group_id78018 please note message contain full copy comment thread including initial issue submission request latest update category none group none status open resolution none priority 5 private submitted hari krishna dara haridsv assigned mark hammond mhammond summary atexit called pythonservice win32 initial comment couple functions registered atexit work fine program executed commandline run windows service stop service using service interface hooks never get call backs service exit normally least program doesnt os_exit exceptions using activestates distribution python would imagine nonspecific version information activepython 241 build 247 activestate corp based python 241 65 jun 20 2005 170155 msc v1310 32 bit intel win32 workaround calling atexit_run_exitfuncs manually returning svcdorun comment mark hammond mhammond date 20080226 2135 message logged yes user_id14198 originator ping fix isnt obvious given may multiple services executable im confident reasonable workarounds punting least host multiple services 1 exe comment richard boulton richardb date 20071019 0704 message logged yes user_id9565 originator well cant see attach files report though line listing number attachments listing 0 though example httptartarusorgrichardtest_servicepy register run service python test_servicepy start command line get two log entries one saying started one saying stopping 5 seconds later uncomment sysexitfunc line get extra message atexit called immediately stopping message would expect see atexit called message even call sysexitfunc commented dont time add py_finalize pythonservicecpp recompile would imagine would cause sysexitfunc called correctly py_finalize usually responsible calling sysexitfunc called interpreter shutdown comment richard boulton richardb date 20071019 0653 message logged yes user_id9565 originator issue still present minimal example reproduces attach bug shortly note regarding woodsplitters comment dont think related issue linked far tell issue related atexit called order different expected due threading issues minimal example threads involved example code runs svcdorun single thread believe problem simply srcpythonservicecpp py_finalize never called example main function py_initialize called near start corresponding py_finalize called comment hari krishna dara haridsv date 20060113 0609 message logged yes user_id344432 doesnt seem case dont see call back issue gets called comment david rushby woodsplitter date 20060113 0550 message logged yes user_id414645 wonder bug related following issue httpgroupsgooglecomgroupcomplangpythonbrowse_threadthreadfe9e426650764ed9972ecadc2d6fcf5b972ecadc2d6fcf5b respond visiting httpssourceforgenettrackerfuncdetailatid551954aid1273738group_id78018 sfnet email sponsored microsoft defy challenges microsoftr visual studio 2008 httpclkatdmtcommrtgovse0120000070mrtdirect01 _______________________________________________ pywin32bugs mailing list tjiho04ldzrlistssourceforgenet httpslistssourceforgenetlistslistinfopywin32bugs tue 05 aug 2008 190903 0800 pywin32bugs pywin32bugs1273738 atexit called pythonservice win32