Acces violation in factory startup #120868

Closed
opened 2024-04-21 10:11:28 +02:00 by Peter Baintner · 8 comments

System Information
Operating system: Win 11
Graphics card: RTX 4090

Blender Version
Broken: 4.1.1
Worked: 4.0.2

Short description of error
Multiple errors on default startup.

Exact steps for others to reproduce the error
Run Blender with. blender.exe --factory-startup
Based on the default startup or an attached .blend file (as simple as possible).

**System Information** Operating system: Win 11 Graphics card: RTX 4090 **Blender Version** Broken: 4.1.1 Worked: 4.0.2 **Short description of error** Multiple errors on default startup. **Exact steps for others to reproduce the error** Run Blender with. `blender.exe --factory-startup` Based on the default startup or an attached .blend file (as simple as possible).
Peter Baintner added the
Type
Report
Status
Needs Triage
Priority
Normal
labels 2024-04-21 10:11:28 +02:00
Author

This is the crash log

This is the crash log
Iliya Katushenock added the
Interest
User Interface
label 2024-04-21 10:23:59 +02:00
Member

Hi, thanks for the report. Looks like you're using blender on steam. Do you encounter similar crash in 4.1 build from the website: https://builder.blender.org/download/daily/

I'm seeing some mentions about python310 in logs but from 4.1 onwards blender is using python311. So is it a conflict between system library and blender library? @ThomasDinges @brecht any idea why this is failing or crashing?

Hi, thanks for the report. Looks like you're using blender on steam. Do you encounter similar crash in 4.1 build from the website: https://builder.blender.org/download/daily/ I'm seeing some mentions about python310 in logs but from 4.1 onwards blender is using python311. So is it a conflict between system library and blender library? @ThomasDinges @brecht any idea why this is failing or crashing?
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2024-04-22 06:26:08 +02:00
Author

It's the very same crash with a daily build (blender-4.1.1-stable+v41.e1743a0317bc-windows.amd64-release).
Regarding Python, yes I have 3.10.11 installed for applications outside of Blender.

It's the very same crash with a daily build (blender-4.1.1-stable+v41.e1743a0317bc-windows.amd64-release). Regarding Python, yes I have 3.10.11 installed for applications outside of Blender.

Do things work if you run the blender_factory_startup.cmd batch file? This is slightly different than your --factory-startup command line. If it does, then this is probably the same issue as #115648 where, for some reason on Windows, the PYTHONPATH env var is taking precedence.

Do things work if you run the `blender_factory_startup.cmd` batch file? This is slightly different than your --factory-startup command line. If it does, then this is probably the same issue as #115648 where, for some reason on Windows, the `PYTHONPATH` env var is taking precedence.
Member

@deadpin hi, I might be wrong but batch file is only running blender with --factory-startup. Not sure what the difference is then?: https://projects.blender.org/blender/blender/src/branch/main/release/windows/batch/blender_factory_startup.cmd

@deadpin hi, I might be wrong but batch file is only running blender with --factory-startup. Not sure what the difference is then?: https://projects.blender.org/blender/blender/src/branch/main/release/windows/batch/blender_factory_startup.cmd

@PratikPB2123 It unsets the PYTHONPATH environment variable (with set PYTHONPATH=) before executing blender

@PratikPB2123 It unsets the PYTHONPATH environment variable (with `set PYTHONPATH=`) before executing blender
Author

Executing it with the batch file indeed resolves the issue.

Executing it with the batch file indeed resolves the issue.
Member

Thanks. Think we can close this as duplicate of #115648

Thanks. Think we can close this as duplicate of #115648
Blender Bot added
Status
Archived
and removed
Status
Needs Information from User
labels 2024-04-30 10:39:48 +02:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#120868
No description provided.