Blender crash with illegal instruction in »Collection/Exact« Boolean Modifier #81835

Closed
opened 2020-10-19 11:13:36 +02:00 by Martin Capitanio · 10 comments

System Information
Operating system: Linux-5.4.0-51-generic-x86_64-with-debian-bullseye-sid 64 Bits
Graphics card: AMD Radeon HD 7700 Series (VERDE, DRM 3.35.0, 5.4.0-51-generic, LLVM 11.0.0) X.Org 4.6 (Core Profile) Mesa 20.2.1 - kisak-mesa PPA

Blender Version
Broken: version: 2.91.0 Alpha, branch: master, commit date: 2020-10-15 21:02, hash: ba8233174c
Worked: (newest version of Blender that worked as expected)
Never.

Short description of error
Blender crash with:
received signal SIGILL, Illegal instruction.
0x000000000855e430 in __gmpn_copyi ()

Exact steps for others to reproduce the error

  • Add Exact Boolean Modifier to the default cube.
  • Add a cylinder to a new collection and setect that collection in the cube modifier.
  • Duplicate the cylinder.
  • Blender crasches:

gdb output

...
New Thread 0x7fffce53d700 (LWP 24229)]
[New Thread 0x7fffcd93c700 (LWP 24230)]
[New Thread 0x7fffcb57f700 (LWP 24231)]
[New Thread 0x7fffcabff700 (LWP 24232)]
[Thread 0x7fffcabff700 (LWP 24232) exited]
[New Thread 0x7fffca3fe700 (LWP 24233)]
found bundled python: /opt/blender/blender-2.91.0-ba8233174cd7-linux64-201015/2.91/python
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

Thread 1 "blender91" received signal SIGILL, Illegal instruction.
0x000000000855e430 in __gmpn_copyi ()

bt
- 0  0x000000000855e430 in __gmpn_copyi ()
- 1  0x00000000085663e3 in __gmpn_tdiv_qr ()
- 2  0x0000000008564617 in __gmpn_gcd ()
- 3  0x000000000855fdd8 in __gmpz_gcd ()
- 4  0x00000000085413f0 in  ()
- 5  0x0000000008541583 in __gmpq_add ()
- 6  0x0000000008440ba8 in blender::incircle(blender::mpq2 const&, blender::mpq2 const&, blender::mpq2 const&, blender::mpq2 const&) ()
- 7  0x000000000841891d in void blender::meshintersect::dc_tri<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >(blender::meshintersect::CDTArrangement<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >*, blender::Array<blender::meshintersect::SiteInfo<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >, blender::default_inline_buffer_capacity(sizeof (blender::meshintersect::SiteInfo<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >)), blender::GuardedAllocator>&, int, int, blender::meshintersect::SymEdge<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >**, blender::meshintersect::SymEdge<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >**) ()
- 8  0x000000000841d17f in void blender::meshintersect::initial_triangulation<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >(blender::meshintersect::CDTArrangement<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >*) ()
- 9  0x0000000008421250 in blender::meshintersect::CDT_result<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> > blender::meshintersect::delaunay_calc<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >(blender::meshintersect::CDT_input<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> > const&, CDT_output_type) ()
- 10 0x000000000841552a in blender::meshintersect::delaunay_2d_calc(blender::meshintersect::CDT_input<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> > const&, CDT_output_type) ()
- 11 0x0000000008486fd0 in  ()
- 12 0x00000000084896d6 in  ()
- 13 0x00000000084ac012 in  ()
- 14 0x00000000010f3505 in  ()
- 15 0x00000000084ac72c in  ()
- 16 0x0000000001100c05 in  ()
- 17 0x0000000001100ebb in  ()
- 18 0x00000000010fe300 in  ()
- 19 0x00000000084abdef in BLI_task_parallel_range ()
- 20 0x000000000848d017 in blender::meshintersect::trimesh_nary_intersect(blender::meshintersect::IMesh const&, int, std::function<int (int)>, bool, blender::meshintersect::IMeshArena*) ()
- 21 0x000000000847619a in blender::meshintersect::boolean_trimesh(blender::meshintersect::IMesh&, blender::meshintersect::BoolOpType, int, std::function<int (int)>, bool, blender::meshintersect::IMeshArena*) ()
- 22 0x00000000084795aa in blender::meshintersect::boolean_mesh(blender::meshintersect::IMesh&, blender::meshintersect::BoolOpType, int, std::function<int (int)>, bool, blender::meshintersect::IMesh*, blender::meshintersect::IMeshArena*) ()
- 23 0x0000000001b3c618 in  ()
- 24 0x0000000001b3d3a6 in BM_mesh_boolean ()
- 25 0x00000000013a78ec in  ()
- 26 0x00000000010633e8 in  ()
- 27 0x0000000001063fc5 in  ()
- 28 0x000000000106545f in makeDerivedMesh ()
- 29 0x0000000000ef4f00 in BKE_object_handle_data_update ()
- 30 0x0000000000ef520f in BKE_object_eval_uber_data ()
- 31 0x00000000070f8842 in  ()
- 32 0x00000000070f8a12 in  ()
- 33 0x00000000010f3505 in  ()
- 34 0x00000000084aba43 in  ()
- 35 0x0000000001100c05 in  ()
- 36 0x0000000001100ebb in  ()
- 37 0x00000000084ab88a in BLI_task_pool_work_and_wait ()
- 38 0x00000000070f8dc0 in blender::deg::deg_evaluate_on_refresh(blender::deg::Depsgraph*) ()
- 39 0x0000000000f2e1d8 in  ()
- 40 0x000000000110988b in wm_event_do_depsgraph ()
- 41 0x00000000011099c7 in wm_event_do_refresh_wm_and_depsgraph ()
- 42 0x00000000011101aa in wm_event_do_notifiers ()
- 43 0x0000000001105d88 in WM_main ()
#44 0x0000000000d9d78d in main ()


(gdb) disass
Dump of assembler code for function __gmpn_copyi:
   0x000000000855e240 <+0>:	cmp    $0x7,%rdx
   0x000000000855e244 <+4>:	jbe    0x855e4be <__gmpn_copyi+638>
   0x000000000855e24a <+10>:	test   $0x8,%dil
   0x000000000855e24e <+14>:	je     0x855e255 <__gmpn_copyi+21>
   0x000000000855e250 <+16>:	movsq  %ds:(%rsi),%es:(%rdi)
   0x000000000855e252 <+18>:	dec    %rdx
   0x000000000855e255 <+21>:	test   $0x8,%sil
   0x000000000855e259 <+25>:	jne    0x855e2d4 <__gmpn_copyi+148>
   0x000000000855e25b <+27>:	jmp    0x855e28e <__gmpn_copyi+78>
   0x000000000855e25d <+29>:	nopl   (%rax)
   0x000000000855e260 <+32>:	movdqa (%rsi),%xmm0
   0x000000000855e264 <+36>:	movdqa 0x10(%rsi),%xmm1
   0x000000000855e269 <+41>:	movdqa 0x20(%rsi),%xmm2
   0x000000000855e26e <+46>:	movdqa 0x30(%rsi),%xmm3
   0x000000000855e273 <+51>:	lea    0x40(%rsi),%rsi
   0x000000000855e277 <+55>:	movdqa %xmm0,(%rdi)
   0x000000000855e27b <+59>:	movdqa %xmm1,0x10(%rdi)
   0x000000000855e280 <+64>:	movdqa %xmm2,0x20(%rdi)
   0x000000000855e285 <+69>:	movdqa %xmm3,0x30(%rdi)
   0x000000000855e28a <+74>:	lea    0x40(%rdi),%rdi
   0x000000000855e28e <+78>:	sub    $0x8,%rdx
   0x000000000855e292 <+82>:	jae    0x855e260 <__gmpn_copyi+32>
   0x000000000855e294 <+84>:	test   $0x4,%dl
   0x000000000855e297 <+87>:	je     0x855e2b3 <__gmpn_copyi+115>
   0x000000000855e299 <+89>:	movdqa (%rsi),%xmm0
   0x000000000855e29d <+93>:	movdqa 0x10(%rsi),%xmm1
   0x000000000855e2a2 <+98>:	lea    0x20(%rsi),%rsi
   0x000000000855e2a6 <+102>:	movdqa %xmm0,(%rdi)
   0x000000000855e2aa <+106>:	movdqa %xmm1,0x10(%rdi)
   0x000000000855e2af <+111>:	lea    0x20(%rdi),%rdi
   0x000000000855e2b3 <+115>:	test   $0x2,%dl
   0x000000000855e2b6 <+118>:	je     0x855e2c8 <__gmpn_copyi+136>
   0x000000000855e2b8 <+120>:	movdqa (%rsi),%xmm0
   0x000000000855e2bc <+124>:	lea    0x10(%rsi),%rsi
   0x000000000855e2c0 <+128>:	movdqa %xmm0,(%rdi)
   0x000000000855e2c4 <+132>:	lea    0x10(%rdi),%rdi
   0x000000000855e2c8 <+136>:	test   $0x1,%dl
   0x000000000855e2cb <+139>:	je     0x855e2d3 <__gmpn_copyi+147>
   0x000000000855e2cd <+141>:	mov    (%rsi),%r8
   0x000000000855e2d0 <+144>:	mov    %r8,(%rdi)
   0x000000000855e2d3 <+147>:	retq   
   0x000000000855e2d4 <+148>:	cmp    $0x10,%rdx
   0x000000000855e2d8 <+152>:	jb     0x855e417 <__gmpn_copyi+471>
   0x000000000855e2de <+158>:	movaps 0x78(%rsi),%xmm7
   0x000000000855e2e2 <+162>:	movaps 0x68(%rsi),%xmm6
   0x000000000855e2e6 <+166>:	movaps 0x58(%rsi),%xmm5
   0x000000000855e2ea <+170>:	movaps 0x48(%rsi),%xmm4
   0x000000000855e2ee <+174>:	movaps 0x38(%rsi),%xmm3
   0x000000000855e2f2 <+178>:	movaps 0x28(%rsi),%xmm2
   0x000000000855e2f6 <+182>:	lea    0x80(%rsi),%rsi
   0x000000000855e2fd <+189>:	sub    $0x20,%rdx
   0x000000000855e301 <+193>:	jb     0x855e3a8 <__gmpn_copyi+360>
   0x000000000855e307 <+199>:	nopw   0x0(%rax,%rax,1)
   0x000000000855e310 <+208>:	movaps -0x68(%rsi),%xmm1
   0x000000000855e314 <+212>:	sub    $0x10,%rdx
   0x000000000855e318 <+216>:	movaps -0x78(%rsi),%xmm0
   0x000000000855e31c <+220>:	palignr $0x8,%xmm6,%xmm7
   0x000000000855e322 <+226>:	movaps -0x88(%rsi),%xmm8
   0x000000000855e32a <+234>:	movdqa %xmm7,0x70(%rdi)
   0x000000000855e32f <+239>:	palignr $0x8,%xmm5,%xmm6
   0x000000000855e335 <+245>:	movaps 0x78(%rsi),%xmm7
   0x000000000855e339 <+249>:	movdqa %xmm6,0x60(%rdi)
   0x000000000855e33e <+254>:	palignr $0x8,%xmm4,%xmm5
   0x000000000855e344 <+260>:	movaps 0x68(%rsi),%xmm6
   0x000000000855e348 <+264>:	movdqa %xmm5,0x50(%rdi)
   0x000000000855e34d <+269>:	palignr $0x8,%xmm3,%xmm4
   0x000000000855e353 <+275>:	movaps 0x58(%rsi),%xmm5
   0x000000000855e357 <+279>:	movdqa %xmm4,0x40(%rdi)
   0x000000000855e35c <+284>:	palignr $0x8,%xmm2,%xmm3
   0x000000000855e362 <+290>:	movaps 0x48(%rsi),%xmm4
   0x000000000855e366 <+294>:	movdqa %xmm3,0x30(%rdi)
   0x000000000855e36b <+299>:	palignr $0x8,%xmm1,%xmm2
   0x000000000855e371 <+305>:	movaps 0x38(%rsi),%xmm3
   0x000000000855e375 <+309>:	movdqa %xmm2,0x20(%rdi)
   0x000000000855e37a <+314>:	palignr $0x8,%xmm0,%xmm1
   0x000000000855e380 <+320>:	movaps 0x28(%rsi),%xmm2
   0x000000000855e384 <+324>:	movdqa %xmm1,0x10(%rdi)
   0x000000000855e389 <+329>:	palignr $0x8,%xmm8,%xmm0
   0x000000000855e390 <+336>:	lea    0x80(%rsi),%rsi
   0x000000000855e397 <+343>:	movdqa %xmm0,(%rdi)
   0x000000000855e39b <+347>:	lea    0x80(%rdi),%rdi
   0x000000000855e3a2 <+354>:	jae    0x855e310 <__gmpn_copyi+208>
   0x000000000855e3a8 <+360>:	movaps -0x68(%rsi),%xmm1
   0x000000000855e3ac <+364>:	movaps -0x78(%rsi),%xmm0
   0x000000000855e3b0 <+368>:	movaps -0x88(%rsi),%xmm8
   0x000000000855e3b8 <+376>:	palignr $0x8,%xmm6,%xmm7
   0x000000000855e3be <+382>:	movdqa %xmm7,0x70(%rdi)
   0x000000000855e3c3 <+387>:	palignr $0x8,%xmm5,%xmm6
   0x000000000855e3c9 <+393>:	movdqa %xmm6,0x60(%rdi)
   0x000000000855e3ce <+398>:	palignr $0x8,%xmm4,%xmm5
   0x000000000855e3d4 <+404>:	movdqa %xmm5,0x50(%rdi)
   0x000000000855e3d9 <+409>:	palignr $0x8,%xmm3,%xmm4
   0x000000000855e3df <+415>:	movdqa %xmm4,0x40(%rdi)
   0x000000000855e3e4 <+420>:	palignr $0x8,%xmm2,%xmm3
   0x000000000855e3ea <+426>:	movdqa %xmm3,0x30(%rdi)
   0x000000000855e3ef <+431>:	palignr $0x8,%xmm1,%xmm2
   0x000000000855e3f5 <+437>:	movdqa %xmm2,0x20(%rdi)
   0x000000000855e3fa <+442>:	palignr $0x8,%xmm0,%xmm1
   0x000000000855e400 <+448>:	movdqa %xmm1,0x10(%rdi)
   0x000000000855e405 <+453>:	palignr $0x8,%xmm8,%xmm0
   0x000000000855e40c <+460>:	movdqa %xmm0,(%rdi)
   0x000000000855e410 <+464>:	lea    0x80(%rdi),%rdi
   0x000000000855e417 <+471>:	test   $0x8,%dl
   0x000000000855e41a <+474>:	je     0x855e463 <__gmpn_copyi+547>
   0x000000000855e41c <+476>:	movaps 0x38(%rsi),%xmm3
   0x000000000855e420 <+480>:	movaps 0x28(%rsi),%xmm2
   0x000000000855e424 <+484>:	movaps 0x18(%rsi),%xmm1
   0x000000000855e428 <+488>:	movaps 0x8(%rsi),%xmm0
   0x000000000855e42c <+492>:	movaps -0x8(%rsi),%xmm4
