MantisBT - ParaView
View Issue Details
0013802ParaView(No Category)public2013-01-18 06:012016-07-25 21:02
Paul Melis 
Cory Quammen 
normalminorhave not tried
closednot fixable 
3.98.0 
 
TBD
incorrect functionality
0013802: Crash with volume rendering
1. Start (2 in my case) PV servers
2. Connect to servers with client
3. Load ql200-zeros.xmf
4. Switch Representation to Volume
5. Segfault:

paulm@v41-6:~/projects/harm_jonker$ DISPLAY=:0.0 mpirun -x DISPLAY pvserver --use-offscreen-rendering
Waiting for client...
Connection URL: cs://v41-6:11111
Accepting connection(s): v41-6:11111
Client connected.
ERROR: In /home/paulm/c/ParaView-3.98.0-src/VTK/Common/ExecutionModel/vtkAlgorithm.cxx, line 1387
vtkImageResample (0x33ff5d0): Attempt to get connection index 0 for input port 0, which has 0 connections.

[v41-6:03178] *** Process received signal ***
[v41-6:03178] Signal: Segmentation fault (11)
[v41-6:03178] Signal code: (128)
[v41-6:03178] Failing at address: (nil)
ERROR: In /home/paulm/c/ParaView-3.98.0-src/VTK/Common/ExecutionModel/vtkAlgorithm.cxx, line 1387
vtkImageResample (0x3d6b0f0): Attempt to get connection index 0 for input port 0, which has 0 connections.

[v41-5:09452] *** Process received signal ***
[v41-5:09452] Signal: Segmentation fault (11)
[v41-5:09452] Signal code: Address not mapped (1)
[v41-5:09452] Failing at address: (nil)
[v41-5:09452] [ 0] /lib/libpthread.so.0(+0xeff0) [0x7fc2dc7f5ff0]
[v41-5:09452] *** End of error message ***
--------------------------------------------------------------------------
mpirun noticed that process rank 1 with PID 9452 on node v41-5 exited on signal 11 (Segmentation fault).
--------------------------------------------------------------------------

Backtrace:

