Re: [Gc] Issue with Valgrind in threading

Brian Beuning <bbeuning-gQiW9Mwg1h1Wk0Htik3J/[email protected]> Sun, 1 Nov 2015 13:23:49 -0500 (EST)
Newsgroups gmane.comp.programming.garbage-collection.boehmgc
Message-ID <[email protected]>
Sounds like at least 2 FAQ topics in this.


Brian Beuning
CoreCard
Work: 770 564 5616
E-mail: bbeuning-gQiW9Mwg1h1Wk0Htik3J/[email protected]
Web: www.corecard.com

----- Original Message -----
From: "Agnius Vasiliauskas" <[email protected]>
To: [email protected]
Sent: Sunday, November 1, 2015 5:41:11 AM
Subject: [Gc] Issue with Valgrind in threading



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 
_______________________________________________
bdwgc mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/bdwgc