# What could be the cause of DUnitX action result "An error occurred whilst attempting to run DUnitX Action. Exit code: 255. Error text: ."

**URL:** https://www.finalbuilder.com/forums/t/what-could-be-the-cause-of-dunitx-action-result-an-error-occurred-whilst-attempting-to-run-dunitx-action-exit-code-255-error-text/5946
**Category:** Bugs
**Created:** [January 4, 2015, 4:59am UTC](https://www.finalbuilder.com/forums/t/what-could-be-the-cause-of-dunitx-action-result-an-error-occurred-whilst-attempting-to-run-dunitx-action-exit-code-255-error-text/5946 "2015-01-04T04:59:48Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![jeroenp](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/j/c89c15/32.png) [@jeroenp](https://www.finalbuilder.com/forums/u/jeroenp)
#### Post date: [January 4, 2015, 4:59am UTC](https://www.finalbuilder.com/forums/t/what-could-be-the-cause-of-dunitx-action-result-an-error-occurred-whilst-attempting-to-run-dunitx-action-exit-code-255-error-text/5946/1 "2015-01-04T04:59:48Z")

</div>

**1. Continua version&nbsp;number and edition:** &nbsp;  
[Continua](http://80.100.143.119:58080/administration/about)&nbsp;- 1.5.1.69 64 bit  
  
**2. Operating system for Continua and agents:** &nbsp;  
Windows 8.1 Pro x64 (both server and agents)  
  
**3. Database platform:** &nbsp;  
bundled PostgreSQL  
  
**4. How much CPU / RAM / Diskspace do you have free on the Continua server, agents, and database:** &nbsp;&nbsp;  
80% free CPU (dual Xeon VM), 25% free RAM (of 2 gigabyte), 20% free hard disk (of 160 gigabyte) &nbsp;  
  
**5. A detailed description of the issue:&nbsp;**  
- What is the issue, and what are the outcomes? See below  
- When did the issue first occur? When switching to FastMM4 FullDebugMode.  
- Does it occur all the time? Yes  
- Can the issue be reproduced? &nbsp;Yes: in both 1.5.1.49 and 1.5.1.69.  
- If you are using version 1.5 or greater please include a diagnostics report. See attachment.  
- Errors or Warnings generated by Continua (both server and agent) as well as any Windows event logs. Continua info below; no details in the Windows event logs.  
- Browser type and version: Version 39.0.2171.95 (64-bit)  
-&nbsp;Version and installation details of any external software dependencies (eg git / svn server configuration details): not needed.  
- Relevant configuration file settings: eg Authentication settings. Vincent has them.  
  
I’m running &nbsp;on Windows 8.1 x64 (all updates applied) with a non-interarcive service user for both the server and the agent on a single machine.  
  
Vincent has credentials on the machine, but Guest users can view the results.  
  
There is a DUnitX build action which returns an error 255; see the results at [http://80.100.143.119:58080/Spring4…ds/log/770](http://80.100.143.119:58080/Spring4Djwp/ci/builds/log/770)&nbsp;:

| [DUnitX [%NUnitTestBinaryDirectory%%NUnitTestBinaryFileName%.exe]](http://80.100.143.119:58080/Spring4Djwp/ci/builds/log/764?30787af4-0f89-43d4-a73b-a4160007b1d5# "Expand") | 6:29 PM | 6:29 PM | 4 seconds | Failure |
| [Parameters](http://80.100.143.119:58080/Spring4Djwp/ci/builds/log/764?30787af4-0f89-43d4-a73b-a4160007b1d5# "Expand") |
| Working Directory: C:\ContinuaCI\WorkSpace\Ws\764\Source\spring4djwp\Tests\Bin\Delphi2010\Win32\Debug  
 Executable: C:\ContinuaCI\WorkSpace\Ws\764\Source\spring4djwp\Tests\Bin\Delphi2010\Win32\Debug\Spring.Tests.exe  
 Arguments: C:\ContinuaCI\WorkSpace\Ws\764\Output\Tests\Delphi2010\Win32\Debug\Spring.Tests.Reports.xml |
| [Environment Variables](http://80.100.143.119:58080/Spring4Djwp/ci/builds/log/764?30787af4-0f89-43d4-a73b-a4160007b1d5# "Expand") |
| No environment variables specified |
| An error occurred whilst attempting to run DUnitX Action. Exit code: 255. Error text: . |

The tests are built with FastMM4 (from SVN).  
  
When I download the artefacts from this build, I can run the tests from the console just fine:&nbsp;[http://80.100.143.119:58080/Spring4…0385330837](http://80.100.143.119:58080/Spring4Djwp/ci/builds/artifacts/770?_=1420385330837)&nbsp;just download Spring.Tests.7z, unpack to %temp% and run the Spring.Tests.exe: works fine.  
  
How can I track down the cause of this 255 error?  
  
–jeroen[\_\_33126\_\_0\_\_ContinuaCI-diagnostics-report-2015-01-04\_16-26-54.zip](https://www.finalbuilder.com/forums/uploads/default/original/2X/a/ace0d0703caf2376ac35e530ed361670bffae4b9.zip) (101.648 KB)

---

<div class="post-metadata">

### Author: ![jeroenp](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/j/c89c15/32.png) [@jeroenp](https://www.finalbuilder.com/forums/u/jeroenp)
#### Post date: [January 4, 2015, 10:32am UTC](https://www.finalbuilder.com/forums/t/what-could-be-the-cause-of-dunitx-action-result-an-error-occurred-whilst-attempting-to-run-dunitx-action-exit-code-255-error-text/5946/2 "2015-01-04T10:32:56Z")

</div>

Found it.   
 Somehow my other user had this DLL on the path:   
  
 - FastMM\_FullDebugMode.dllFastMM FullDebugMode Support DLLPSD / Pierre le RicheC:\Users\Developer\Copy\bin\FastMM\_FullDebugMode.dll   
  
 Copying that into the directory of Spring.Tests.exe solves the issue.   
  
 It would be nice if Continua CI can generate a more descriptive error, though that might be hard.

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [January 5, 2015, 1:09am UTC](https://www.finalbuilder.com/forums/t/what-could-be-the-cause-of-dunitx-action-result-an-error-occurred-whilst-attempting-to-run-dunitx-action-exit-code-255-error-text/5946/3 "2015-01-05T01:09:12Z")

</div>

Thre’s nothing we can do if the process doesn’t write the error out to stderror or stdout. I suspect the exit code 255 is a delphi runtime error but I couldn’t find anything which indicates the exact error.

---

<div class="post-metadata">

### Author: ![jeroenp](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/j/c89c15/32.png) [@jeroenp](https://www.finalbuilder.com/forums/u/jeroenp)
#### Post date: [January 5, 2015, 1:19am UTC](https://www.finalbuilder.com/forums/t/what-could-be-the-cause-of-dunitx-action-result-an-error-occurred-whilst-attempting-to-run-dunitx-action-exit-code-255-error-text/5946/4 "2015-01-05T01:19:15Z")

</div>

In the end I did find it back in the Application event log:   
  
 [code]Faulting application name: Spring.Tests.exe, version: 0.0.0.0, time stamp: 0x54a959baFaulting module name: FastMM\_FullDebugMode.dll, version: 6.3.9600.17476, time stamp: 0x54516af9Exception code: 0xc0000135Fault offset: 0x000a36e5Faulting process id: 0x1214Faulting application start time: 0x01d02831b4bfe18aFaulting application path: C:\ContinuaCI\WorkSpace\Ws\770\Source\spring4djwp\Tests\Bin\Delphi2010\Win32\Debug\Spring.Tests.exeFaulting module path: FastMM\_FullDebugMode.dllReport Id: f2aa6a74-9424-11e4-8284-000c29918645Faulting package full name: Faulting package-relative application ID: [/code]   
  
 I think ContinuaCI could monitor that and react upon it.

---

<div class="post-metadata">

### Author: ![jeroenp](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/j/c89c15/32.png) [@jeroenp](https://www.finalbuilder.com/forums/u/jeroenp)
#### Post date: [January 6, 2015, 2:23am UTC](https://www.finalbuilder.com/forums/t/what-could-be-the-cause-of-dunitx-action-result-an-error-occurred-whilst-attempting-to-run-dunitx-action-exit-code-255-error-text/5946/5 "2015-01-06T02:23:07Z")

</div>

For my own reference: [https://plus.google.com/+JeroenPluimers/posts/byHJaGopwgH](https://plus.google.com/+JeroenPluimers/posts/byHJaGopwgH)
