From: Andrew Gaylard <ag@computer.org>
To: guile-user@gnu.org
Subject: Re: Valgrind warnings with -1.8.6
Date: Thu, 30 Apr 2009 11:12:09 +0200 [thread overview]
Message-ID: <9df6f3ea0904300212j4d71a823icea9b2dc70da2eb6@mail.gmail.com> (raw)
In-Reply-To: <9df6f3ea0904060805y450a8ec9gcd550b69728dc886@mail.gmail.com>
On Mon, Apr 6, 2009 at 5:05 PM, Andrew Gaylard <ag@computer.org> wrote:
> Hi,
>
> I'm linking with libguile on Linux, built from source, to extend my
> C application with Scheme. I'm seeing a lot of warnings from
> valgrind. The same warnings appear when using Guile standalone.
> Should I be worried?
After some digging, I'm a bit closer. Building from today's git
shows fewer problems:
grep '^==[0-9]*== [a-zA-Z]' ./hello-world.vg |
awk '/FILE DESCRIPTORS/ {x=0} x==1 {print} /My PID/ {x=1}' |
sort | uniq -c
25 ==3551== Conditional jump or move depends on uninitialised value(s)
15 ==3551== Use of uninitialised value of size 4
1 ==3551== Warning: bad signal number 0 in sigaction()
Also, something that may or may not be related...
I've seen that a build without optimisation, i.e.:
make distclean ; ./autogen.sh ; CFLAGS=-g ./configure ; make
fails like this:
make[2]: Entering directory `/home/apg/tmp/guile-git/guile/module'
/bin/mkdir -p `dirname ice-9/psyntax-pp.go`
../meta/uninstalled-env guile-tools compile -o "ice-9/psyntax-pp.go"
"ice-9/psyntax-pp.scm"
ERROR: Stack overflow
make[2]: *** [ice-9/psyntax-pp.go] Error 1
But doing the same without specifying the CFLAGS
(i.e. using the default CFLAGS of "-g -O2") builds fine:
make distclean ; ./autogen.sh ; ./configure ; make
(This is on Linux (Ubuntu-8.04).)
- Andrew
next prev parent reply other threads:[~2009-04-30 9:12 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-06 15:05 Valgrind warnings with -1.8.6 Andrew Gaylard
2009-04-07 10:40 ` Andrew Gaylard
2009-04-07 19:47 ` Andreas Rottmann
2009-04-07 21:25 ` Neil Jerram
2009-04-08 7:36 ` Ludovic Courtès
2009-04-08 13:38 ` Paul Emsley
2009-04-12 7:11 ` Neil Jerram
2009-04-30 9:12 ` Andrew Gaylard [this message]
2009-04-30 21:09 ` Ludovic Courtès
2009-05-01 10:13 ` Andy Wingo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9df6f3ea0904300212j4d71a823icea9b2dc70da2eb6@mail.gmail.com \
--to=ag@computer.org \
--cc=guile-user@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).