After I disable charting on my server (cfmx 7.02 / windows 2003) I still get
the same crash/restart:

 

#  EXCEPTION_FLT_DIVIDE_BY_ZERO (0xc000008e) at pc=0x0079b233, pid=1744,
tid=2700

#

# Java VM: Java HotSpot(TM) Server VM (1.4.2_09-b05 interpreted mode)

# Problematic frame:

# j
java.text.DecimalFormat.format(DLjava/lang/StringBuffer;Ljava/text/Format$Fi
eldDelegate;)Ljava/lang/StringBuffer;+1

#

 

But this time it comes from a different template, from my registration page.
When I look at the stack trace, it show my invoice custom tag which formats
an array and shows the formatted invoice to the user or includes it in an
email. 

 

I went through the registration process myself and wham, the server crashed
same spot. 

 

I isolated the custom tag code and ran it in a loop 500 times. No error! I
went back to the registration page - no error. So it appears to be more than
JUST that code. Same goes with the charting. I ran a cfchart tag thousands
of times in a loop and never got an error. 

 

The top 3 lines of the stack trace are always related to math functions
though:

 

j
java.text.DecimalFormat.format(DLjava/lang/StringBuffer;Ljava/text/Format$Fi
eldDelegate;)Ljava/lang/StringBuffer;+1

j
java.text.DecimalFormat.format(DLjava/lang/StringBuffer;Ljava/text/FieldPosi
tion;)Ljava/lang/StringBuffer;+20

j  java.text.NumberFormat.format(D)Ljava/lang/String;+12

j
coldfusion.runtime.CFPage.DollarFormat(Ljava/lang/String;)Ljava/lang/String;
+90

j  cflogi_invoice_display2ecfm243361308.runPage()Ljava/lang/Object;+5385

 

When cfchart was causing it is looked like:

 

J
java.text.DecimalFormat.format(DLjava/lang/StringBuffer;Ljava/text/Format$Fi
eldDelegate;)Ljava/lang/StringBuffer;+1

j
java.text.DecimalFormat.format(DLjava/lang/StringBuffer;Ljava/text/FieldPosi
tion;)Ljava/lang/StringBuffer;+20

j  java.text.NumberFormat.format(D)Ljava/lang/String;+12

j  com.gp.client.chart.axis.axis.MxScaleDimension.getLabel(I)[C+15

 

What I don’t understand, is that I tried using the out-of-the-box CFMX 7.0
JVM / JRE and arguments and I still get this error and yet searching for
EXCEPTION_FLT_DIVIDE_BY_ZERO returns nothing CF related. And I am also stuck
as to why I can not reproduce this problem when running the
logi_invoice_display.cfm tag in a loop, and yet 99% of the crashes reference
this template. 

 

I’m stuck as to what to do next. Where should I look? I am getting desperate
as the customers are starting to complain..

 

Brook

 

 

-----Original Message-----
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED] 
Sent: May 7, 2007 2:53 AM
To: CF-Talk
Subject: Re: REPOST: CFMX 7 / Server restarts

 

Post you charting code as well.

 

 

 

"This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, 

Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,

Registered in England, Number 678540.  It contains information which is

confidential and may also be privileged.  It is for the exclusive use of the

intended recipient(s).  If you are not the intended recipient(s) please note

that any form of distribution, copying or use of this communication or the

information in it is strictly prohibited and may be unlawful.  If you have

received this communication in error please return it to the sender or call

our switchboard on +44 (0) 20 89107910.  The opinions expressed within this

communication are not necessarily those expressed by Reed Exhibitions." 

Visit our website at http://www.reedexpo.com

 

-----Original Message-----

From: blists

To: CF-Talk

Sent: Mon May 07 08:26:27 2007

Subject: RE: REPOST: CFMX 7 / Server restarts

 

I've tried 1.4.2_10 to no avail. I will try 11 now.  Also, as soon as I

comment out the chart tag, the server starts to restart again with the stack

dump indicating itâEUR(tm)s related to charting, itâEUR(tm)s the same

division by zero error. 

 

When I comment it out, I start getting crashes on another page and it seems

to indicate the dollarformat function is causing the problem. I can only

sometime reproduce this error. Even when I run the suspect page, including a

page with cfchart in a loop 500 times. Most time I can not reproduce it in

that manner, so it must be in conjunction with something else... 

 

Brook

 

-----Original Message-----

From: Robertson-Ravo, Neil (RX)

