[cvsnt] Segmentation fault on build

Tony Hoyle tony.hoyle at march-hare.com
Wed Feb 6 12:26:44 GMT 2008

Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.

Albe wrote:
> ==17489==
> ==17489== 1 errors in context 1 of 1:
> ==17489== Invalid free() / delete / delete[]
> ==17489==    at 0x401C689: free (vg_replace_malloc.c:323)
> ==17489==    by 0x42D0F4B: free_mem (in /lib/tls/libc-2.3.5.so)
> ==17489==    by 0x42D0A14: __libc_freeres (in /lib/tls/libc-2.3.5.so)
> ==17489==    by 0x401735C: _vgnU_freeres (vg_preloaded.c:60)
> ==17489==    by 0x4207A05: exit (in /lib/tls/libc-2.3.5.so)
> ==17489==    by 0x806D3D0: error_exit() (error.cpp:55)
> ==17489==    by 0x808CF7A: main (main.cpp:1043)
If that was the only error that valgrind found it might be worth asking 
if there are any updates for your distro.  It's failing after exit() 
which means that the libc shutdown itself is failing.. it's not running 
cvsnt code by that point.

If we were corrupting something or overrunning a buffer I'd expect 
valgrind to find it much earlier in the process, so I'm not sure what's 
going on - if you can find out what _vgnU_freeres and __libc_freeres are 
actually trying to free then it would help a lot.


More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook