Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-21875

AttributeError in hang_analyzer.py when sending SIGKILL on Windows

    • Fully Compatible
    • Windows
    • QuInt E (01/11/16)

      Task

       [2015/12/11 11:47:08.011] Bad exit code -2147024809
       [2015/12/11 11:47:08.011] Traceback (most recent call last):
       [2015/12/11 11:47:08.011]   File "buildscripts/hang_analyzer.py", line 425, in <module>
       [2015/12/11 11:47:08.011]     main()
       [2015/12/11 11:47:08.011]   File "buildscripts/hang_analyzer.py", line 412, in main
       [2015/12/11 11:47:08.011]     dbg.dump_info(process[0], sys.stdout)
       [2015/12/11 11:47:08.011]   File "buildscripts/hang_analyzer.py", line 130, in dump_info
       [2015/12/11 11:47:08.011]     call([dbg, '-c', ";".join(cmds), '-p', str(pid)])
       [2015/12/11 11:47:08.011]   File "buildscripts/hang_analyzer.py", line 34, in call
       [2015/12/11 11:47:08.011]     raise Exception()
       [2015/12/11 11:47:08.011] Exception
       [2015/12/11 11:47:08.011] Exception in thread Thread-1:
       [2015/12/11 11:47:08.011] Traceback (most recent call last):
       [2015/12/11 11:47:08.011]   File "C:\Python27\lib\threading.py", line 551, in __bootstrap_inner
       [2015/12/11 11:47:08.011]     self.run()
       [2015/12/11 11:47:08.011]   File "C:\Python27\lib\threading.py", line 755, in run
       [2015/12/11 11:47:08.011]     self.function(*self.args, **self.kwargs)
       [2015/12/11 11:47:08.011]   File "buildscripts/hang_analyzer.py", line 357, in timeout_protector
       [2015/12/11 11:47:08.011]     os.kill(os.getpid(), signal.SIGKILL)
       [2015/12/11 11:47:08.011] AttributeError: 'module' object has no attribute 'SIGKILL'
      

            Assignee:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Reporter:
            kamran.khan Kamran K.
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: