Blender hangs on Duplicate Window #47224

Closed
opened 2016-01-22 22:50:34 +01:00 by Julien Champseix · 9 comments

System Information
Windows 10 with NVIDIA GeForce GTX 970M and Intel HD Graphics 5600

Blender Version
Broken: Latest vanilla version v2.76

Note: screenshots in attachment blender-hang-screenshots.pdf

Short description of error
On a vanilla Blender, open with the default, unmodified scene (the cube with light and camera), if I use Window > Duplicate Window, blender hangs taking one full processing unit (>16.6% of my full CPU, which means one thread on one core; evidenced in the screenshot attached).

Additional Debugging
I have taken a full dump of the process that was running after a few minutes of hanging out. It's a 600MB file, but I can try to share it to you via google drive (or I can upload it to any repository you point me to).
I have also looked at the Thread in 'Sysinternals Process Explorer', which points to an infinite loop inside xmlListWalk+0x4b1e10, in particular calling EnumDisplayMonitor in a loop (see screenshots attached where the call stack is in a particularly nice position, showing it tried to initialize some D3D9 stuff on a particular monitor).
Unfortunately, the console didn't add anything in particular.

Monitors
I'm using both the internal laptop display (38402160 native resolution) and an old (2003) Apple Cinema Display 23 inches (19001200).
The monitors are configured with the laptop display bottom and external (HDMI+DVI) display top.
The main laptop display is configured to increase the size of text by 225%, whereas the external display is configured as 100% - see screenshot.

Some more steps taken
I have tried using the menu with clicks or shortcut, with Blender on the laptop screen or the external display, with Blender running on the Intel HD or NVIDIA GPUs, to no avail, the same hang happens.

