MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Repeatable ways to crash the MathKernel

  • To: mathgroup at smc.vnet.net
  • Subject: [mg116062] Repeatable ways to crash the MathKernel
  • From: Alexander <alexander_elkins at hotmail.com>
  • Date: Mon, 31 Jan 2011 03:24:41 -0500 (EST)

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?


  • Prev by Date: Re: Problems integrating InterpolatingFunction
  • Next by Date: Re: Mathematica 8 Home Edition
  • Previous by thread: Parculiarities of FindRoot