Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #15705

Repeatable ways to crash the MathKernel

From Alexander <alexander_elkins@hotmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Repeatable ways to crash the MathKernel
Date 2011-01-31 08:24 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <ii5rka$fjh$1@smc.vnet.net> (permalink)

Show all headers | View raw


The first two sequences are repeatable with
 $System=="Microsoft Windows (32-bit)" (sometimes the crash happens
 when Plot3D is evaluated as In[1] after the intial startup before any
 crash has happened):

1) The following sequence works on versions 5.2.0.0(has no
exclusions),
 6.0.3.0 & 7.0.1.0 but crashes version 8.0.0.0 of the kernel:

In[1]:= Plot3D[Im[Log[((x+I*y)^2-Pi^2)^2]],{x,-2Pi,2Pi},{y,-2Pi,2Pi}]
Out[1]=...(output not shown here)

In[2]:= ?Plot3D
...(output not shown here)

In[3]:= Plot3D[Im[Log[((x+I*y)^2-Pi^2)^2]],{x,-2Pi,2Pi},{y,-2Pi,2Pi}]

After a few seconds the kernel crashes...

2) The following sequence works on versions 5.2.0.0(has no
exclusions),
 6.0.3.0 & 7.0.1.0 but crashes version 8.0.0.0 of the kernel:

In[1]:= Plot3D[Piecewise[{{Im[Log[((x+I*y)^2-Pi^2)^2]],x^2-y^2!
=Pi^2}}],
 {x,-2Pi,2Pi},{y,-2Pi,2Pi},Mesh->False]
Out[1]=...(output not shown here)

In[2]:= ?Plot3D
...(output not shown here)

In[3]:= Plot3D[Piecewise[{{Im[Log[((x+I*y)^2-Pi^2)^2]],x^2-y^2!
=Pi^2}}],
 {x,-2Pi,2Pi},{y,-2Pi,2Pi},Mesh->False]

After a few seconds the kernel crashes...

3) The following line always crashes versions 5.2.0.0, 6.0.3.0,
7.0.1.0
 & 8.0.0.0 of the kernel:

FullSimplify[Limit[-(1/2)Log[1/#]-Log[I#]+Log[#]/2&[Complex[y,y]],
 y->0]==-I*Pi/2]

The following works (changed Complex[y,y] to y+I*y):

FullSimplify[Limit[-(1/2)Log[1/#]-Log[I#]+Log[#]/2&[y+I*y],
 y->0]==-I*Pi/2]

Anyone else see this happen?

Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Repeatable ways to crash the MathKernel Alexander <alexander_elkins@hotmail.com> - 2011-01-31 08:24 +0000
  Re: Repeatable ways to crash the MathKernel David Reiss <dbreiss@gmail.com> - 2011-02-01 11:55 +0000
  Re: Repeatable ways to crash the MathKernel "Sjoerd C. de Vries" <sjoerd.c.devries@gmail.com> - 2011-02-01 11:53 +0000

csiph-web