Try enable addon Add Mesh: Extra Object = blender crash #84537
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
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
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#84537
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Ubuntu 20.10
Graphics card: AMD RX 5700 XT
Blender Version
Broken:
2.92.0 alpha 2021-01-07 22:28
2.91.0 (2020-11-25 08:34)
Worked: (optional)
Short description of error
When I try and enable the Add Mesh: Extra Object add-on, Blender crashes immediately.
Exact steps for others to reproduce the error
The default startup will do.
Added subscriber: @skittlituted_scorpion
blender/blender#84880 was marked as duplicate of this issue
Added subscriber: @rjg
Changed status from 'Needs Triage' to: 'Needs User Info'
I cannot reproduce this with the current master. Could you please open Blender's installation directory and double click on the
blender_debug_gpu.cmd
. This will start Blender in debug mode and create log files. Try to make Blender crash again. Once it crashes the Windows Explorer should open and show you up to two files, a debug log and the system information. Add them to your bug report by clicking on the upload button as shown in the screenshot below or via drag and drop. Please also upload the crash log located inC:\Users\[your username]\AppData\Local\Temp\[project name].crash.txt
(or simply type%TEMP%
into the path bar of the Windows Explorer).Hi @rjg, i've just tried with the 2.92 alpha from 2021-01-07 with the gpu debug (i'm on linux Ubuntu) and could not reproduce the bug ... but also the whole instance lagging and after shutting down the instance, i tried to open blender 2.92 normally but could not. The problem is still present in my current blender snap version of 2.91.
Am trying to see if a more up to date version will bug, or if it's just my computer doing weird things.
Sry in advance if it wasn't a bug...
Apologies, I provided the instruction for Windows. Please try to start Blender 2.92 with the following flags:
Even if this doesn't crash, please upload the file anyway. Try to start 2.92 normally afterwards, which should crash based on your description, and check if there is a crash log in
/tmp
. Upload this file as well.blender_debug_output.txt here is what the command dumped when i ran 2.91 (downloaded today) : blender didn't even start // its empty ? it said in the terminal :
$ ./blender --debug --debug-gpu > ~/blender_debug_output.txt 2>&1
Aborted (core dumped)
for context, i'm also trying to get OpenCL to work in blender and it isn't going so well ...
tried the
./blender --debug --debug-gpu > ~/blender_debug_output.txt 2>&1
again on a fresh 2.92 on a fresh ubuntu install, it just dumps core and aborts. The output is empty.
i've played around a bit and it seems to be on an issue with certain addons in the addons list... some i can activate, some just make blender crash for me.
So, here's some bad news, i have the same issue with exporting gITF. When i click on export/gITF, blender crashes...
Edit: no that works in 2.92. But not the add mesh: extra objects
Edit 2: nope never mind, crashes when i hit export in the export dialogue...
I've also tried it on a different computer, still in Ubuntu, and it also does not work...
@skittlituted_scorpion Could you please temporarily rename
~/.config/blender/2.92
to something else and try again?@rjg i've renamed the folder to 2.93, downloaded the latest alpha, and it crashed again ...
tried both the addon crash and the export crash from the terminal debug line, and still nothing in the debug file... just
Aborted (core dumped)
to be noted that i'm on a fesh install of Ubuntu, and that when launched with the debug line, Blender is no longer laggy/ frame drops.
Added subscriber: @Mkats13
I think I am running into the same issue here... I have a fresh install of Lubuntu on a virtual machine with a fresh 2.91.0 Blender install, and I am trying to install addons, but the enabling of the addon is creating the similar symptoms.
I ran:
Went to addons, tried to enable extra objects (as common ground addon) I got the same blank text file as @skittlituted_scorpion received with:
Aborted (core dumped)
For the kicks and giggles, tried to export as gITF, and same thing, same empty report, same core dumped.
I am going to attempt to upload the virtual box, hopefully it helps with troubleshooting and seeing the issue at hand. Password is: Blender
LubuntuBlenderDebug.ova
Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'
I'm guessing there might be other features that cause a core dump, havn't found any yet.
I'd really like to help find a why to reproduce, but I have no idea where to look ...
Added subscriber: @scurest
Can you open the Python Console and see if
import numpy
crashes Blender? Someone reported a similar issue on glTF-Blender-IO using Ubuntu 20.10. I see that Add Mesh: Extra Object imports numpy when enabled, and glTF imports numpy when you hit Export, so it'd be consistent.You got it @scurest ! Hit the nail right on the head! Crashes the exact same way as exporting or enabling addons!
Found this: https://askubuntu.com/a/1289381
Added subscriber: @Simon_I
@scurest That is an interesting find. We did have issues in the past where Linux distributions build Blender with an incompatible Python version, but those have been addressed (see blender/blender#81688 and related tickets) and also produced a proper stack trace. Although I'm not entirely certain I was also under the impression that the snap package is maintained by us, thus should have the correct dependencies, but I would have to check. If this also happens with official builds as blender/blender#84752 seems to report, a mismatching Python version doesn't appear to be the cause. You can check the currently running Python version by switching to the Scripting workspace and looking at the Python console. It should be 3.7.7 for 2.91, 2.92, 2.93.
I don't think it's a python version thing, because as reported in blender/blender#84752 it does not happen in the flatpak version, which, as far as I can see, uses the exact same python interpreter as snap and official build: Blender's Python console shows
PYTHON INTERACTIVE CONSOLE 3.7.7 (default, Jul 9 2020, 12:52:49) [GCC 9.3.1 20200408 (Red Hat 9.3.1-2)]
in all three versions.Just spit-balling here (First time trying to help debug something, feel free to tell me to tell me I am wrong) I am looking in the python files the Blender distribution comes with, I see that the numpy version.py file is calling it out as version 1.17.5, I just got done downloading numpy to try check it out and see if I could stumble across something, and when I downloaded it, I got version 1.19.5. Is it possible it just needs the numpy updated? Possibly that all the Linux distributions are using an older numpy?
Added subscriber: @LuisYayo
Changed status from 'Needs Developer To Reproduce' to: 'Needs User Info'
We have a identified a potential cause in blender/blender#84752. Given the similar symptoms, I believe this is the same problem. It might be caused by the function
CFUNCTYPE(c_int)(lambda: None)
called by_reset_cache
in2.9x/python/lib/python3.7/ctypes/__init__.py
which has been removed in newer versions of Python.Could you please create a copy of the
__init__.py
file and rename it to have a copy of the original. Then edit the__init__.py
and remove the line from the file, then check if the crash still occurs? It should be line 273. Afterwards you can remove the edited file rename the copy back to__init__.py
.@rjg @Mkats13 @LuisYayo
Just tried it, commented the
CFUNCTYPE(c_int)(lambda: None)
in2.9x/python/lib/python3.7/ctypes/__init__.py
.Seems to have solved it for me.
The add-on and the export worked this time. Used
2.93 version
which seemed to have the same issue.blender_debug_output.txt
I'll keep a look out for any other issue that seem similar, if they ever occur.
Closed as duplicate of blender/blender#84752