<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hello Lubomir, hello All,<br>
    </p>
    Am 09.04.2017 um 22:15 schrieb Lubomir I. Ivanov:<br>
    <blockquote
      cite="mid:1491768917-3344-1-git-send-email-neolit123@gmail.com"
      type="cite">
      <pre wrap="">From: "Lubomir I. Ivanov" <a class="moz-txt-link-rfc2396E" href="mailto:neolit123@gmail.com"><neolit123@gmail.com></a>

For some reason on Windows 10 the NullDevice class approach
causes an infinite loop because QtCore cannot obtain a mutex lock
(ntdll.dll!_NtWaitForSingleObject) for the text stream.

Using this method of passing the location of the system null device
to QFile, "should" work better.

Reported-by: Stefan Fuchs <a class="moz-txt-link-rfc2396E" href="mailto:sfuchs@gmx.de"><sfuchs@gmx.de></a>
Signed-off-by: Lubomir I. Ivanov <a class="moz-txt-link-rfc2396E" href="mailto:neolit123@gmail.com"><neolit123@gmail.com></a>
---

untested in marble for the reported use case!
i've tested it in a standalone "hello-world" type of project.

this is a patch for the MarbleDebug.cpp file in the Subsurface branch:
against 4325da9 [ssrf/Subsurface-branch]
---
 src/lib/marble/MarbleDebug.cpp | 28 +++++++---------------------
 1 file changed, 7 insertions(+), 21 deletions(-)
</pre>
    </blockquote>
    <br>
    I applied the patch, continued testing and now have new results:<br>
    I don't have a "zombie" Subsurface.exe any more every ~10th startup
    but I see a "real" crash. Call stacks of two occurrences attached. I
    guess what I'm seeing is the very same problem somewhere in Marble
    because it again starts at:<br>
    libssrfmarblewidgetd.dll!runĀ 
[/home/stefan/Entwicklung/Subsurface/marble-source/src/lib/marble/FileLoader.cpp
    @ 138]<br>
    <br>
    Can I do s.th. to provide more debugging output?<br>
    <br>
    Best regards<br>
    Stefan<br>
    <br>
    BTW: This refers to
    <a class="moz-txt-link-freetext" href="https://github.com/Subsurface-divelog/marble/pull/1">https://github.com/Subsurface-divelog/marble/pull/1</a><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>