Exception

A forum dedicated to WPF version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
fischertc
Posts: 18
Joined: Wed Feb 12, 2014 6:16 am

Exception

Post by fischertc » Thu Apr 24, 2014 6:28 am

I am testing on an older i3 with an Intel HD onboard gpu :evil: The host only has 4gb of memory of which 1gb is assigned to the gpu. This is considered to be our lowest standard machine.

It was running a little low on memory and I couldn't get past creating a set of barseries. The application would hang with no exceptions being thrown. After turning on ever deeper layers of exception handling via visual studio options this showed up:

InvalidAccessException at:

Code: Select all

 	[Managed to Native Transition]	
>	SlimDX.dll!SlimDX.ComObject.Destruct() + 0x58 bytes	
 	SlimDX.dll!SlimDX.Direct3D9.BaseTexture.Dispose(bool ) + 0x3c bytes	
 	SlimDX.dll!SlimDX.Direct3D9.Texture.Dispose(bool ) + 0x38 bytes	
 	SlimDX.dll!SlimDX.ComObject.Dispose() + 0x15 bytes	
 	Arction.WPF.LightningChartUltimate.dll!A.XG.SG(A.LB A) + 0xad bytes	
 	Arction.WPF.LightningChartUltimate.dll!A.LB.J() + 0x42 bytes	
 	Arction.WPF.LightningChartUltimate.dll!Arction.WPF.LightningChartUltimate.BitmapFill.Dispose() + 0x45 bytes	
 	Arction.WPF.LightningChartUltimate.dll!Arction.WPF.LightningChartUltimate.BitmapFill.Finalize() + 0x25 bytes	
 	[Native to Managed Transition]	
I do have a small section of code that sets a tiled bitmap onto a barseries in a certain situation. I commented out that code and the application seems to be working.

Code: Select all

                    if (_lowFillImage != null)
                    {
                        //series.Fill.Bitmap.Image = _lowFillImage;
                        //series.Fill.Style = RectFillStyle.Bitmap;
                        //series.Fill.Bitmap.Layout = BitmapFillLayout.Tile;
                    }

User avatar
ArctionPasi
Posts: 1367
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland
Contact:

Re: Exception

Post by ArctionPasi » Thu Apr 24, 2014 7:20 am

Our engineer tried to reproduce the bitmap fill issue yesterday as discussed here :http://forum.arction.com/viewtopic.php?f=16&t=237. He tested various GPUs and didn't get the problem visible.

Is the bitmap filling problem appearing only on this Intel, or with which GPU type did you run it?

Are you getting this Dispose error by using 5.5.2.8 version, or did you revert back to 5.4.1?
LightningChart Support Team, PT

fischertc
Posts: 18
Joined: Wed Feb 12, 2014 6:16 am

Re: Exception

Post by fischertc » Wed Apr 30, 2014 9:02 am

I have reverted back to 5.4.1.

The Bitmap fill being shown on the edges of the chart appears on my host which is running a NVidia GeForce GTX650 and on the Intel HD host and on a host in our sister company in the UK.

The delete exception is only happening on the Intel HD.

User avatar
ArctionPasi
Posts: 1367
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland
Contact:

Re: Exception

Post by ArctionPasi » Wed May 07, 2014 1:42 pm

Please update to 6.0 and let us know if the problem hasn't disappeared.
LightningChart Support Team, PT

Post Reply