App exits way to soon

App exits way to soon

imagem de Dan Edwards

I'm trying to run a memory error analysis on a Win32 OpenGL game compiled with Visual Studio 2010. I'm using a demo of Parallal Studio XE 2013. It starts to run the game then quickly exits before the window is even shown and does not report any errors. vTune Amplifier runs it just fine.

I've tried all 3 modes Detect Leaks, Detect Memory Problems, Locate Memory Problems all with the same result.

The collector Messages window mostly lists modules Loaded and Unloaded and this line:
Application exit code: -1073741819

By using log files I narrowed down the code that causes the exit to:
    char sTempPath[1024];
    LPITEMIDLIST  pidl;
    SHGetSpecialFolderLocation(NULL, CSIDL_PERSONAL, &pidl);
    SHGetPathFromIDList(pidl, sTempPath);

If I comment that out the program executes a little further and exits again.

5 posts / 0 new
Último post
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.
imagem de Peter Wang (Intel)

Sometime inspector XE has big overheads when developer's project is huge, including of linking runtime libraries & 3rd-party libraries.
User may has interest of module to be checked, to exclude other libraries, to save time. Here is an example:

inspxe-cl -collect mi2 -module-filter-mode=include -module-filter=[my_exe | my_dll] -- foo.exe

I don't know if your problem was to due to timeout of message (caused by overhead), in system modules? But you can try above

imagem de Dan Edwards

In project properties I set to only include our exe in the list of modules. Same result though, exits before even showing a window.

imagem de Dan Edwards

I just got the update to Intel Inspector and tried again, now it says:
Error: Internal error. Please contact Intel customer support team.
Application exit code: -1073741819

imagem de Peter Wang (Intel)

Did you use Inspector XE 2013 initial release to test?

Regarding this is program specific issue, please go https://premier.intel.com to submit a ticket with your executables, to help of reproducing this probelm.

Faça login para deixar um comentário.