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


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

Repeatable ways to crash the MathKernel

Started byAlexander <alexander_elkins@hotmail.com>
First post2011-01-31 08:24 +0000
Last post2011-02-01 11:53 +0000
Articles 3 — 3 participants

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  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

#15705 — Repeatable ways to crash the MathKernel

FromAlexander <alexander_elkins@hotmail.com>
Date2011-01-31 08:24 +0000
SubjectRepeatable ways to crash the MathKernel
Message-ID<ii5rka$fjh$1@smc.vnet.net>
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?

[toc] | [next] | [standalone]


#15798

FromDavid Reiss <dbreiss@gmail.com>
Date2011-02-01 11:55 +0000
Message-ID<ii8sbc$2q5$1@smc.vnet.net>
In reply to#15705
And have you reported this to support@wolfarm.com?  Please do.

On Jan 31, 3:24 am, Alexander <alexander_elk...@hotmail.com> wrote:
> 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?

[toc] | [prev] | [next] | [standalone]


#15936

From"Sjoerd C. de Vries" <sjoerd.c.devries@gmail.com>
Date2011-02-01 11:53 +0000
Message-ID<ii8s7g$2mk$1@smc.vnet.net>
In reply to#15705
I don't see any problemms with the first 3 sequences on my $Version

 "8.0 for Microsoft Windows (64-bit) (November 7, 2010)"

However, I can confirm that the fourth example does crash my kernel.
I'd suggest you contact Wolfram support.

Cheers -- Sjoerd

On Jan 31, 9:24 am, Alexander <alexander_elk...@hotmail.com> wrote:
> 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?

[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web