=> 0x000000000855e430 <+496>:	palignr $0x8,%xmm2,%xmm3
   0x000000000855e436 <+502>:	movdqa %xmm3,0x30(%rdi)
   0x000000000855e43b <+507>:	palignr $0x8,%xmm1,%xmm2
   0x000000000855e441 <+513>:	movdqa %xmm2,0x20(%rdi)
   0x000000000855e446 <+518>:	palignr $0x8,%xmm0,%xmm1
   0x000000000855e44c <+524>:	movdqa %xmm1,0x10(%rdi)
   0x000000000855e451 <+529>:	palignr $0x8,%xmm4,%xmm0
   0x000000000855e457 <+535>:	lea    0x40(%rsi),%rsi
   0x000000000855e45b <+539>:	movdqa %xmm0,(%rdi)
   0x000000000855e45f <+543>:	lea    0x40(%rdi),%rdi
   0x000000000855e463 <+547>:	test   $0x4,%dl
   0x000000000855e466 <+550>:	je     0x855e491 <__gmpn_copyi+593>
   0x000000000855e468 <+552>:	movaps 0x18(%rsi),%xmm1
   0x000000000855e46c <+556>:	movaps 0x8(%rsi),%xmm0
   0x000000000855e470 <+560>:	palignr $0x8,%xmm0,%xmm1
   0x000000000855e476 <+566>:	movaps -0x8(%rsi),%xmm3
   0x000000000855e47a <+570>:	movdqa %xmm1,0x10(%rdi)
   0x000000000855e47f <+575>:	palignr $0x8,%xmm3,%xmm0
   0x000000000855e485 <+581>:	lea    0x20(%rsi),%rsi
   0x000000000855e489 <+585>:	movdqa %xmm0,(%rdi)
   0x000000000855e48d <+589>:	lea    0x20(%rdi),%rdi
   0x000000000855e491 <+593>:	test   $0x2,%dl
   0x000000000855e494 <+596>:	je     0x855e4b2 <__gmpn_copyi+626>
   0x000000000855e496 <+598>:	movdqa 0x8(%rsi),%xmm0
   0x000000000855e49b <+603>:	movdqa -0x8(%rsi),%xmm3
   0x000000000855e4a0 <+608>:	palignr $0x8,%xmm3,%xmm0
   0x000000000855e4a6 <+614>:	lea    0x10(%rsi),%rsi
   0x000000000855e4aa <+618>:	movdqa %xmm0,(%rdi)
   0x000000000855e4ae <+622>:	lea    0x10(%rdi),%rdi
   0x000000000855e4b2 <+626>:	test   $0x1,%dl
   0x000000000855e4b5 <+629>:	je     0x855e4bd <__gmpn_copyi+637>
   0x000000000855e4b7 <+631>:	mov    (%rsi),%r8
   0x000000000855e4ba <+634>:	mov    %r8,(%rdi)
   0x000000000855e4bd <+637>:	retq   
   0x000000000855e4be <+638>:	lea    -0x8(%rdi),%rdi
   0x000000000855e4c2 <+642>:	sub    $0x4,%edx
   0x000000000855e4c5 <+645>:	jb     0x855e4f6 <__gmpn_copyi+694>
   0x000000000855e4c7 <+647>:	nopw   0x0(%rax,%rax,1)
   0x000000000855e4d0 <+656>:	mov    (%rsi),%r8
   0x000000000855e4d3 <+659>:	mov    0x8(%rsi),%r9
   0x000000000855e4d7 <+663>:	lea    0x20(%rdi),%rdi
   0x000000000855e4db <+667>:	mov    0x10(%rsi),%r10
   0x000000000855e4df <+671>:	mov    0x18(%rsi),%r11
   0x000000000855e4e3 <+675>:	lea    0x20(%rsi),%rsi
   0x000000000855e4e7 <+679>:	mov    %r8,-0x18(%rdi)
   0x000000000855e4eb <+683>:	mov    %r9,-0x10(%rdi)
   0x000000000855e4ef <+687>:	mov    %r10,-0x8(%rdi)
   0x000000000855e4f3 <+691>:	mov    %r11,(%rdi)
   0x000000000855e4f6 <+694>:	test   $0x1,%dl
   0x000000000855e4f9 <+697>:	je     0x855e50a <__gmpn_copyi+714>
   0x000000000855e4fb <+699>:	mov    (%rsi),%r8
   0x000000000855e4fe <+702>:	mov    %r8,0x8(%rdi)
   0x000000000855e502 <+706>:	lea    0x8(%rdi),%rdi
   0x000000000855e506 <+710>:	lea    0x8(%rsi),%rsi
   0x000000000855e50a <+714>:	test   $0x2,%dl
   0x000000000855e50d <+717>:	je     0x855e51e <__gmpn_copyi+734>
   0x000000000855e50f <+719>:	mov    (%rsi),%r8
   0x000000000855e512 <+722>:	mov    0x8(%rsi),%r9
   0x000000000855e516 <+726>:	mov    %r8,0x8(%rdi)
   0x000000000855e51a <+730>:	mov    %r9,0x10(%rdi)
   0x000000000855e51e <+734>:	retq   
