[mercury-users] Valgrind -- works and reports bugs in a hello_world
Fergus Henderson
fjh at cs.mu.OZ.AU
Fri Mar 28 23:57:09 AEDT 2003
On 28-Mar-2003, Ondrej Bojar <oboj7042 at ss1000.ms.mff.cuni.cz> wrote:
> For a 'main-->io__write_string("Hello.\n")' program are there 155 errors
> reported. Is this all right? :-)
Yes, it's alright.
> ==6711== Conditional jump or move depends on uninitialised value(s)
> ==6711== at 0x4035373C: GC_push_all_eager (in
> ==6711== Conditional jump or move depends on uninitialised value(s)
> ==6711== at 0x40353741: GC_push_all_eager (in
> ==6711== ERROR SUMMARY: 155 errors from 2 contexts (suppressed: 0 from 0)
These errors are all due to the conservative garbage collector scanning
uninitialized memory, which is to be expected and should not cause any
problems.
Strictly speaking, referencing uninitialized memory does not conform to
the C standard. However, the conservative garbage collector was never
intended to be strictly conforming code.
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-users mailing list
post: mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the users
mailing list