Page MenuHome

bldenr-app.exe error 0xc0000022
Closed, ArchivedPublic

Description

System Information
Windows 7 64 bit

VGA Intel HD Graphics 2500
Driver version: 10.18.10.3958 (9-30-2014) - GL:ig7icd64.dll
Date: 30/09/2014
OpenGL: 4.0 with 188 extentions
OpenCL: 1.2
DirectCompute: 5.0

Blender Version
Broken: 2.73 64bit
Broken: 2.72b 32bit and 64 bit

Worked: 2.71 32bit and 64 bit

Short description of error
see attached with Italian locale,
the error is about:
blender-app.exe - Application Error
Impossible to correctly start the application (0xc0000022).
Click on OK to close the application.

Exact steps for others to reproduce the error
Double click on Blender Icon, blender does not start and the error appear.

Re-installing 2.71 32bit and 64 bit, everything back to work.

Event Timeline

Valerio (efa) raised the priority of this task from to 90.
Valerio (efa) updated the task description. (Show Details)
Valerio (efa) added a project: BF Blender.
Valerio (efa) edited a custom field.
Valerio (efa) added a subscriber: Valerio (efa).

I cannot find how to attach the shot of error.

Note: Blender 2.73 on Ubuntu 12.04 work welll

You can e.g. use PasteAll to paste the error log.

The trouble of attach is about a shot of the error.

I already translated the error from the shot and is:
blender-app.exe - Application Error
Impossible to correctly start the application (0xc0000022).
Click on OK to close the application.

Bastien Montagne (mont29) lowered the priority of this task from 90 to 30.Jan 13 2015, 11:52 AM

Please:

  • Ensure both your OS and drivers are fully up-to-date;
  • Try to start Blender in factory settings (--factory-startup commandline option).
  • Try to tweak OGL settings in UserPreferences, System tab.
  • Try to place this dll next to your blender.exe (software OGL, will be slow, but will show whether this is a driver issue or not).

PS: just drag&drop your image in a new comment, will be uploaded/attached to the report automatically.

Valerio (efa) added a comment.EditedJan 13 2015, 1:54 PM

I just tested 4 combinations:
no opengl32.dll and no --factory-startup
with opengl32.dll and no --factory-startup
no opengl32.dll and with --factory-startup
with opengl32.dll and with --factory-startup
all lead to the same error.

Valerio (efa) added a comment.EditedJan 13 2015, 1:56 PM

I had to update the driver with the last one from Intel.

My currently installed is:
Version: 10.18.10.3958 (9-30-2014) - GL:ig7icd64.dll
Data: 30/09/2014
just downloaded:
15.33.32.64.4061 (10.18.10.4061)
Date: 01/08/2015
will see

Other points to check:

And there’s always the py path issue too:

Python related

Having PYTHONPATH, PYTHONHOME or any python related environment variables causes blender to try and use an incompatible version of python.
Even the official windows 3.4 python is currently incompatible as that is compiled with Visual Studio 2010 and does not include a proper manifest. Loading that will crash 100% either silently of with a message like the one posted above.
Please make sure there are no PYTHON related environment variables set.

Win7 64 bit is Version 6.1 (Build 7601: Service Pack 1)
Will check the runtime, VC2013 and PYTHON issue
Remember: reinstalling 2.71 work well

just installed
VisualC++ Redist for VisualStudio2013 12.0.30501
vcredist_x64.exe
same result

D:\Program Files\Blender Foundation\Blender>echo %PYTHONPATH%
%PYTHONPATH%

D:\Program Files\Blender Foundation\Blender>echo %PYTHONHOME%
%PYTHONHOME%

no env vars starting with PYT at all

Valerio (efa) added a comment.EditedJan 13 2015, 3:16 PM

Windows update say: your system is up to date.
Tomorrow I will update the VGA driver.
Any other suggestions?

Afraid I’m running out of ideas here… Maybe Martijn will have more insight?

Bastien Montagne (mont29) raised the priority of this task from 30 to Normal.Jan 13 2015, 4:14 PM

which tweak OGL settings I had to change in UserPreferences, System tab?

a curiosity, the "http://download.blender.org/ftp/sergey/softwaregl/win64/opengl32.dll",
is a software render version of the OpenGL whole libraries?
If so, on Windows it is supplied with the VGA driver, the OS, some applications, compiled by someone, or from where?
thank you

another curiosity: you asked me to install the VCruntime of Visual Studio 2013. Do you generate the Blender for Windows executable using a non free compiler suite?

no luck, new VGA driver, same result.

the bad thing is that no output is sent to the console, so how to debug the trouble?

I tried also to de-install Blender (keeping settings), delete the directory:
D:\Program Files\Blender Foundation
D:\Program Files\Blender Foundation\Blender\2.71
D:\Program Files\Blender Foundation\Blender\2.73
that remain after de-install, where 2.71 is about 90 MB with a full python\lib directory sized 20 MB.
then reinstall 2.73 64 bit only, same result

tried to remove Blender profile (settings) on de-install, delete again:
D:\Program Files\Blender Foundation\Blender\2.73
then reinstall 2.73, same result.

Then removed again 2.73 and complete
D:\Program Files\Blender Foundation\Blender\2.73
directory, reinstalled 2.71 64 bit, work well.

To me is something realated to Blender itself, versions next to 2.71

I would venture to guess the dynamic loader cannot access one or more files for some reason.
You could try running opening blender-app.exe directly or loading that file into http://www.dependencywalker.com/ and seeing if that can resolve all the dll's.
Also REMOVING the ms**120.dlls might make it work for you.
Please check again that you really absolutely have an updated windows and that you really have at least Windows 7 SP1

what is the difference between "blender.exe" and "blender-app.exe" that I found on Windows installation?
I cannot find two binaries on my linux installation

blender-app.exe fixed a windows memory bug. it basically makes blender multi-treaded

this is the Path env var seen by the console where I run blender.exe and blender-app.exe:
Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\ProgramData\Oracle\Java\javapath
;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files (x86)\Cadence\SPB_
16.6\tools\pcb\bin;C:\Program Files (x86)\Cadence\SPB_16.6\tools\bin;C:\Program Files (x86)\Cadence\SPB_16.6\tools\libutil\bin;C:\Program Fi
les (x86)\Cadence\SPB_16.6\tools\fet\bin;C:\Program Files (x86)\Cadence\SPB_16.6\tools\specctra\bin;C:\Program Files (x86)\Cadence\SPB_16.6\
tools\pspice;C:\Program Files (x86)\Cadence\SPB_16.6\tools\capture;C:\Program Files (x86)\Cadence\SPB_16.6\openaccess\bin\win32\opt;D:\Progr
am Files (x86)\Batch;D:\Program Files (x86)\Tools;D:\Program Files (x86)\pdftk\bin;D:\Program Files (x86)\GNU\GnuPG\pub;D:\Program Files (x8
6)\Tesseract-OCR;D:\Program Files (x86)\MinGW\bin;D:\Program Files\OpenVPN\bin;

I'm quite confident there are no Python implementation there. Maybe Windows find executable or shared object in other way than simple env var?

Valerio (efa) added a comment.EditedJan 15 2015, 10:11 AM

I just tested 8 combinations:
`

opengl32.dll --factory-startup executable

no no blender.exe
no no blender-app.exe
no yes blender.exe
no yes blender-app.exe
yes no blender.exe
yes no blender-app.exe
yes yes blender.exe
yes yes blender-app.exe
`
all lead to the same error.

ok monspaced text doesn't work, the intention was three columns

then I deleted "msvcp120.dll" and "msvcr120.dll" files, and repeated the 8 combinations, same result

did you changed something in the build generation process or added a dependancy on Blender after release 2.71 ?

Just a tip, you can edit your comments (right side, the arrow icon on your comment). Every time you add a new comment all subscribers here get an e-mail. Thanks.

Valerio (efa) added a comment.EditedJan 15 2015, 10:46 AM

2.73 blender-app.exe:

2.73 blender.exe:

2.71 blender.exe:

(there was no "blender-app.exe" in 2.71)

Did you need I look to something in particular in 'dependencywalker' window ?

  • update ----

today Windows update asked me to install other 6 updates, done. Same result

Windows7 is SP1, see:

To be sure, I restarted in recover mode, and do a system check:

sfc /scannow

no file are corrupted

Did you try to use the .zip archives instead of the installer? You should also try to extract this into your home folder rather then C:/Programs or similar.

downloaded now the 64 and 32 bit .zip files. Some error.

solved: it is the antivirus Sophos that block two DLL:
D:\program files\blender foundation\Blender\OpenAL32.dll
D:\Program Files\Blender Foundation\Blender\SDL.dll
D:\Program Files\Blender Foundation\Blender\SDL2.dll
as are categorized as "GAME". I disabled the Antivirus and work 2.73 too.
The strange thing is that on another collegue PC, with WinXP and the same Sophos antivirus, Blender 2.72b work, when on my PC 2.72b is blocked like 2.73.

2.71 still run on all PC, with Sophos.

Bastien Montagne (mont29) changed the task status from Unknown Status to Archived.Jan 15 2015, 6:59 PM
Bastien Montagne (mont29) claimed this task.

There should be anti-antiviruses… Anyway, thanks for the followup, time to close. :)

Valerio (efa) added a comment.EditedJan 15 2015, 11:30 PM

ok, please help me to understand why 2.71 work? Does it have the dependency to SDL and OpenAL too?

Sophos put those DLL of 2.73 in quarantine, but I do not think them dangerous.
OpenAL is a library to manage the audio, and SDL (and SDL2) is to access the frame buffer, right?
Please tell me which are the versions of those libraries packaged with Blender 2.71 and 2.73 ?