[Paraview] VRML File crashing ParaView 4.1

Michael Jackson mike.jackson at bluequartz.net
Wed Jan 22 08:30:08 EST 2014


The files from this VTK bug report will crash ParaView:

http://paraview.org/Bug/print_bug_page.php?bug_id=1624

I am using "Instant Player" by Fraunhofer-Gesellschaft version 2.3.0 to view all the files that ParaView crashes on. ParaView will load simple VRML files but I think it may be the IndexedFaceList that is the problem?

The last few lines of the crash log are attached at the the bottom.

**** THis will Crash*****
#VRML V2.0 utf8
Background {
skyColor        [0.3 0.3, 0.4] 
}

Viewpoint
{
  position 0 0 -44.40
  orientation 0 1 0 3.1415927
}

Shape {
   appearance DEF A Appearance {
     material Material {
      diffuseColor 1.0 1.0 1.0
      shininess 0.75
      specularColor 0.7 0.7 0.7
     }
   }
   geometry IndexedFaceSet {
    coord DEF VERTEXLIST Coordinate {
     point  [
      0 0 6,
      1 0 0,
      1 1 0,
      0 1 3,
      0 2 5,
      1 2 0
     ]
  }
 }
}

Shape {
 appearance USE A
 geometry IndexedFaceSet {
  coord USE VERTEXLIST
        solid FALSE
        colorPerVertex TRUE
  coordIndex [
   0,1,2,-1
  ]
 }
}

Shape {
 appearance USE A
 geometry IndexedFaceSet {
  coord USE VERTEXLIST
      solid FALSE
    colorPerVertex TRUE
  coordIndex [
   3,2,5,-1
  ]
 }
}


Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000

VM Regions Near 0:
--> 
    __TEXT                 0000000100000000-00000001004f4000 [ 5072K] r-x/rwx SM=COW  /Applications/ParaView-4.0.1/paraview.app/Contents/MacOS/paraview

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libvtkIOImport-pv4.0.1.dylib  	0x0000000104870d66 vtkVRMLImporter::exitNode() + 646
1   libvtkIOImport-pv4.0.1.dylib  	0x000000010486e94a yyparse(vtkVRMLImporter*) + 2314
2   libvtkIOImport-pv4.0.1.dylib  	0x0000000104874426 vtkVRMLImporter::ImportBegin() + 806
3   libvtkIOImport-pv4.0.1.dylib  	0x000000010486d2f8 vtkImporter::Read() + 120


Hope that helps.

Mike Jackson


On Jan 22, 2014, at 6:41 AM, "richard.grenon at onera.fr" <richard.grenon at onera.fr> wrote:

> Found on internet other VRML file OK: h**p://siggraph.org/~rhyne/com97/vrmlexample1.html
> 
> Found the error on your file: points coordinates should be separated by a space. The comma should be used only to separate points:
> 
>> #VRML V2.0 utf8
>> 
>> Shape {
>> geometry IndexedFaceSet {
>>  coord DEF MYPOINTS Coordinate {
>>   point [
>>         0 0 0,
>>         1 0 0,
>>         1 1 0,
>>         0 1 0,
>>         0 2 0,
>>         1 2 0
>>   ]
>>  }
>>  coordIndex [
>>       0,1,2,3,-1
>>  ]
>> }
>> }
>> 
>> Shape {
>> geometry IndexedFaceSet {
>>  coord USE MYPOINTS
>>  coordIndex [
>>       3,2,5,-1
>>  ]
>> }
>> }
> 
> I don't know if PV shows what your are expecting but it does not crash.
> 
> 
> -- 
> Richard GRENON
> ONERA
> Departement d'Aerodynamique Appliquee - DAAP/ACI
> 8 rue des Vertugadins
> 92190 MEUDON - FRANCE
> phone : +33 1 46 73 42 17
> fax   : +33 1 46 73 41 46
> mailto:Richard.Grenon at onera.fr
> http://www.onera.fr
> 



More information about the ParaView mailing list