public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "mailnew4ster at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/101933] Unloaded dll with global std::mutex causes exe to crash on exit #38 Date: Fri, 03 Sep 2021 20:16:42 +0000 [thread overview] Message-ID: <bug-101933-4-sA918H9Nx1@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-101933-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101933 --- Comment #3 from Paul Jackson <mailnew4ster at gmail dot com> --- Maybe I'm missing something, but even this dll crashes for me now. So it seems like it has nothing to do with global variables or static storage. That sucks, it means that I just can't use C++ in dlls. Or is it? How come nobody noticed it before? I hope that I'm missing something here. ``` #include <vector> void x() { std::vector<int> v; v.push_back(2); } ```
next prev parent reply other threads:[~2021-09-03 20:16 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-08-16 10:23 [Bug c++/101933] New: " mailnew4ster at gmail dot com 2021-08-16 21:20 ` [Bug target/101933] " pinskia at gcc dot gnu.org 2021-09-03 19:58 ` mailnew4ster at gmail dot com 2021-09-03 20:16 ` mailnew4ster at gmail dot com [this message] 2021-09-04 8:56 ` [Bug target/101933] Unloaded dll with global std::mutex causes exe to crash on exit mailnew4ster at gmail dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-101933-4-sA918H9Nx1@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).