Re: Memory leak in g_dbus_proxy_new_sync and Gio::DBus::Proxy

2016-01-07 Thread Andrejs Hanins
On 01/06/2016 07:30 PM, Chris Vine wrote: > On Wed, 6 Jan 2016 15:14:32 +0200 > Andrejs Hanins wrote: >> Hi, >> >> This is related to the SO question >> http://stackoverflow.com/questions/29823097/glib-memory-leak-when-creating-gdbusproxy >> >> I'm using Glibmm (2.44.0) and also faced a m

Re: [glib] malloc and bdwgc

2016-01-07 Thread 张海
Yes, but glib is the only one I'm using now. Still I don't know how to make GC_malloc() call the original malloc() if I'm using LD_PRELOAD or the wrapper function and dlsym way. Just now I found I've misread http://www.gnu.org/software/libc/manual/html_node/Hooks-for-Malloc.html , and that such r

Re: [glib] malloc and bdwgc

2016-01-07 Thread Paul Davis
There are many libraries that can call malloc before main(). On Thu, Jan 7, 2016 at 2:10 AM, 张海 wrote: > I'm using glib without the whole GObject system and reference counting > mechanism, and I'd like to integrate bdwgc > (https://github.com/ivmai/bdwgc/) because of the complexity of my > progr