[vtk-developers] backtrace of segfault in Charts-TestMultipleScalarsToColors on bubbles OSMesa build
Kevin H. Hobbs
hobbsk at ohiou.edu
Mon Oct 25 09:41:37 EDT 2010
On 10/20/2010 09:46 AM, Marcus D. Hanwell wrote:
>
> That looks like an OSMesa issue, querying for supported OpenGL
> extensions shouldn't cause a segfault. I will add this to my list, and
> see if I can possibly trace into OSMesa. It would be nice to get this
> working, but at first glance this is just due to us checking for
> OpenGL 1.2.
>
> Thanks,
>
> Marcus
>
I'll send an e-mail to the Mesa dev list.
In the meantime here is what valgrind says :
valgrind /home/kevin/kitware/VTK_OSMesa_Build/bin/ChartsCxxTests
"TestMultipleScalarsToColors" "-D" "/home/kevin/kitware/VTKData" "-T"
"/home/kevin/kitware/VTK_OSMesa_Build/Testing/Temporary" "-V"
"Baseline/Charts/TestMultipleScalarsToColors.png" "-E" "25"
==28168== Memcheck, a memory error detector
==28168== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==28168== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info
==28168== Command:
/home/kevin/kitware/VTK_OSMesa_Build/bin/ChartsCxxTests
TestMultipleScalarsToColors -D /home/kevin/kitware/VTKData -T
/home/kevin/kitware/VTK_OSMesa_Build/Testing/Temporary -V
Baseline/Charts/TestMultipleScalarsToColors.png -E 25
==28168==
==28168== Invalid read of size 8
==28168== at 0xA65EA07: glGetString (glapi_x86-64.S:9876)
==28168== by 0x64F1139:
vtkOpenGLExtensionManager::ExtensionSupported(char const*) (in
/home/kevin/kitware/VTK_OSMesa_Build/bin/libvtkRendering.so.5.7.0)
==28168== by 0x40CCEC: TestMultipleScalarsToColors(int, char**) (in
/home/kevin/kitware/VTK_OSMesa_Build/bin/ChartsCxxTests)
==28168== by 0x407152: main (in
/home/kevin/kitware/VTK_OSMesa_Build/bin/ChartsCxxTests)
==28168== Address 0x898 is not stack'd, malloc'd or (recently) free'd
==28168==
==28168==
==28168== Process terminating with default action of signal 11 (SIGSEGV)
==28168== Access not within mapped region at address 0x898
==28168== at 0xA65EA07: glGetString (glapi_x86-64.S:9876)
==28168== by 0x64F1139:
vtkOpenGLExtensionManager::ExtensionSupported(char const*) (in
/home/kevin/kitware/VTK_OSMesa_Build/bin/libvtkRendering.so.5.7.0)
==28168== by 0x40CCEC: TestMultipleScalarsToColors(int, char**) (in
/home/kevin/kitware/VTK_OSMesa_Build/bin/ChartsCxxTests)
==28168== by 0x407152: main (in
/home/kevin/kitware/VTK_OSMesa_Build/bin/ChartsCxxTests)
==28168== If you believe this happened as a result of a stack
==28168== overflow in your program's main thread (unlikely but
==28168== possible), you can try to increase the size of the
==28168== main thread stack using the --main-stacksize= flag.
==28168== The main thread stack size used in this run was 10485760.
==28168== Invalid free() / delete / delete[]
==28168== at 0x4A04D72: free (vg_replace_malloc.c:325)
==28168== by 0x318532735A: ??? (in /lib64/libc-2.11.2.so)
==28168== by 0x3185326EF1: ??? (in /lib64/libc-2.11.2.so)
==28168== by 0x480162B: _vgnU_freeres (vg_preloaded.c:62)
==28168== by 0x64F1139:
vtkOpenGLExtensionManager::ExtensionSupported(char const*) (in
/home/kevin/kitware/VTK_OSMesa_Build/bin/libvtkRendering.so.5.7.0)
==28168== by 0x40CCEC: TestMultipleScalarsToColors(int, char**) (in
/home/kevin/kitware/VTK_OSMesa_Build/bin/ChartsCxxTests)
==28168== by 0x407152: main (in
/home/kevin/kitware/VTK_OSMesa_Build/bin/ChartsCxxTests)
==28168== Address 0xa479a10 is not stack'd, malloc'd or (recently)
free'd
==28168==
==28168==
==28168== HEAP SUMMARY:
==28168== in use at exit: 168,234 bytes in 1,731 blocks
==28168== total heap usage: 1,806 allocs, 77 frees, 189,825 bytes
allocated
==28168==
==28168== LEAK SUMMARY:
==28168== definitely lost: 0 bytes in 0 blocks
==28168== indirectly lost: 0 bytes in 0 blocks
==28168== possibly lost: 10,645 bytes in 112 blocks
==28168== still reachable: 157,589 bytes in 1,619 blocks
==28168== suppressed: 0 bytes in 0 blocks
==28168== Rerun with --leak-check=full to see details of leaked memory
==28168==
==28168== For counts of detected and suppressed errors, rerun with: -v
==28168== ERROR SUMMARY: 3 errors from 2 contexts (suppressed: 6 from 6)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20101025/edcb47e1/attachment.sig>
More information about the vtk-developers
mailing list