[Paraview] Paraview 3.8.0 crash in Edit Color Map

Cihan Altinay c.altinay at uq.edu.au
Thu May 20 20:56:53 EDT 2010


Are you referring to bug 10621? I patched RC2 with the fix for this bug 
following your suggestion but I still get the same behaviour. Note that 
everything else I do with ParaView seems to work fine except for the 
crash when trying to open the Color Map editor.

I ran with valgrind and found this:

==21235== Invalid write of size 1
==21235==    at 0x1A320EE4: put_mono_row_RGBA8 (s_spantemp.h:163)
==21235==    by 0xF9D134D: _swrast_Clear (s_clear.c:152)
==21235==    by 0x13BDBDDC: vtkOpenGLRenderer::Clear() 
(vtkOpenGLRenderer.cxx:1054)
==21235==    by 0x13BB5BFB: vtkOpenGLCamera::Render(vtkRenderer*) 
(vtkOpenGLCamera.cxx:163)
==21235==    by 0x13B19EED: vtkRenderer::UpdateCamera() 
(vtkRenderer.cxx:451)
==21235==    by 0x13BDFCC7: vtkOpenGLRenderer::DeviceRender() 
(vtkOpenGLRenderer.cxx:238)
==21235==    by 0x13B1B294: vtkRenderer::Render() (vtkRenderer.cxx:346)
==21235==    by 0x13B16850: vtkRendererCollection::Render() 
(vtkRendererCollection.cxx:52)
==21235==    by 0x13B28224: vtkRenderWindow::DoStereoRender() 
(vtkRenderWindow.cxx:708)
==21235==    by 0x13B2865E: vtkRenderWindow::DoFDRender() 
(vtkRenderWindow.cxx:677)
==21235==    by 0x13B29956: vtkRenderWindow::DoAARender() 
(vtkRenderWindow.cxx:564)
==21235==    by 0x13B28796: vtkRenderWindow::Render() 
(vtkRenderWindow.cxx:377)
==21235==  Address 0x24db4fc8 is 0 bytes after a block of size 80,600 
alloc'd
==21235==    at 0x4A21E1B: malloc (vg_replace_malloc.c:207)
==21235==    by 0x13C1BEB1: 
vtkXOpenGLRenderWindow::CreateOffScreenWindow(int, int) 
(vtkXOpenGLRenderWindow.cxx:823)
==21235==    by 0x13C185CC: vtkXOpenGLRenderWindow::Start() 
(vtkXOpenGLRenderWindow.cxx:1186)
==21235==    by 0x13B2819F: vtkRenderWindow::DoStereoRender() 
(vtkRenderWindow.cxx:688)
==21235==    by 0x13B2865E: vtkRenderWindow::DoFDRender() 
(vtkRenderWindow.cxx:677)
==21235==    by 0x13B29956: vtkRenderWindow::DoAARender() 
(vtkRenderWindow.cxx:564)
==21235==    by 0x13B28796: vtkRenderWindow::Render() 
(vtkRenderWindow.cxx:377)
==21235==    by 0x13C1956F: vtkXOpenGLRenderWindow::Render() 
(vtkXOpenGLRenderWindow.cxx:1846)
==21235==    by 0xCFDE8E2: vtkTransferFunctionViewer::Render() 
(vtkTransferFunctionViewer.cxx:482)
==21235==    by 0xCFDEA30: vtkTransferFunctionViewer::SetSize(int, int) 
(vtkTransferFunctionViewer.cxx:397)
==21235==    by 0x15B41878: vtkCallbackCommand::Execute(vtkObject*, 
unsigned long, void*) (vtkCallbackCommand.cxx:42)
==21235==    by 0x15BE5F10: vtkSubjectHelper::InvokeEvent(unsigned long, 
void*, vtkObject*) (vtkObject.cxx:602)
==21235==

