Agnius Vasiliauskas
2015-11-01 10:41:11 UTC
Hi,
I'm trying to use boehm garbage collector. When I run Valgrind memory leak
detector in my
program which uses GC - i've got such messages: (GC was compiled with POSIX
thread support):
Leak_PossiblyLost|====|144 bytes in 1 blocks are possibly lost in loss
record 1 of 1| ||Call stack:|
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so||0x402C109: calloc|
/build/buildd/eglibc-2.19/elf/dl-tls.c|296|0x401117E: allocate_dtv|
/build/buildd/eglibc-2.19/elf/dl-tls.c|460|0x40118EB: _dl_allocate_tls|
/build/buildd/eglibc-2.19/nptl/allocatestack.c|589|0x40587A2:
pthread_create@@GLIBC_2.1|
/home/agnius/Downloads/gc-7.4.2/pthread_support.c|437|0x80529ED:
GC_start_mark_threads|
/home/agnius/Downloads/gc-7.4.2/misc.c|1195|0x80498DE: GC_init.part.1|
/home/agnius/Downloads/bigint/main.c|225|0x804B284: main|
seems like some memory leak issue when creating posix threads ?
Thanks for help.
Agnius
I'm trying to use boehm garbage collector. When I run Valgrind memory leak
detector in my
program which uses GC - i've got such messages: (GC was compiled with POSIX
thread support):
Leak_PossiblyLost|====|144 bytes in 1 blocks are possibly lost in loss
record 1 of 1| ||Call stack:|
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so||0x402C109: calloc|
/build/buildd/eglibc-2.19/elf/dl-tls.c|296|0x401117E: allocate_dtv|
/build/buildd/eglibc-2.19/elf/dl-tls.c|460|0x40118EB: _dl_allocate_tls|
/build/buildd/eglibc-2.19/nptl/allocatestack.c|589|0x40587A2:
pthread_create@@GLIBC_2.1|
/home/agnius/Downloads/gc-7.4.2/pthread_support.c|437|0x80529ED:
GC_start_mark_threads|
/home/agnius/Downloads/gc-7.4.2/misc.c|1195|0x80498DE: GC_init.part.1|
/home/agnius/Downloads/bigint/main.c|225|0x804B284: main|
seems like some memory leak issue when creating posix threads ?
Thanks for help.
Agnius