<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Rick,<br>
      <br>
      On 19-01-16 21:28, Rick Walsh wrote:<br>
    </div>
    <blockquote
cite="mid:CAF+v9Jv6aLsZmcOQNP_QTCR1=TGJ8zsdYC2pn8u9Cr_mEzLkXw@mail.gmail.com"
      type="cite">
      <div dir="ltr">Jan,<br>
        <div>
          <div class="gmail_extra"><br>
            <div class="gmail_quote">On 19 January 2016 at 20:03, Jan
              Mulder <span dir="ltr"><<a moz-do-not-send="true"
                  href="mailto:jlmulder@xs4all.nl" target="_blank">jlmulder@xs4all.nl</a>></span>
              wrote:<br>
              <blockquote class="gmail_quote" style="margin:0px 0px 0px
                0.8ex;border-left:1px solid
                rgb(204,204,204);padding-left:1ex">1) 5" phone, android
                5.1.1, cyanogenmod 12.1 (very latest daily).<br>
                <blockquote class="gmail_quote" style="margin:0px 0px
                  0px 0.8ex;border-left:1px solid
                  rgb(204,204,204);padding-left:1ex">
                  <br>
                  - entering cloud credentials and loading cloud data
                  works correctly<br>
                  - same session, immediate SIGSEGV follows. Only with
                  phone in portrait orientation. This is reproducible,
                  and got introduced last week with the big
                  modifications (swiping details and the code
                  simplification set). Obviously, I can provide logcat
                  when interested. In landscape orientation, the splash
                  screen stays "forever", and no crash follows.<br>
                </blockquote>
              </blockquote>
              <div><br>
              </div>
              <div>I don't get a crash in portrait mode (are you still
                getting it?), </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    When you are on the latest master, you will have the fix from Dirk
    for the crash described by me. So that one is fixed. Even without
    the fix of tonight, not everybody was seeing this crash. <br>
    <br>
    <blockquote
cite="mid:CAF+v9Jv6aLsZmcOQNP_QTCR1=TGJ8zsdYC2pn8u9Cr_mEzLkXw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div class="gmail_extra">
            <div class="gmail_quote">
              <div>but if I start in landscape, the splash screen hangs
                and nothing happens. Using Samsung Galaxy S6 (Android
                5.1.1).<br>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    I see exactly the same. Not checked the logcat yet. In fact, I am
    hunting down a next SIGSEGV, but I am not sure how to recreate it
    (yet). <br>
    <br>
    <blockquote
cite="mid:CAF+v9Jv6aLsZmcOQNP_QTCR1=TGJ8zsdYC2pn8u9Cr_mEzLkXw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div class="gmail_extra">
            <div class="gmail_quote">
              <div><br>
              </div>
              <div>If I start in landscape mode, this is the adb logcat
                | grep -i subsurface<br>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <div dir="ltr">
      <div>
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div><br>
              [logcat snipped]<br>
            </div>
          </div>
        </div>
      </div>
    </div>
    <br>
    <blockquote
cite="mid:CAF+v9Jv6aLsZmcOQNP_QTCR1=TGJ8zsdYC2pn8u9Cr_mEzLkXw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div class="gmail_extra">
            <div class="gmail_quote">
              <div><br>
                I/WindowManager( 3534): Screen frozen for +520ms due to
                Window{33e2e48e u0 d0 Starting
                org.subsurfacedivelog.mobile}<br>
                <br>
              </div>
              <div>^^that line is not there if I start in portrait<br>
              </div>
              <div><br>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    [logcat snipped]
    <blockquote
cite="mid:CAF+v9Jv6aLsZmcOQNP_QTCR1=TGJ8zsdYC2pn8u9Cr_mEzLkXw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div class="gmail_extra">
            <div class="gmail_quote">
              <div><br>
                ...<br>
                <br>
              </div>
              <div>Starting in portrait, the logcat is similar, but
                there is no "Screen frozen" line:<br>
                <br>
                <br>
              </div>
              <div> <br>
              </div>
              <div>I tried to work out what  was going on, but didn't
                have much luck.<br>
                <br>
              </div>
              <div>Jan, were you ever able to start in landscape mode?
                Do you remember what at what build/commit that was?<br>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    Yes, currently (latest master) I am able to start in landscape mode
    (of a 5" phone), but only with a little trick. Start landscape, wait
    a little (for it to hang, that is), rotate to portrait, hide the app
    (not close it), show the app again, and the divelist is shown.
    Somehow, this passes the "screen freeze". <br>
    <br>
    I am not sure when this landscape "difficult start" was introduced.
    I do not recall a specific moment/built. Is starts just fine in
    landscape on a 10" tablet.<br>
    <br>
    best,<br>
    <br>
    --jan<br>
    <br>
  </body>
</html>