**System Information** Windows 10 with NVIDIA GeForce GTX 970M and Intel HD Graphics 5600 **Blender Version** Broken: Latest vanilla version v2.76 Note: screenshots in attachment [blender-hang-screenshots.pdf](https://archive.blender.org/developer/F276831/blender-hang-screenshots.pdf) **Short description of error** On a vanilla Blender, open with the default, unmodified scene (the cube with light and camera), if I use Window > Duplicate Window, blender hangs taking one full processing unit (>16.6% of my full CPU, which means one thread on one core; evidenced in the screenshot attached). **Additional Debugging** I have taken a full dump of the process that was running after a few minutes of hanging out. It's a 600MB file, but I can try to share it to you via google drive (or I can upload it to any repository you point me to). I have also looked at the Thread in 'Sysinternals Process Explorer', which points to an infinite loop inside xmlListWalk+0x4b1e10, in particular calling EnumDisplayMonitor in a loop (see screenshots attached where the call stack is in a particularly nice position, showing it tried to initialize some D3D9 stuff on a particular monitor). Unfortunately, the console didn't add anything in particular. **Monitors** I'm using both the internal laptop display (3840*2160 native resolution) and an old (2003) Apple Cinema Display 23 inches (1900*1200). The monitors are configured with the laptop display bottom and external (HDMI+DVI) display top. The main laptop display is configured to increase the size of text by 225%, whereas the external display is configured as 100% - see screenshot. **Some more steps taken** I have tried using the menu with clicks or shortcut, with Blender on the laptop screen or the external display, with Blender running on the Intel HD or NVIDIA GPUs, to no avail, the same hang happens.

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @birdypme

Added subscriber: @birdypme

Added subscriber: @Sergey

Added subscriber: @Sergey

The backtrace are showing GDI32 appearing, which is likely a cause of the problem. Make sure you've got latest official drivers installed for both Intel and NVidia cards (NOT the ones from Microsoft update center) and try reproducing the issue.

If that doesn't help, download opengl32.dll from ftp://ftp.blender.org/sergey/softwaregl/ and put it next to blender.exe. This will switch Blender to fully software OpenGL mode which is slower but free of platform/vendor specific bugs and will let us to conclude whether the issue is on Blender side of on driver side (Blender we can fix, drivers we can not).

The backtrace are showing GDI32 appearing, which is likely a cause of the problem. Make sure you've got latest official drivers installed for both Intel and NVidia cards (NOT the ones from Microsoft update center) and try reproducing the issue. If that doesn't help, download opengl32.dll from ftp://ftp.blender.org/sergey/softwaregl/ and put it next to blender.exe. This will switch Blender to fully software OpenGL mode which is slower but free of platform/vendor specific bugs and will let us to conclude whether the issue is on Blender side of on driver side (Blender we can fix, drivers we can not).

Hello, I have tried with the latest Intel Driver (the NVIDIA drivers were already the latest one from NVIDIA), and the result is the same.
I have also tried the opengl DLL you provided. The rendering is much slower (even the menus display), but the duplicate window menu entry still makes blender hang.
Let me know if I can take more steps to help you. I have a Visual Studio 2015 installed on my system, and I have downloaded the sources for the version, which means I could probably step through the loop if I can get the pdb files for the official binaries - if this helps you, of course.

Hello, I have tried with the latest Intel Driver (the NVIDIA drivers were already the latest one from NVIDIA), and the result is the same. I have also tried the opengl DLL you provided. The rendering is much slower (even the menus display), but the duplicate window menu entry still makes blender hang. Let me know if I can take more steps to help you. I have a Visual Studio 2015 installed on my system, and I have downloaded the sources for the version, which means I could probably step through the loop if I can get the pdb files for the official binaries - if this helps you, of course.

Hello Sergey,
I have fixed the problem by uninstalling "Nahimic for MSI" which was installed by default on the computer. This is a MSI tool to give 'enhanced features' to the sound card.
Actually, I could create new window by SHIFT-click-dragging the + icon and put it on the other screen (before uninstalling Nahimic). After saving this setup as my default layout, I quit Blender. After that, blender started to hang even before it opened.
I used Visual Studio to look at the stack and try to get more information, finding the 'NahimicMSIOSD.dll' on the most recent position in the stack.
A quick search of NahimicMSIOSD on the net did get some results about hanging. Uninstalling the Nahimic tool immediately fixed the issue (I can now launch blender with the double monitor setup, and use the 'duplicate window' menu entry without a crash).
I'm giving all the details here in hope it may help someone else with a brand new MSI computer. Installing a newer version of the Nahimic tool may or may not fix the issue too, but I don't think I really need it.
The issue is clearly not on Blender side and you may close this issue.
I thank you for your time on this.
Julien

Hello Sergey, I have fixed the problem by uninstalling "Nahimic for MSI" which was installed by default on the computer. This is a MSI tool to give 'enhanced features' to the sound card. Actually, I could create new window by SHIFT-click-dragging the + icon and put it on the other screen (before uninstalling Nahimic). After saving this setup as my default layout, I quit Blender. After that, blender started to hang even before it opened. I used Visual Studio to look at the stack and try to get more information, finding the 'NahimicMSIOSD.dll' on the most recent position in the stack. A quick search of NahimicMSIOSD on the net did get some results about hanging. Uninstalling the Nahimic tool immediately fixed the issue (I can now launch blender with the double monitor setup, and use the 'duplicate window' menu entry without a crash). I'm giving all the details here in hope it may help someone else with a brand new MSI computer. Installing a newer version of the Nahimic tool may or may not fix the issue too, but I don't think I really need it. The issue is clearly not on Blender side and you may close this issue. I thank you for your time on this. Julien

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Campbell Barton self-assigned this 2016-01-24 23:51:01 +01:00

We're getting reports like this more often, added compatibility pages to the manual.

https://www.blender.org/manual/troubleshooting/compatibility_windows.html

We're getting reports like this more often, added compatibility pages to the manual. https://www.blender.org/manual/troubleshooting/compatibility_windows.html
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#47224
No description provided.