Thank you for reporting this bug. We will make it our priority to review this report.
-
Touch Premium Member
Advice for detecting crash
Hi,
My chart application runs fine on phones but when viewed on a iPad 3 Safari crashes before the console writes anything.
How can I get a stack-trace or a indication of where the bug might be? (So I can give it to Sencha)
-
Sounds like it may be taking too much memory. I'd try to simplify it down as much as posible.
-
Touch Premium Member

Originally Posted by
Jamie Avins
Sounds like it may be taking too much memory. I'd try to simplify it down as much as posible.
- The phones I have tested with has les memory than the iPad 3. So is it because the retina display makes it consume more memory? (When it crashes I am about to create my 2nd Chart with only 12 bars, the first one has 2 bars) So it sounds very strange that it should consume a lot memory? Unless there a memory leaks?
- Safari only crashes if it is memory related?
-
1) Yes, there are a LOT more pixels and canvas is bitmap based. It won't be the number of bars though, just the number and size of canvas elements you have in the DOM at once.
2) Not necessarily, but when dealing with canvas, its usually the case.
-
Touch Premium Member

Originally Posted by
Jamie Avins
1) Yes, there are a LOT more pixels and canvas is bitmap based. It won't be the number of bars though, just the number and size of canvas elements you have in the DOM at once.
2) Not necessarily, but when dealing with canvas, its usually the case.
This is bad news. So one application can only have one chart/canvas if it should work for iPad3? It sounds strange if true.
There is nothing I can test or do?
-
I think you can fit two before you need to start managing it more carefully (removing it from the dom). The KitchenSink example has to do this.
-
Hi,
Think there maybe another issue we have our app running on an ipad3 with a line graph bar chart and pie chart - bar and line with 20 - 30 data items. No safari crash as yet.
-
Touch Premium Member

Originally Posted by
Jamie Avins
1) Yes, there are a LOT more pixels and canvas is bitmap based. It won't be the number of bars though, just the number and size of canvas elements you have in the DOM at once.
2) Not necessarily, but when dealing with canvas, its usually the case.
The solution right now for me is to use the SVG engine. Its still buggy, but Safari does not crash!
-
Sencha Premium Member
my line chart is also crashing on an ipad3 ios6. does not crash on iphone5 io6
-
Touch Premium Member
Hi,
In your url, try adding and see if that helps.