[Paraview] PV3.14.1 STL reader *could* be broken.

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Tue Apr 17 14:59:48 EDT 2012


The fix is now in gerrit awaiting review:
http://review.source.kitware.com/#/c/5242/

Utkarsh

On Sat, Apr 14, 2012 at 10:37 AM, Utkarsh Ayachit
<utkarsh.ayachit at kitware.com> wrote:
> I was able to reproduce the issue. We'll track it down soon.
>
> Utkarsh
>
> On Sat, Apr 14, 2012 at 8:04 AM, Magician <f_magician at mac.com> wrote:
>> Hi Frank,
>>
>>
>> I have same errors about STL Reader on ParaView 3.14.0.
>> When I read STL data on Linux (CentOS 5.3), ParaView may be terminated irregularly.
>> If on Windows (Windows XP SP3), ParaView dumps errors, but still works.
>> And these problems may be depends on ASCII STL data only.
>> Binary STLs are imported safely.
>>
>> If you want to import STLs right now, how about using Binary format?
>> Some ASCII to Binary STL converters are distributed on the web.
>>
>> And also I hope above bugs are modified.
>>
>>
>> Magician
>>
>>
>> On 2012/04/14, at 1:14, paraview-request at paraview.org wrote:
>>
>>> Message: 1
>>> Date: Fri, 13 Apr 2012 18:14:18 +0200
>>> From: "Albina, Frank" <frank.albina at sauber-motorsport.com>
>>> Subject: [Paraview] PV3.14.1 STL reader *could* be broken.
>>> To: "paraview at paraview.org" <paraview at paraview.org>
>>> Message-ID:
>>>       <589CEB614006334D93C1A48C1B1964C97F7B9824E1 at srvmes03.spe-ch-md9.net>
>>> Content-Type: text/plain; charset="us-ascii"
>>>
>>> Dear all!
>>>
>>> I have just found out that the STL reader is broken under my Linux 64 bits distro for both the PV3.14.1 binaries either compiled from source or downloaded from paraview.org. The linux distribution I am using is SuSE SLED10 SP2. The error message I am getting is:
>>>
>>> ERROR: In /home/utkarsh/Kitware/superbuild/paraview/src/paraview/VTK/IO/vtkSTLReader.cxx, line 446
>>> vtkSTLReader (0x1bba420): STLReader error reading file: susp-rr-tlink-E0000-0001-lhs.stl Premature EOF while reading end solid.
>>>
>>>
>>> *** glibc detected *** /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/paraview: double free or corruption (!prev): 0x000000000163c2f0 ***
>>> ======= Backtrace: =========
>>> /lib64/libc.so.6[0x2b3d0dbb06de]
>>> /lib64/libc.so.6(__libc_free+0x6c)[0x2b3d0dbb1d5c]
>>> /lib64/libc.so.6(fclose+0x162)[0x2b3d0dba1cd2]
>>> /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/libvtkIO.so.pv3.14(_ZN12vtkSTLReader11RequestDataEP14vtkInformationPP20vtkInformationVectorS3_+0x24f)[0x2b3d098e7c2f]
>>> /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/libvtkPVVTKExtensions.so(_ZN19vtkFileSeriesReader11RequestDataEP14vtkInformationPP20vtkInformationVectorS3_+0x65)[0x2b3d006aefa5]
>>> /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/libvtkPVVTKExtensions.so(_ZN19vtkFileSeriesReader14ProcessRequestEP14vtkInformationPP20vtkInformationVectorS3_+0x169)[0x2b3d006adf39]
>>> /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/libvtkFiltering.so.pv3.14(_ZN12vtkExecutive13CallAlgorithmEP14vtkInformationiPP20vtkInformationVectorS3_+0x54)[0x2b3d0c26ee44]
>>> /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/libvtkFiltering.so.pv3.14(_ZN23vtkDemandDrivenPipeline11ExecuteDataEP14vtkInformationPP20vtkInformationVectorS3_+0x4c)[0x2b3d0c26313c]
>>> /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/libvtkFiltering.so.pv3.14(_ZN24vtkCompositeDataPipeline11ExecuteDataEP14vtkInformationPP20vtkInformationVectorS3_+0xa1)[0x2b3d0c245e41]
>>> /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/libvtkFiltering.so.pv3.14(_ZN23vtkDemandDrivenPipeline14ProcessRequestEP14vtkInformationPP20vtkInformationVectorS3_+0x293)[0x2b3d0c265eb3]
>>> /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/libvtkFiltering.so.pv3.14(_ZN32vtkStreamingDemandDrivenPipeline14ProcessRequestEP14vtkInformationPP20vtkInformationVectorS3_+0x209)[0x2b3d0c3d29e9]
>>> /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/libvtkFiltering.so.pv3.14(_ZN24vtkCompositeDataPipeline15ForwardUpstreamEP14vtkInformation+0x204)[0x2b3d0c244924]
>>> /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/libvtkFiltering.so.pv3.14(_ZN23vtkDemandDrivenPipeline14ProcessRequestEP14vtkInformationPP20vtkInformationVectorS3_+0x23c)[0x2b3d0c265e5c]
>>> /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/libvtkFiltering.so.pv3.14(_ZN32vtkStreamingDemandDrivenPipeline14ProcessRequestEP14vtkInformationPP20vtkInformationVectorS3_+0x209)[0x2b3d0c3d29e9]
>>> /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/libvtkFiltering.so.pv3.14(_ZN23vtkDemandDrivenPipeline10UpdateDataEi+0x9e)[0x2b3d0c2653fe]
>>> /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/libvtkFiltering.so.pv3.14(_ZN32vtkStreamingDemandDrivenPipeline6UpdateEi+0x7b)[0x2b3d0c3cdc4b]
>>> /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/libvtkPVServerImplementationCS.so(_Z23vtkSISourceProxyCommandP26vtkClientServerInterpreterP13vtkObjectBasePKcRK21vtkClientServerStreamRS5_+0x522)[0x2b3cfd00c8b2]
>>> /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/libvtkPVServerImplementationCS.so(_Z33vtkSIFileSeriesReaderProxyCommandP26vtkClientServerInterpreterP13vtkObjectBasePKcRK21vtkClientServerStreamRS5_+0x19b)[0x2b3cfd006ecb]
>>> /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/libvtkClientServer.so(_ZN26vtkClientServerInterpreter20ProcessCommandInvokeERK21vtkClientServerStreami+0x16c)[0x2b3d0689268c]
>>> /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/libvtkClientServer.so(_ZN26vtkClientServerInterpreter17ProcessOneMessageERK21vtkClientServerStreami+0x392)[0x2b3d06890eb2]
>>> /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/libvtkClientServer.so(_ZN26vtkClientServerInterpreter13ProcessStreamERK21vtkClientServerStream+0x1d)[0x2b3d0689136d]
>>> /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/libvtkPVServerImplementation.so(_ZN16vtkPVSessionCore21ExecuteStreamInternalERK21vtkClientServerStreamb+0xac)[0x2b3cff059c3c]
>>> /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/libvtkPVServerImplementation.so(_ZN16vtkPVSessionCore13ExecuteStreamEjRK21vtkClientServerStreamb+0x48)[0x2b3cff05a5c8]
>>> /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/libvtkPVServerImplementation.so(_ZN16vtkPVSessionBase13ExecuteStreamEjRK21vtkClientServerStreamb+0x43)[0x2b3cff0588b3]
>>> /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/libvtkPVServer/home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/libQtGui.so.4(_ZN15QAbstractButton7clickedEb+0x32)[0x2b3d02d93aa2]
>>> /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/libQtGui.so.4[0x2b3d02aaf81b]
>>> /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/libQtGui.so.4[0x2b3d02ab0d85]
>>> /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/libQtGui.so.4(_ZN15QAbstractButton17mouseReleaseEventEP11QMouseEvent+0x7b)[0x2b3d02ab0fdb]
>>> /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0xbb1)[0x2b3d0276bd51]
>>> /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/libQtGui.so.4(_ZN15QAbstractButton5eventEP6QEvent+0x3f)[0x2b3d02ab029f]
>>> /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/libQtGui.so.4(_ZN11QPushButton5eventEP6QEvent+0x3d)[0x2b3d02b4ac9d]
>>> /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xae)[0x2b3d0270ce7e]
>>> /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x3d7)[0x2b3d02710857]
>>> /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x83)[0x2b3d03397503]
>>> /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/libQtGui.so.4(_ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMouseEventS1_S1_PS1_R8QPointerIS0_Eb+0x136)[0x2b3d027100f6]
>>> /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/libQtGui.so.4[0x2b3d0278e254]
>>> /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/libQtGui.so.4(_ZN12QApplication15x11ProcessEventEP7_XEvent+0x9c7)[0x2b3d0278d0a7]
>>> /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/libQtGui.so.4[0x2b3d027b4115]
>>> /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x35)[0x2b3d03396645]
>>> /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xac)[0x2b3d0339699c]
>>> /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/libQtCore.so.4(_ZN16QCoreApplication4execEv+0xb9)[0x2b3d033988b9]
>>> /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/paraview(main+0x172)[0x406f52]
>>> /lib64/libc.so.6(__libc_start_main+0xf4)[0x2b3d0db62304]
>>> /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/paraview(_ZN11QMainWindow5eventEP6QEvent+0x52)[0x406d4a]
>>> ======= Memory map: ========
>>> 00400000-006a3000 r-xp 00000000 00:18 11501261                           /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/paraview
>>> 007a2000-007a4000 rw-p 002a2000 00:18 11501261                           /home/fal/Downloads/ParaView-3.14.1/lib/paraview-3.14/paraview
>>> 007a4000-01db4000 rw-p 007a4000 00:00 0                                  [heap]
>>> 40000000-4007a000 rw-p 40000000 00:00 0
>>> 4007a000-4007c000 r-xs 00000000 08:01 2572403                            /tmp/glof4ZpG (deleted)
>>> 4007c000-4007e000 r-xs 00000000 08:01 2572404                            /tmp/glPA6OGN (deleted)
>>> 4007e000-40080000 r-xs 00000000 08:01 2572405                            /tmp/gl0UkFXU (deleted)
>>> 40080000-40082000 r-xs 00000000 08:01 2572406                            /tmp/glIduwe2 (deleted)
>>> 40082000-40084000 r-xs 00000000 08:01 2572407                            /tmp/gl4TUov9 (deleted)
>>> 2aaaaaaab000-2aaaaad01000 rw-p 2aaaaaaab000 00:00 0
>>> 2aaaaad01000-2aaaab661000 rw-s c0000000 00:0e 13506                      /dev/nvidia0
>>> 2aaaab661000-2aaaab662000 rw-s fa001000 00:0e 13506                      /dev/nvidia0
>>> 2aaaab662000-2aaaab663000 rw-s 5f4fbf000 00:0e 13506                     /dev/nvidia0
>>> 2aaaab663000-2aaaab763000 rw-s 48bf5a000 00:0e 13506                     /dev/nvidia0
>>> 2aaaab763000-2aaaab764000 rw-s fac03000 00:0e 13506                      /dev/nvidia0
>>> 2aaaab764000-2aaaab765000 rw-s 6e759a000 00:0e 13506                     /dev/nvidia0
>>> 2aaaab765000-2aaaab766000 rw-s 6e759b000 00:0e 13506                     /dev/nvidia0
>>> 2aaaab766000-2aaaab767000 rw-s ce3d5000 00:0e 13506                      /dev/nvidia0
>>> 2aaaab767000-2aaaab76b000 rw-s 724563000 00:0e 13506                     /dev/nvidia0
>>> 2aaaab76b000-2aaaabb6b000 rw-s 1aa316000 00:0e 13506                     /dev/nvidia0
>>> 2aaaabb6b000-2aaaabbab000 rw-s ce394000 00:0e 13506                      /dev/nvidia0
>>> 2aaaabbab000-2aaaabbad000 rw-s 00000000 08:01 2572403                    /tmp/glof4ZpG (deleted)
>>> 2aaaabbad000-2aaaabbaf000 rw-s 00000000 08:01 2572404                    /tmp/glPA6OGN (deleted)
>>> 2aaaabbaf000-2aaaabbb1000 rw-s 00000000 08:01 2572405                    /tmp/gl0UkFXU (deleted)
>>> 2aaaabbb1000-2aaaabbb3000 rw-s 00000000 08:01 2572406                    /tmp/glIduwe2 (deleted)
>>> 2aaaabbb3000-2aaaabbb5000 rw-s 00000000 08:01 2572407                    /tmp/gl4TUov9 (deleted)
>>> 2aaaabbb5000-2aaaac484000 rw-p 2aaaabbb5000 00:00 0
>>> 2aaaac484000-2aaaac504000 rw-s 3b5d94000 00:0e 13506                     /dev/nvidia0
>>> 2aaaac504000-2aaaac904000 rw-s 2ad52b000 00:0e 13506                     /dev/nvidia0
>>> 2aaaac904000-2aaaac90c000 rw-p 2aaaac904000 00:0Aborted
>>>
>>> I have enclosed to this email a simple STL file with which I could reproduce the issue. Note  that this issue does not happen with PV 3.12.0.
>>>
>>> A similar error happens with PV3.14.0 & PV3.14.1 under Windows 64bits, but not up to the point of making the application crash. Here is the error message:
>>>
>>>
>>> ERROR: In ..\..\..\..\src\VTK\IO\vtkSTLReader.cxx, line 446
>>>
>>> vtkSTLReader (000000000E7AA380): STLReader error reading file: C:\Documents and Settings\fal\Desktop\DUMMY.stl Premature EOF while reading end solid.
>>>
>>> The STL file is displayed correctly though after the error message window is closed:
>>>
>>> [cid:image001.jpg at 01CD19A1.3E1190A0]
>>>
>>> Hope this helps improving PV.
>>>
>>> Cheers,
>>>
>>> Frank.
>>
>> _______________________________________________
>> 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


More information about the ParaView mailing list