(and it goes on with "1 bytes after...", "2 bytes after...", "3 bytes 
after...")

Regards,
Cihan

On 21/05/10 00:44, Utkarsh Ayachit wrote:
> That'd explain it. There's is a fix for this issue on  the "release"
> branch that was committed after 3.8-RC2. It will be included in the
> 3.8 final release. You can checkout out the release branch from
> ParaView git repo, to test it out.
>
> Utkarsh
>
> On Wed, May 19, 2010 at 11:48 PM, Cihan Altinay<c.altinay at uq.edu.au>  wrote:
>> Hmm. I'm actually running it on a Linux cluster (SGI ICE) and X forwarding
>> to another Linux box. So the forwarding bit is similar but I wonder if that
>> could cause a crash like this?!
>>
>> Any hints on how I might be able to track down the problem?
>>
>> Cheers,
>> Cihan
>>
>> On 20/05/10 05:22, Scott, W Alan wrote:
>>>
>>> I have seen a crash when using Cygwin, and X forwarding to a Linux box.
>>>   Are you doing this?
>>>
>>> Otherwise, to the best of my knowledge, this seems to be an unknown,
>>> unrepeatable bug.
>>>
>>> Alan
>>>
>>> -----Original Message-----
>>> From: paraview-bounces at paraview.org [mailto:paraview-bounces at paraview.org]
>>> On Behalf Of Cihan Altinay
>>> Sent: Tuesday, May 18, 2010 7:26 PM
>>> To: paraview at paraview.org
>>> Subject: Re: [Paraview] Paraview 3.8.0 crash in Edit Color Map
>>>
>>> bump - is this a known issue?
>>>
>>> Cheers,
>>> Cihan
>>>
>>> On 14/05/10 16:04, Cihan Altinay wrote:
>>>>
>>>> Hi list,
>>>>
>>>> I just compiled Paraview 3.8.0 RC2 and found a reproducible crash
>>>> whenever I click on "Edit Color Map".
>>>> Version 3.6.2 compiled with exactly the same dependencies (mesa, mpi,
>>>> qt) does not exhibit this crash.
>>>>
>>>> Configuration details:
>>>> Linux 2.6.27.45-0.1 SMP x86_64
>>>> Qt 4.6.2, Mesa 7.8.1, MPT 2.00
>>>> Mesa built with off-screen support
>>>>
>>>> I created the stack trace below and found this suspicious value:
>>>> (gdb) print ctx->DrawBuffer
>>>> $2 = (GLframebuffer *) 0xefefef00efefef
>>>>
>>>> Stack trace:
>>>>
>>>> Program received signal SIGSEGV, Segmentation fault.
>>>> 0x00007fffe280515d in _swrast_Clear (ctx=0x5556bd0, buffers=17)
>>>> at swrast/s_clear.c:167
>>>> 167 for (buf = 0; buf<    ctx->DrawBuffer->_NumColorDrawBuffers; buf++) {
>>>> Current language: auto; currently c
>>>> (gdb) bt
>>>> #0 0x00007fffe280515d in _swrast_Clear (ctx=0x5556bd0, buffers=17)
>>>> at swrast/s_clear.c:167
>>>> #1 0x00007fffde75addd in vtkOpenGLRenderer::Clear (this=0x49bdf40)
>>>> at
>>>>
>>>> /data1/caltinay/ParaView-3.8.0-RC2/VTK/Rendering/vtkOpenGLRenderer.cxx:1054
>>>> #2 0x00007fffde734bfc in vtkOpenGLCamera::Render (this=0x49be260,
>>>> ren=0x49bdf40)
>>>> at
>>>> /data1/caltinay/ParaView-3.8.0-RC2/VTK/Rendering/vtkOpenGLCamera.cxx:163
>>>> #3 0x00007fffde698eee in vtkRenderer::UpdateCamera (this=0x49bdf40)
>>>> at /data1/caltinay/ParaView-3.8.0-RC2/VTK/Rendering/vtkRenderer.cxx:451
>>>> #4 0x00007fffde75ecc8 in vtkOpenGLRenderer::DeviceRender (this=0x49bdf40)
>>>> at
>>>>
>>>> /data1/caltinay/ParaView-3.8.0-RC2/VTK/Rendering/vtkOpenGLRenderer.cxx:238
>>>> #5 0x00007fffde69a295 in vtkRenderer::Render (this=0x49bdf40)
>>>> at /data1/caltinay/ParaView-3.8.0-RC2/VTK/Rendering/vtkRenderer.cxx:346
>>>> #6 0x00007fffde695851 in vtkRendererCollection::Render (this=0x54d58d0)
>>>> at
>>>>
>>>> /data1/caltinay/ParaView-3.8.0-RC2/VTK/Rendering/vtkRendererCollection.cxx:52
>>>>
>>>> #7 0x00007fffde6a7225 in vtkRenderWindow::DoStereoRender (this=0x54d5d30)
>>>> at
>>>> /data1/caltinay/ParaView-3.8.0-RC2/VTK/Rendering/vtkRenderWindow.cxx:708
>>>> #8 0x00007fffde6a765f in vtkRenderWindow::DoFDRender (this=0x54d5d30)
>>>> at
>>>> /data1/caltinay/ParaView-3.8.0-RC2/VTK/Rendering/vtkRenderWindow.cxx:677
>>>> #9 0x00007fffde6a8957 in vtkRenderWindow::DoAARender
>>>> (this=0x7fffffff8e52)
>>>> at
>>>> /data1/caltinay/ParaView-3.8.0-RC2/VTK/Rendering/vtkRenderWindow.cxx:564
>>>> #10 0x00007fffde6a7797 in vtkRenderWindow::Render (this=0x54d5d30)
>>>> at
>>>> /data1/caltinay/ParaView-3.8.0-RC2/VTK/Rendering/vtkRenderWindow.cxx:377
>>>> #11 0x00007fffde798570 in vtkXOpenGLRenderWindow::Render (this=0x54d5d30)
>>>> at
>>>>
>>>> /data1/caltinay/ParaView-3.8.0-RC2/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:1846
>>>>
>>>> #12 0x00007fffe53728e3 in vtkTransferFunctionViewer::Render
>>>> (this=0x4987f90)
>>>> at
>>>>
>>>> /data1/caltinay/ParaView-3.8.0-RC2/Servers/Filters/vtkTransferFunctionViewer.cxx:482
>>>>
>>>> #13 0x00007fffe5372a31 in vtkTransferFunctionViewer::SetSize
>>>> (this=0x4987f90,
>>>> x=<value optimized out>, y=<value optimized out>)
>>>> at
>>>>
>>>> /data1/caltinay/ParaView-3.8.0-RC2/Servers/Filters/vtkTransferFunctionViewer.cxx:397
>>>>
>>>> #14 0x00007fffdc585879 in vtkCallbackCommand::Execute (this=0x4a52ec0,
>>>> caller=0x7fffffff8e52, event=140737488326227, callData=0xefefef00efefef)
>>>> at
>>>> /data1/caltinay/ParaView-3.8.0-RC2/VTK/Common/vtkCallbackCommand.cxx:42
>>>> #15 0x00007fffdc629f11 in vtkSubjectHelper::InvokeEvent (this=0x54f52f0,
>>>> event=33, callData=0x0, self=0x54d5d30)
>>>> at /data1/caltinay/ParaView-3.8.0-RC2/VTK/Common/vtkObject.cxx:602
>>>> #16 0x00007fffea276a6d in QVTKWidget::resizeEvent (this=0x4a579b0,
>>>> e=<value optimized out>)
>>>> at
>>>> /data1/caltinay/ParaView-3.8.0-RC2/VTK/GUISupport/Qt/QVTKWidget.cxx:413
>>>>
>>>>
>>>> Thanks for any hints,
>>>> Cihan
>>>>
>>> _______________________________________________
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Please keep messages on-topic and check the ParaView Wiki at:
>>> http://paraview.org/Wiki/ParaView
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.paraview.org/mailman/listinfo/paraview
>>>
>>>
>>
>>
>> --
>> Cihan Altinay
>> Scientific Programmer
>> Earth Systems Science Computational Centre (ESSCC)
>> Room 818, Sir James Foots Building (47a)
>> Corner College and Staff House Roads        Email:c.altinay at uq.edu.au
>> The University of Queensland                Tel: +61 7 334 64118
>> St Lucia, QLD 4072, Australia               Fax: +61 7 334 64134
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ParaView Wiki at:
>> http://paraview.org/Wiki/ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.paraview.org/mailman/listinfo/paraview
>>


-- 
Cihan Altinay
The University of Queensland                Email:c.altinay at uq.edu.au
Earth Systems Science Computational Centre  Tel: +61 7 334 64118
St Lucia, QLD 4072, Australia               Fax: +61 7 334 64134



More information about the ParaView mailing list