The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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.

Filter by
Sorted by
Tagged with
29
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: ...
29
votes
1answer
378 views

How to speed up TextJustification in Mathematica 10

Based on this question: - Version 7 print environment - I set up two 10 page test documents in version 7.0.1 and version 10.1. The version 7 document exported to PDF in 4.18 seconds whereas the ...
25
votes
2answers
311 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 the ...
17
votes
0answers
233 views

GridGraph[{6,6,6}] crashes—can you reproduce this?

Bug introduced in 11.3 and fixed in 12.0 Occasionally, I see a kernel crash with GridGraph[{6,6,6}]. It is not easy to trigger. Sometimes it may require as many ...
16
votes
2answers
807 views

PDF Export crashes Mathematica

Bug introduced in 11.1.0 and fixed in 11.2.0 The following crashes the Front End when evaluated in version 11.1.0. Can anyone reproduce it? WARNING! A Front End crash means losing all unsaved ...
15
votes
3answers
745 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). ...
15
votes
1answer
320 views

RandomPoint crashes kernel

Bug introduced in 11.0 and fixed in 11.1 Reported as CASE:3686963, 12 Aug 2016 I attempted to determine whether the problem with RandomPoint identified in my ...
15
votes
1answer
367 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 "...
13
votes
1answer
216 views

Why the Kernel crashes on these integrals in V12?

Reported to WRI, [CASE:4331819] This is using V12, on windows 10, 64 bit. Note: these integrals work OK on 11.3 on same PC. Any idea why the Kernel now crashes on these types of integrals? ...
13
votes
1answer
153 views

Empty WhenEvent action crashes kernel

Bug introduced in 9.0 and fixed in 11.0.0 WhenEvent is new in 9.0. This is an example from the docs, slightly modified (action is wrapped in ...
13
votes
1answer
223 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 ...
12
votes
3answers
6k 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: ...
12
votes
3answers
1k views

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

starting with the new Mathematica 11.0.0 version on a Windows 7 machine I ran into a problem I am not able to solve. While using the Plot functionality I am able ...
12
votes
3answers
645 views

Manipulate crashes after running 4 minutes

The following code generates the familiar 3D-plot: ...
11
votes
2answers
8k 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 ...
11
votes
2answers
966 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 (...
11
votes
4answers
742 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 ...
11
votes
2answers
432 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 ...
11
votes
1answer
520 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 ...
11
votes
1answer
129 views

Warning: FrontEnd crash with `Graphics@InfiniteLine` for unknown symbolic coordinates

Bug introduced in 10.0 and persisting through 11.0.1 InfiniteLine is new in 10.0. [CASE:3840702] From your description, I gather you are noticing an unexpected ...
11
votes
1answer
156 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 ...
10
votes
1answer
244 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 ...
10
votes
1answer
128 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. ...
10
votes
1answer
78 views

WVM hangs or crashes on empty array when compiled Listable

Bug introduced in 12.0 and persisting through 12.0 or later When I run the following code, the kernel hangs indefinitely: ...
10
votes
1answer
220 views

Copying formatted string causes a perfect crash

Bug introduced in 10.1 or earlier and persisting through 11.1 Consider the string generated by this line: EllipticTheta::usage // FullForm Highlight everything ...
10
votes
0answers
221 views

Mathematica 12 crashes upon taking the Log of a double series

I recently upgraded from Mathematica 10.4 to 12.0. Unfortunately, I am now experiencing crashes with code that was stable in 10.4. The code involves extensive manipulation of the Series function ...
9
votes
3answers
346 views

SingularValueDecomposition causes kernel crash in 11.3

Bug introduced in 11.3 or earlier and persisting through 11.3 or later test = Table[RandomReal[{-2, 2}], {3600}, {11}]; Dimensions[test] {3600, 11} Calling <...
9
votes
1answer
889 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 ...
9
votes
1answer
211 views

Why FindMinimum crashes the kernel in specific situation

Bug introduced in 11.0.0 and fixed in 11.1 I have found that FindMinimum crahses is a certain situation. Here is my minimal working example: ...
9
votes
1answer
147 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 ...
9
votes
1answer
113 views

How to implement a resumable Table?

Motivation (my sob stories) Too many times I've run a notebook for hours and then Mathematica crashes (FE or Kernel, mostly FE) and things are lost. I've made various attempts at custom solutions ...
9
votes
1answer
443 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: <...
9
votes
1answer
615 views

Crash when displaying / rasterizing graphics with textures at high resolutions

CAUTION/Disclaimer: execution of some of the code below can result in a complete crash of Mathematica or even your system. Save all your work and do not try in a productive situation. For a graphical ...
9
votes
1answer
183 views

Deleting zero edges from a graph causes bizarre behavior

Bug introduced in 10.3.0 and fixed in 10.4. Consider the following (very simple) graph, with two vertices and one edge: g = Graph[{1, 2}, {1 <-> 2}]; I ...
9
votes
1answer
203 views

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

Bug introduced in 10.0 and fixed in 11.1 Run these two samples of code here (AFTER SAVING YOUR CURRENT WORK): ...
9
votes
1answer
197 views

Strange kernel segmentation fault in Integrate

Bug introduced in 8.0 or earlier and fixed in 11.0 Define tointegrate = D[V[y1[t], y2[t]], y2[t]] D[V[y1[t], y2[t]], {y1[t], 2}] and try to find its indefinite ...
9
votes
1answer
287 views

Kernel sometimes quit after second evaluation of ListVectorPlot

Bug introduced in 10.0.0 and fixed in 10.4.0 In Mathematica 10.01 Linux x386 execution of the expression ...
8
votes
1answer
175 views

Can anyone guess what Internal`RadicalMemberQ does?

There is an undocumented function Internal`RadicalMemberQ which takes two arguments. But whatever input I try for the two arguments, it seems to crash the kernel (...
8
votes
1answer
281 views

Why am I getting a kernel crash on Chop?

Solve bug (see answer) introduced in 9.0 and persisting through 11.0.1 or later First post, hopefully I figure out the formatting easily. Please forgive me if ...
8
votes
1answer
947 views

Mathematica 10.4 freezing after typing in new notebook

I've had the same version of Mathematica 10.4 installed for months without any problem, but this morning it is freezing every time I try to type in a notebook. New notebooks, new kernels, and existing ...
8
votes
1answer
504 views

A problem with polynomial root finding

I use the expression ...
8
votes
1answer
291 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 ...
8
votes
1answer
140 views

RegionMeasure on packed array crashes Kernel in version 11.1

Bug introduced in 11.1.0 and fixed in 11.1.1 In version 11.1.0, applying RegionMeasure or Area to a region with packed ...
8
votes
1answer
203 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): ...
8
votes
1answer
188 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): ...
8
votes
1answer
182 views

ClipPlanes on Translated 3D objects crash front end

Bug introduced in 10.1 or earlier and fixed in V11.0 (at least Win) Applying Translate to a simple 3D object (e.g. Pyramid) ...
8
votes
0answers
163 views

FindShortestTour causes kernel crash

I have contacted support, CASE:4075709 UPDATE I have received reply from wolfram support. They have confirmed that this is indeed a bug. There are lots of sets of data that can cause the Kernel to ...
8
votes
0answers
367 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 ...
7
votes
5answers
1k 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 ...
7
votes
3answers
731 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 on ...