Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VTK: Regression with the update of Ubuntu docker images #8271

Closed
sloriot opened this issue Jun 10, 2024 · 3 comments · Fixed by CGAL/cgal-testsuite-dockerfiles#163
Closed
Milestone

Comments

@sloriot
Copy link
Member

sloriot commented Jun 10, 2024

We now have in BGL test the following error in test_bgl_read_write

2024-06-10 00:52:06.126 (  36.851s) [        927E6940]       vtkXMLParser.cxx:375    ERR| vtkXMLDataParser (0x55feeedbe110): Error parsing XML in stream at line 17, column 0, byte index 629: not well-formed (invalid token)
2024-06-10 00:52:06.127 (  36.851s) [        927E6940]       vtkExecutive.cxx:752    ERR| vtkCompositeDataPipeline (0x55feeedbecf0): Algorithm vtkXMLPolyDataReader(0x55feeedd0b80) returned failure for request: vtkInformation (0x55feeeed9940)
  Debug: Off
  Modified Time: 90
  Reference Count: 1
  Registered Events: (none)
  Request: REQUEST_INFORMATION
  ALGORITHM_AFTER_FORWARD: 1
  FORWARD_DIRECTION: 0


test_bgl_read_write: /mnt/testsuite/test/BGL/test_bgl_read_write.cpp:788: void test_bgl_VTP(const char*, bool) [with Mesh = CGAL::Polyhedron_3<CGAL::Simple_cartesian<double>, CGAL::Polyhedron_items_with_id_3>; K = CGAL::Simple_cartesian<double>]: Assertion `ok' failed.`

VTK version on this plateform is vtk-9.1
Maybe the error is specific to this vtk version

@lrineau lrineau changed the title Regression with the update of Ubuntu docker images VTK: Regression with the update of Ubuntu docker images Jun 12, 2024
@lrineau lrineau added this to the 6.0 milestone Jun 12, 2024
@sloriot
Copy link
Member Author

sloriot commented Aug 19, 2024

More information on the issue:

The package version is libvtk9-dev is (9.1.0+really9.1.0+dfsg2-7.1build3). I locally have libvtk9-dev is (9.1.0+really9.1.0+dfsg2-5) and don't have any issue.

The error happens in BGL/test/BGL/test_bgl_read_write.cpp:788 while reading data/bones.vtp. Replacing that file with other vtp files (from CGAL or even official vtk repo) trigger the same error.

The output while running the failing version of the program is:

2024-08-19 11:26:10.731 (   7.401s) [        F61D1940]       vtkXMLParser.cxx:375    ERR| vtkXMLDataParser (0x5555559b4f00): Error parsing XML in stream at line 72, column 0, byte index 3807: junk after document element
2024-08-19 11:26:10.731 (   7.401s) [        F61D1940]       vtkExecutive.cxx:752    ERR| vtkCompositeDataPipeline (0x5555559b6780): Algorithm vtkXMLPolyDataReader(0x5555559c2e80) returned failure for request: vtkInformation (0x5555559c4fb0)
  Debug: Off
  Modified Time: 90
  Reference Count: 1
  Registered Events: (none)
  Request: REQUEST_INFORMATION
  ALGORITHM_AFTER_FORWARD: 1
  FORWARD_DIRECTION: 0


ERROR is : ERROR: In ./IO/XML/vtkXMLReader.cxx, line 521
vtkXMLPolyDataReader (0x5555559c2e80): Error parsing input file.  ReadXMLInformation aborting.


test_bgl_read_write: /cgal/BGL/test/BGL/test_bgl_read_write.cpp:788: void test_bgl_VTP(const char*, bool) [with Mesh = CGAL::Polyhedron_3<CGAL::Simple_cartesian<double>, CGAL::Polyhedron_items_with_id_3>; K = CGAL::Simple_cartesian<double>]: Assertion `ok' failed.

I don't think there is a bug on CGAL side and except installing manually a new vtk version on the ubuntu used I don't have a solution.

@lrineau lrineau modified the milestones: 6.0, 6.0.1 Sep 30, 2024
@sloriot
Copy link
Member Author

sloriot commented Oct 8, 2024

The problem seems to come from libexpat1-dev. The vtk package on ubuntu was built with libexpat1-dev 2.6.1 while my system version is 2.5 (guessed from this thread)

@sloriot
Copy link
Member Author

sloriot commented Oct 8, 2024

Should be "fixed" by CGAL/cgal-testsuite-dockerfiles#163

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants