Re: I have received a segmentation fault on app close on version 3.3.3

Maarten Bent <[email protected]> Thu, 16 Jul 2026 22:00:51 +0200
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------h0VjeUBNi10yjqfBb3Mfkp7C
Content-Type: text/plain; charset="UTF-8"; format=flowed
Content-Transfer-Encoding: quoted-printable

Indeed, looks like that problem. The segfaults are only fixed for=20
mingw64 >=3D 15.0.

Older mingw64 versions likely do not support native TLS (it also depends=20
on if gcc16 is used, and its build options).
So they will still use the problematic UntranslatedStringHolder that was=20
added in wx3.3.2 (pr 25928).

You could try changing the mingw64 version check that PB mention to '<=20
13', so your version will not use that UntranslatedStringHolder.
But then you might get non-zero exit codes that 25928 tried to fix.

Maarten

On 16 Jul 2026 13:54, PB wrote:
> Hi,
>
> it looks like this bug has resurfaced:=20
> https://github.com/wxWidgets/wxWidgets/issues/26195
>
> I would try reverting=C2=A0the mingw64 version check added here=20
> https://github.com/wxWidgets/wxWidgets/pull/26587/changes to see if it=20
> helps.
>
> You told us which version of mingw-w64 are you using but which=20
> compiler (GCC version, UCRT vs MSVCRT) from which source are you using?
>
> Regards
> PB
> --=20
> Please read https://www.wxwidgets.org/support/mlhowto.htm before posting.
> ---
> You received this message because you are subscribed to the Google=20
> Groups "wx-users" group.
> To unsubscribe from this group and stop receiving emails from it, send=20
> an email to [email protected].
> To view this discussion visit=20
> https://groups.google.com/d/msgid/wx-users/ff457013-cea0-4750-878c-b5529c=
ae8182n%40googlegroups.com=20
> <https://groups.google.com/d/msgid/wx-users/ff457013-cea0-4750-878c-b5529=
cae8182n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter>.

--=20
Please read https://www.wxwidgets.org/support/mlhowto.htm before posting.
---=20
You received this message because you are subscribed to the Google Groups "=
wx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/wx-users/41=
1fbff1-00ed-40f8-852b-9bc02ed42304%40gmail.com.

--------------h0VjeUBNi10yjqfBb3Mfkp7C
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF-8=
">
  </head>
  <body>
    Indeed, looks like that problem. The segfaults are only fixed for
    mingw64 &gt;=3D 15.0.<br>
    <br>
    Older mingw64 versions likely do not support native TLS (it also
    depends on if gcc16 is used, and its build options).<br>
    So they will still use the problematic UntranslatedStringHolder that
    was added in wx3.3.2 (pr 25928).<br>
    <br>
    You could try changing the mingw64 version check that PB mention to
    '&lt; 13', so your version will not use that
    UntranslatedStringHolder.<br>
    But then you might get non-zero exit codes that 25928 tried to fix.<br>
    <br>
    Maarten<br>
    <br>
    <div class=3D"moz-cite-prefix">On 16 Jul 2026 13:54, PB wrote:<br>
    </div>
    <blockquote type=3D"cite"
      cite=3D"mid:[email protected]">
      <meta http-equiv=3D"content-type" content=3D"text/html; charset=3DUTF=
-8">
      <div>Hi,</div>
      <div><br>
      </div>
      <div>it looks like this bug has resurfaced:
        <a class=3D"moz-txt-link-freetext" href=3D"https://github.com/wxWid=
gets/wxWidgets/issues/26195">https://github.com/wxWidgets/wxWidgets/issues/=
26195</a></div>
      <div><br>
      </div>
      <div>I would try reverting=C2=A0the mingw64 version check added here
        <a class=3D"moz-txt-link-freetext" href=3D"https://github.com/wxWid=
gets/wxWidgets/pull/26587/changes">https://github.com/wxWidgets/wxWidgets/p=
ull/26587/changes</a> to see
        if it helps.</div>
      <div><br>
      </div>
      <div>You told us which version of mingw-w64 are you using but
        which compiler (GCC version, UCRT vs MSVCRT) from which source
        are you using?</div>
      <div><span
          style=3D"font-family: monospace; background-color: transparent;">=
<br>
        </span></div>
      <div><span
          style=3D"font-family: monospace; background-color: transparent;">=
Regards</span></div>
      <div><span
          style=3D"font-family: monospace; background-color: transparent;">=
PB</span></div>
      -- <br>
      Please read <a
        href=3D"https://www.wxwidgets.org/support/mlhowto.htm"
        moz-do-not-send=3D"true" class=3D"moz-txt-link-freetext">https://ww=
w.wxwidgets.org/support/mlhowto.htm</a>
      before posting.<br>
      --- <br>
      You received this message because you are subscribed to the Google
      Groups "wx-users" group.<br>
      To unsubscribe from this group and stop receiving emails from it,
      send an email to <a
        href=3D"mailto:[email protected]"
        moz-do-not-send=3D"true" class=3D"moz-txt-link-freetext">wx-users+u=
[email protected]</a>.<br>
      To view this discussion visit <a
href=3D"https://groups.google.com/d/msgid/wx-users/ff457013-cea0-4750-878c-=
b5529cae8182n%40googlegroups.com?utm_medium=3Demail&amp;utm_source=3Dfooter=
"
        moz-do-not-send=3D"true">https://groups.google.com/d/msgid/wx-users=
/ff457013-cea0-4750-878c-b5529cae8182n%40googlegroups.com</a>.<br>
    </blockquote>
    <br>
  </body>
</html>

<p></p>

-- <br />
Please read <a href=3D"https://www.wxwidgets.org/support/mlhowto.htm">https=
://www.wxwidgets.org/support/mlhowto.htm</a> before posting.<br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;wx-users&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:[email protected]">wx-users+u=
[email protected]</a>.<br />
To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/=
wx-users/411fbff1-00ed-40f8-852b-9bc02ed42304%40gmail.com?utm_medium=3Demai=
l&utm_source=3Dfooter">https://groups.google.com/d/msgid/wx-users/411fbff1-=
00ed-40f8-852b-9bc02ed42304%40gmail.com</a>.<br />

--------------h0VjeUBNi10yjqfBb3Mfkp7C--