Page MenuHome

Blender 2.75 RC2 Crash on startup (win 64bit )
Closed, ResolvedPublic

Description

System Information
Win 8.1 64bit w/ latest updates
i7-5960X CPU
32 GB RAM
NVIDIA GeForce GTX 980
NVIDIA GeForce GTX TITAN Black

Blender Version
Broken: 2.75 RC 2
Worked: 2.74

Short description of error
Blender hangs on startup before splash screen would normally appear.

Exact steps for others to reproduce the error
Tried both .zip and .msi installations with same results. I recorded started in order to get command line messages:

Read new prefs: C:\Users\Dale\AppData\Roaming\Blender Foundation\Blender\2.75\config\userpref.blend
AL lib: <EE> UpdateDeviceParams: Failed to set 44100hz, got 48000hz instead
Unable to create directory C:\Program Files\Blender Foundation\Blender\Temp\blender_a09316
Warning! Could not generate a temp file name for 'C:\Program Files\Blender Foundation\Blender\Temp\blender_a09316', falling back to 'C:\Program Files\Blender Foundation\Blender\Temp\'

Event Timeline

Dale Forbes (daleforbes) claimed this task.
Dale Forbes (daleforbes) removed Dale Forbes (daleforbes) as the assignee of this task.
Dale Forbes (daleforbes) raised the priority of this task from to 90.
Dale Forbes (daleforbes) updated the task description. (Show Details)
Dale Forbes (daleforbes) edited a custom field.

Looks like a permission problem maybe? Please try to run Blender as Administrator and see if the last 2 errors still occur.

You are right, Thomas. If I run the blender.exe as Administrator, this problem goes away and Blender enters the splash screen successfully.

This could be because Windows User Account Control warns the installation is from an "Unknown Publisher" during installation and even during startup. So telling Blender to continue after that warning still does not resolve the permissions issue.

I don't know how an application is packaged up with a publisher indicated. Previous versions of Blender have not (and do not) have this issue.

Thank you for looking at this.

Shall we close then, or should do we plan to get a certificate. @Martijn Berger (juicyfruit), any ideas here?

Bastien Montagne (mont29) lowered the priority of this task from 90 to Normal.

https://msdn.microsoft.com/en-us/library/windows/desktop/aa364992%28v=vs.85%29.aspx

We check environment variables on windows else we fall back to the blender directory.

  1. TEMP
  2. TMP
  3. TMPDIR

Windows GetTempPath function checks in this order:

  1. The path specified by the TMP environment variable.
  2. The path specified by the TEMP environment variable.
  3. The path specified by the USERPROFILE environment variable.
  4. The Windows directory.

It appears we could do better here.

Also for this concrete case:
.. something is wrong with this users profile as %TEMP% needs to be set to a valid location for a lot of other programs anyway,
C:\Users\{username}\AppData\Local\Temp or so is a normal place for this where C:\Users\{username} should be the same as USERPROFILE
//

Could you maybe open a terminal (cmd) as the normal non admin user and paste the output of:

set TMP

set TEMP

set USERPROFILE

Set TMP
TMP=C:\Users\Dale\AppData\Local\Temp

Set TEMP
TEMP=C:\Users\Dale\AppData\Local\Temp

Set USERPROFILE
USERPROFILE=C:\Users\Dale

I am the only user on this desktop which was built with this profile. I have not customized any environment variables - at least not on purpose.

Thank you for exploring this.

[Update]
When I open my temp directory: C:\Users\Dale\AppData\Local\Temp, there are several blender folders there -- assuming from previous installations:

blender_a00456
blender_a06476
blender_a07452
blender_a07940
blender_a10408
blender_a13212
blender_a17520
blender_a20560

@Dale Forbes (daleforbes), okay your config and environment makes sense TMP, TEMP, and USERPROFILE are what you would expect.

I would assume is you use blender extracted from the zip file somewhere in a non installed location ( like My Documents) it just works ?

If .msi is available, I will use that so that is what I use almost all the time. I download the .msi to the Downloads folder and run from there.

When trying to troubleshoot 2.75 RC x, I used the .zip when the .msi was not working but I had the same results.

Bastien Montagne (mont29) triaged this task as 30 priority.Sep 11 2015, 3:20 PM

What’s the status here? @Dale Forbes (daleforbes) would you mind testing testbuild2 of future 2.76 version? http://download.blender.org/release/Blender2.76/

I installed testbuild2 of 2.76 and tested...

Without running as Administrator, the program now starts up normally which is an improvement over 2.75a. However, there appear to be errors upon exit so there still seems to be a permissions issue. I took snapshots of the command line messages upon startup and quit. Link below.

If I run blender.exe as Administrator, there are no problems. Very strange. I am the only user on my desktop and no other administrator issues with other apps. This problem started when I was running Win8.1. I should mention I'm on Win10 now.

Thanks for taking a look, guys.

Snapshop of messages

Bastien Montagne (mont29) raised the priority of this task from 30 to Normal.Sep 11 2015, 5:30 PM

Thanks for quick check @Dale Forbes (daleforbes).

Issues clearly remains, would suspect a local configuration issue though (doubt you are the only person running Blender from regular account ;) ), but will let @Martijn Berger (juicyfruit) decide here…

@Bastien Montagne (mont29) it is really hard to rule this a local issue. Ill make an .msi for the the real RC's. and we will check again at that time.

Now that 2.76 is out and we have yet to release 2.76a this would be a good time for feedback.

@Dale Forbes (daleforbes) can you you retest with 2.76 ?

Sorry for the late response, guys. I had tried with the production release of 2.76 and had the same results as 2.76 test 2.

However, with 2.76b, the problem seems to have been fixed. I no longer need to run blender.exe as administrator and no error messages appear in the startup or shutdown command line messages.

Thanks to everyone for their help. Do we know exactly what the issue was?

Cheers!
Dale

Aaron Carlisle (Blendify) changed the task status from Unknown Status to Resolved.Nov 30 2015, 1:51 AM

Sounds like a permission issue on your end. I have not seen any commits that might fix this. Some else might have more insight on this. However glad to here this is fixed for you.