[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Memory Leak Tool with GLib Applications
- From: Owen Taylor <otaylor redhat com>
- To: Tony Yat-Tung Cheung <tony astri org>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Memory Leak Tool with GLib Applications
- Date: Wed, 05 Nov 2003 10:37:06 -0500
On Tue, 2003-11-04 at 22:26, Tony Yat-Tung Cheung wrote:
> Hi Owen and others,
>
> Thanks! I have tried using the memprof 5.1 (preloaded on RH 9.0) with
> some glib applications.
>
> Most glib applications run fine, except the multi-threaded ones. I
> have found that when I use memprof on a multi-threaded glib
> applications, the application simply hangs at the g_thread_create().
> My system is RH 9.0 and is using pthread.
>
> If I use memprof on the below application, it stops right after
> "Creating thread1" is displayed.
>
> Is it a known issue? Any workaround?
Sorry, no, it's not a known issue to me; I last tested threaded apps
around August 2002, and it was working then with whatever libc version
I was running, but new libc versions very frequently do break memprof
for various and sundry reasons.
One thing you might try just as an experiment is to:
export LD_ASSUME_KERNEL=2.2.5
This will disable NPTL and force a fallback to the older LinuxThreads
implementation which might not trigger the same problem.
Regards,
Owen
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]