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!

  • $\begingroup$ (1) I don't get a crash on my Mac (which maybe you know, since you don't ask about Macs). (2) While the command works despite the syntax "error" that is indicated by the Front End, you might try the documented syntax without the {} around the regions: DiscretizeRegion@RegionDifference[Region@Rectangle[{1200, -3028}, {1800, -2428}], Region@Disk[{4822, -1220}, {3622, 3016}, {Pi, 2*Pi}]] (probably won't help, but worth a try). $\endgroup$
    – Michael E2
    Mar 6, 2021 at 18:48
  • $\begingroup$ Nope, still a "silent" crash :( -- removed the list; thanks for the info. Copy+Paste error. $\endgroup$
    – 32u-nd
    Mar 6, 2021 at 18:49
  • 1
    $\begingroup$ No crash on Windows 10 - I ran it ten times. $\endgroup$
    – flinty
    Mar 6, 2021 at 19:06
  • $\begingroup$ I have a crash on "12.2.0 for Linux x86 (64-bit) (December 12, 2020)" on Linux 4.19.0-14-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30) x86_64 GNU/Linux $\endgroup$
    – mikado
    Mar 6, 2021 at 22:00
  • 1
    $\begingroup$ I do observe a kernel crash on Mma 12.2.0, Fedora 32, kernel 5.10.19. The OP should report this to WRI, $\endgroup$
    – vsht
    Mar 7, 2021 at 9:43

1 Answer 1


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 ;-)


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.