Questions tagged [crash]
Tag used to indicate that a question presents code or methods that may lead to a crash. Useful as a warning to prevent other users from experiencing the same without having saved their work.
273 questions
8
votes
1
answer
353
views
Compile kills kernel with no warnings
Trying to compile this function kills my kernel (14.3.0 and 14.1.0, MacOs 15.2).
(n.b. It is a function that computes the collision time at which two disks with radii=1 with xy-positions pair[[1,1]] ...
0
votes
0
answers
98
views
Wolfram Kernel crashes upon start with OMP_NUM_THREADS system error
I have installed Wolfram 14.2.1 on a headless Linux server in which I have no administration privileges. After installation and activation, I run the executable math...
1
vote
0
answers
216
views
How to keep running big calculations?
I am using Mathemica 14.2.
digit = 10000000;
sequence = {6, 4, 0, 6, 2, 8};
SequencePosition[First[RealDigits[Pi, 10, digit]], sequence]
The code above runs well ...
4
votes
0
answers
238
views
Calculating $e$ to high precision crashes in 14.2.1
With Mathematica 14.1, this simple calculation, run as the first item in a notebook, takes 2.1 seconds.
Timing[N[E, 10000000];]
With 14.2.1, the notebook crashes ...
5
votes
0
answers
208
views
Any work around for many kernel crashes in V 14.2 on DSolve with pde's?
Reported to WRI also [CASE:5261604]
Each one of these DSolve calls cause kernel crash in V 14.2 and 14.2.1 instead of an $Aborted message or an actual solution. (These are from textbook and not made ...
1
vote
1
answer
198
views
GPU computing issues in 14.2.1 with Nvidia 5090 and Windows
(Reported to Wolfram tech support) For example, the command
trained2 = NetTrain[NetModel["LeNet"], "MNIST", TargetDevice -> "GPU"]
...
7
votes
1
answer
172
views
Select on tabular with dates crashes kernel
Bug introduced in 14.2 and fixed in 14.2.1.
...
0
votes
0
answers
34
views
Unexpectedly shutdown when typing in “Simplify[..,Assumptions]" [duplicate]
I’m encountering a strange issue while using Mathematica 14.2 on macOS 15.3.1. Every time I type Simplify[..,Assumptions] and use the autocomplete feature to type Assumptions, Mathematica crashes ...
5
votes
0
answers
208
views
Mathematica 1.6 GB notebook keeps crashing
I have been playing with ListPlot3D and list containing a huge amount of data points. I made the mistake to save the nb without deleting the output graphics (which took a lot to compute) and now when ...
11
votes
2
answers
622
views
Option "Assumptions" can cause crash in a notebook (*.nb)
Update 2
It seems that it has been fixed in V. 14.2.1.
Update
As what Domen mentions in the comment, as well as I have tested it, it seems highly relevant to the option "Code caption language&...
2
votes
0
answers
107
views
Geometric computation crashes - version or code related?
Currently I am doing a little geometric computation that consists of
a) choosing a random rotated rectangle inside a larger rectangle and
b) then compute a cover of this inside rectangle by other ...
2
votes
0
answers
145
views
Kernel crash in PolynomialMod [closed]
Bug introduced in 14.1 or earlier and fixed in 14.3.
The following code runs correctly
PolynomialMod[1-2x+x^(3/2)+I x^2, x^(3/2)]
PolynomialMod[1-2x+I x^2, x]
The ...
10
votes
0
answers
319
views
Bug in Flatten crashes kernel
Bug introduced in 13.0.1 or earlier and fixed in 14.2
This makes kernel crash on version 13.0.1.
Several other combinations of nested empty braces do the same. Is it present in newer versions?
...
0
votes
0
answers
209
views
Weird bug in Mathematica 14.1 when importing and interpolating data
I am importing some data and interpolating it in Mathematica 14.1@Windows 11. I have made a block of code that does this. For some reason, there is a bug: if I leave the interpolation line uncommented ...
0
votes
0
answers
78
views
Mathematica crashes when changing the cell style
I am using Mathematica 13.2.1.0 on Windows 10.
I have experienced it crashing in many notebooks, specifically when changing the cell style, e.g., from Input to text.
How to prevent that?
5
votes
0
answers
282
views
Why does FullSimplify crash the kernel? [closed]
Bug introduced in 13.2 or earlier and fixed in 14.1
Save your work before attempting.
I realise this may get fixed in later versions – I am more interested in the why.
On OSX 14.4 and Mathematica 13.2 ...
8
votes
1
answer
177
views
Plotting two 3D lines causes FE crash
The code below causes the Front End to CRASH. I came across this problem in some code that is very complicated, so I narrowed down the problem to a very simple task, to plot a couple of lines.
...
1
vote
0
answers
91
views
What makes the RegionQ crash for a triangle?
I am using v12.2.0 on Win7-x64.
Clear["Global`*"];
SeedRandom[1];
tri = RandomPolygon[{"Convex", 3}];
t1 = Triangle[tri[[1]]]
Triangle[{{0, 0},...
0
votes
1
answer
182
views
Kernel Crash Using Solve
The following code crashes the Kernel with no error message.
...
7
votes
1
answer
338
views
Why does RegionDifference crash my PC?
I have a simple polygonal region difference:
...
1
vote
0
answers
100
views
Kernel crash during Interpolation
I have a kinda large code of a solver, and after somewhat random amount of iterations it causes Kernel to shutdown with a "pop" sound and no messages. I tracked the exact line that caused it,...
3
votes
1
answer
216
views
Why am I having issues working with large group multiplication tables?
My mathematica running on Wolfram Cloud seems to break down if I use a SymmetricGroup greater than 6. As a basic example, when I run,
...
2
votes
0
answers
162
views
Mathematica 12 notebook shuts down unprompted
I have a piece of code that calculates and plots solutions of a set of 4 differential equations - coordinates of an object moving in a Kerr spacetime to be exact - with customizable initial parameters....
1
vote
0
answers
117
views
Graphics HatchFilling not working, Causes crash
I cannot use HatchFilling in my Mathematica v13.0.1 on Windows.
Whenever I use it, both Mathematica's front end and Kernel crash.
When I open the documentation ...
1
vote
0
answers
151
views
Saving 3D plots in PDF crashes Mathematica in Linux [closed]
I am running Mathematica 12.1 on Fedora 36. When I try to export 3D plots as PDF files, Mathematica crashes. Using the Command Line to get an error log, I am simply reported the title of this post:
<...
0
votes
0
answers
81
views
Crash when repeatedly calling RegionIntersection (and/or Mesh functions)
My kernel (v13.1.0 Windows 64-bit) crashes when repeatedly (~9 times) calling Region functions like RegionIntersection upon ...
1
vote
0
answers
322
views
How can I prevent Mathematica from filling up memory and crashing my PC when I execute a faulty instruction? [closed]
Sometimes I make a silly mistake and run code that keeps on filling up the memory. Once that is filled, my OS starts page swapping, and there's pretty much nothing I can do except reboot the PC.
An ...
4
votes
2
answers
220
views
Kernel quits upon computing RegionIntersection
Using 12.1.1.0 on MacOS BigSur I observe quitting Mathematica kernels when evaluating RegionIntersections on two regions that apparently only touch.
Example for Regions that cause the Kernel to quit ...
2
votes
1
answer
305
views
TextRecognize has a memory leak?
This code causes Mathematica to slowly accumulate memory until it hard crashes my operating system. It does this by overwriting OS memory (windows start going black, graphics drivers start crashing ...
5
votes
2
answers
876
views
Why the Debug .dll is work normall but the Release .dll is crash in librarylink?
The Catenate is very slow in FunctionCompile. So I want to use the librarylink to make a .dll...
3
votes
0
answers
607
views
Why Mathematica 13.1 shuts down completely when printing to console but not to the notebook?
reported to WRI. ID [CASE:4950759]
I just found a very serious problem in V 13.1. Hoping someone will have a workaround.
I am able to reproduce this each time. V 13.1 on windows 10 pro. All from ...
8
votes
0
answers
230
views
Kernel crash with RandomChoice
Bug introduced in 8.0.4 and persisting through 13.0.1 or later (case: 4948255). It has been fixed in 13.2.0 or earlier.
I use Mathematica 12.3.1 for Microsoft Windows (64 bit). While playing with ...
0
votes
0
answers
148
views
FullSimplify crashes kernel
I'm trying to simplify an enormous analytic expression as much as possible. When I use Simplify, I get a half-decent result in about 20 seconds. However when I use <...
0
votes
1
answer
308
views
Mathematica freezes when pressing save as
When I try to save a notebook, Mathematica freezes (https://youtu.be/U-8xsjrOmt0).
If I wait for around 2 minutes the save menu eventually shows up.
If I want to just save existing saved nb., there's ...
4
votes
0
answers
127
views
Area mapped over list of 2 polygons crashes kernel depending on order
I have a list of 2 Polygon objects (see below for the list polys and a visualization). They are all seem valid. Still, when I ...
2
votes
1
answer
327
views
Internal`CopyListStructure makes fatal error sometimes
Warning : At least in my PC (windows 10, mathematica V12.2), some of the codes here led to fatal error.
Fatal means mathematica will freeze + 'Abort Evaluation' will not work. I had to quit the kernel ...
0
votes
0
answers
137
views
Crashing mathematica 12.3 with a simple ODE
I'm trying to solve an ODE using the following code:
...
1
vote
0
answers
185
views
How to fix Mathematica crashing in the following case?
I have a problem with Mathematica when trying to glue two tables together.
The tables have the form
...
1
vote
2
answers
442
views
Mathematica: How can I solve the problem "The Kernel Local has quit (exited) during the course of an evaluation"
I am using a Mac Book with Monterey and 16GB RAM for a calculation with 2 nested For loops.
I am relatively new to Mathematika and still trying to learn the language properly, so I hope the problem is ...
5
votes
1
answer
277
views
Wrong input to Line[] crashes the Front End
WARNING: The code in this post crashes the Front End on my computer, causing all unsaved work to be lost. Be sure to save your work before trying this out!
...
0
votes
2
answers
140
views
Kernel dies when trying to compute coefficients in a linear sum involving expressions like b[1,2][3,4]
The following happens on 11.0.1.0:
Have
...
4
votes
0
answers
227
views
Inconsistent Output Bug and Code-Quits-Kernel Bug with Compile
This is the strangest bug I've encountered. In my experience, variations in the code will unexpectedly crash the kernel, give inconsistent output, or produce expected results with no problems.
1) Code-...
0
votes
2
answers
370
views
Strategy tips for time consuming FullSimplify, crashing FullSimplify, and strange behavior of TimeConstraint
I am trying to simplify a complicated integration result containing both error functions and MeijerG - I give the full expression below. A simple FullSimplify[expression,{x>0,y>0,z>0}] would ...
2
votes
0
answers
201
views
Want to revert back from version 12.3 to 12.1 but kernels no longer run in 12.1 [closed]
I upgraded from 12.1 to 12.3 and then Mathematica began randomly crashing intermittently. It's not reproducible: it crashed when I was rotating a 3D plot twice, crashed once when I tried to save a ...
0
votes
1
answer
154
views
With Intel Xeon(R) E5-2667 v4 and 250GB RAM: still automatically quitting kernel when doing symbolic integrations
[![Here is the configuration for my calculation. Guess it can't be affected by this.][1]][1]
I was in trouble when solving the algebraic equations for q1 and q2.
\begin{equation}\label{eq:18}
\begin{...
0
votes
1
answer
239
views
Mathematica crashes when plotting over region
Mathematica (12.0.0 or 12.3.0) crashes and kernel quits on my computer (Win 10) when I try the simple exercise of plotting over a region (taken from this Wolfram page):
...
0
votes
0
answers
77
views
Error in Polygon data creation using EntityValue
I tried to apply the simulation of the URL below by changing it to "SouthKorea" and "Seoul" using Mathematica 12.1.
https://community.wolfram.com/groups/-/m/t/1901002
The part ...
0
votes
0
answers
229
views
Upgrade to 12.3 crashes Front end and Kernel after evaluating cell in any notebook
Running Mathematica on Windows 10. Previous installed version was 12.1.
This occurs on any notebook including created new one. My
Mathematica worked just fine when it originally ran on 12.1. Not sure ...
2
votes
1
answer
234
views
Why does generating a list of elements for SparseArray crash the kernel?
I am trying to create a sparse matrix by the SparseArray command. For a set of index pairs $(i,j)$ I want to calculate the $A_{i,j}$ element and then use this ...
1
vote
0
answers
187
views
Mathematica 12.0 crashed when printing a graph
My Mathematica crashes when I simply print a graph to a PDF. For example, when I input this:
Graph[{0->1}]
and then print(using the right-click menu) its output ...