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
381 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 ...
26
votes
2answers
346 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
3answers
442 views

Why the Kernel crashes on these integrals in V12?

Bug introduced in 12.0 and fixed in 12.1 [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 ...
16
votes
2answers
1k 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 ...
16
votes
0answers
243 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 ...
15
votes
3answers
757 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
329 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
416 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
369 views

VideoPlay crashes the Kernel with Mathematica 12.1

I'm using Mathematica 12.1 on windows 10 (Microsoft Windows [Version 10.0.16299.1686]) When going to the Help file about VideoPlay I tried the standard example and it crashes the Kernel. For me it'...
13
votes
1answer
156 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
227 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
662 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
983 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
760 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
436 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
532 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
2answers
366 views

Mathematica 12 crashes upon taking the Log of a double series

Bug introduced in 11.1 and fixed in 12.1 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 ...
11
votes
1answer
129 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 ...
11
votes
1answer
133 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
3answers
357 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 <...
10
votes
1answer
267 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
130 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
96 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
231 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 ...
9
votes
3answers
221 views

Multiplying two complex SparseArray objects, yielding empty SparseArray crashes kernel

Problem: When I multiply together two sparse matrices that should give back the 0 matrix, where at least one element among the two is complex and at least one is not an exact number, the kernel ...
9
votes
1answer
916 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
223 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
151 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
450 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
663 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
184 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
208 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
198 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
293 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
182 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
288 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
1k 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
512 views

A problem with polynomial root finding

I use the expression ...
8
votes
1answer
312 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
143 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
204 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
190 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
187 views

This PDE crashes Kernel

Bug introduced in v9.0 and fixed in 11.1 I use NDSolve on this simple set of PDEs: ...
8
votes
1answer
186 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
167 views

The most bizarre kernel crash ever. Kernel crash in Integrate under simple different setups. Unable to find cause

Reported to WRI. CASE:4330461 V 12 on windows 10 64 bit. Note: This problem do not show up in V 11.3. Only in V12. For the last 2 hrs, I've been trying to zoom into why V12 kernel crash when ...

1
2 3 4 5