Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Mar 2008 13:12:42 -0400
From:      Stephen Clark <sclark46@earthlink.net>
To:        barner@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   FreeBSD Port: valgrind-snapshot-352_7
Message-ID:  <1206292362.18333.3.camel@joker4.seclark.com>

next in thread | raw e-mail | index | archive | help
Hello,

I am trying to use valgrind on fbsd 6.2 patch 7 to find a memory leak in
an ecpg postgresql app. When I run valgrind after a few minutes I get
this error and valgrind terminates. Ideas?

PORTNAME=       valgrind
PORTVERSION=    352
PORTREVISION=   7
CATEGORIES=     devel

valgrind: vg_malloc2.c:1008 (vgPlain_arena_malloc): Assertion `new_sb !=
((void*)0)' failed.
==4166==    at 0xB802BE1F: (within /usr/local/lib/valgrind/stage2)
==4166==    by 0xB802BE1E: (within /usr/local/lib/valgrind/stage2)
==4166==    by 0xB802BE5D: vgPlain_core_assert_fail
(in /usr/local/lib/valgrind/stage2)
==4166==    by 0xB8028091: vgPlain_arena_malloc
(in /usr/local/lib/valgrind/stage2)

sched status:

Thread 1: status = Runnable, associated_mx = 0x0, associated_cv = 0x0
==4166==    at 0x3C03894B: calloc
(in /usr/local/lib/valgrind/vgpreload_memcheck.so)


Note: see also the FAQ.txt in the source distribution.
It contains workarounds to several common problems.

If that doesn't help, please report this bug to: valgrind.kde.org

In the bug report, send all the above text, the valgrind
version, and what Linux distro you are using.  Thanks.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1206292362.18333.3.camel>