<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hi Lubomir,</p>
    <p>thanks for looking into this!<br>
    </p>
    <br>
    <div class="moz-cite-prefix">Am 09.04.2017 um 14:37 schrieb Lubomir
      I. Ivanov:</div>
    <blockquote
cite="mid:CAGDbWi9sY1VLmSHtjOjV-J9=CVLxo7BUimObq2B3zk3JDUpn-Q@mail.gmail.com"
      type="cite">
      <blockquote type="cite">
        <pre wrap="">It is that simply sometimes Subsurface under Windows 10 doesn't start. I
mean I click on the icon and no window and also no crash info appears. After
that I have a zombie Subsurface.exe running. I now for the first time
reproduced this with the MXE debug build and again attached drmingw to the
zombie exe.
</pre>
      </blockquote>
      <pre wrap="">so it appears to be entering an infinite loop when
desktop-widgets/globe.cpp calls setShowScaleBar(true);
it then tries to redirect debug output to a "NullStream" in
MarbleDebug.cpp which appears to fail on Windows.
QDebug attempts to acquire a Mutex lock but fails in
qmutex.cpp::setInternal() (wait()).

i will add a CC to Thiago Macieira to see if he has the time to check
your stack trace.

you could try:
1) in globe.cpp do a on top:
#include "MarbleDebug.h"

then above setShowScaleBar(true); call:
MarbleDebug::setEnabled(false);
</pre>
    </blockquote>
    This variant 1) does build.<br>
    Then when running it under Windows 10 it does show a similar
    behaviour: It starts 95% of the times but again sometimes I end up
    with a zombie process.<br>
    I again attached drmingw. Result is attached to this mail. From what
    I can see still marble is involved.<br>
    <br>
    <blockquote
cite="mid:CAGDbWi9sY1VLmSHtjOjV-J9=CVLxo7BUimObq2B3zk3JDUpn-Q@mail.gmail.com"
      type="cite">
      <pre wrap="">2) if the above fails try:
open the Marble source folder and find MarbleDebug.cpp and modify the
contents of the method mDebug() to be like so:
QDebug mDebug()
{
    return qDebug();
}
then rebuild marble.
</pre>
    </blockquote>
    Depending on your feedback I can test this as well. Didn't do it
    yet.<br>
    <blockquote
cite="mid:CAGDbWi9sY1VLmSHtjOjV-J9=CVLxo7BUimObq2B3zk3JDUpn-Q@mail.gmail.com"
      type="cite">
      <pre wrap="">3) you could also try a different Qt version.</pre>
    </blockquote>
    No fun ;-)<br>
    I have bad experience with MXE and I'm happy that I found an MXE
    version where the release and debug build and the resulting
    executable works. This is for me MXE release 2016-10-12 which comes
    with Qt5.7.<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>