Floating point exception (crash) when switching to Edit mode #72387

Closed
opened 2019-12-12 14:21:28 +01:00 by Amaral Krichman · 25 comments

System Information
Operating system: Linux-5.3.0-23-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: AMD BONAIRE (DRM 2.50.0, 5.3.0-23-generic, LLVM 9.0.1) X.Org 4.5 (Core Profile) Mesa 20.0.0-devel (git-8259c97 2019-12-07 eoan-oibaf-ppa)

Blender Version
Broken: version: 2.82 (sub 5), branch: master, commit date: 2019-12-11 18:53, hash: b03066f7ee

Short description of error
Blender starts normally, the minute I try to switch to edit mode, be it via hotkeys, calling the operator from the search menu or just switching from the mode list, it crashes. Other modes work just fine.
I've tried with --factory-startup but the results are the same.

I'm starting to think that perhaps it's something I might have done on my end with Ubuntu? Could that be possible?
Clearly something's not working in blender, but I can run 2.82, 2.81a and 2.81 just fine from Windows, and until fairly recently, (before it started crashing on #72258) I was running 2.81 just fine in Linux too.

Exact steps for others to reproduce the error
Enter editmode

I'm including system info and my config files.
system-info.txt

Edit: I removed the config files and keymap related stuff to avoid confusion. The debug-gpu log is in the comments.