(gdb) bt
#0 0x0000000000000000 in ?? ()
#1 0x00007f6beb764289 in vtkSmartVolumeMapper::ComputeRenderMode(vtkRenderer*, vtkVolume*) () from /software/paraview/3.98.0/lib/paraview-3.98/libvtkRenderingVolume-pv3.98.so.1
#2 0x00007f6beb7649bb in vtkSmartVolumeMapper::Render(vtkRenderer*, vtkVolume*) () from /software/paraview/3.98.0/lib/paraview-3.98/libvtkRenderingVolume-pv3.98.so.1
#3 0x00007f6bf6a21d7c in vtkVolume::RenderVolumetricGeometry(vtkViewport*) () from /software/paraview/3.98.0/lib/paraview-3.98/libvtkRenderingCore-pv3.98.so.1
#4 0x00007f6bf6a37f43 in vtkLODProp3D::RenderVolumetricGeometry(vtkViewport*) () from /software/paraview/3.98.0/lib/paraview-3.98/libvtkRenderingCore-pv3.98.so.1
#5 0x00007f6bea7aa071 in vtkPVLODVolume::RenderVolumetricGeometry(vtkViewport*) () from /software/paraview/3.98.0/lib/paraview-3.98/libvtkPVVTKExtensionsRendering-pv3.98.so.1
#6 0x00007f6bf69f811f in vtkRenderer::UpdateGeometry() () from /software/paraview/3.98.0/lib/paraview-3.98/libvtkRenderingCore-pv3.98.so.1
#7 0x00007f6bea79b3c9 in vtkPVDefaultPass::Render(vtkRenderState const*) () from /software/paraview/3.98.0/lib/paraview-3.98/libvtkPVVTKExtensionsRendering-pv3.98.so.1
#8 0x00007f6bea81b1ac in vtkIceTCompositePass::Draw(vtkRenderState const*) () from /software/paraview/3.98.0/lib/paraview-3.98/libvtkPVVTKExtensionsRendering-pv3.98.so.1
0000009 0x00007f6bea30fc10 in icetGLDrawCallbackFunction () from /software/paraview/3.98.0/lib/paraview-3.98/libIceTGL.so
#10 0x00007f6bea0f9f2e in renderTile () from /software/paraview/3.98.0/lib/paraview-3.98/libIceTCore.so
0000011 0x00007f6bea0fec0f in icetGetCompressedTileImage () from /software/paraview/3.98.0/lib/paraview-3.98/libIceTCore.so
#12 0x00007f6bea10251d in icetSequentialCompose () from /software/paraview/3.98.0/lib/paraview-3.98/libIceTCore.so
#13 0x00007f6bea10220d in icetInvokeStrategy () from /software/paraview/3.98.0/lib/paraview-3.98/libIceTCore.so
#14 0x00007f6bea0f6de8 in icetDrawFrame () from /software/paraview/3.98.0/lib/paraview-3.98/libIceTCore.so
#15 0x00007f6bea30f2a0 in icetGLDrawFrame () from /software/paraview/3.98.0/lib/paraview-3.98/libIceTGL.so
#16 0x00007f6bea81b993 in vtkIceTCompositePass::Render(vtkRenderState const*) () from /software/paraview/3.98.0/lib/paraview-3.98/libvtkPVVTKExtensionsRendering-pv3.98.so.1
#17 0x00007f6bf616484d in vtkCameraPass::Render(vtkRenderState const*) () from /software/paraview/3.98.0/lib/paraview-3.98/libvtkRenderingOpenGL-pv3.98.so.1
#18 0x00007f6bf61a413c in vtkOpenGLRenderer::DeviceRender() () from /software/paraview/3.98.0/lib/paraview-3.98/libvtkRenderingOpenGL-pv3.98.so.1
#19 0x00007f6bf69f854e in vtkRenderer::Render() () from /software/paraview/3.98.0/lib/paraview-3.98/libvtkRenderingCore-pv3.98.so.1
#20 0x00007f6bf69f50d4 in vtkRendererCollection::Render() () from /software/paraview/3.98.0/lib/paraview-3.98/libvtkRenderingCore-pv3.98.so.1
#21 0x00007f6bf69fe0d4 in vtkRenderWindow::DoStereoRender() () from /software/paraview/3.98.0/lib/paraview-3.98/libvtkRenderingCore-pv3.98.so.1
#22 0x00007f6bf69fe5eb in vtkRenderWindow::DoFDRender() () from /software/paraview/3.98.0/lib/paraview-3.98/libvtkRenderingCore-pv3.98.so.1
#23 0x00007f6bf69ffc31 in vtkRenderWindow::DoAARender() () from /software/paraview/3.98.0/lib/paraview-3.98/libvtkRenderingCore-pv3.98.so.1
#24 0x00007f6bf69fe71d in vtkRenderWindow::Render() () from /software/paraview/3.98.0/lib/paraview-3.98/libvtkRenderingCore-pv3.98.so.1
#25 0x00007f6bf62058d0 in vtkXOpenGLRenderWindow::Render() () from /software/paraview/3.98.0/lib/paraview-3.98/libvtkRenderingOpenGL-pv3.98.so.1
#26 0x00007f6be914f7de in vtkPVRenderView::Render(bool, bool) () from /software/paraview/3.98.0/lib/paraview-3.98/libvtkPVClientServerCoreRendering-pv3.98.so.1
#27 0x00007f6be914d6dc in vtkPVRenderView::StillRender() () from /software/paraview/3.98.0/lib/paraview-3.98/libvtkPVClientServerCoreRendering-pv3.98.so.1
#28 0x00007f6bfa6bde3f in vtkPVRenderViewCommand(vtkClientServerInterpreter*, vtkObjectBase*, char const*, vtkClientServerStream const&, vtkClientServerStream&) () from /software/paraview/3.98.0/lib/paraview-3.98/libvtkPVClientServerCoreRenderingCS-pv3.98.so.1
#29 0x00007f6c0b38378f in vtkClientServerInterpreter::ProcessCommandInvoke(vtkClientServerStream const&, int) () from /software/paraview/3.98.0/lib/paraview-3.98/libvtkClientServer-pv3.98.so.1
#30 0x00007f6c0b382dde in vtkClientServerInterpreter::ProcessOneMessage(vtkClientServerStream const&, int) () from /software/paraview/3.98.0/lib/paraview-3.98/libvtkClientServer-pv3.98.so.1
#31 0x00007f6c0b382efd in vtkClientServerInterpreter::ProcessStream(vtkClientServerStream const&) () from /software/paraview/3.98.0/lib/paraview-3.98/libvtkClientServer-pv3.98.so.1
#32 0x00007f6c0c1e5fa8 in vtkPVSessionCore::ExecuteStreamInternal(vtkClientServerStream const&, bool) () from /software/paraview/3.98.0/lib/paraview-3.98/libvtkPVServerImplementationCore-pv3.98.so.1
#33 0x00007f6c0c1e4cec in vtkPVSessionCore::ExecuteStream(unsigned int, vtkClientServerStream const&, bool) () from /software/paraview/3.98.0/lib/paraview-3.98/libvtkPVServerImplementationCore-pv3.98.so.1
#34 0x00007f6c0c1e2622 in vtkPVSessionBase::ExecuteStream(unsigned int, vtkClientServerStream const&, bool) () from /software/paraview/3.98.0/lib/paraview-3.98/libvtkPVServerImplementationCore-pv3.98.so.1
#35 0x00007f6c0c1ec713 in vtkPVSessionServer::OnClientServerMessageRMI(void*, int) () from /software/paraview/3.98.0/lib/paraview-3.98/libvtkPVServerImplementationCore-pv3.98.so.1
#36 0x00007f6c0a5aafa8 in vtkMultiProcessController::ProcessRMI(int, void*, int, int) () from /software/paraview/3.98.0/lib/paraview-3.98/libvtkParallelCore-pv3.98.so.1
#37 0x00007f6c0a5ab451 in vtkMultiProcessController::ProcessRMIs(int, int) () from /software/paraview/3.98.0/lib/paraview-3.98/libvtkParallelCore-pv3.98.so.1
#38 0x00007f6c0bf6c61e in vtkTCPNetworkAccessManager::ProcessEventsInternal(unsigned long, bool) () from /software/paraview/3.98.0/lib/paraview-3.98/libvtkPVClientServerCoreCore-pv3.98.so.1
#39 0x0000000000401b5b in main ()

