# run time error:bad parameter passed to I/O function

**URL:** <https://forums.digi.com/t/run-time-error-bad-parameter-passed-to-i-o-function/9870>\
**Category:** Rabbit\
**Created:** [April 15, 2007, 4:21pm UTC](https://forums.digi.com/t/run-time-error-bad-parameter-passed-to-i-o-function/9870 "2007-04-15T16:21:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![david2005](https://avatars.discourse-cdn.com/v4/letter/d/a5b964/32.png) [@david2005](https://forums.digi.com/u/david2005)\
**Post date:** [April 15, 2007, 4:21pm UTC](https://forums.digi.com/t/run-time-error-bad-parameter-passed-to-i-o-function/9870/1 "2007-04-15T16:21:46Z")

</div>

hi,  
i had a rabbit 3000, dynamic c 8.61 worked fine. i conpiled a program. sometimes it can work fine, but sometimes i get this run time error message.  
run time error: bad parameter passed to I/O function.  
file:  
line: 0

the first line is wd = VdGetFreeWd( 255 );

if i got this run time error, i run another program which can work well and then i run this program, it can work fine again.  
Any help will be appreciated.

---

<div class="post-metadata">

**Author:** ![afrench](https://avatars.discourse-cdn.com/v4/letter/a/77aa72/32.png) [@afrench](https://forums.digi.com/u/afrench)\
**Post date:** [October 16, 2007, 5:44pm UTC](https://forums.digi.com/t/run-time-error-bad-parameter-passed-to-i-o-function/9870/2 "2007-10-16T17:44:55Z")

</div>

BL2610 no Ethernet, dynamicC 9.21

I have a similar problem.

At random intervals, I will get this message after compiling to Flash and running.

I can compile and run in RAM without trouble.

After I get the problem, it persists until I hit some unclear magic combination of compiling other code then returning to the initial code.

For me, it appears as if the actual code that runs isn’t relevant.