End of assembler dump.
(gdb) 

dmesg

[64949.609311] traps: blender91[24302] 
trap invalid opcode ip:855e430 sp:7ffc6fcff658 error:0 in blender[400000+b614000]
**System Information** Operating system: Linux-5.4.0-51-generic-x86_64-with-debian-bullseye-sid 64 Bits Graphics card: AMD Radeon HD 7700 Series (VERDE, DRM 3.35.0, 5.4.0-51-generic, LLVM 11.0.0) X.Org 4.6 (Core Profile) Mesa 20.2.1 - kisak-mesa PPA **Blender Version** Broken: version: 2.91.0 Alpha, branch: master, commit date: 2020-10-15 21:02, hash: `ba8233174c` Worked: (newest version of Blender that worked as expected) Never. **Short description of error** Blender crash with: received signal SIGILL, Illegal instruction. 0x000000000855e430 in __gmpn_copyi () **Exact steps for others to reproduce the error** * Add **Exact** Boolean Modifier to the default cube. * Add a cylinder to a new collection and setect that collection in the cube modifier. * Duplicate the cylinder. * Blender crasches: gdb output ``` ... New Thread 0x7fffce53d700 (LWP 24229)] [New Thread 0x7fffcd93c700 (LWP 24230)] [New Thread 0x7fffcb57f700 (LWP 24231)] [New Thread 0x7fffcabff700 (LWP 24232)] [Thread 0x7fffcabff700 (LWP 24232) exited] [New Thread 0x7fffca3fe700 (LWP 24233)] found bundled python: /opt/blender/blender-2.91.0-ba8233174cd7-linux64-201015/2.91/python 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 Thread 1 "blender91" received signal SIGILL, Illegal instruction. 0x000000000855e430 in __gmpn_copyi () bt - 0 0x000000000855e430 in __gmpn_copyi () - 1 0x00000000085663e3 in __gmpn_tdiv_qr () - 2 0x0000000008564617 in __gmpn_gcd () - 3 0x000000000855fdd8 in __gmpz_gcd () - 4 0x00000000085413f0 in () - 5 0x0000000008541583 in __gmpq_add () - 6 0x0000000008440ba8 in blender::incircle(blender::mpq2 const&, blender::mpq2 const&, blender::mpq2 const&, blender::mpq2 const&) () - 7 0x000000000841891d in void blender::meshintersect::dc_tri<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >(blender::meshintersect::CDTArrangement<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >*, blender::Array<blender::meshintersect::SiteInfo<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >, blender::default_inline_buffer_capacity(sizeof (blender::meshintersect::SiteInfo<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >)), blender::GuardedAllocator>&, int, int, blender::meshintersect::SymEdge<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >**, blender::meshintersect::SymEdge<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >**) () - 8 0x000000000841d17f in void blender::meshintersect::initial_triangulation<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >(blender::meshintersect::CDTArrangement<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >*) () - 9 0x0000000008421250 in blender::meshintersect::CDT_result<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> > blender::meshintersect::delaunay_calc<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >(blender::meshintersect::CDT_input<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> > const&, CDT_output_type) () - 10 0x000000000841552a in blender::meshintersect::delaunay_2d_calc(blender::meshintersect::CDT_input<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> > const&, CDT_output_type) () - 11 0x0000000008486fd0 in () - 12 0x00000000084896d6 in () - 13 0x00000000084ac012 in () - 14 0x00000000010f3505 in () - 15 0x00000000084ac72c in () - 16 0x0000000001100c05 in () - 17 0x0000000001100ebb in () - 18 0x00000000010fe300 in () - 19 0x00000000084abdef in BLI_task_parallel_range () - 20 0x000000000848d017 in blender::meshintersect::trimesh_nary_intersect(blender::meshintersect::IMesh const&, int, std::function<int (int)>, bool, blender::meshintersect::IMeshArena*) () - 21 0x000000000847619a in blender::meshintersect::boolean_trimesh(blender::meshintersect::IMesh&, blender::meshintersect::BoolOpType, int, std::function<int (int)>, bool, blender::meshintersect::IMeshArena*) () - 22 0x00000000084795aa in blender::meshintersect::boolean_mesh(blender::meshintersect::IMesh&, blender::meshintersect::BoolOpType, int, std::function<int (int)>, bool, blender::meshintersect::IMesh*, blender::meshintersect::IMeshArena*) () - 23 0x0000000001b3c618 in () - 24 0x0000000001b3d3a6 in BM_mesh_boolean () - 25 0x00000000013a78ec in () - 26 0x00000000010633e8 in () - 27 0x0000000001063fc5 in () - 28 0x000000000106545f in makeDerivedMesh () - 29 0x0000000000ef4f00 in BKE_object_handle_data_update () - 30 0x0000000000ef520f in BKE_object_eval_uber_data () - 31 0x00000000070f8842 in () - 32 0x00000000070f8a12 in () - 33 0x00000000010f3505 in () - 34 0x00000000084aba43 in () - 35 0x0000000001100c05 in () - 36 0x0000000001100ebb in () - 37 0x00000000084ab88a in BLI_task_pool_work_and_wait () - 38 0x00000000070f8dc0 in blender::deg::deg_evaluate_on_refresh(blender::deg::Depsgraph*) () - 39 0x0000000000f2e1d8 in () - 40 0x000000000110988b in wm_event_do_depsgraph () - 41 0x00000000011099c7 in wm_event_do_refresh_wm_and_depsgraph () - 42 0x00000000011101aa in wm_event_do_notifiers () - 43 0x0000000001105d88 in WM_main () #44 0x0000000000d9d78d in main () (gdb) disass Dump of assembler code for function __gmpn_copyi: 0x000000000855e240 <+0>: cmp $0x7,%rdx 0x000000000855e244 <+4>: jbe 0x855e4be <__gmpn_copyi+638> 0x000000000855e24a <+10>: test $0x8,%dil 0x000000000855e24e <+14>: je 0x855e255 <__gmpn_copyi+21> 0x000000000855e250 <+16>: movsq %ds:(%rsi),%es:(%rdi) 0x000000000855e252 <+18>: dec %rdx 0x000000000855e255 <+21>: test $0x8,%sil 0x000000000855e259 <+25>: jne 0x855e2d4 <__gmpn_copyi+148> 0x000000000855e25b <+27>: jmp 0x855e28e <__gmpn_copyi+78> 0x000000000855e25d <+29>: nopl (%rax) 0x000000000855e260 <+32>: movdqa (%rsi),%xmm0 0x000000000855e264 <+36>: movdqa 0x10(%rsi),%xmm1 0x000000000855e269 <+41>: movdqa 0x20(%rsi),%xmm2 0x000000000855e26e <+46>: movdqa 0x30(%rsi),%xmm3 0x000000000855e273 <+51>: lea 0x40(%rsi),%rsi 0x000000000855e277 <+55>: movdqa %xmm0,(%rdi) 0x000000000855e27b <+59>: movdqa %xmm1,0x10(%rdi) 0x000000000855e280 <+64>: movdqa %xmm2,0x20(%rdi) 0x000000000855e285 <+69>: movdqa %xmm3,0x30(%rdi) 0x000000000855e28a <+74>: lea 0x40(%rdi),%rdi 0x000000000855e28e <+78>: sub $0x8,%rdx 0x000000000855e292 <+82>: jae 0x855e260 <__gmpn_copyi+32> 0x000000000855e294 <+84>: test $0x4,%dl 0x000000000855e297 <+87>: je 0x855e2b3 <__gmpn_copyi+115> 0x000000000855e299 <+89>: movdqa (%rsi),%xmm0 0x000000000855e29d <+93>: movdqa 0x10(%rsi),%xmm1 0x000000000855e2a2 <+98>: lea 0x20(%rsi),%rsi 0x000000000855e2a6 <+102>: movdqa %xmm0,(%rdi) 0x000000000855e2aa <+106>: movdqa %xmm1,0x10(%rdi) 0x000000000855e2af <+111>: lea 0x20(%rdi),%rdi 0x000000000855e2b3 <+115>: test $0x2,%dl 0x000000000855e2b6 <+118>: je 0x855e2c8 <__gmpn_copyi+136> 0x000000000855e2b8 <+120>: movdqa (%rsi),%xmm0 0x000000000855e2bc <+124>: lea 0x10(%rsi),%rsi 0x000000000855e2c0 <+128>: movdqa %xmm0,(%rdi) 0x000000000855e2c4 <+132>: lea 0x10(%rdi),%rdi 0x000000000855e2c8 <+136>: test $0x1,%dl 0x000000000855e2cb <+139>: je 0x855e2d3 <__gmpn_copyi+147> 0x000000000855e2cd <+141>: mov (%rsi),%r8 0x000000000855e2d0 <+144>: mov %r8,(%rdi) 0x000000000855e2d3 <+147>: retq 0x000000000855e2d4 <+148>: cmp $0x10,%rdx 0x000000000855e2d8 <+152>: jb 0x855e417 <__gmpn_copyi+471> 0x000000000855e2de <+158>: movaps 0x78(%rsi),%xmm7 0x000000000855e2e2 <+162>: movaps 0x68(%rsi),%xmm6 0x000000000855e2e6 <+166>: movaps 0x58(%rsi),%xmm5 0x000000000855e2ea <+170>: movaps 0x48(%rsi),%xmm4 0x000000000855e2ee <+174>: movaps 0x38(%rsi),%xmm3 0x000000000855e2f2 <+178>: movaps 0x28(%rsi),%xmm2 0x000000000855e2f6 <+182>: lea 0x80(%rsi),%rsi 0x000000000855e2fd <+189>: sub $0x20,%rdx 0x000000000855e301 <+193>: jb 0x855e3a8 <__gmpn_copyi+360> 0x000000000855e307 <+199>: nopw 0x0(%rax,%rax,1) 0x000000000855e310 <+208>: movaps -0x68(%rsi),%xmm1 0x000000000855e314 <+212>: sub $0x10,%rdx 0x000000000855e318 <+216>: movaps -0x78(%rsi),%xmm0 0x000000000855e31c <+220>: palignr $0x8,%xmm6,%xmm7 0x000000000855e322 <+226>: movaps -0x88(%rsi),%xmm8 0x000000000855e32a <+234>: movdqa %xmm7,0x70(%rdi) 0x000000000855e32f <+239>: palignr $0x8,%xmm5,%xmm6 0x000000000855e335 <+245>: movaps 0x78(%rsi),%xmm7 0x000000000855e339 <+249>: movdqa %xmm6,0x60(%rdi) 0x000000000855e33e <+254>: palignr $0x8,%xmm4,%xmm5 0x000000000855e344 <+260>: movaps 0x68(%rsi),%xmm6 0x000000000855e348 <+264>: movdqa %xmm5,0x50(%rdi) 0x000000000855e34d <+269>: palignr $0x8,%xmm3,%xmm4 0x000000000855e353 <+275>: movaps 0x58(%rsi),%xmm5 0x000000000855e357 <+279>: movdqa %xmm4,0x40(%rdi) 0x000000000855e35c <+284>: palignr $0x8,%xmm2,%xmm3 0x000000000855e362 <+290>: movaps 0x48(%rsi),%xmm4 0x000000000855e366 <+294>: movdqa %xmm3,0x30(%rdi) 0x000000000855e36b <+299>: palignr $0x8,%xmm1,%xmm2 0x000000000855e371 <+305>: movaps 0x38(%rsi),%xmm3 0x000000000855e375 <+309>: movdqa %xmm2,0x20(%rdi) 0x000000000855e37a <+314>: palignr $0x8,%xmm0,%xmm1 0x000000000855e380 <+320>: movaps 0x28(%rsi),%xmm2 0x000000000855e384 <+324>: movdqa %xmm1,0x10(%rdi) 0x000000000855e389 <+329>: palignr $0x8,%xmm8,%xmm0 0x000000000855e390 <+336>: lea 0x80(%rsi),%rsi 0x000000000855e397 <+343>: movdqa %xmm0,(%rdi) 0x000000000855e39b <+347>: lea 0x80(%rdi),%rdi 0x000000000855e3a2 <+354>: jae 0x855e310 <__gmpn_copyi+208> 0x000000000855e3a8 <+360>: movaps -0x68(%rsi),%xmm1 0x000000000855e3ac <+364>: movaps -0x78(%rsi),%xmm0 0x000000000855e3b0 <+368>: movaps -0x88(%rsi),%xmm8 0x000000000855e3b8 <+376>: palignr $0x8,%xmm6,%xmm7 0x000000000855e3be <+382>: movdqa %xmm7,0x70(%rdi) 0x000000000855e3c3 <+387>: palignr $0x8,%xmm5,%xmm6 0x000000000855e3c9 <+393>: movdqa %xmm6,0x60(%rdi) 0x000000000855e3ce <+398>: palignr $0x8,%xmm4,%xmm5 0x000000000855e3d4 <+404>: movdqa %xmm5,0x50(%rdi) 0x000000000855e3d9 <+409>: palignr $0x8,%xmm3,%xmm4 0x000000000855e3df <+415>: movdqa %xmm4,0x40(%rdi) 0x000000000855e3e4 <+420>: palignr $0x8,%xmm2,%xmm3 0x000000000855e3ea <+426>: movdqa %xmm3,0x30(%rdi) 0x000000000855e3ef <+431>: palignr $0x8,%xmm1,%xmm2 0x000000000855e3f5 <+437>: movdqa %xmm2,0x20(%rdi) 0x000000000855e3fa <+442>: palignr $0x8,%xmm0,%xmm1 0x000000000855e400 <+448>: movdqa %xmm1,0x10(%rdi) 0x000000000855e405 <+453>: palignr $0x8,%xmm8,%xmm0 0x000000000855e40c <+460>: movdqa %xmm0,(%rdi) 0x000000000855e410 <+464>: lea 0x80(%rdi),%rdi 0x000000000855e417 <+471>: test $0x8,%dl 0x000000000855e41a <+474>: je 0x855e463 <__gmpn_copyi+547> 0x000000000855e41c <+476>: movaps 0x38(%rsi),%xmm3 0x000000000855e420 <+480>: movaps 0x28(%rsi),%xmm2 0x000000000855e424 <+484>: movaps 0x18(%rsi),%xmm1 0x000000000855e428 <+488>: movaps 0x8(%rsi),%xmm0 0x000000000855e42c <+492>: movaps -0x8(%rsi),%xmm4 => 0x000000000855e430 <+496>: palignr $0x8,%xmm2,%xmm3 0x000000000855e436 <+502>: movdqa %xmm3,0x30(%rdi) 0x000000000855e43b <+507>: palignr $0x8,%xmm1,%xmm2 0x000000000855e441 <+513>: movdqa %xmm2,0x20(%rdi) 0x000000000855e446 <+518>: palignr $0x8,%xmm0,%xmm1 0x000000000855e44c <+524>: movdqa %xmm1,0x10(%rdi) 0x000000000855e451 <+529>: palignr $0x8,%xmm4,%xmm0 0x000000000855e457 <+535>: lea 0x40(%rsi),%rsi 0x000000000855e45b <+539>: movdqa %xmm0,(%rdi) 0x000000000855e45f <+543>: lea 0x40(%rdi),%rdi 0x000000000855e463 <+547>: test $0x4,%dl 0x000000000855e466 <+550>: je 0x855e491 <__gmpn_copyi+593> 0x000000000855e468 <+552>: movaps 0x18(%rsi),%xmm1 0x000000000855e46c <+556>: movaps 0x8(%rsi),%xmm0 0x000000000855e470 <+560>: palignr $0x8,%xmm0,%xmm1 0x000000000855e476 <+566>: movaps -0x8(%rsi),%xmm3 0x000000000855e47a <+570>: movdqa %xmm1,0x10(%rdi) 0x000000000855e47f <+575>: palignr $0x8,%xmm3,%xmm0 0x000000000855e485 <+581>: lea 0x20(%rsi),%rsi 0x000000000855e489 <+585>: movdqa %xmm0,(%rdi) 0x000000000855e48d <+589>: lea 0x20(%rdi),%rdi 0x000000000855e491 <+593>: test $0x2,%dl 0x000000000855e494 <+596>: je 0x855e4b2 <__gmpn_copyi+626> 0x000000000855e496 <+598>: movdqa 0x8(%rsi),%xmm0 0x000000000855e49b <+603>: movdqa -0x8(%rsi),%xmm3 0x000000000855e4a0 <+608>: palignr $0x8,%xmm3,%xmm0 0x000000000855e4a6 <+614>: lea 0x10(%rsi),%rsi 0x000000000855e4aa <+618>: movdqa %xmm0,(%rdi) 0x000000000855e4ae <+622>: lea 0x10(%rdi),%rdi 0x000000000855e4b2 <+626>: test $0x1,%dl 0x000000000855e4b5 <+629>: je 0x855e4bd <__gmpn_copyi+637> 0x000000000855e4b7 <+631>: mov (%rsi),%r8 0x000000000855e4ba <+634>: mov %r8,(%rdi) 0x000000000855e4bd <+637>: retq 0x000000000855e4be <+638>: lea -0x8(%rdi),%rdi 0x000000000855e4c2 <+642>: sub $0x4,%edx 0x000000000855e4c5 <+645>: jb 0x855e4f6 <__gmpn_copyi+694> 0x000000000855e4c7 <+647>: nopw 0x0(%rax,%rax,1) 0x000000000855e4d0 <+656>: mov (%rsi),%r8 0x000000000855e4d3 <+659>: mov 0x8(%rsi),%r9 0x000000000855e4d7 <+663>: lea 0x20(%rdi),%rdi 0x000000000855e4db <+667>: mov 0x10(%rsi),%r10 0x000000000855e4df <+671>: mov 0x18(%rsi),%r11 0x000000000855e4e3 <+675>: lea 0x20(%rsi),%rsi 0x000000000855e4e7 <+679>: mov %r8,-0x18(%rdi) 0x000000000855e4eb <+683>: mov %r9,-0x10(%rdi) 0x000000000855e4ef <+687>: mov %r10,-0x8(%rdi) 0x000000000855e4f3 <+691>: mov %r11,(%rdi) 0x000000000855e4f6 <+694>: test $0x1,%dl 0x000000000855e4f9 <+697>: je 0x855e50a <__gmpn_copyi+714> 0x000000000855e4fb <+699>: mov (%rsi),%r8 0x000000000855e4fe <+702>: mov %r8,0x8(%rdi) 0x000000000855e502 <+706>: lea 0x8(%rdi),%rdi 0x000000000855e506 <+710>: lea 0x8(%rsi),%rsi 0x000000000855e50a <+714>: test $0x2,%dl 0x000000000855e50d <+717>: je 0x855e51e <__gmpn_copyi+734> 0x000000000855e50f <+719>: mov (%rsi),%r8 0x000000000855e512 <+722>: mov 0x8(%rsi),%r9 0x000000000855e516 <+726>: mov %r8,0x8(%rdi) 0x000000000855e51a <+730>: mov %r9,0x10(%rdi) 0x000000000855e51e <+734>: retq End of assembler dump. (gdb) ``` dmesg ``` [64949.609311] traps: blender91[24302] trap invalid opcode ip:855e430 sp:7ffc6fcff658 error:0 in blender[400000+b614000] ```

