in reply to NYTProf line report failure
Which version of Devel::NYTProf are you using? And are you able to provide a cut-down script that can reproduce the issue?
Looking at the code, you might also be able to patch the issue by checking that $self->profile can call the inc method before it is called. You could then perhaps munge the name yourself and see what happens to the report.
In Section
Seekers of Perl Wisdom