After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 172748 - Glib::Module does not support glib's G_MODULE_BIND_LOCAL flag
Glib::Module does not support glib's G_MODULE_BIND_LOCAL flag
Status: RESOLVED FIXED
Product: glibmm
Classification: Bindings
Component: general
2.6.x
Other FreeBSD
: Normal minor
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2005-04-05 22:26 UTC by sigsegv
Modified: 2005-04-22 07:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description sigsegv 2005-04-05 22:26:07 UTC
Version details: Appears in earlier version of Glibmm as well
Distribution/Version: This bug affects all systems using dlopen()

The enum Glib::ModuleFlags does not have a MODULE_BIND_LOCAL entry that 
coresponds with glib's G_MODULE_BIND_LOCAL flag.  Without it modules are always 
loaded RTLD_GLOBAL.  Work around is to use code like the following:

Glib::Module module(moduleName, Glib::ModuleFlags(2));
Comment 1 Murray Cumming 2005-04-06 13:04:47 UTC
A patch would be welcome.
Comment 2 sigsegv 2005-04-06 20:05:09 UTC
Sure.  Should I work against the cvs HEAD, glibmm-2-6 or glibmm-2-4.  Should I 
provide patches for all 3?
Comment 3 Murray Cumming 2005-04-07 08:33:09 UTC
HEAD, because we may not add API to stable branches.
Comment 4 Murray Cumming 2005-04-21 11:29:22 UTC
How's this going? Do you need help?
Comment 5 sigsegv 2005-04-21 19:00:47 UTC
I'm sorry.  It looks like things have been lost.  I sent a patch to you about 10 
days ago, and you told me at the time that you would take it from there.  Do you 
need me to resend it to you?

Do I need to do something with this bug in bugzilla?  Change its state?  Add 
more comments?

Let me know.
Comment 6 Murray Cumming 2005-04-22 07:27:28 UTC
Sorry, I guess that's an example of why people should use bugzilla or at least
the mailing list instead of sending stuff directly to me. It's done now, in the
HEAD branch. Thanks.