Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1897680

Summary: Blender crash on STL import
Product: [Fedora] Fedora Reporter: Andrea <andreabravetti>
Component: blenderAssignee: Luya Tshimbalanga <luya_tfz>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: urgent    
Version: 33CC: design-devel, kendallemm, kwizart, luya, luya_tfz, negativo17, pcweber, promac, qd_linux5_kvm, sbroz
Target Milestone: ---Keywords: Bugfix, Reproducer
Target Release: ---Flags: andreabravetti: needinfo+
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: blender-2.91.0-2.fc33 blender-2.83.9-1.fc32 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-04 19:52:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
blender.crash.txt none

Description Andrea 2020-11-13 18:29:08 UTC
Created attachment 1729208 [details]
blender.crash.txt

Description of problem:

Blender crash any time I import an STL.



Version-Release number of selected component (if applicable):

blender-2.90.1-2.fc33.x86_64



How reproducible:

Start Blender
Import a valid STL, any one.



Steps to Reproduce:

1. Start Blender
2. Import a valid STL, any one.



Actual results:

andrea@sibilla:~$ blender
Read prefs: /home/andrea/.config/blender/2.90/config/userpref.blend
LLVM triggered Diagnostic Handler: Illegal instruction detected: VOP* instruction violates constant bus restriction
renamable $vgpr4 = V_CNDMASK_B32_e32 32768, killed $vgpr5, implicit killed $vcc, implicit $exec
LLVM failed to compile shader
radeonsi: can't compile a main shader part
LLVM triggered Diagnostic Handler: Illegal instruction detected: VOP* instruction violates constant bus restriction
renamable $vgpr2 = V_CNDMASK_B32_e32 32768, killed $vgpr2, implicit killed $vcc, implicit $exec
LLVM failed to compile shader
radeonsi: can't compile a main shader part
Info: Deleted 1 object(s)

Info: Deleted 1 object(s)

Info: Deleted 1 object(s)

Writing: /tmp/blender.crash.txt
Segmentation fault (core dumped)



Expected results:

It should import the STL...



Additional info:

Comment 1 Stepan Broz 2020-11-14 11:31:17 UTC
Reproduced, crashes for me reliably too.

Comment 2 Luya Tshimbalanga 2020-11-14 18:49:43 UTC
Known issue from upstream seemly caused by Alembic,
- https://developer.blender.org/D7703
- https://developer.blender.org/T75436
- https://developer.blender.org/T75252

Would someone reproduce the problem on a non-AMD hardware?

Comment 3 Stepan Broz 2020-11-16 12:43:30 UTC
It crashed for me on an Intel (CPU + integrated GPU).

Comment 4 Andrea 2020-11-16 13:17:58 UTC
For me it crash also on:

[root@vm33 ~]# lshw -c video
  *-display                 
       description: VGA compatible controller
       product: Virtio GPU
       vendor: Red Hat, Inc.
       physical id: 1
       bus info: pci@0000:00:01.0
       version: 01
       width: 64 bits
       clock: 33MHz
       capabilities: msix vga_controller bus_master cap_list rom
       configuration: driver=virtio-pci latency=0
       resources: irq:21 memory:fc800000-fcffffff memory:fda00000-fda03fff memory:fea14000-fea14fff memory:c0000-dffff

Comment 5 Phil Weber 2020-11-16 22:38:06 UTC
I've had the problem as well and have the feeling that the current Blender requires Python 3.7 as opposed to 3.9. The bug can be replicated by deleting and then reinstalling Blender and with the new blender, change the preferences as they come up. There will be a crash.

Comment 6 Luya Tshimbalanga 2020-11-17 02:18:22 UTC
One of key issues:
"LLVM triggered Diagnostic Handler: Illegal instruction detected: VOP* instruction violates constant bus restriction
renamable $vgpr4 = V_CNDMASK_B32_e32 32768, killed $vgpr5, implicit killed $vcc, implicit $exec
"
Through investigation, it is related to https://developer.blender.org/T81835

The choice is either wait for the incoming 2.91 release (https://developer.blender.org/project/view/117/) or look through upstream patches.

Comment 7 Andrea 2020-11-28 14:01:22 UTC
(In reply to Luya Tshimbalanga from comment #6)
> The choice is either wait for the incoming 2.91 release
> (https://developer.blender.org/project/view/117/) or look through upstream
> patches.

Blender 2.91 was released

Comment 8 Luya Tshimbalanga 2020-11-28 17:41:47 UTC
Please test https://koji.fedoraproject.org/koji/taskinfo?taskID=56312448. You will need to install openxr first https://koji.fedoraproject.org/koji/buildinfo?buildID=1645971.

Comment 9 Fedora Update System 2020-11-28 21:17:23 UTC
FEDORA-2020-e807be8b1d has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-e807be8b1d

Comment 10 Fedora Update System 2020-11-28 21:17:46 UTC
FEDORA-2020-1aef1e9bca has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-1aef1e9bca

Comment 11 Fedora Update System 2020-11-29 02:08:18 UTC
FEDORA-2020-1aef1e9bca has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-1aef1e9bca`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-1aef1e9bca

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2020-11-29 02:13:37 UTC
FEDORA-2020-e807be8b1d has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-e807be8b1d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-e807be8b1d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Luya Tshimbalanga 2020-12-02 02:50:16 UTC
*** Bug 1903286 has been marked as a duplicate of this bug. ***

Comment 14 Fedora Update System 2020-12-04 19:52:03 UTC
FEDORA-2020-1aef1e9bca has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Fedora Update System 2020-12-07 01:16:32 UTC
FEDORA-2020-e807be8b1d has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 16 Atsushi 2020-12-19 13:28:58 UTC
This problem still persists, i use blend file in https://svn.blender.org/svnroot/bf-blender/trunk/lib/benchmarks/cycles/barbershop_interior/.
it randomly crash, blender rpm version is 2.91.0-2.fc33.x86_64.