Blender 2.76 and 2.77 crashes when opening .blend #47847

Closed
opened 2016-03-19 17:48:21 +01:00 by Steffen Ohrendorf · 17 comments

System Information
Windows 10, 2x AMD Radeon R) 270X

Blender Version
Broken: 2.76 (latest patch) and 2.77 (release)
Worked: none

Short description of error
I tried to open the blend and blender just crashes with an EXCEPTION_ACCESS_VIOLATION.
Things seen before this happened: I got an FPE exception earlier with that blend, and the animation updates were asynchronous (i.e., of the three animated objects, sometimes one of them - not a specific one - didn't update when going one frame forward; a few times it even updated in the reverse direction); also, most of the time at least one of the fire generators didn't produce fire, but I thought this could be because of my lack of experience with smoke simulation.

Exact steps for others to reproduce the error
Try to open the file.

**System Information** Windows 10, 2x AMD Radeon R) 270X **Blender Version** Broken: 2.76 (latest patch) and 2.77 (release) Worked: none **Short description of error** I tried to open the blend and blender just crashes with an EXCEPTION_ACCESS_VIOLATION. Things seen before this happened: I got an FPE exception earlier with that blend, and the animation updates were asynchronous (i.e., of the three animated objects, sometimes one of them - not a specific one - didn't update when going one frame forward; a few times it even updated in the reverse direction); also, most of the time at least one of the fire generators didn't produce fire, but I thought this could be because of my lack of experience with smoke simulation. **Exact steps for others to reproduce the error** Try to open the file.

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @stohrendorf

Added subscriber: @stohrendorf
Here's the blend: http://earvillage.net/2nd_reality.blend

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Tested, the file loads fine here, (64bit Arch-Linux, official 2.76 and 2.77).

Tested, the file loads fine here, (64bit Arch-Linux, official 2.76 and 2.77).

Although it runs here on Linux too (openSuSE Leap 42.1 x64), it is pretty unstable (i.e., fire from moving objects isn't generated for some frames until I rewind and step forward over that frame again, and sometimes object positions aren't updated when changing the current frame by single-stepping). Now it crashed in 'FLUID_3D::advectFieldSemiLagrange(float, float const*, float const*, float const*, float*, float*, BasicVector::Vector3Dim, int, int)', coming through 'smoke_turbulence_step' (it's the official release blender-2.76b-linux-glibc211-x86_64.tar.bz2, md5 e588925227f699cc93b62bc00eb58916).

2nd_reality.crash.txt

Although it runs here on Linux too (openSuSE Leap 42.1 x64), it is pretty unstable (i.e., fire from moving objects isn't generated for some frames until I rewind and step forward over that frame again, and sometimes object positions aren't updated when changing the current frame by single-stepping). Now it crashed in 'FLUID_3D::advectFieldSemiLagrange(float, float const*, float const*, float const*, float*, float*, BasicVector::Vector3Dim<int>, int, int)', coming through 'smoke_turbulence_step' (it's the official release blender-2.76b-linux-glibc211-x86_64.tar.bz2, md5 e588925227f699cc93b62bc00eb58916). [2nd_reality.crash.txt](https://archive.blender.org/developer/F297350/2nd_reality.crash.txt)

Added subscriber: @Sergey

Added subscriber: @Sergey

Is the file still available? It gives 404 when i'm trying to download it. if it's small enough please upload directly to the developer.blender.org.

Is the file still available? It gives 404 when i'm trying to download it. if it's small enough please upload directly to the developer.blender.org.

Should be available now again.

Should be available now again.

Can not reproduce the issue on Linux and Windows 7.

Please download opengl32.dll from ftp://ftp.blender.org/sergey/softwaregl/ and put it next to blender.exe. This will switch blender to software opengl which is slower but free from vendor-specific glitches. This would allow us to understand if it's related to opengl or not.

Can not reproduce the issue on Linux and Windows 7. Please download opengl32.dll from ftp://ftp.blender.org/sergey/softwaregl/ and put it next to blender.exe. This will switch blender to software opengl which is slower but free from vendor-specific glitches. This would allow us to understand if it's related to opengl or not.

Runs fine with that DLL, and my drivers are up-to-date. I could try to build blender myself to debug it.

Runs fine with that DLL, and my drivers are up-to-date. I could try to build blender myself to debug it.

Peeked around a bit in your FTP and found the debug build; starts fine without that blend, but still crashes. The problem seems to be a NULL-pointer dereference in my drivers (to be exact in atig6txx.dll), and the line of code in blender itself is a call to ChoosePixelFormat in choose_pixel_format_legacy.

Here's the complete backtrace, excluding useless in-driver stack frames:

blender-app.exe!choose_pixel_format_legacy(HDC__ * hDC, tagPIXELFORMATDESCRIPTOR & preferredPFD) Zeile 230	C++
blender-app.exe!GHOST_ContextWGL::initContextWGLEW(tagPIXELFORMATDESCRIPTOR & preferredPFD) Zeile 364	C++
blender-app.exe!GHOST_ContextWGL::choose_pixel_format(bool stereoVisual, int numOfAASamples, bool needAlpha, bool needStencil, bool sRGB) Zeile 695	C++
blender-app.exe!GHOST_ContextWGL::initializeDrawingContext() Zeile 765	C++
blender-app.exe!GHOST_WindowWin32::newDrawingContext(GHOST_TDrawingContextType type) Zeile 709	C++
blender-app.exe!GHOST_Window::setDrawingContextType(GHOST_TDrawingContextType type) Zeile 94	C++
blender-app.exe!GHOST_WindowWin32::GHOST_WindowWin32(GHOST_SystemWin32 * system, const STR_String & title, int left, int top, unsigned int width, unsigned int height, GHOST_TWindowState state, GHOST_TDrawingContextType type, bool wantStereoVisual, unsigned short wantNumOfAASamples, long parentwindowhwnd, bool is_debug) Zeile 229	C++
blender-app.exe!GHOST_SystemWin32::createWindow(const STR_String & title, int left, int top, unsigned int width, unsigned int height, GHOST_TWindowState state, GHOST_TDrawingContextType type, GHOST_GLSettings glSettings, const bool exclusive, const long parentWindow) Zeile 246	C++
blender-app.exe!GHOST_CreateWindow(GHOST_SystemHandle__ * systemhandle, const char * title, int left, int top, unsigned int width, unsigned int height, GHOST_TWindowState state, GHOST_TDrawingContextType type, GHOST_GLSettings glSettings) Zeile 148	C++
blender-app.exe!wm_window_ghostwindow_add(wmWindowManager * wm, const unsigned char * title, wmWindow * win) Zeile 420	C
blender-app.exe!wm_window_ghostwindows_ensure(wmWindowManager * wm) Zeile 542	C
blender-app.exe!WM_check(bContext * C) Zeile 384	C
blender-app.exe!WM_file_read(bContext * C, const unsigned char * filepath, ReportList * reports) Zeile 572	C
blender-app.exe!wm_open_mainfile_exec(bContext * C, wmOperator * op) Zeile 2265	C
blender-app.exe!wm_operator_invoke(bContext * C, wmOperatorType * ot, wmEvent * event, PointerRNA * properties, ReportList * reports, const bool poll_only) Zeile 1105	C
blender-app.exe!wm_operator_call_internal(bContext * C, wmOperatorType * ot, PointerRNA * properties, ReportList * reports, const short context, const bool poll_only) Zeile 1293	C
blender-app.exe!WM_operator_name_call_ptr(bContext * C, wmOperatorType * ot, short context, PointerRNA * properties) Zeile 1339	C
blender-app.exe!ui_apply_but_funcs_after(bContext * C) Zeile 769	C
blender-app.exe!ui_popup_handler(bContext * C, const wmEvent * event, void * userdata) Zeile 10013	C
blender-app.exe!wm_handler_ui_call(bContext * C, wmEventHandler * handler, wmEvent * event, int always_pass) Zeile 453	C
blender-app.exe!wm_handlers_do_intern(bContext * C, wmEvent * event, ListBase * handlers) Zeile 2053	C
blender-app.exe!wm_handlers_do(bContext * C, wmEvent * event, ListBase * handlers) Zeile 2140	C
blender-app.exe!wm_event_do_handlers(bContext * C) Zeile 2423	C
blender-app.exe!WM_main(bContext * C) Zeile 492	C
blender-app.exe!main(int argc, const unsigned char * * UNUSED_argv_c) Zeile 476	C
Peeked around a bit in your FTP and found the debug build; starts fine without that blend, but still crashes. The problem seems to be a NULL-pointer dereference in my drivers (to be exact in `atig6txx.dll`), and the line of code in blender itself is a call to `ChoosePixelFormat` in `choose_pixel_format_legacy`. Here's the complete backtrace, excluding useless in-driver stack frames: ``` blender-app.exe!choose_pixel_format_legacy(HDC__ * hDC, tagPIXELFORMATDESCRIPTOR & preferredPFD) Zeile 230 C++ blender-app.exe!GHOST_ContextWGL::initContextWGLEW(tagPIXELFORMATDESCRIPTOR & preferredPFD) Zeile 364 C++ blender-app.exe!GHOST_ContextWGL::choose_pixel_format(bool stereoVisual, int numOfAASamples, bool needAlpha, bool needStencil, bool sRGB) Zeile 695 C++ blender-app.exe!GHOST_ContextWGL::initializeDrawingContext() Zeile 765 C++ blender-app.exe!GHOST_WindowWin32::newDrawingContext(GHOST_TDrawingContextType type) Zeile 709 C++ blender-app.exe!GHOST_Window::setDrawingContextType(GHOST_TDrawingContextType type) Zeile 94 C++ blender-app.exe!GHOST_WindowWin32::GHOST_WindowWin32(GHOST_SystemWin32 * system, const STR_String & title, int left, int top, unsigned int width, unsigned int height, GHOST_TWindowState state, GHOST_TDrawingContextType type, bool wantStereoVisual, unsigned short wantNumOfAASamples, long parentwindowhwnd, bool is_debug) Zeile 229 C++ blender-app.exe!GHOST_SystemWin32::createWindow(const STR_String & title, int left, int top, unsigned int width, unsigned int height, GHOST_TWindowState state, GHOST_TDrawingContextType type, GHOST_GLSettings glSettings, const bool exclusive, const long parentWindow) Zeile 246 C++ blender-app.exe!GHOST_CreateWindow(GHOST_SystemHandle__ * systemhandle, const char * title, int left, int top, unsigned int width, unsigned int height, GHOST_TWindowState state, GHOST_TDrawingContextType type, GHOST_GLSettings glSettings) Zeile 148 C++ blender-app.exe!wm_window_ghostwindow_add(wmWindowManager * wm, const unsigned char * title, wmWindow * win) Zeile 420 C blender-app.exe!wm_window_ghostwindows_ensure(wmWindowManager * wm) Zeile 542 C blender-app.exe!WM_check(bContext * C) Zeile 384 C blender-app.exe!WM_file_read(bContext * C, const unsigned char * filepath, ReportList * reports) Zeile 572 C blender-app.exe!wm_open_mainfile_exec(bContext * C, wmOperator * op) Zeile 2265 C blender-app.exe!wm_operator_invoke(bContext * C, wmOperatorType * ot, wmEvent * event, PointerRNA * properties, ReportList * reports, const bool poll_only) Zeile 1105 C blender-app.exe!wm_operator_call_internal(bContext * C, wmOperatorType * ot, PointerRNA * properties, ReportList * reports, const short context, const bool poll_only) Zeile 1293 C blender-app.exe!WM_operator_name_call_ptr(bContext * C, wmOperatorType * ot, short context, PointerRNA * properties) Zeile 1339 C blender-app.exe!ui_apply_but_funcs_after(bContext * C) Zeile 769 C blender-app.exe!ui_popup_handler(bContext * C, const wmEvent * event, void * userdata) Zeile 10013 C blender-app.exe!wm_handler_ui_call(bContext * C, wmEventHandler * handler, wmEvent * event, int always_pass) Zeile 453 C blender-app.exe!wm_handlers_do_intern(bContext * C, wmEvent * event, ListBase * handlers) Zeile 2053 C blender-app.exe!wm_handlers_do(bContext * C, wmEvent * event, ListBase * handlers) Zeile 2140 C blender-app.exe!wm_event_do_handlers(bContext * C) Zeile 2423 C blender-app.exe!WM_main(bContext * C) Zeile 492 C blender-app.exe!main(int argc, const unsigned char * * UNUSED_argv_c) Zeile 476 C ```

Added subscriber: @mont29

Added subscriber: @mont29

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Bastien Montagne self-assigned this 2016-04-01 15:41:00 +02:00

So that’s OpenGL driver bug again, sorry but we can’t do much about it (especially if we cannot reproduce it), you can hope and wait for a newer driver to fix it, and/or check the following points:

  • Try to tweak OGL settings in UserPreferences, System tab.
  • Try to tweak your GPU driver settings (e.g. try different values between 'performance' and 'quality' if you have such slider, etc.).
So that’s OpenGL driver bug again, sorry but we can’t do much about it (especially if we cannot reproduce it), you can hope and wait for a newer driver to fix it, and/or check the following points: * Try to tweak OGL settings in UserPreferences, System tab. * Try to tweak your GPU driver settings (e.g. try different values between 'performance' and 'quality' if you have such slider, etc.).

Added subscriber: @RUben

Added subscriber: @RUben

Error : EXCEPTION_ACCESS_VIOLATION
Address : 0x00007FFE9F829ADB
Module : C:\WINDOWS\SYSTEM32\atig6txx.dll

on stable and nigtly builds, on various number of scenes: sometimes can't open file with error from ebove, only helps append scenes from a file
suz.blend

Radeon RX Vega with latest drivers 18.2.1
windows 10

Error : EXCEPTION_ACCESS_VIOLATION Address : 0x00007FFE9F829ADB Module : C:\WINDOWS\SYSTEM32\atig6txx.dll on stable and nigtly builds, on various number of scenes: sometimes can't open file with error from ebove, only helps append scenes from a file [suz.blend](https://archive.blender.org/developer/F2317061/suz.blend) Radeon RX Vega with latest drivers 18.2.1 windows 10
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
5 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#47847
No description provided.