Added subscriber: @capnm

Added subscriber: @capnm

Added subscriber: @amirkhan-4

Added subscriber: @amirkhan-4

Added subscriber: @deadpin

Added subscriber: @deadpin

What is the exact model of your CPU? This information will help determine if the palignr instruction above is really at fault here.

What is the exact model of your CPU? This information will help determine if the `palignr` instruction above is really at fault here.

What is the exact model of your CPU?

$ cat /proc/cpuinfo

processor	: 0
vendor_id	: AuthenticAMD
cpu family	: 16
model		: 4
model name	: AMD Phenom(tm) II X2 560 Processor
stepping	: 3
microcode	: 0x10000c8
cpu MHz		: 3300.000
cache size	: 512 KB
physical id	: 0
siblings	: 2
core id		: 0
cpu cores	: 2
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 5
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt hw_pstate vmmcall npt lbrv svm_lock nrip_save
bugs		: tlb_mmatch fxsave_leak sysret_ss_attrs null_seg spectre_v1 spectre_v2
bogomips	: 6615.17
TLB size	: 1024 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate
...

> What is the exact model of your CPU? $ cat /proc/cpuinfo ``` processor : 0 vendor_id : AuthenticAMD cpu family : 16 model : 4 model name : AMD Phenom(tm) II X2 560 Processor stepping : 3 microcode : 0x10000c8 cpu MHz : 3300.000 cache size : 512 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt hw_pstate vmmcall npt lbrv svm_lock nrip_save bugs : tlb_mmatch fxsave_leak sysret_ss_attrs null_seg spectre_v1 spectre_v2 bogomips : 6615.17 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 48 bits physical, 48 bits virtual power management: ts ttp tm stc 100mhzsteps hwpstate ... ```

This issue was referenced by 1c08ab4535

This issue was referenced by 1c08ab45357ca0884107bbc5e159097c9c58cc19

Changed status from 'Needs Triage' to: 'Resolved'

Changed status from 'Needs Triage' to: 'Resolved'
Sergey Sharybin self-assigned this 2020-10-20 16:19:34 +02:00

This issue was referenced by None@62497

This issue was referenced by None@62497

Please grab latest Linux build from builder.blender.org and see if it works.

Please grab latest Linux build from builder.blender.org and see if it works.

Please grab latest Linux build from builder.blender.org and see if it works.

Yes it works, your idea was excellent :-)

(Blender 2.91.0 Alpha / October 20, 14:28:55- 1c08ab4535)

> Please grab latest Linux build from builder.blender.org and see if it works. Yes it works, your idea was excellent :-) (Blender 2.91.0 Alpha / October 20, 14:28:55- 1c08ab45357c)
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
FBX
Interest
Freestyle
Interest
Geometry Nodes
Interest
glTF
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 & 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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
Asset System
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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#81835
No description provided.