[mailto:[EMAIL PROTECTED] 

Sent: May 6, 2007 11:07 PM

To: CF-Talk

Subject: Re: REPOST: CFMX 7 / Server restarts

 

Download the latest supported Java SDK (not just the JRE) - 1.4.2_11

 

 

 

 

"This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,

Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,

Registered in England, Number 678540.  It contains information which is

confidential and may also be privileged.  It is for the exclusive use of the

intended recipient(s).  If you are not the intended recipient(s) please note

that any form of distribution, copying or use of this communication or the

information in it is strictly prohibited and may be unlawful.  If you have

received this communication in error please return it to the sender or call

our switchboard on +44 (0) 20 89107910.  The opinions expressed within this

communication are not necessarily those expressed by Reed Exhibitions." 

Visit our website at http://www.reedexpo.com

 

-----Original Message-----

From: blists

To: CF-Talk

Sent: Sun May 06 23:55:22 2007

Subject: RE: REPOST: CFMX 7 / Server restarts

 

Thanks for the reply. We are using windows 2003 Enterprise. The JVM was

changed with the upgrade, we were previously using j2re1.4.2_06 and with

CFMX we started using 1.4.2_09.

 

 

 

I disabled cfchart on our server to see if this EXCEPTION_FLT_DIVIDE_BY_ZERO

error would go away and it did not go away, same error now its coming from

somewhere else. I looked at two stack traces from two crashes and both seem

to have occurred on our registration, more specifically when a custom tag we

have that displays the invoice gets included. I ran throw the registration

process and did NOT get the error. The relevant part of the stack trace is

below. The items in bold are our cf templates.  Is this the correct way to

go about debugging these errors? By looking at the templates called?

 

 

 

j

java.text.DecimalFormat.format(DLjava/lang/StringBuffer;Ljava/text/Format$Fi

eldDelegate;)Ljava/lang/StringBuffer;+1

 

j

java.text.DecimalFormat.format(DLjava/lang/StringBuffer;Ljava/text/FieldPosi

tion;)Ljava/lang/StringBuffer;+20

 

j  java.text.NumberFormat.format(D)Ljava/lang/String;+12

 

j

coldfusion.runtime.CFPage.DollarFormat(Ljava/lang/String;)Ljava/lang/String;

+90

 

j  cflogi_invoice_display2ecfm243361308.runPage()Ljava/lang/Object;+5385

 

j

coldfusion.runtime.CfJspPage.invoke(Lcoldfusion/filter/FusionContext;)V+28

 

j

coldfusion.filter.CFVariablesScopeFilter.invoke(Lcoldfusion/filter/FusionCon

text;)V+24

 

j  coldfusion.tagext.lang.ModuleTag.doStartTag()I+170

 

j

coldfusion.runtime.CfJspPage._emptyTcfTag(Ljavax/servlet/jsp/tagext/Tag;)Z+6

 

j

cfact_send_registration_email2elf1096186456.runPage()Ljava/lang/Object;+872

 

j

coldfusion.runtime.CfJspPage.invoke(Lcoldfusion/filter/FusionContext;)V+28

 

j  coldfusion.tagext.lang.IncludeTag.doStartTag()I+84

 

j  coldfusion.runtime.CfJspPage._emptyTag(Ljavax/servlet/jsp/tagext/Tag;)Z+1

 

j  cfact_ActivateAccount2elf1898556670.runPage()Ljava/lang/Object;+5252

 

j

coldfusion.runtime.CfJspPage.invoke(Lcoldfusion/filter/FusionContext;)V+28

 

 

 

Brook

 

 

 

 

 

-----Original Message-----

From: Robertson-Ravo, Neil (RX)

[mailto:[EMAIL PROTECTED] 

Sent: May 6, 2007 2:44 PM

To: CF-Talk

Subject: Re: REPOST: CFMX 7 / Server restarts

 

 

 

Did you recently upgrade the JVM? What OS?

 

 

 

 

 

 

 

"This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,

 

Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,

 

Registered in England, Number 678540.  It contains information which is

 

confidential and may also be privileged.  It is for the exclusive use of the

 

intended recipient(s).  If you are not the intended recipient(s) please note

 

that any form of distribution, copying or use of this communication or the

 

information in it is strictly prohibited and may be unlawful.  If you have

 

received this communication in error please return it to the sender or call

 

our switchboard on +44 (0) 20 89107910.  The opinions expressed within this

 

communication are not necessarily those expressed by Reed Exhibitions." 

 

Visit our website at http://www.reedexpo.com

 

 

 

-----Original Message-----

 

From: blists

 

To: CF-Talk

 

Sent: Sun May 06 21:54:10 2007

 

Subject: REPOST: CFMX 7 / Server restarts 

 

 

 

Sorry, for the repost. When my customers start using my site tomorrow I am

 

going to get killed if I don't get this restart problem fixed.

 

 

 

Everytime the server crashes and restart the error 'seems' to be related to

 

graphing. Can anyone confirm this? Here is part of the dump:

 

 

 

 

 

#

 

# An unexpected error has been detected by HotSpot Virtual Machine:

 

#

 

#  EXCEPTION_FLT_DIVIDE_BY_ZERO (0xc000008e) at pc=0x0079b233, pid=5888,

 

tid=2600

 

#

 

# Java VM: Java HotSpot(TM) Server VM (1.4.2_09-b05 interpreted mode)

 

# Problematic frame:

 

# j

 

java.text.DecimalFormat.format(DLjava/lang/StringBuffer;Ljava/text/Format$Fi

 

eldDelegate;)Ljava/lang/StringBuffer;+1

 

#

 

 

 

Stack: [0x0d330000,0x0d430000),  sp=0x0d42e408,  free space=1017k

 

Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native

 

code)

 

j

 

java.text.DecimalFormat.format(DLjava/lang/StringBuffer;Ljava/text/Format$Fi

 

eldDelegate;)Ljava/lang/StringBuffer;+1

 

j

 

java.text.DecimalFormat.format(DLjava/lang/StringBuffer;Ljava/text/FieldPosi

 

tion;)Ljava/lang/StringBuffer;+20

 

j  java.text.NumberFormat.format(D)Ljava/lang/String;+12

 

j  com.gp.client.chart.axis.axis.MxScaleDimension.getLabel(I)[C+15

 

j

 

com.gp.client.chart.axis.axis.MxFormatDimension.getLabelArray(Lcom/gp/client

 

/text/MxAxisRenderer;)[[C+22

 

j

 

com.gp.client.chart.axis.axis.MxNormalScaleDimension.getLabelArray(Lcom/gp/c

 

lient/text/MxAxisRenderer;)[[C+22

 

j

 

com.gp.client.chart.axis.axis.MxChartAxis.layout(Lcom/gp/client/graphics/MxG

 

raphics;)V+39

 

j

 

com.gp.client.chart.axis.axis.MxChartAxis.layoutY(Lcom/gp/client/graphics/Mx

 

Graphics;ILjava/awt/Insets;)V+47

 

j

 

com.gp.client.chart.axis.MxAxisView.layoutY(Lcom/gp/client/graphics/MxGraphi

 

cs;ILcom/gp/client/awt/MxInsets;)V+42

 

j

 

com.gp.client.chart.axis.MxAxisView.layoutTopViewY(Lcom/gp/client/graphics/M

 

xGraphics;ILcom/gp/client/awt/MxInsets;)V+4

 

j

 

com.gp.client.chart.axis.MxSingleViewAxisFrame.layoutChart(Lcom/gp/client/gr

 

aphics/MxGraphics;)V+194

 

j

 

com.gp.client.chart.axis.MxAxisFrame._layout(Lcom/gp/client/graphics/MxGraph

 

ics;)V+7

 

j

 

com.gp.client.chart.axis.MxAxisFrame.layout(Lcom/gp/client/graphics/MxGraphi

 

cs;)V+2

 

j

 

com.gp.client.chart.MxChart.paint(Lcom/gp/client/graphics/MxGraphics;)V+319

 

j  com.gp.client.MxWidget.draw(Lcom/gp/client/graphics/MxGraphics;)V+120

 

j  com.gp.image.plugins.ImChartBuilder.build(Lcom/gp/client/MxWidget;)V+42

 

j

 

com.gp.image.plugins.ImSWFBuilder.saveAs(Lcom/gp/client/MxWidget;Ljava/lang/

 

String;)V+28

 

j

 

com.gp.image.server.cache.IcFileImage.buildImage(Lcom/gp/image/plugins/ImCha

 

rtBuilder;Lcom/gp/image/server/IcImageServer;Lcom/gp/client/MxWidget;)V+27

 

j

 

com.gp.image.server.cache.IcImage.<init>(Lcom/gp/image/server/IcImageServer;

 

Lcom/gp/api/jsp/MxChartDescription;)V+143

 

j

 

com.gp.image.server.cache.IcFileImage.<init>(Lcom/gp/image/server/IcImageSer

 

ver;Lcom/gp/api/jsp/MxChartDescription;)V+3

 

j

 

com.gp.image.server.IcImageServer.__newImage(Lcom/gp/api/jsp/MxChartDescript

 

ion;)Lcom/gp/image/server/cache/IcImage;+19

 

j

 

com.gp.image.server.IcImageServer._newImage(Lcom/gp/api/jsp/MxChartDescripti

 

on;)Lcom/gp/image/server/cache/IcImage;+12

 

j

 

com.gp.image.server.IcImageServer.newImage(Lcom/gp/api/jsp/MxChartDescriptio

 

n;)Lcom/gp/image/server/cache/IcImage;+41

 

j

 

com.gp.image.server.IcImageCache.getImage(Lcom/gp/image/server/IcImageServer

 

;Lcom/gp/api/jsp/MxChartDescription;)Lcom/gp/image/server/cache/IcImage;+112

 

j

 

com.gp.image.server.IcImageServer.getImage(Lcom/gp/api/jsp/MxChartDescriptio

 

n;)Lcom/gp/image/server/cache/IcImage;+9

 

j

 

com.gp.api.jsp.MxServerComponent.getImageTag(Lcom/gp/api/jsp/MxChartDescript

 

ion;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;+5

 

j

 

com.gp.api.jsp.MxServerComponent.getImageTag(Lcom/gp/api/jsp/MxChartDescript

 

ion;Ljava/lang/String;)Ljava/lang/String;+4

 

j  coldfusion.graph.GraphingServiceImpl$4.run()Ljava/lang/Object;+15

 

v  ~StubRoutines::call_stub

 

V  [jvm.dll+0xdc29c]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277136
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to