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

9
votes
2answers
6k 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 ...
0
votes
1answer
87 views

V 10.3.1 kernel crashes after an evaluation on Mac OS X El Capitan

I tried to solve a simple system of first order differential equations an then an algebraic system in Mathematica 10.3.1 on my MacBook Pro. I did't have a problem with Mathematica until today. Here's ...
0
votes
1answer
81 views

Crash when dynamically updating ListLinePlot

I was trying to solve a wave problem using numerical methods. The code below crashes each time I run it on Windows with version 10.2. ...
6
votes
0answers
83 views

Deleting zero edges from a graph causes bizarre behavior

Bug introduced in 10.3.0 and persisting through 10.3.1 or later Consider the following (very simple) graph, with two vertices and one edge: ...
4
votes
0answers
111 views

new kernel crashes using DSolve in 10.3.1

Update: I added small movie showing the crash, since others who tried it so far could not reproduce it on their system. Original question I am finding new problems with ...
4
votes
0answers
78 views

unhandled win32 exception in WolframKernel.exe in DSolve of non-linear ODE in one variable

Installed 10.3.1 and started to run some old ode's. in V 9, this ode used to return unsolved, which is ok, but in 10.3.1 now the kernel crashes. This is on windows 7, 64 bits. I wonder if this also ...
4
votes
1answer
94 views

How to avoid crashing with ConformImages?

ConformImages[] is causing a kernel crash when applied to a list of 5k images. Is there any way to apply ConformImages on the list in batches or asynchronously to ...
6
votes
2answers
315 views

Consistent crash printing from Mathematica 10.2.0 and 10.1.0 in OS X 10.11 El Capitan

Printing from either 10.2.0 or 10.1.0, or any other print related function (Print Preview, Save as PDF) crash my Mathematica instantly. I've tried all the usual stuff like reinstalling, deleting user ...
3
votes
1answer
76 views

Kernel crash when evaluating NDSolveValue

I had a code that was working fine and I tried to add an extra few lines to find the solution of the same equation with different conditions. The original NDSolveValue solutions work fine but when it ...
5
votes
0answers
78 views

Mathematica, MKL_NUM_THREADS, and GNU/Linux Process Limits

I am using Mathematica 10.3 on a large GNU/Linux system (CentOS 6.6) with 40 processors and 250 GB of RAM. It is a delight to watch it chew through linear algebra problems using all the processors. ...
4
votes
1answer
91 views

ListVectorPlot crashes kernel after two evaluations

I am currently trying to produce many plots by using ListVectorPlot, but every time I re-evaluate my code, the kernel crashes. I have set $HistoryLength=0 and ...
14
votes
3answers
507 views

Cannot get nearest neighbors from Nearest

Bug introduced in 10 and fixed in 10.3 There still persists the failure to return 30.72 (another bug according to Daniel Lichtblau but from the developer's point of view it may be a feature). ...
0
votes
0answers
60 views

Getting kernel crash from matrix operations

I have the following: BBB = BBBBsparse + Transpose[BBBBsparse]; BB = BBB - DiagonalMatrix[Plus @@ BBB]; where BBBBsparse is a ...
10
votes
2answers
382 views

Why LibraryLink function crashes at a second time?

Bug introduced in 9.0 or earlier and fixed in 10.3 Update As Todd Gayley commented under halirutan's answer, this is a bug. I'm trying link one of Lapack's function to Mathematica through ...
7
votes
0answers
86 views

Strange kernel segmentation fault in Integrate

Bug introduced in 8.0 or earlier and persisting through 10.3 Define tointegrate = D[V[y1[t], y2[t]], y2[t]] D[V[y1[t], y2[t]], {y1[t], 2}] and try to find its ...
7
votes
0answers
95 views

10.2 ClipPlanes on Translated 3D objects crash front end

Bug introduced in 10.1 or earlier and persisting through 10.3 It seems the Translation of a simple 3D object (e.g. Pyramid) using the ClipPlane crashes with "Mathematica has stopped working". It ...
24
votes
2answers
213 views

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

Bug introduced in 9.0.0 and fixed in 10.3 I am trying to speed up a function that involves continued fractions. Since ContinuedFraction cannot be compiled and ...
9
votes
1answer
320 views

Front end crash on Export in 10.2 on OS X

Bug introduced in 10.2.0 and fixed in 10.3.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: ...
1
vote
0answers
71 views

Front end crash on Export in 10.2 on OS X macbook air 6,2

When trying to create a PDF (export, print-save as, save image as) fronted crashes. With both OS X Mavericks and El Capitan My machine is: Model: MacBookAir6,2, BootROM MBA61.0099.B19, 2 processors, ...
8
votes
0answers
80 views

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

I do realize that this might be controversial, but I believe I have a real need for it this time. If a process tries to access memory at a location it doesn't own, it will by default exit with a ...
9
votes
1answer
107 views

MapAt with Replace(All) causing kernel crash

Bug introduced in 10.1 and fixed in 10.2 I wanted to roll a function that works like /. but only acts on the very first match it encounters. ...
2
votes
2answers
412 views

Mathematica not responding to clean start-up

I am currently running Linux (Ubuntu 14.04) and my copy of Mathematica suddenly started misbehaving. I am not sure what I did to invoke this. The splash screen when Mathematica is launched kept ...
10
votes
2answers
4k views

Front end freezes on start-up

Update 2015 September 4: An incorrect paclet update was pushed recently that caused Mathematica to not hang on startup with "Initializing kernels". The problem and solution are described here: ...
7
votes
0answers
133 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 ...
3
votes
3answers
412 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 ...
8
votes
1answer
167 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
239 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
1answer
244 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
227 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
148 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
100 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
606 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 ...
8
votes
1answer
197 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
122 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
42 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
844 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 ...
2
votes
0answers
72 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 ...
4
votes
2answers
124 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
75 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
65 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
731 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
675 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
97 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? [duplicate]

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 ...
2
votes
1answer
109 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
88 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
167 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
146 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
156 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 ...
26
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: ...