<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hi All,<br>
    </p>
    <br>
    <div class="moz-cite-prefix">Am 20.04.2017 um 00:04 schrieb Stefan
      Fuchs:<br>
    </div>
    <blockquote cite="mid:867ac1db-f092-8066-b7e8-c2a3cf8af8e1@gmx.de"
      type="cite">
      <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
      <blockquote
cite="mid:CAGDbWi8a7TZX_6=Cj1iBC1Q8cQZVk4D5=naH2pY0CMd3ePFV0w@mail.gmail.com"
        type="cite">
        <blockquote type="cite">
          <pre wrap="">Hi All,

unfortunately I see a new crash when importing via USB from my OSTC2. This
happens under Windows 10 with current master and was not there about 2 weeks
ago. It happens every time at the end of data transfer from the dive
computer.

</pre>
        </blockquote>
        <pre wrap="">Stefan, can you reproduce the same issue with the official Subsurface
Windows binaries - not the ones you've built?

in your stack trace, i again see hints of concurrency problems which
may be caused by mingw.

</pre>
      </blockquote>
      <br>
    </blockquote>
    <br>
    Following Antons and Lubomirs suggestions I build 3 different
    flavours of MXE to play with. Here are the results:<br>
    <br>
    <table height="233" border="1" cellpadding="2" cellspacing="2"
      width="1071">
      <tbody>
        <tr>
          <td valign="top"><b>Source / Build target (release or debug)</b><b><br>
            </b></td>
          <td valign="top"><b>release</b><b><br>
            </b></td>
          <td valign="top"><b>debug</b><b><br>
            </b></td>
          <td valign="top"><b>Remark</b><b><br>
            </b></td>
        </tr>
        <tr>
          <td valign="top">Official daily build from Dirk, Qt5.7.1
            based:<br>
            subsurface-4.6.3-260-gcb15a37ee5d5.exe</td>
          <td valign="top">pass<br>
          </td>
          <td valign="top">not available<br>
          </td>
          <td valign="top"><br>
          </td>
        </tr>
        <tr>
          <td valign="top">My own build based on:<br>
            MXE 2016-10-12, Qt5.7.0, gcc 4.9.4, mingw 4.0.6<br>
            This is the environment I used during the last months.<br>
          </td>
          <td valign="top">?<br>
          </td>
          <td valign="top">fail<br>
            Crash after DC import<br>
          </td>
          <td valign="top"><br>
          </td>
        </tr>
        <tr>
          <td valign="top">My own build based on:<br>
            MXE 2016-10-12 updated Qt, Qt5.7.1, gcc 4.9.4, mingw 4.0.6<br>
            This is what I'm now going to use.<br>
          </td>
          <td valign="top">pass<br>
          </td>
          <td valign="top">fail<br>
            Crash after DC import</td>
          <td valign="top"><br>
          </td>
        </tr>
        <tr>
          <td valign="top">My own build based on:<br>
            MXE current git, Qt5.8, gcc 5.4.0, mingw 5.0.2</td>
          <td valign="top">fail<br>
            Crash immediately after startup (1)<br>
          </td>
          <td valign="top">fail<br>
            Crash after DC import</td>
          <td valign="top"><br>
          </td>
        </tr>
      </tbody>
    </table>
    <br>
    (1) This is what I know since weeks and why I up to now only used
    MXE 2016-10-12 with Qt5.7.<br>
    <br>
    My conclusions:<br>
    - Anything around Qt5.8, gcc 5.4.0 or mingw 5.0.2 or ??? doesn't
    work at all for me but only the release builds crash due to this
    general issue<br>
    - The crash after DC import is not linked to a specific Qt, gcc or
    mingw version<br>
    - It seems to be more the debug build which reveals (?!) an issue<br>
    <br>
    There is also one strange thing that happens at the end of the DC
    download for which I don't know if this is a bug or a feature:<br>
    At the position where there has been the "xx%" value right of the
    progress bar a string related to the last downloaded dive with date
    and time is printed. Please see the attached screenshot.<br>
    Can someone tell by heart if this is a feature or perhaps a buffer
    overrun? I for sure also going to have a look at the code...
    tomorrow...<br>
    <br>
    <br>
    Best regards<br>
    Stefan<br>
    <br>
    <div class="moz-signature">-- <br>
      <meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8">
      <title></title>
      <meta name="GENERATOR" content="OpenOffice.org 3.3 (Win32)">
      <meta name="CREATED" content="0;0">
      <meta name="CHANGEDBY" content="Stefan Fuchs">
      <meta name="CHANGED" content="20120503;23115492">
      <style type="text/css">
        <!--
                P { color: #000000 }
        -->
        </style>
      <p>Stefan Fuchs<br>
        E-Mail: <a href="mailto:sfuchs@gmx.de">sfuchs@gmx.de</a></p>
    </div>
  </body>
</html>