This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/32485] 'cout << str' segfaults
- From: "nunoplopes at sapo dot pt" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jun 2007 19:07:21 -0000
- Subject: [Bug libstdc++/32485] 'cout << str' segfaults
- References: <bug-32485-9869@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from nunoplopes at sapo dot pt 2007-06-24 19:07 -------
unfortunately I don't have a short reproducing test case. The whole framework
is a bit complex to allow me to extract a simple test case. This problem seems
to be related with some initialization that is performed by libstdc++, which
does not play well with the dlopen flags I'm using.
I can extract some assembly code, or something else if you want.
The dlopen code:
const int dlopen_flags = RTLD_LAZY | RTLD_LOCAL | RTLD_DEEPBIND;
void *handle = dlopen(tmp_mod_name.c_str(), dlopen_flags);
--
nunoplopes at sapo dot pt changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |UNCONFIRMED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32485