Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Touch Premium Member hotdp's Avatar
    Join Date
    Nov 2010
    Location
    Denmark
    Posts
    603
    Vote Rating
    14
    hotdp will become famous soon enough

      0  

    Default 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)

  2. #2
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    18
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Sounds like it may be taking too much memory. I'd try to simplify it down as much as posible.

    Sencha Inc

    Jamie Avins

    @jamieavins

  3. #3
    Touch Premium Member hotdp's Avatar
    Join Date
    Nov 2010
    Location
    Denmark
    Posts
    603
    Vote Rating
    14
    hotdp will become famous soon enough

      0  

    Default


    Quote Originally Posted by Jamie Avins View Post
    Sounds like it may be taking too much memory. I'd try to simplify it down as much as posible.
    1. 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?
    2. Safari only crashes if it is memory related?

  4. #4
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    18
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    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.

    Sencha Inc

    Jamie Avins

    @jamieavins

  5. #5
    Touch Premium Member hotdp's Avatar
    Join Date
    Nov 2010
    Location
    Denmark
    Posts
    603
    Vote Rating
    14
    hotdp will become famous soon enough

      0  

    Default


    Quote Originally Posted by Jamie Avins View Post
    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?

  6. #6
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    18
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    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.

    Sencha Inc

    Jamie Avins

    @jamieavins

  7. #7
    Touch Premium Member suzuki1100nz's Avatar
    Join Date
    Apr 2011
    Location
    New Zealand
    Posts
    462
    Vote Rating
    68
    suzuki1100nz is just really nice suzuki1100nz is just really nice suzuki1100nz is just really nice suzuki1100nz is just really nice

      0  

    Default


    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.

  8. #8
    Touch Premium Member hotdp's Avatar
    Join Date
    Nov 2010
    Location
    Denmark
    Posts
    603
    Vote Rating
    14
    hotdp will become famous soon enough

      0  

    Default


    Quote Originally Posted by Jamie Avins View Post
    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!

  9. #9
    Sencha Premium Member
    Join Date
    Oct 2012
    Posts
    46
    Vote Rating
    0
    heath.hansell is on a distinguished road

      0  

    Default


    my line chart is also crashing on an ipad3 ios6. does not crash on iphone5 io6

  10. #10
    Touch Premium Member hotdp's Avatar
    Join Date
    Nov 2010
    Location
    Denmark
    Posts
    603
    Vote Rating
    14
    hotdp will become famous soon enough

      0  

    Default


    Hi,
    In your url, try adding
    Code:
    ?svg
    and see if that helps.