-
5 Oct 2012 9:30 AM #1
Advice for detecting crash
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)
-
5 Oct 2012 10:20 AM #2Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,651
- Vote Rating
- 14
Sounds like it may be taking too much memory. I'd try to simplify it down as much as posible.
-
5 Oct 2012 10:24 AM #3
- 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?
-
5 Oct 2012 10:37 AM #4Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,651
- Vote Rating
- 14
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.
-
5 Oct 2012 11:02 AM #5
-
5 Oct 2012 11:14 AM #6Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,651
- Vote Rating
- 14
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.
-
7 Oct 2012 11:38 PM #7
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.
-
12 Oct 2012 3:50 AM #8
-
23 Oct 2012 7:17 AM #9
my line chart is also crashing on an ipad3 ios6. does not crash on iphone5 io6
-
23 Oct 2012 7:20 AM #10
Hi,
In your url, try addingand see if that helps.Code:?svg
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote