# Thread aborted running doxygen from powershell

**URL:** https://www.finalbuilder.com/forums/t/thread-aborted-running-doxygen-from-powershell/3643
**Category:** Bugs
**Created:** [September 19, 2016, 9:44am UTC](https://www.finalbuilder.com/forums/t/thread-aborted-running-doxygen-from-powershell/3643 "2016-09-19T09:44:54Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jalaserfiche](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/j/71e660/32.png) [@jalaserfiche](https://www.finalbuilder.com/forums/u/jalaserfiche)
#### Post date: [September 19, 2016, 9:44am UTC](https://www.finalbuilder.com/forums/t/thread-aborted-running-doxygen-from-powershell/3643/1 "2016-09-19T09:44:54Z")

</div>

Hello,&nbsp;  
  
I execute several powershell scripts on-commit and most of them work fine. However, when we try to run doxygen to generate python documentation (through a powershell script) we get the error:  
An unexpected error occurred while handling log message line ‘Freeing entry tree’. Error message is: Thread was being aborted.&nbsp;  
Or something like:&nbsp;  
An unexpected error occurred while handling log message line ‘Determining the scope of groups…’. Error message is: Thread was being aborted.&nbsp;  
The error changes each commit, but the message is always “Thread was being aborted”.&nbsp;  
Doxygen gets a decent way through execution, so we don’t think this is a path issue.&nbsp;  
  
We’ve manually tested that the script is being called properly and it works as desired both locally and remotely (as the build-agent user).&nbsp;  
  
We also verified that if we run the cmd that final builder uses from cmd (&nbsp;C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe&nbsp;&nbsp;Arguments: -NonInteractive -Command try { [string]$pathToScript PATH\_TO\_SCRIPT.ps1 -Arguments) and this command works fine. It’s only when the agent tries to run these commands that we see the error above.&nbsp;  
  
Our best guess is there is a timeout set that we don’t know about. Any thoughts or suggestions would be appreciated.&nbsp;  
  
Cheers,&nbsp;  
-Joe

---

<div class="post-metadata">

### Author: ![nevar](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/c4cdca/32.png) [@nevar](https://www.finalbuilder.com/forums/u/nevar)
#### Post date: [September 20, 2016, 1:00am UTC](https://www.finalbuilder.com/forums/t/thread-aborted-running-doxygen-from-powershell/3643/2 "2016-09-20T01:00:53Z")

</div>

Hi Joe,   
  
 Thanks for contacting us. I think we would need to have a look at the failing logs (exported html logs are fine) and your FinalBuilder project. If you could send these to [support@finalbuilder.com](mailto:support@finalbuilder.com) that would be great.   
  
 In addition we were wondering how FinalBuilder is being run. Is it being run from a scheduled task, manually, or from Continua CI?
