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.

learn more… | top users | synonyms

5
votes
0answers
92 views

How to write crash-robust code?

When a notebook crashes all the work I was doing is lost - I'd like to ameliorate this situation! Is there a way to decorate a symbol so that it is saved to disk whenever it changes, or after a ...
10
votes
2answers
348 views

Why LibraryLink function crashes at a second time?

Bug introduced in 9.0 or earlier and persisting through 10.2.0 on OS X Update As Todd Gayley commented under halirutan's answer, this is a bug. I'm trying link one of Lapack's function to ...
4
votes
0answers
56 views

Front end crash on Export in 10.2 on OS X

Bug introduced in 10.2.0 Appears to be specific to OS X Mathematica 10.2 is reliably crashing for me when trying to export a pdf that has text with ligatures. For example: ...
3
votes
3answers
411 views

Possible bug in v9.0 Rest[] function

Bug introduced in 9.0 and fixed in 9.0.1 Just to be clear, this all works perfectly in v8.0.4.0. It only fails me in v9.0. I use 64-bit Linux, 64-bit versions of Mathematica, and I have 16GB of ...
1
vote
0answers
124 views

Bug? malloc munmap_chunk: Assertion failed [closed]

I run a mathematica script on a Linux system and after two days it dies with the error message MathKernel: malloc.c:3546: munmap_chunk: Assertion `ret == 0' failed. Aborted There should be ...
7
votes
1answer
227 views

Front end freezes on start-up

In version 10.1.0 under Windows 7 x64 I have a repeating problem. Every time I start the Mathematica Front End the Welcome to Wolfram Mathematica screen appears, then freezes and eventually is marked ...
18
votes
0answers
151 views

Listable compiled function crashes the kernel with “no more memory available”

Bug introduced in 9.0.0 and persisting through 10.2.0 I am trying to speed up a function that involves continued fractions. Since ContinuedFraction cannot be ...
8
votes
1answer
161 views

Simple string pattern crashes kernel

Bug introduced in 6.0 or earlier and fixed in 10.1.0 The following code crashes my Mathematica kernel (v9, MacOS): ...
6
votes
1answer
153 views

Manipulate code crashes V10.1

This code is working with Mathematica 9, but Mathematica 10.1 is becomes unresponsive when I try to evaluate it. ...
8
votes
2answers
3k views

Mathematica sporadically crashes on open

Sometimes, when I open Mathematica, while the opening splash screen still says "Initializing Kernel Connections", Windows will tell me that "Wolfram Mathematica 9 has stopped working". This will ...
8
votes
1answer
233 views

FindRoot kills kernel

Bug introduced in 7.0 or earlier and fixed in 10.1.0. I'm having problems with FindRoot killing the kernel. In my real application, I want to ...
7
votes
1answer
196 views

Linux: Mathematica crashes when clicking documentation links very fast

Bug introduced in 10.0.1 or earlier and fixed in 10.1.0 Can someone confirm the following behavior: Open a new Mathematica and go to the documentation. Navigate to any reference page (I used ...
9
votes
1answer
127 views

Kernel Crash while using “ValuesOnGrid” method of InterpolatingFunction

Bug introduced in 10.0.0 and fixed in 10.2.0 I was experiencing some kernel crash while using "ValuesOnGrid" method of an ...
3
votes
0answers
97 views

Det and MatrixRank freezes on SparseArray with nonzero default value

Bug introduced in 7.0 or earlier and fixed in 9.0.1 or earlier Why does the following simple code never come to an end (at least with version 8) ...
7
votes
3answers
573 views

Plotting a 3D list causes kernel to crash if x and y axes have vastly different scales

Bug introduced in 7.0.1 or earlier and fixed in 10.0.2 or earlier I have access to two versions of Mathematica, version 7.0.1 on Linux and version 8 on Windows. When I try the following two lines ...
7
votes
1answer
184 views

Why am I getting a kernel crash on Chop?

Solve bug (see answer) introduced in 9.0 and persisting through 10.2.0 First post, hopefully I figure out the formatting easily. Please forgive me if this posts ...
9
votes
1answer
110 views

Union on Associations (Kernel Kill)

Bug introduced in 10.1 and fixed in 10.2.0 Perhaps Union on Associations is not being encouraged since ...
4
votes
0answers
40 views

Bug? Kernel Crash on SparseArray access [duplicate]

Bug introduced in 5.2 and fixed in 10.1.0 The following simple code s = SparseArray[{}, {10, 10}] s[[1, {1, 2, 3, 1, 1}]] = {a, b, c, d, e} on my machine ...
11
votes
2answers
778 views

Avoiding an unresponsive user interface in OS X

I have found that despite Mathematica's numerous updates, each of which have added much functionality, one fundamental issue remains unaddressed: The unresponsiveness of the UI when I make a mistake ...
1
vote
0answers
44 views

Kernel crash during numerical integral related to internet connection and WolframAutoUpdate

I am having silent kernel crashes whenever I attempt to evaluate a difficult 2D numerical integral. It is not consistently repeatable, in the sense that sometimes the same integral will evaluate ...
3
votes
2answers
98 views

Running bits of code in a separate kernel

I am using Mathematica to generate 3D graphics frame for a video. The process goes as follows: Loop over a counter i Use ...
0
votes
0answers
72 views

How to extract the time t of an interpolated function created by NDSolve? [duplicate]

I'm working with the function NDSolve. I give it the time of integration, the time I want it to evaluate my differential equations. Sometimes, it crashes before the end of its attribuated time ; For ...
0
votes
0answers
46 views

L1-Norm Minimization

I need the function for the L1-Norm Minimization problem formulated here https://reference.wolfram.com/language/tutorial/ConstrainedOptimizationLinearProgramming.html#261990371 ...
7
votes
1answer
683 views

Mathematica 10 crashes on copy/paste

Mathematica 10 crashes in the following (simple) situation: FormulaLookup["gas"] This command will produce a long list of possible formulas. Then I type the ...
7
votes
5answers
544 views

Calculating weird numbers

A weird number is a number such that the sum of the proper divisors (divisors including 1 but not itself) of the number is greater than the number, but no subset of these divisors sums to to ...
0
votes
0answers
78 views

Mathematica keeps crashing my machine — is there a way to prevent Mma from eating up so much system resources so this doesn't happen?

Fairly often Mathematica crashes on me. I'm pretty sure I'm not doing anything too radical or unusual, but I'll try to run some program and it'll be taking too long to evaluate, so maybe I'll hit ...
1
vote
1answer
90 views

Kernel crashed after $RecursionLimit = Infinity

$RecursionLimit = Infinity; T[n_, k_]:= T[n, k] = If[n == 0 || k == 1, 1, T[n, k-1] + If[n<k, 0, T[n-k, k]]]; Table[T[n!, n], {n, 1, 9}] Without ...
0
votes
1answer
77 views

SIGSEGV Error on Plotting Tubes

I have code to plot some "2 dimensional" points in 3D space, and connect a line between them (because ListLinePlot3D takes way to long/hangs), which works fine: ...
7
votes
1answer
157 views

Instant kernel crash when using `+=` on `SparseArray` with repeated entries

Bug introduced in 5.2 and fixed in 10.1.0 Not sure if this is known behavior or not, but the following two lines produce an instant kernel crash (I'm using Mathematica 10.0.1 Windows 64-bit): ...
11
votes
1answer
142 views

Incorrect use of Scaled causes crash

Bug introduced in 8.0 and fixed in 10.1.0 While playing with Scaled, I made a syntax error which caused a crash instead of an error message ... Do you get the ...
5
votes
0answers
129 views

Kernel sometimes quit after second evaluation of ListVectorPlot

But introduced in 10.0.0 and persisting through 10.1 (update: bug remains in 10.1 on windows) In Mathematica 10.01 Linux x386 execution of the expression ...
25
votes
3answers
2k views

Generating 250 random points crashes the kernel, but not 249

Fixed in 10.1.0. Consider the following function, which generates uniformly random points on the surface of the 2-sphere: ...
8
votes
0answers
112 views

TimeConstrained[Delete[Range[1],1]] causes kernel crash

Run these two samples of code here (AFTER SAVING YOUR CURRENT WORK): Do[ TimeConstrained[ While[True, Delete[{1}, 1]; ];, 0.1];, {100}] ...
11
votes
1answer
420 views

Kernel crashes when plotting $z=\sqrt{(x^2 + y^2)}^0$

Bug introduced in 7.0.1 or earlier and fixed in 10.0.1 I'm plotting a 3D function, which makes Mathematica V9 (running on Windows 7) crash all the time. Does this only happen for me or for somebody ...
0
votes
0answers
55 views

MMA 10.0.2 Windows x64 Crashes during Find Next/Previous

For the past few weeks, MMA has crashed over a dozen times. It only happens when I'm doing Find Next or Find Previous several times while searching through my notebook. Note that I have at least 2 ...
0
votes
0answers
115 views

Frozen Notebook- Unsaved

I know there are similar questions out there, but none of them seemed to answer the actual question. My notebook froze (along with every other notebook that was open on my computer) after I executed a ...
3
votes
2answers
737 views

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

I just Ctrl-Alt-Deleted out of Mathematica after I crashed it while running. I had not saved it all day and had done quite a lot of work on it. When I reopen the file, it shows a version with none of ...
0
votes
1answer
73 views

PDE raises NDSolve::ntdvdae, then kernel quits

In a related question, the SolveDelayed->True option seemed to solve the problem. SolveDelayed is not a valid option in M10 ...
5
votes
0answers
181 views

How to determine reason for kernel crash? -> Nelder Mead optimisation

I am making use of the Nelder Mead algorithm inside Mathematica's NMaximize to find a parameter set by solving the Schrodinger equation for a given system. (see ...
1
vote
0answers
107 views

ListPlot3D keeps crashing

I have some data, and I want to plot it by ListPlot3D: ...
5
votes
1answer
105 views

RawArray crashes the kernel

fixed in 10.0.2 RawArray seems to crash the kernel on my machine RawArray["Byte", {}] Is this a bug? Any insights why this happens? My system: version 10.01 ...
7
votes
0answers
163 views

Copy/Paste of quoted text crashing Mathematica 10?

(Mathematica 10.01 under Windows 7) Create two text cells and in each of them place the following text: <table align="left" style="margin-left:50px; border-collapse: collapse; padding: 0px; ...
2
votes
1answer
113 views

Raising the dead (notebooks)

I have a notebook which has a lot of generated data (which I would rather not regenerate), and the kernel is dead. So, the question is, how do I recover the data in the notebook (I know it is there, ...
5
votes
1answer
197 views

Dynamic panel crashes Mathematica 10.0.0.0

This answer by @paw have revealed a bug that causes Mathematica v 10.0.0.0 to crash the GUI and kernel. So far the offending code is this: ...
5
votes
1answer
176 views

Mathematica 10 crashes when kernel is quit from MenuItem

I'm actively developing a large codebase that I load every time I use Mathematica. I frequently quit my kernel and reload the codebase to incorporate new changes. I've created a custom menu by editing ...
12
votes
3answers
354 views

Manipulate crashes after running 4 minutes

The following code generates the familiar 3D-plot: ...
2
votes
1answer
306 views

kernel Local crashes during the course of a For loop

I want to find the minimum of the function r[x,p] subject to the constraint w[x,p,t]==0 (t ...
0
votes
1answer
217 views

Mathematica crashes after some iterations

I wrote a Mathematica script, which calculates an integral value at a list of points and writes it to a file: ...
10
votes
4answers
405 views

Possible bug in Dynamic

The code below crashes the Mathematica kernel in version 10 (not in V9) every time I run it on Windows and on Mac OS. I've sent it to WRI, but was told that they could not reproduce the crash. Does ...