**System Information** Operating system: Linux-5.3.0-23-generic-x86_64-with-debian-buster-sid 64 Bits Graphics card: AMD BONAIRE (DRM 2.50.0, 5.3.0-23-generic, LLVM 9.0.1) X.Org 4.5 (Core Profile) Mesa 20.0.0-devel (git-8259c97 2019-12-07 eoan-oibaf-ppa) **Blender Version** Broken: version: 2.82 (sub 5), branch: master, commit date: 2019-12-11 18:53, hash: `b03066f7ee` **Short description of error** Blender starts normally, the minute I try to switch to edit mode, be it via hotkeys, calling the operator from the search menu or just switching from the mode list, it crashes. Other modes work just fine. I've tried with `--factory-startup` but the results are the same. I'm starting to think that perhaps it's something I might have done on my end with Ubuntu? Could that be possible? Clearly something's not working in blender, but I can run 2.82, 2.81a and 2.81 just fine from Windows, and until fairly recently, (before it started crashing on #72258) I was running 2.81 just fine in Linux too. **Exact steps for others to reproduce the error** Enter editmode I'm including system info and my config files. [system-info.txt](https://archive.blender.org/developer/F8212653/system-info.txt) *Edit: I removed the config files and keymap related stuff to avoid confusion. The debug-gpu log is in the comments.*

Added subscriber: @karmaral

Added subscriber: @karmaral

#72885 was marked as duplicate of this issue

#72885 was marked as duplicate of this issue

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Is the custom keymap related to cash?
To find out, try after loading Factory Settings. (File -> Defaults -> Load Factory Settings)
If it is not related, this information will only hinder.

Also try to run blender_debug-gpu.cmd that is included in the download. After Blender closes, the logs will be in a text file which can be attached here.

Is the custom keymap related to cash? To find out, try after loading Factory Settings. (`File -> Defaults -> Load Factory Settings`) If it is not related, this information will only hinder. Also try to run `blender_debug-gpu.cmd` that is included in the download. After Blender closes, the logs will be in a text file which can be attached here.

In #72387#829491, @mano-wii wrote:
Is the custom keymap related to cash?
To find out, try after loading Factory Settings. (File -> Defaults -> Load Factory Settings)
If it is not related, this information will only hinder..

It seems it isn't. I only included it because both errors started happening simultaneously. I will edit the post appropiately then.

Also try to run blender_debug-gpu.cmd that is included in the download. After Blender closes, the logs will be in a text file which can be attached here.

What download? I don't have such file, but it should be the same as -d --debug-gpu , right?gpu-dump.txt

After peeking the logs I bit, I tried switching to editmode with overlays disabled, and this time it didn't crash. As soon as I turn them back on while in editmode, it crashes. I suppose that narrows it down a bit.

> In #72387#829491, @mano-wii wrote: > Is the custom keymap related to cash? > To find out, try after loading Factory Settings. (`File -> Defaults -> Load Factory Settings`) > If it is not related, this information will only hinder.. It seems it isn't. I only included it because both errors started happening simultaneously. I will edit the post appropiately then. > Also try to run `blender_debug-gpu.cmd` that is included in the download. After Blender closes, the logs will be in a text file which can be attached here. What download? I don't have such file, but it should be the same as `-d --debug-gpu` , right?[gpu-dump.txt](https://archive.blender.org/developer/F8232545/gpu-dump.txt) After peeking the logs I bit, I tried switching to editmode with overlays disabled, and this time it didn't crash. As soon as I turn them back on while in editmode, it crashes. I suppose that narrows it down a bit.

Added subscriber: @AlanT

Added subscriber: @AlanT

I've been having similar problems and I think there are enough similarities for me to mention them here.

  • Downloaded blender crashes when run. When run from a terminal I get a Division by Zero error.
  • A locally compiled version of blender runs but when I go into edit mode it crashes (deep inside glFlush()).
  • The locally compiled version doesn't crash if I disable overlays.
  • I also had a feeling it was something to do with my system because my locally compiled version was working and then stopped working without me git pulling/rebasing.
  • I'm using an AMD GCN2 (Sea Islands family) based video card - Hawaii (Bonaire is also GCN2).

I've fixed (side stepped?) the crash by switching from radeon drivers to amdgpu drivers. Switching back to radeon drivers causes blender to crash again.

I'm using Arch Linux and used these links for information on switching drivers:

R9 390 (Hawaii) series poor performance and/or instability
Enable Southern Islands (SI) and Sea Islands (CIK) support

I hope this helps you with your crash.

system-info.txt dump.txt

I've been having similar problems and I think there are enough similarities for me to mention them here. - Downloaded blender crashes when run. When run from a terminal I get a Division by Zero error. - A locally compiled version of blender runs but when I go into edit mode it crashes (deep inside glFlush()). - The locally compiled version doesn't crash if I disable overlays. - I also had a feeling it was something to do with my system because my locally compiled version was working and then stopped working without me git pulling/rebasing. - I'm using an AMD GCN2 (Sea Islands family) based video card - Hawaii (Bonaire is also GCN2). I've fixed (side stepped?) the crash by switching from radeon drivers to amdgpu drivers. Switching back to radeon drivers causes blender to crash again. I'm using Arch Linux and used these links for information on switching drivers: [R9 390 (Hawaii) series poor performance and/or instability ](https://wiki.archlinux.org/index.php/AMDGPU#R9_390_series_poor_performance_and/or_instability) [Enable Southern Islands (SI) and Sea Islands (CIK) support ](https://wiki.archlinux.org/index.php/AMDGPU#Enable_Southern_Islands_(SI)_and_Sea_Islands_(CIK)_support) I hope this helps you with your crash. [system-info.txt](https://archive.blender.org/developer/F8234775/system-info.txt) [dump.txt](https://archive.blender.org/developer/F8234777/dump.txt)

The dump file does not indicate much.
What is displayed if the option is just --debug?

The dump file does not indicate much. What is displayed if the option is just `--debug`?

My original dump file was when running blender from the command line where it crashes straight away.

Dump file from the command line with just --debug:
cmd --debug dump.txt

Running debug in Qt Creator where the crash happens when entering edit mode:
QtCreator dump.txt

My original dump file was when running blender from the command line where it crashes straight away. Dump file from the command line with just --debug: [cmd --debug dump.txt](https://archive.blender.org/developer/F8237696/cmd_--debug_dump.txt) Running debug in Qt Creator where the crash happens when entering edit mode: [QtCreator dump.txt](https://archive.blender.org/developer/F8237698/QtCreator_dump.txt)

This is a driver problem.
In fact it seems to be a problem deep inside glFlush().
It would take a lot of trial and error outside the OpenGL API to understand what in blender results in this problem.
But this requires a developer with knowledge of this subject and the same setup available.

This can be hard to achieve.

This is a driver problem. In fact it seems to be a problem deep inside `glFlush()`. It would take a lot of trial and error outside the OpenGL API to understand what in blender results in this problem. But this requires a developer with knowledge of this subject and the same setup available. This can be hard to achieve.

Added subscriber: @georgK

Added subscriber: @georgK

Operating system: Linux-5.4.6-2-MANJARO-x86_64-with-glibc2.29 64 Bits
Graphics card: AMD VERDE (DRM 2.50.0, 5.4.6-2-MANJARO, LLVM 9.0.0) X.Org 4.5 (Core Profile) Mesa 19.3.1

Blender Version
Broken: version: 2.82 (sub 4), branch: master (modified), commit date: 2019-12-10 16:09, hash: 4fa774b533
Worked: the same version worked before manjaro update

Seems like I am also affected:
After the latest manjaro update: [Stable Update] 2019-12-29 that brought mesa up to v 19.3.1-1, the new Blender 17:2.81.a-3 version does not work at all, it crashes at startup - the old version worked without problems. My own build is starting, but crashes with "Floating point exception (core dumped)" when switching to Material preview or Eevee rendered preview - and, like Al reported, when entering Edit mode.

It may be a coincidence, but so far it seems that older AMD gpus are affected (Verde from early 2012, Bonaire early 2013, Hawaii late 2013).

Unfortunately, there seems to be no core dump neither in /tmp nor in the folder that I configured for "Temporary Files".
Now I can't work with Blender at all anymore, so this is really important to me, please fix it.

Operating system: Linux-5.4.6-2-MANJARO-x86_64-with-glibc2.29 64 Bits Graphics card: AMD VERDE (DRM 2.50.0, 5.4.6-2-MANJARO, LLVM 9.0.0) X.Org 4.5 (Core Profile) Mesa 19.3.1 **Blender Version** Broken: version: 2.82 (sub 4), branch: master (modified), commit date: 2019-12-10 16:09, hash: `4fa774b533` Worked: the same version worked before manjaro update Seems like I am also affected: After the latest manjaro update: [Stable Update] 2019-12-29 that brought mesa up to v 19.3.1-1, the new Blender 17:2.81.a-3 version does not work at all, it crashes at startup - the old version worked without problems. My own build is starting, but crashes with "Floating point exception (core dumped)" when switching to Material preview or Eevee rendered preview - and, like Al reported, when entering Edit mode. It may be a coincidence, but so far it seems that older AMD gpus are affected (Verde from early 2012, Bonaire early 2013, Hawaii late 2013). Unfortunately, there seems to be no core dump neither in /tmp nor in the folder that I configured for "Temporary Files". Now I can't work with Blender at all anymore, so this is really important to me, please fix it.

Added subscriber: @seacrow

Added subscriber: @seacrow

Operating System: Manjaro Linux
KDE Plasma Version: 5.17.4
KDE Frameworks Version: 5.65.0
Qt Version: 5.14.0
Kernel Version: 5.4.6-2-MANJARO
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-4590 CPU @ 3.30GHz
Memory: 7.7 GiB of RAM

I am having same problem as Georg K.

"Floating point exception (core dumped)" at startup

nor is there anything in tmp to help

First post here so forgive me if I am not following usual protocol.

Thanks

Operating System: Manjaro Linux KDE Plasma Version: 5.17.4 KDE Frameworks Version: 5.65.0 Qt Version: 5.14.0 Kernel Version: 5.4.6-2-MANJARO OS Type: 64-bit Processors: 4 × Intel® Core™ i5-4590 CPU @ 3.30GHz Memory: 7.7 GiB of RAM I am having same problem as Georg K. "Floating point exception (core dumped)" at startup nor is there anything in tmp to help First post here so forgive me if I am not following usual protocol. Thanks

Added subscriber: @Richard-Kubusch

Added subscriber: @Richard-Kubusch

@seacrow:
Guess you are one of the lucky owners of older AMD graphics as well?
I bypassed the problem by downgrading mesa. Also Blender 2.79 https://download.blender.org/release/Blender2.79/latest/ is still working (but segfaults opening 2.82 projects). Those are no solutions in the longer term, but at least we can continue our projects.

@seacrow: Guess you are one of the lucky owners of older AMD graphics as well? I bypassed the problem by downgrading mesa. Also Blender 2.79 https://download.blender.org/release/Blender2.79/latest/ is still working (but segfaults opening 2.82 projects). Those are no solutions in the longer term, but at least we can continue our projects.

@georgK

Thanks for this.
I'll downgrade mesa.
I was just getting used to Blender 2.82!!

Guess I need to swap out my graphics card if I can scavenge one from my son!

@georgK Thanks for this. I'll downgrade mesa. I was just getting used to Blender 2.82!! Guess I need to swap out my graphics card if I can scavenge one from my son!
Member

Added subscribers: @Kronstoeckel, @StephenSwaney

Added subscribers: @Kronstoeckel, @StephenSwaney

Well. I'm not sure what happened, but a bunch of things got updated via the Software Updater and now everything seems to be working. No crash so far, and the older versions that were previously broken are back.

Here's the list of things. Obviously drivers, but I can't discern much.
update log.txt

I'm using 2.82 3a35301fd1 and no crash when entering editmode so far.
Here's the system info just in case.
system-info.txt

Well. I'm not sure what happened, but a bunch of things got updated via the Software Updater and now everything seems to be working. No crash so far, and the older versions that were previously broken are back. Here's the list of things. Obviously drivers, but I can't discern much. [update log.txt](https://archive.blender.org/developer/F8264717/update_log.txt) I'm using 2.82 3a35301fd16d and no crash when entering editmode so far. Here's the system info just in case. [system-info.txt](https://archive.blender.org/developer/F8264720/system-info.txt)

Since my latest system update blender is working again.

Since my latest system update blender is working again.

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Stephen Swaney self-assigned this 2020-01-13 15:56:35 +01:00

Sounds like everything is working after system software updates.
Closing

Sounds like everything is working after system software updates. Closing

On manjaro stable, the latest Mesa is still 19.3.1-1 from 18.Dec 2019.
What version of Mesa solved it?

On manjaro stable, the latest Mesa is still 19.3.1-1 from 18.Dec 2019. What version of Mesa solved it?

I updated my Arch Linux today and got 19.3.2-1

I updated my Arch Linux today and got 19.3.2-1

Thank you, guess I will have to wait two weeks until it lands on Manjaro, too.
edit:
Solved on Manjaro as well as of 16.1.2020 (upgraded to Mesa 19.3.2-2)

Thank you, guess I will have to wait two weeks until it lands on Manjaro, too. edit: Solved on Manjaro as well as of 16.1.2020 (upgraded to Mesa 19.3.2-2)
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
8 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#72387
No description provided.