DiscussionsIssue archiveOCCT:Data Exchange

Archived issue #0023846

A crash on reading of a VRML file with wrong indices

Open CASCADEOCCT:Data Exchangeclosed9 public notes

Search issues

Description

The VRML file has wrong indices, but it is not a reason to crash the application...

Steps to reproduce

Load the attached VRML file by a draw-command:
loadvrml s T00000112_0000.wrl
The application crashes.

Public activity

9 archived notes

Participants are labeled by their role within this record.

01Author
Dear Agv, could you revise the changes please?
02Author
The changes are in CR23846.
03Commenter 3
Reviewed, please test.
04Commenter 4
Dear Commenter 1,

Branch CR23846 (and products from GIT master) was compiled on Linux and Windows platforms and tested.
[revision removed]

Number of compiler warnings:

occt component :
Linux: 918 (917 on master)
Windows: 855 (855 on master)

products component :
Linux: 188 (188 on master)
Windows: 287 (287 on master)

Regressions:
No regressions

Improvements:
No improvements

Testing cases:
http://occt-tests/CR23846-master-occt/Debian60-64/bugs/xde/bug23846.html
http://occt-tests/CR23846-master-occt/Windows-32-VC9/bugs/xde/bug23846.html
bugs xde(005) bug23846 - BAD.
There is not a crash on reading of a VRML file if file locate in current directory.
loadrml draw-command wrong use Inline command of VRML file.

Testing on Linux:
Total MEMORY difference: 363658356 / 363283144
Total CPU difference: 50351.58000000019 / 49186.1200000005

Testing on Windows:
Total MEMORY difference: 425432848 / 424533248
Total CPU difference: 35822.296875 / 33046.03125

There are not differences in images found by testdiff.
05Author
The problem is in the draw-command loadvrml - it fails using an inter-computer path.
06Author
Dear Mkv,
Just the bug 24115 is integrated, the failed test for this bug will pass without problems.
Any questions are welcome,
Vro
07Commenter 7
Dear vro,
could you please rebase branch CR23846 to current master, there are conflict files.
08Author
The branch is CR23846_2.
09Commenter 9
Dear Commenter 1,

Branch CR23846_2 (and products from GIT master) was compiled on Linux and Windows platforms and tested.
[revision removed]

Number of compiler warnings:

occt component :
Linux: 368 (368 on master)
Windows: 6 (6 on master)

products component :
Linux: 189 (190 on master)
Windows: 287 (287 on master)

Regressions/Differences:
No regressions/differences

Testing cases:
http://occt-tests/CR23846-2-master-occt/Debian60-64/bugs/xde/bug23846.html
http://occt-tests/CR23846-2-master-occt/Windows-32-VC9/bugs/xde/bug23846.html
bugs xde(005) bug23846: OK

Testing on Linux:
Total MEMORY difference: 353411504 / 353823372
Total CPU difference: 43595.0900000011 / 42954.25000000077

Testing on Windows:
Total MEMORY difference: 407657268 / 407043760
Total CPU difference: 33771.953125 / 37414.875

There are not differences in images found by testdiff.

Related records