Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Codea crashes while running a program using 3D

edited February 2013 in Bugs Posts: 5

See comments

Comments

  • Posts: 5

    There is either another bug, or maybe this is the real bug, which occurs when there is a long parameter list (using old parameter api) especially watches at the end of a list. When scrolling the watches bunch up, then either slowly redraw back to normal or crash the entire app. Not sure of exact circumstances, will post more info if I can.

  • Posts: 5

    A simple example that crashes the app when scrolling through watches list:

    -- watches test
    
    -- Use this function to perform your initial setup
    function setup()
        print("Hello World!")
        watch("a")
        watch("b")
        watch("c")
        watch("d")
        watch("e")
        watch("f")
        watch("g")
        watch("h")
        watch("i")
        watch("j")
    end
    
    -- This function gets called once every frame
    function draw() end
    
  • Posts: 2,430

    Hi @Steve,

    Works ok on my pad - pad2 iOS 6.

    Bri_G

    :-)

  • dave1707dave1707 Mod
    Posts: 9,601

    The above program works on my iPad 1 iOS 5. I get a bunch of "function watch' is deprecated. Please useparameter.watch' instead." in the output window. Otherwise I can scroll the watch list up/down with no problems.

  • Posts: 5

    That's strange. This happens almost every time for me (iPad 2 iOS 5.1.1). Does anyone else get the watches bunching up? (where the divider of the top of one watch is above the bottom divider for the watch above it). I found that pressing the restart button crashed Codea after scrolling down if Codea hadn't already crashed. Also the crash happens more often with more watches, and does not matter whether they are the old or new (parameter.watch) version.

  • Posts: 5

    Also is there a way to change the discussion title? I at first wrongly thought these crashes were to do with NaN values and the 3D api.

  • Jmv38Jmv38 Mod
    edited February 2013 Posts: 3,297

    .@steve you can modify the title: select your first post, then 'edit' on the top right of it.

Sign In or Register to comment.