TransWikia.com

Linux crash DiscretizeRegion

Mathematica Asked by 32u-nd on March 24, 2021

Good evening,

can anyone confirm this bug on his/her Linux machine and Windows machine?

DiscretizeRegion@RegionDifference[Region@Rectangle[{1200,-3028},{1800,-2428}], Region@Disk[{4822,-1220}, {3622,3016}, {Pi,2*Pi}]]

This is a simple region complement of a rectange and a bottom-half ellipse (I need to cut a ceramic tile for my backyard). RegionDifference is ok, but the discretizing fails without any message or warning; the kernel simply crashes. I’m running 12.2.0 for Linux x86 (64-bit) (December 12, 2020) on Kubuntu 20.10 64-bit, kernel 5.8.0-43. Thanks!

One Answer

Bug confirmed by Wolfram (on 09-MAR-2021). Suggested workaround: execute DiscretizeRegion[Disk[]] before running the regular code. I guess this is needed to do some initialization; and it does the trick ;-)

Correct answer by 32u-nd on March 24, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP