[Mesa-dev] VTK Offscreen Segfaults

Kevin H. Hobbs hobbsk at ohiou.edu
Wed Aug 4 13:08:09 PDT 2010


On 08/04/2010 03:01 PM, tom fogal wrote:
>
> 3) Doesn't seem likely that ::OpenGLInit calls vbo_exec_EvalCoord1fv :)
> Are you missing debug symbols in Mesa?  Could you get a stack trace w/
> full debug symbols?
>   


The full gdb session with both mesa and VTK built with debug symbols is :

$ gdb /home/kevin/kitware/VTK_Build/bin/RenderingCxxTests
GNU gdb (GDB) Fedora (7.1-24.fc13)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from
/home/kevin/kitware/VTK_Build/bin/RenderingCxxTests...done.
(gdb) run TestOSConeCxx -D /home/kevin/kitware/VTKData -T
/home/kevin/kitware/VTK_Build/Testing/Temporary -V
Baseline/Rendering/TestOSConeCxx.png
Starting program: /home/kevin/kitware/VTK_Build/bin/RenderingCxxTests
TestOSConeCxx -D /home/kevin/kitware/VTKData -T
/home/kevin/kitware/VTK_Build/Testing/Temporary -V
Baseline/Rendering/TestOSConeCxx.png
[Thread debugging using libthread_db enabled]
Mesa: Mesa 7.9-devel DEBUG build Aug  4 2010 15:25:34
Mesa warning: couldn't open libtxc_dxtn.so, software DXTn
compression/decompression unavailable
Mesa: Initializing x86-64 optimizations
Mesa: User error: GL_INVALID_ENUM in glGetTexGenfv(coord)

Program received signal SIGSEGV, Segmentation fault.
vbo_exec_EvalCoord1fv (u=0x203) at vbo/vbo_exec_api.c:458
458        vbo_exec_EvalCoord1f( u[0] );
Missing separate debuginfos, use: debuginfo-install
expat-2.0.1-10.fc13.x86_64 fontconfig-2.8.0-1.fc13.x86_64
freetype-2.3.11-3.fc13.x86_64 glibc-2.12-2.x86_64
libICE-1.0.6-2.fc13.x86_64 libSM-1.1.0-7.fc12.x86_64
libX11-1.3.1-3.fc13.x86_64 libXScrnSaver-1.2.0-1.fc12.x86_64
libXau-1.0.5-1.fc12.x86_64 libXext-1.1-2.fc13.x86_64
libXft-2.1.14-1.fc13.x86_64 libXrender-0.9.5-1.fc13.x86_64
libXt-1.0.7-1.fc13.x86_64 libgcc-4.4.4-2.fc13.x86_64
libstdc++-4.4.4-2.fc13.x86_64 libuuid-2.17.2-5.fc13.x86_64
libxcb-1.5-1.fc13.x86_64
(gdb) bt
#0  vbo_exec_EvalCoord1fv (u=0x203) at vbo/vbo_exec_api.c:458
#1  0x00007ffff7b3263d in vtkOpenGLRenderWindow::OpenGLInit (this=0x69d310)
    at /home/kevin/kitware/VTK/Rendering/vtkOpenGLRenderWindow.cxx:241
#2  0x00007ffff7b8c45e in vtkXOpenGLRenderWindow::CreateOffScreenWindow
(this=0x69d310, width=300, height=300)
    at /home/kevin/kitware/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:951
#3  0x00007ffff7b8c8dd in vtkXOpenGLRenderWindow::Initialize (this=0x69d310)
    at /home/kevin/kitware/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:1066
#4  0x00007ffff7b8cce3 in vtkXOpenGLRenderWindow::Start (this=0x69d310)
    at /home/kevin/kitware/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:1185
#5  0x00007ffff7a54fc1 in vtkRenderWindow::DoStereoRender (this=0x69d310)
    at /home/kevin/kitware/VTK/Rendering/vtkRenderWindow.cxx:687
#6  0x00007ffff7a54f92 in vtkRenderWindow::DoFDRender (this=0x69d310)
    at /home/kevin/kitware/VTK/Rendering/vtkRenderWindow.cxx:676
#7  0x00007ffff7a54992 in vtkRenderWindow::DoAARender (this=0x69d310)
    at /home/kevin/kitware/VTK/Rendering/vtkRenderWindow.cxx:563
#8  0x00007ffff7a53da2 in vtkRenderWindow::Render (this=0x69d310)
    at /home/kevin/kitware/VTK/Rendering/vtkRenderWindow.cxx:376
#9  0x00007ffff7b8f743 in vtkXOpenGLRenderWindow::Render (this=0x69d310)
    at /home/kevin/kitware/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:1845
#10 0x0000000000432696 in TestOSConeCxx (argc=7, argv=0x7fffffffd960)
    at /home/kevin/kitware/VTK/Rendering/Testing/Cxx/TestOSConeCxx.cxx:68
#11 0x000000000041b683 in main (ac=7, av=0x7fffffffd960)
    at
/home/kevin/kitware/VTK_Build/Rendering/Testing/Cxx/RenderingCxxTests.cxx:454

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20100804/27192fc5/attachment.pgp>


More information about the mesa-dev mailing list