Arduino doesnt work after a single tested function gets compiled in new function

The symptom (repeatedly resetting, etc.) that you describe can be caused by writing or reading outside the bounds of an array. Are there any array operations in the suspect function?