* valgrind suppressions for current CVS Guile
@ 2004-11-24 14:32 Bill Schottstaedt
2004-12-22 16:38 ` Marius Vollmer
0 siblings, 1 reply; 4+ messages in thread
From: Bill Schottstaedt @ 2004-11-24 14:32 UTC (permalink / raw)
On the very slight chance this might save someone else
some time, here are the valgrind suppressions for the
current guile (valgrind's memcheck tool is very unhappy
with guile):
{
scm-1
Memcheck:Cond
fun:scm_i_find_heap_segment_containing_object
fun:*
}
{
scm-2
Memcheck:Cond
fun:scm_gc_mark
fun:*
}
{
scm-3
Memcheck:Cond
fun:scm_mark_locations
fun:*
}
{
scm-4
Memcheck:Value4
fun:scm_gc_mark
fun:*
}
{
scm-5
Memcheck:Value4
fun:scm_gc_mark_dependencies
fun:*
}
{
scm-6
Memcheck:Value4
fun:scm_i_string_mark
fun:*
}
{
scm-7
Memcheck:Cond
fun:scm_gc_mark_dependencies
fun:*
}
{
scm-8
Memcheck:Cond
fun:scm_mark_weak_vector_spines
fun:*
}
{
scm-9
Memcheck:Cond
fun:scm_i_sweep_card
fun:*
}
{
scm-10
Memcheck:Value4
fun:scm_i_symbol_mark
fun:*
}
{
scm-11
Memcheck:Value4
fun:scm_markcdr
fun:*
}
{
scm-12
Memcheck:Cond
fun:scan_weak_hashtables
fun:*
}
{
scm-13
Memcheck:Value4
fun:scm_markstream
fun:*
}
{
scm-14
Memcheck:Addr4
fun:scm_make_continuation
fun:*
}
{
scm-15
Memcheck:Value4
fun:continuation_mark
fun:scm_gc_mark_dependencies
fun:*
}
{
scm-16
Memcheck:Cond
fun:scm_from_uint32
fun:gxm_XGetFontProperty
fun:*
}
{
scm-17
Memcheck:Value4
fun:scm_i_sweep_card
fun:*
}
{
scm-18
Memcheck:Addr1
fun:scm_from_locale_stringn
fun:scm_from_locale_string
fun:*
}
{
scm-19
Memcheck:Addr1
fun:memcpy
fun:scm_from_locale_stringn
fun:scm_from_locale_string
fun:*
}
{
scm-20
Memcheck:Cond
fun:scm_from_int32
fun:*
}
{
scm-21
Memcheck:Cond
fun:__gmpz_init_set_si
fun:scm_from_int32
fun:*
}
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: valgrind suppressions for current CVS Guile
2004-11-24 14:32 valgrind suppressions for current CVS Guile Bill Schottstaedt
@ 2004-12-22 16:38 ` Marius Vollmer
2004-12-29 14:13 ` Bill Schottstaedt
0 siblings, 1 reply; 4+ messages in thread
From: Marius Vollmer @ 2004-12-22 16:38 UTC (permalink / raw)
Cc: Guile Users
Bill Schottstaedt <bil@ccrma.Stanford.EDU> writes:
These functions should not really need to do risky things, so maybe
valgrind is pointing out some real bugs. Could you investigate a bit?
Thanks!
> {
> scm-16
> Memcheck:Cond
> fun:scm_from_uint32
> fun:gxm_XGetFontProperty
> fun:*
> }
>
> {
> scm-18
> Memcheck:Addr1
> fun:scm_from_locale_stringn
> fun:scm_from_locale_string
> fun:*
> }
>
> {
> scm-19
> Memcheck:Addr1
> fun:memcpy
> fun:scm_from_locale_stringn
> fun:scm_from_locale_string
> fun:*
> }
>
> {
> scm-20
> Memcheck:Cond
> fun:scm_from_int32
> fun:*
> }
>
> {
> scm-21
> Memcheck:Cond
> fun:__gmpz_init_set_si
> fun:scm_from_int32
> fun:*
> }
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: valgrind suppressions for current CVS Guile
2004-12-22 16:38 ` Marius Vollmer
@ 2004-12-29 14:13 ` Bill Schottstaedt
2005-01-04 0:36 ` Kevin Ryde
0 siblings, 1 reply; 4+ messages in thread
From: Bill Schottstaedt @ 2004-12-29 14:13 UTC (permalink / raw)
Cc: Guile Users
> These functions should not really need to do risky things, so maybe
> valgrind is pointing out some real bugs. Could you investigate a bit?
"Upon further review", I think these were not Guile problems after all.
Valgrind does report a minor memory leak, which I forgot to bring in
to work -- it was in scm_strftime in stime.c, calling bdtime2c (line 641),
which calls scm_to_locale_string (line 541) to fill a field of a struct ("t")
that is inaccessible upon exiting the function. I can get the exact
messages if you need them.
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: valgrind suppressions for current CVS Guile
2004-12-29 14:13 ` Bill Schottstaedt
@ 2005-01-04 0:36 ` Kevin Ryde
0 siblings, 0 replies; 4+ messages in thread
From: Kevin Ryde @ 2005-01-04 0:36 UTC (permalink / raw)
Cc: guile-user
Bill Schottstaedt <bil@ccrma.Stanford.EDU> writes:
>
> Valgrind does report a minor memory leak, which I forgot to bring in
> to work -- it was in scm_strftime in stime.c, calling bdtime2c (line 641),
> which calls scm_to_locale_string (line 541) to fill a field of a struct ("t")
> that is inaccessible upon exiting the function.
Thanks, I applied a fix.
(scm_strftime probably should be using a frame for its memory stuff,
but that can wait.)
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-01-04 0:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-24 14:32 valgrind suppressions for current CVS Guile Bill Schottstaedt
2004-12-22 16:38 ` Marius Vollmer
2004-12-29 14:13 ` Bill Schottstaedt
2005-01-04 0:36 ` Kevin Ryde
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).