Which perl version are you using? I remember a thread here not too long ago about profiler errors in conjunction with some external modules with C dependencies (can't find it atm though).
In that particular case upgrading to a newer perl version (5.10.0 is stable) and newer modules solved the problem.