Hot answers tagged

16 votes
Accepted

High Fibonacci numbers

The kernel crashes due to stack overflow. It is not safe to recurse too deeply. Increasing $RecursionLimit to values that are too great (and actually recursing ...
Szabolcs's user avatar
  • 233k
14 votes
Accepted

VideoPlay crashes the Kernel with Mathematica 12.1

This bug has been fixed by a paclet update. This would be applied automatically whenever the functionality is used in a new kernel (as long as the paclet manager has updated its local site index, ...
ilian's user avatar
  • 25.5k
14 votes
Accepted

Internal`CopyListStructure makes fatal error sometimes

Internal context functions have been written for specific uses inside Mathematica internal code. They may expect that the input satisfies certain properties, and may crash if it doesn't. From the code ...
Adam Strzebonski's user avatar
13 votes
Accepted

Can anyone guess what Internal`RadicalMemberQ does?

For an example, Internal`RadicalMemberQ[x y, {x^2 y, x y^3}] (* True *) which means that $x y$ belongs to the radical of the polynomial ideal generated by $x^2 ...
ilian's user avatar
  • 25.5k
11 votes
Accepted

My Computer crashes every time after I run this - Abort Dynamic Evaluation error

I'm not exactly sure what's causing the problem, but you generally want to avoid re-defining functions inside of dynamics like these. Every time the manipulate re-calculates the result, it redefines <...
Sjoerd Smit's user avatar
9 votes

How convert old version 2.2 .ma files to .nb notebooks?

This MathGroup discussion should answer your question, so I'll cite it here: On Tue, 29 May 2012 05:47:52 -0400 (EDT), JCW wrote: Please forgive my dragging up ancient history: I have ...
Alexey Popkov's user avatar
9 votes

Mathematica 11 crashes when using Plot with Label-option within a GraphicsGrid

The issue is reproducible on my 64bit Windows 7 machine. Actually, my PlotExplorer function also suffers from it, causing a crash. Here is the solution that worked ...
István Zachar's user avatar
9 votes
Accepted

Kernel crash solving ODE (Murphy #50), version 11.0.1 on windows

A bit too long for a comment. I think the hang is happening within Integrate: ...
Greg Hurst's user avatar
  • 35.5k
9 votes
Accepted

Kernel crash with RandomInteger

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...
ilian's user avatar
  • 25.5k
8 votes
Accepted

Why does this LibraryLink function crash?

This is a incompatible pointer problem. Just change int const *dims to mint const *dims (a total of 2 places), and the function ...
vapor's user avatar
  • 7,851
8 votes
Accepted

RandomPoint crashes kernel

As part of its algorithm, RandomPoint attempts to determine the region dimension by calling RegionDimension[region1] In ...
ilian's user avatar
  • 25.5k
8 votes
Accepted

Why the Kernel crashes on these integrals in V12?

UPDATE: 24.03.2020 Checked this again on another machine running Windows 10 Pro x64 with Mathematica 12.0 and 12.1 installed. With version 12.0 the code below crashes the Kernel, while version 12.1 ...
Alexey Popkov's user avatar
7 votes

All Graphics3D commands crash

I had the same issue and it drove me crazy for a long time. Do you have any joysticks plugged in? Specifically, if you have a Logitech 'Extreme 3D Pro' joystick plugged in, it will cause Mathematica ...
Dugan Hammock's user avatar
7 votes
Accepted

ListVectorPlot crashes kernel after two evaluations

I saw this problem recently on the Wolfram Community website and answered it there. I'll copy my answer here (http://community.wolfram.com/groups/-/m/t/603973) I'm not sure if there's a simple way to ...
Searke's user avatar
  • 4,404
7 votes

Is it possible to recover an unsaved notebook after closing it?

If your notebook is hung/non-responsive, and you haven't saved changes, don't give up! You can try to kill the kernel processes without killing Mathematica and revive it. I just did this on MacOS ...
Brad's user avatar
  • 71
7 votes

This code crashes the FrontEnd - can I remove anything else?

Thank you for bringing this to our attention. I've done a preliminary investigation. On Unix only the kernel crashes, on Windows the FE crashes (or, more accurately, the FE crashes before the kernel ...
Itai Seggev's user avatar
7 votes

Import JPEG Fails

The bug is in reading Exif metadata. A workaround is to use IncludeMetaInformation -> None option: ...
Piotr Wendykier's user avatar
7 votes
Accepted

Polygons crash kernel?

The "possible issues" section of the documentation for Polygon says that Degenerate polygons are not valid geometric regions A degenerate polygon is a polygon ...
C. E.'s user avatar
  • 70k
7 votes
Accepted

Wrong input to Line[] crashes the Front End

Thanks for reporting the bug. This is fixed in the upcoming 13.0 release (which I expect to be shipping in the next several weeks from the time of this writing). The correct behavior for your ...
John Fultz's user avatar
  • 12.6k
7 votes
Accepted

Why does RegionDifference crash my PC?

Use BoundaryDiscretizeRegion before RegionDifference.( Here we also remove Region) ...
cvgmt's user avatar
  • 63.9k
6 votes

How to speed up TextJustification in Mathematica 10

Wolfram support has pointed out that the problem is confined to the TextJustification, and if this is removed the page creation speeds up. This isn't a solution if ...
Chris Degnen's user avatar
  • 30.8k
6 votes

How to prevent the kernel from exiting when a LibraryLink function segfaults?

If we all agree that bad things still might happen, then here is a start. I have set up a small repository with the code: Catching Segmentation faults in a Wolfram Library It currently works only on ...
halirutan's user avatar
  • 112k
6 votes
Accepted

Mathematica 10.4 freezing after typing in new notebook

I had help from Wolfram on this. For Windows you have to find C:\Users\"name"\AppData\Roaming\Mathematica\SystemFiles\FrontEnd\SystemResources\FunctionalFrequency Where "name" is your name. I had ...
Hugh's user avatar
  • 16.1k
6 votes
Accepted

Mathematica 10 installs but won't start on Windows 7

This is a problem with Windows 7 build 7600 (the original Windows 7 release). More information can be found here or here, but in a nutshell, the processor supports AVX/FMA3 instructions, while the ...
ilian's user avatar
  • 25.5k
6 votes

PDF Export crashes Mathematica

Minimal code Minimal code that reproduces the crash in Mathematica 11.1.1 Windows 7 64 bits ...
6 votes
Accepted

NIntegrate InterpolatingFunction Kernel Crash

That's a bug which I filed. As a workaround you can use: ...
user21's user avatar
  • 39.1k
6 votes
Accepted

Mathematica 11.3 not responding (OS X El Capitan)

After some investigation, it appears that Avira's "Real-time protection" is somehow interfering with the execution of the kernel; the process savapi was using all ...
Mammouth's user avatar
  • 481
6 votes

How to implement a resumable Table?

The function that does the actual calculation: fcalc[n_] := n^2 make file names: ...
Roman's user avatar
  • 46.2k
6 votes

Computing volume of intersection of two regions

This is not ideal, but it gives an approximate resulting region. I first generate random points on the hexagon and add a random vector on the unit sphere. I take the convex hull of the points which is ...
flinty's user avatar
  • 24k
5 votes
Accepted

Why is Mathematica dying?

It is because your loop grows the size of your matrix, and therefore Length[mat] increases, and thus the loop never terminates! It appears that the first index of ...
Quantum_Oli's user avatar
  • 7,884

Only top scored, non community-wiki answers of a minimum length are eligible