Gesperrt Instrumentation fails with error VSP1033

  • Mittwoch, 31. August 2011 08:12
     
     

    I want to profile an application in "Instrumentation" mode using the Profile Wizard in VS 2010 Ultimate SP1, but the instrumentation fails with the following error messages:

    Die Profilerstellung wurde gestartet.
    C:\Users\taschna\Documents\Visual Studio 2010\Projects\gnuplot\gnuplot_VS2010\wgnuplot\Debug\wgnuplot.exe wird direkt instrumentiert.
    Info VSP3049: Kleine Funktionen werden aus der Instrumentation ausgeschlossen.
    Microsoft (R) VSInstr Postlinkinstrumentation 10.0.40219 x86
    Copyright (C) Microsoft Corp. Alle Rechte vorbehalten.
    Fehler VSP1033 : Die Datei "C:\Users\taschna\Documents\Visual Studio 2010\Projects\gnuplot\gnuplot_VS2010\wgnuplot\Debug\wgnuplot.exe" enthält kein bekanntes ausführbares Abbild.
    PRF0002: Instrumentationsfehler bei diesen Optionen: /u "C:\Users\taschna\Documents\Visual Studio 2010\Projects\gnuplot\gnuplot_VS2010\wgnuplot\Debug\wgnuplot.exe"   /excludesmallfuncs. Weitere Informationen finden Sie im Ausgabefenster.
    Daten wurden in "C:\Users\taschna\Documents\Visual Studio 2010\Projects\gnuplot\gnuplot_VS2010\wgnuplot110831(2).vsp" geschrieben.
    Die Profilerstellung wurde beendet.
    Die Datei enthält keine Datenpuffer.
    Die Datei enthält keine Datenpuffer.
    Fehler bei Analyse.
    Die Profilerstellung ist abgeschlossen.

    The command line of the linker is:

    /OUT:"Debug\wgnuplot.exe" /NOLOGO "Msimg32.lib" "Comctl32.lib" "Gdiplus.lib" "htmlhelp.lib" "kernel32.lib" "user32.lib" "gdi32.lib" "winspool.lib" "comdlg32.lib" "advapi32.lib" "shell32.lib" "ole32.lib" "oleaut32.lib" "uuid.lib" "odbc32.lib" "odbccp32.lib" "C:\Users\taschna\Documents\Visual Studio 2010\Projects\gnuplot\gsl\VC2010\libgsl\Debug\libgsl.lib" "C:\Users\taschna\Documents\Visual Studio 2010\Projects\gnuplot\PDFlib-Lite\libs\pdflib\Debug\pdflib.lib" "C:\Users\taschna\Documents\Visual Studio 2010\Projects\gnuplot\gnuplot_VS2010\bgd\Debug\bgd.lib" "C:\Users\taschna\Documents\Visual Studio 2010\Projects\gnuplot\zlib-1.2.3\projects\visualc2010\LIB ASM Debug\zlib.lib" /MANIFEST:NO /ManifestFile:"Debug\wgnuplot.exe.intermediate.manifest" /ALLOWISOLATION /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:\Users\taschna\Documents\Visual Studio 2010\Projects\gnuplot\gnuplot_VS2010\wgnuplot\Debug\wgnuplot.pdb" /SUBSYSTEM:WINDOWS /PGD:"C:\Users\taschna\Documents\Visual Studio 2010\Projects\gnuplot\gnuplot_VS2010\wgnuplot\Debug\wgnuplot.pgd" /TLBID:1 /DYNAMICBASE /NXCOMPAT /MACHINE:X86 /PROFILE /ERRORREPORT:QUEUE

    Please help me find the reason for this strange (and undocumented) error.

    Thanks,

    Alexander

Alle Antworten

  • Montag, 5. September 2011 03:27
    Moderator
     
     

    Can you launch your application by double-click the wgnuplot.exe file? Because the error

     

    VSP1033 error: The file "C: \ Users \ taschna \ Documents \ Visual Studio 2010 \ Projects \ \ gnuplot gnuplot_VS2010 \ wgnuplot \ Debug \ wgnuplot.exe" contains no known executable image.

     

    Indicate that the file maybe corrupted.

     

    By the way, you can clean files in the output folder, and perform a rebuild.


    Eric Yang [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Mittwoch, 14. September 2011 10:08
     
     

    Dear Eric,

    rebuilding the complete solution does not change the error messages. Double-clicking the file "C:\Users\taschna\Documents\Visual Studio 2010\Projects\gnuplot\gnuplot_VS2010\wgnuplot\Debug\wgnuplot.exe" starts the program without any problems.

     

    Regards,

    Alexander

  • Freitag, 3. Februar 2012 14:53
     
     Beantwortet

    I finally found the solution to this problem: I used the zlib library in this build which includes in its standard configuration some assembler code. If I use the build configuration without this assembler code, everything works as expected.

     

    Alexander