[Mesa-dev] Friday Night Segfaults
Kevin H. Hobbs
hobbsk at ohio.edu
Mon Nov 7 12:38:54 PST 2011
On 11/07/2011 03:29 PM, Kevin H. Hobbs wrote:
> I build Mesa OSMesa and xlib from git every night, and then I build and
> test VTK and ParaView against both Mesa libraries all of this on 9 hosts.
>
> Beginning Friday night basically all of the rendering tests started
> failing with a solid color on OSMesa and segfaulting with xlib.
>
> I suspect Mesa because my builds seem to be the only ones on the VTK/PV
> dashboards that suddenly had +300 test failures and I'm the only person
> nutty enough to test VTK/PV with Mesa from git.
>
> I'm rebuilding in debug now to try and track down the segfault, but
> somebody might have an idea now.
>
One run of a segfaulting test and my gdb session follows:
[kevin at bubbles VTK_Xlib_Build]$
/home/kevin/kitware/VTK_Xlib_Build/bin/GraphicsCxxTests
"BoxClipPolyData" "-D" "/home/kevin/kitware/VTKData" "-T"
"/home/kevin/kitware/VTK_Xlib_Build/Testing/Temporary" "-V"
"Baseline/Graphics/BoxClipPolyData.png"
Segmentation fault
[kevin at bubbles VTK_Xlib_Build]$ gdb
/home/kevin/kitware/VTK_Xlib_Build/bin/GraphicsCxxTests
GNU gdb (GDB) Fedora (7.2-51.fc14)
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_Xlib_Build/bin/GraphicsCxxTests...done.
(gdb) run "BoxClipPolyData" "-D" "/home/kevin/kitware/VTKData" "-T"
"/home/kevin/kitware/VTK_Xlib_Build/Testing/Temporary" "-V"
"Baseline/Graphics/BoxClipPolyData.png"
Starting program:
/home/kevin/kitware/VTK_Xlib_Build/bin/GraphicsCxxTests
"BoxClipPolyData" "-D" "/home/kevin/kitware/VTKData" "-T"
"/home/kevin/kitware/VTK_Xlib_Build/Testing/Temporary" "-V"
"Baseline/Graphics/BoxClipPolyData.png"
[Thread debugging using libthread_db enabled]
Program received signal SIGSEGV, Segmentation fault.
unpack_RGBA8888 (src=0x0, dst=0x7ffffffbcd60) at main/format_unpack.c:66
66 const GLuint s = *((const GLuint *) src);
Missing separate debuginfos, use: debuginfo-install
libICE-1.0.6-2.fc13.x86_64 libSM-1.1.0-7.fc12.x86_64
libX11-1.3.4-4.fc14.x86_64 libXau-1.0.6-1.fc14.x86_64
libXext-1.1.2-2.fc14.x86_64 libXt-1.0.7-1.fc13.x86_64
libuuid-2.18-4.8.fc14.x86_64 libxcb-1.7-1.fc14.x86_64
(gdb) bt
#0 unpack_RGBA8888 (src=0x0, dst=0x7ffffffbcd60) at main/format_unpack.c:66
#1 0x00007ffff65363db in _mesa_unpack_rgba_row (format=<value optimized
out>, n=800, src=<value optimized out>, dst=<value optimized out>) at
main/format_unpack.c:1256
#2 0x00007ffff6526d34 in slow_read_rgba_pixels (ctx=0x8599a0, x=<value
optimized out>, y=<value optimized out>, width=800, height=640,
format=6407, type=5121, pixels=0xd28ce0,
packing=0x7fffffffce10, transferOps=2048) at swrast/s_readpix.c:251
#3 0x00007ffff65271fa in read_rgba_pixels (ctx=0x8599a0, x=0, y=0,
width=800, height=640, format=6407, type=5121, packing=0x869238,
pixels=0xd28ce0) at swrast/s_readpix.c:296
#4 _swrast_ReadPixels (ctx=0x8599a0, x=0, y=0, width=800, height=640,
format=6407, type=5121, packing=0x869238, pixels=0xd28ce0) at
swrast/s_readpix.c:508
#5 0x00007ffff63ad097 in _mesa_ReadnPixelsARB (x=0, y=0, width=800,
height=640, format=6407, type=5121, bufSize=2147483647, pixels=0xd28ce0)
at main/readpix.c:269
#6 0x00007ffff63ad2aa in _mesa_ReadPixels (x=<value optimized out>,
y=<value optimized out>, width=<value optimized out>, height=<value
optimized out>, format=<value optimized out>,
type=<value optimized out>, pixels=0xd28ce0) at main/readpix.c:277
#7 0x00007ffff7b1a992 in vtkOpenGLRenderWindow::GetPixelData
(this=0x6edf90, x1=0, y1=0, x2=799, y2=639, front=0, data=0xd28ce0
"\030r9T6")
at /home/kevin/kitware/VTK/Rendering/vtkOpenGLRenderWindow.cxx:543
#8 0x00007ffff7b1a610 in vtkOpenGLRenderWindow::GetPixelData
(this=0x6edf90, x1=0, y1=0, x2=799, y2=639, front=0) at
/home/kevin/kitware/VTK/Rendering/vtkOpenGLRenderWindow.cxx:412
#9 0x00007ffff7aba8c5 in vtkWindowToImageFilter::RequestData
(this=0xb85bf0, outputVector=0x82cb00) at
/home/kevin/kitware/VTK/Rendering/vtkWindowToImageFilter.cxx:431
#10 0x00007ffff7ab925a in vtkWindowToImageFilter::ProcessRequest
(this=0xb85bf0, request=0xb8b800, inputVector=0x0, outputVector=0x82cb00)
at /home/kevin/kitware/VTK/Rendering/vtkWindowToImageFilter.cxx:203
#11 0x00007ffff4af6aa9 in vtkExecutive::CallAlgorithm (this=0xb841a0,
request=0xb8b800, direction=1, inInfo=0x0, outInfo=0x82cb00)
at /home/kevin/kitware/VTK/Filtering/vtkExecutive.cxx:747
#12 0x00007ffff4adecc4 in vtkDemandDrivenPipeline::ExecuteData
(this=0xb841a0, request=0xb8b800, inInfo=0x0, outInfo=0x82cb00)
at /home/kevin/kitware/VTK/Filtering/vtkDemandDrivenPipeline.cxx:507
#13 0x00007ffff4ade352 in vtkDemandDrivenPipeline::ProcessRequest
(this=0xb841a0, request=0xb8b800, inInfoVec=0x0, outInfoVec=0x82cb00)
at /home/kevin/kitware/VTK/Filtering/vtkDemandDrivenPipeline.cxx:279
#14 0x00007ffff4ce080f in
vtkStreamingDemandDrivenPipeline::ProcessRequest (this=0xb841a0,
request=0xb8b800, inInfoVec=0x0, outInfoVec=0x82cb00)
at
/home/kevin/kitware/VTK/Filtering/vtkStreamingDemandDrivenPipeline.cxx:276
#15 0x00007ffff4adea73 in vtkDemandDrivenPipeline::UpdateData
(this=0xb841a0, outputPort=0) at
/home/kevin/kitware/VTK/Filtering/vtkDemandDrivenPipeline.cxx:449
#16 0x00007ffff4ce0a40 in vtkStreamingDemandDrivenPipeline::Update
(this=0xb841a0, port=0) at
/home/kevin/kitware/VTK/Filtering/vtkStreamingDemandDrivenPipeline.cxx:326
#17 0x00007ffff4ac8ca4 in vtkDataObject::Update (this=0xb87100) at
/home/kevin/kitware/VTK/Filtering/vtkDataObject.cxx:1030
#18 0x00007ffff7a7988e in vtkTesting::RegressionTest (this=0xb84bd0,
image=0xb87100, thresh=10, os=...) at
/home/kevin/kitware/VTK/Rendering/vtkTesting.cxx:426
#19 0x00007ffff7a79516 in vtkTesting::RegressionTest (this=0xb84bd0,
thresh=10, os=...) at /home/kevin/kitware/VTK/Rendering/vtkTesting.cxx:387
#20 0x00007ffff7a792ad in vtkTesting::RegressionTest (this=0xb84bd0,
thresh=10) at /home/kevin/kitware/VTK/Rendering/vtkTesting.cxx:344
#21 0x00007ffff7a7af2d in vtkTesting::Test (argc=7, argv=0x7fffffffda90,
rw=0x6edf90, thresh=10) at
/home/kevin/kitware/VTK/Rendering/vtkTesting.cxx:698
#22 0x000000000045a349 in BoxClipPolyData (argc=7, argv=0x7fffffffda90)
at /home/kevin/kitware/VTK/Graphics/Testing/Cxx/BoxClipPolyData.cxx:313
#23 0x0000000000425fd5 in main (ac=7, av=0x7fffffffda90) at
/home/kevin/kitware/VTK_Xlib_Build/Graphics/Testing/Cxx/GraphicsCxxTests.cxx:429
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20111107/d6b519ab/attachment.pgp>
More information about the mesa-dev
mailing list