This is on Linux x86_64, NVidia 295.40 driver, GTX460.

I attached the Xdmf file. The corresponding HDF5 file is (with compression) still larger than the 5M upload limit, but contains nothing but zeroes.
No tags attached.
? ql200-zeros.xmf (1,298) 2013-01-18 06:01
https://www.vtk.org/Bug/file/9383/ql200-zeros.xmf
Issue History
2013-01-18 06:01Paul MelisNew Issue
2013-01-18 06:01Paul MelisFile Added: ql200-zeros.xmf
2013-01-18 06:45Paul MelisNote Added: 0030188
2013-01-18 06:54Paul MelisNote Added: 0030189
2013-01-18 15:02Alan ScottNote Added: 0030190
2013-03-14 13:54SethNote Added: 0030440
2016-06-16 12:59Alan ScottNote Added: 0036076
2016-07-12 12:51Cory QuammenNote Added: 0036343
2016-07-12 12:51Cory QuammenAssigned To => Cory Quammen
2016-07-12 12:51Cory QuammenStatusbacklog => customer review
2016-07-12 12:51Cory QuammenResolutionopen => not fixable
2016-07-25 21:02Alan ScottNote Added: 0036577
2016-07-25 21:02Alan ScottStatuscustomer review => closed

Notes
(0030188)
Paul Melis   
2013-01-18 06:45   
HDF5 "ql200-zeros.hdf" {
GROUP "/" {
   DATASET "ql" {
      DATATYPE H5T_IEEE_F32LE
      DATASPACE SIMPLE { ( 160, 4096, 4096 ) / ( 160, 4096, 4096 ) }
   }
   DATASET "x" {
      DATATYPE H5T_IEEE_F32LE
      DATASPACE SIMPLE { ( 4096 ) / ( 4096 ) }
   }
   DATASET "y" {
      DATATYPE H5T_IEEE_F32LE
      DATASPACE SIMPLE { ( 4096 ) / ( 4096 ) }
   }
   DATASET "zf" {
      DATATYPE H5T_IEEE_F32LE
      DATASPACE SIMPLE { ( 160 ) / ( 160 ) }
   }
}
}
(0030189)
Paul Melis   
2013-01-18 06:54   
Forget the HDF5 files, just found it also segfaults when using a Wavelet source with Whole Extents 0..4095, 0..4095, 0..159
(0030190)
Alan Scott   
2013-01-18 15:02   
This dataset also causes heap errors immediately on read, Windows , debug build, master from a week ago, local server.
(0030440)
Seth   
2013-03-14 13:54   
I have observed this same bug on in release 3.98.1-Linux-64bit reading an mhd of size 0..353 0..337 0..1019 of type short. Loads fine, but selecting representation volume crashes with the following to terminal:

ERROR: In /home/utkarsh/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/VTK/Common/ExecutionModel/vtkAlgorithm.cxx, line 1387
vtkImageResample (0x437b120): Attempt to get connection index 0 for input port 0, which has 0 connections.


Segmentation fault (core dumped)
(0036076)
Alan Scott   
2016-06-16 12:59   
I just tried the wavelet example above. Loaded fine. I was watching the Memory Inspector, and as expected, this size of a wavelet (2.6 billion cells) is huge. I had to run 8 nodes on a cluster. Switching to Volume, worked fine.

Your issue is that you are running out of memory on the server side, the server is crashing, and the client is reporting that the server died (without any context).
(0036343)
Cory Quammen   
2016-07-12 12:51   
I suspect Alan is right when saying this is a problem caused by running out of memory.

Can we close this issue?
(0036577)
Alan Scott   
2016-07-25 21:02   
No comment by reporter in 2 weeks, closing the bug.