TransWikia.com

Kernel crash with RandomInteger

Mathematica Asked by sakra on August 17, 2021

Bug introduced in 11.2


I am using RandomInteger to create sorted test data in the following way:

lists = Sort /@ RandomInteger[10000, {10, 200000}];

With Mathematica 11.3, the kernel crashes on me if I evaluate the line above in the front a couple of times. The crash occurs on both the Windows and OS X versions of Mathematica.
I could not reproduce the bug with Mathematica 11.2.

One Answer

This is a bug that can be worked around by disabling the Suggestions bar.

Given the input, it tries several operations in the background (wrapped in TimeConstrained) and one of these -- a call to Flatten -- happens to crash when interrupted.

The reason $HistoryLength = 0 or ending the input cell with ;Null; works is that it prevents the Suggestions bar from seeing the input.

This is another instance of the same bug.

Correct answer by ilian on August 17, 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