|
From: Jeff H. <hj...@cl...> - 2006-07-07 06:31:09
|
This is the first time I've used valgrind, so I'm a little lost by this error. My guess is this is an internal assertion failure since I don't recognize this resource, but here is what I get: ***************** Start Valgrind Output ***************** ==11383== Memcheck, a memory error detector. ==11383== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al. ==11383== Using LibVEX rev 1471, a library for dynamic binary translation. ==11383== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP. ==11383== Using valgrind-3.1.0, a dynamic binary instrumentation framework. ==11383== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al. ==11383== For more details, rerun with: -v ==11383== depth: 24 ** (process:11383): CRITICAL **: ws_window_redirect_subwindows: assertion `WS_RESOURCE (window)->display->composite.available' failed ** ERROR **: Display and XID must be specified when creating a resource aborting... ==11383== ==11383== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 35 from 1) ==11383== malloc/free: in use at exit: 1,175,860 bytes in 673 blocks. ==11383== malloc/free: 1,600 allocs, 927 frees, 1,586,439 bytes allocated. ==11383== For counts of detected errors, rerun with: -v ==11383== searching for pointers to 673 not-freed blocks. ==11383== checked 1,414,544 bytes. ==11383== ==11383== 400 bytes in 1 blocks are definitely lost in loss record 29 of 46 ==11383== at 0x40051F9: malloc (vg_replace_malloc.c:149) ==11383== by 0x6141A1: XGetVisualInfo (in /usr/lib/libX11.so.6.2.0) ==11383== by 0x721EC54: glXChooseVisual (in /usr/lib/libGL.so.1.0.8756) ==11383== by 0x4F: ??? ==11383== ==11383== ==11383== 800 bytes in 20 blocks are possibly lost in loss record 30 of 46 ==11383== at 0x40045EB: calloc (vg_replace_malloc.c:279) ==11383== by 0x9A369D: g_malloc0 (in /usr/lib/libglib-2.0.so.0.1000.3) ==11383== by 0xA2B90F: (within /usr/lib/libgobject-2.0.so.0.1000.3) ==11383== by 0xA2BAA4: (within /usr/lib/libgobject-2.0.so.0.1000.3) ==11383== by 0xA2C08C: g_type_init_with_debug_flags (in /usr/lib/libgobject-2.0.so.0.1000.3) ==11383== by 0xA2C1F1: g_type_init (in /usr/lib/libgobject-2.0.so.0.1000.3) ==11383== by 0x8048F78: (within /usr/bin/scenetest) ==11383== by 0x474723: __libc_start_main (in /lib/libc-2.4.so) ==11383== ==11383== ==11383== 10,360 bytes in 17 blocks are possibly lost in loss record 39 of 46 ==11383== at 0x40044B3: memalign (vg_replace_malloc.c:332) ==11383== by 0x4004509: posix_memalign (vg_replace_malloc.c:384) ==11383== by 0x9B25C8: (within /usr/lib/libglib-2.0.so.0.1000.3) ==11383== by 0x9B3003: g_slice_alloc (in /usr/lib/libglib-2.0.so.0.1000.3) ==11383== by 0x9B3154: g_slice_alloc0 (in /usr/lib/libglib-2.0.so.0.1000.3) ==11383== by 0xA33279: g_type_create_instance (in /usr/lib/libgobject-2.0.so.0.1000.3) ==11383== by 0xA1B011: (within /usr/lib/libgobject-2.0.so.0.1000.3) ==11383== by 0xA18E69: g_object_newv (in /usr/lib/libgobject-2.0.so.0.1000.3) ==11383== by 0xA1993E: g_object_new_valist (in /usr/lib/libgobject-2.0.so.0.1000.3) ==11383== by 0xA19AEF: g_object_new (in /usr/lib/libgobject-2.0.so.0.1000.3) ==11383== by 0x7001A5: ws_display_new (in /usr/lib/libcm.so.7.0.0) ==11383== by 0x8048F9B: (within /usr/bin/scenetest) ==11383== ==11383== LEAK SUMMARY: ==11383== definitely lost: 400 bytes in 1 blocks. ==11383== possibly lost: 11,160 bytes in 37 blocks. ==11383== still reachable: 1,164,300 bytes in 635 blocks. ==11383== suppressed: 0 bytes in 0 blocks. ==11383== Reachable blocks (those to which a pointer was found) are not shown. ==11383== To see them, rerun with: --show-reachable=yes ****************** End Valgrind Output ****************** Any help interpreting this error would be greatly appreciated. Jeff Head hj...@cl... |
|
From: Tom H. <to...@co...> - 2006-07-07 07:21:28
|
In message <200...@cl...>
Jeff Head <hj...@cl...> wrote:
> This is the first time I've used valgrind, so I'm a little lost by this error.
> My guess is this is an internal assertion failure since I don't recognize
> this resource, but here is what I get:
>
> ***************** Start Valgrind Output *****************
>
> ==11383== Memcheck, a memory error detector.
> ==11383== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
> ==11383== Using LibVEX rev 1471, a library for dynamic binary translation.
> ==11383== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.
> ==11383== Using valgrind-3.1.0, a dynamic binary instrumentation framework.
> ==11383== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
> ==11383== For more details, rerun with: -v
> ==11383==
> depth: 24
>
> ** (process:11383): CRITICAL **: ws_window_redirect_subwindows: assertion
> `WS_RESOURCE (window)->display->composite.available' failed
>
> ** ERROR **: Display and XID must be specified when creating a resource
> aborting...
That isn't an assertion in valgrind at all, it's an assertion in your
program (or a library that it uses).
Tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|