* guile.supp for valgrind
@ 2003-01-05 17:14 Bruce Korb
2003-01-05 18:54 ` Han-Wen Nienhuys
0 siblings, 1 reply; 2+ messages in thread
From: Bruce Korb @ 2003-01-05 17:14 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 411 bytes --]
Hi Julian,
Thanks for valgrind!! It's wonderful.
My box (SuSE Linux 8.0) has a Guile library with lots of
problems. The attached suppression file pretty much gets
rid of them. I don't know if they've fixed the issues
after Guile-1.4, so I'm CC-ing them for their possible
interest. I'm thinking that this should be incorporated
into the default.supp when the Guile library version is 1.4.
Cheers - Bruce
[-- Attachment #2: guile.supp --]
[-- Type: text/plain, Size: 344 bytes --]
# Suppressions for the Guile library
#
{
scm_mark_loc
Cond
fun:scm_mark_locations
fun:scm_threads_mark_stacks
}
{
scm_mark_loc2
Cond
fun:scm_mark_locations
fun:scm_gc_mark
}
{
scm_gc_mark
Cond
fun:scm_gc_mark
fun:scm_mark_locations
}
{
scm_gc_use
Value4
fun:scm_gc_mark
fun:scm_mark_locations
}
[-- Attachment #3: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* guile.supp for valgrind
2003-01-05 17:14 guile.supp for valgrind Bruce Korb
@ 2003-01-05 18:54 ` Han-Wen Nienhuys
0 siblings, 0 replies; 2+ messages in thread
From: Han-Wen Nienhuys @ 2003-01-05 18:54 UTC (permalink / raw)
Cc: jseward
bkorb@veritas.com writes:
> Thanks for valgrind!! It's wonderful.
> My box (SuSE Linux 8.0) has a Guile library with lots of
> problems. The attached suppression file pretty much gets
> rid of them. I don't know if they've fixed the issues
> after Guile-1.4, so I'm CC-ing them for their possible
> interest. I'm thinking that this should be incorporated
> into the default.supp when the Guile library version is 1.4.
GUILE does conservative garbage collection, which entails scanning
(possibly uninitialized) chunks of memory for possible pointers. The
valgrind errors are harmless.
Here's a suppression file for 1.6 and for 1.7 CVS
****************
1.6:
{
guilegc
Cond
fun:heap_segment
}
{
guilegc
Value4
fun:scm_mark_weak_vector_spines
}
{
guilegc
Cond
fun:scm_mark_weak_vector_spines
}
{
guilegc
Value4
fun:scm_scan_weak_vectors
}
{
guilegc
Cond
fun:scm_scan_weak_vectors
}
{
guilegc
Value4
fun:scm_gc_mark
}
{
guilegc
Cond
fun:scm_gc_mark
}
{
guilegc
Cond
fun:scm_gc_sweep
}
{
guilegc
Value4
fun:scm_markstream
}
{
guilegc
Cond
fun:scm_mark_locations
}
{
guilegc
Value4
fun:scm_markcdr
}
****************
guile 1.7 and later
# guile valgrind suppression file
{
guilegc
Value4
fun:scm_gc_mark_dependencies
}
{
guilegc
Value4
fun:scm_gc_mark
}
{
guilegc
Value4
fun:scm_i_find_heap_segment_containing_object
}
{
guilegc
Cond
fun:scm_i_find_heap_segment_containing_object
}
{
guilegc
Value4
fun:scm_markcdr
}
{
guilegc
Value4
fun:scm_mark_locations
}
{
guilegc
Cond
fun:scm_mark_locations
}
{
guilegc
Cond
fun:scm_gc_mark
}
{
guilegc
Cond
fun:scm_i_sweep_card
}
{
guilegc
Cond
fun:scm_mark_weak_vector_spines
}
{
guilegc
Cond
fun:scm_gc_mark_dependencies
}
{
guilegc
Cond
fun:scm_scan_weak_vectors
}
--
Han-Wen Nienhuys | hanwen@cs.uu.nl | http://www.cs.uu.nl/~hanwen
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-01-05 18:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-05 17:14 guile.supp for valgrind Bruce Korb
2003-01-05 18:54 ` Han-Wen Nienhuys
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).