Analyzers
Support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
4554 Discussions

MAX_LOADLIB_NESTING Error Message while instrumenting for Call graph analysis

anthonynixon
Beginner
159 Views

Hi Guys:

Just doing an eval with 9.0 at the moment with an AutoCAD custom application, using the Call Graph collector. When loading the extension DLL (called an ObectARX module in AutoCAD) for our application, we get an instrumentation error:

enum_img_on <= MAX_LOADLIB_NESTING failed.

Nesting level of LoadLibrary calls exceeds limit.

This occurs while it is instrumenting some Oracle dlls that are demand loaded by our application.

Is there any easy way around this? Perhaps disabling the instrumentation of the Oracle dlls? In the config for the collector I can see the list of dlls (long) - but for some reason I can't scroll down in this list to get to the Oracle dlls (that are presumably) somewhere further down the list.

Thanks in advance

Anthony

0 Kudos
2 Replies
aokunev
Beginner
159 Views
Hi Anthony

The problem seems to be either a bug in VTune runtime code or unexpected behavior of Windows loader we did not consider in runtime design at time of VTune 9.0 release.

Attempt to reduce instrumentation level will not help, as the problem occurs before instrumentation engine analyzes loaded image and decides which instrumentation level to apply.

Will you please open new tracker in Premier on this problem.

regards, Andrei
aokunev
Beginner
159 Views
You may also try the recently published VTune 9.0 update 3. There were several improvements in instrumenting engine, so this could potentially fix the error.

Andrei
Reply