issue #5707: VRML 2 crashes with corner cases
Forum thread for discussion.
Ticket #5707: VRML - 2 crashes with corner cases
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
Ticket #5707: VRML - 2 crashes with corner cases
Last edited by Kunda1 on Mon Jun 06, 2022 7:54 pm, edited 1 time in total.
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: Ticket #5707: VRML - 2 crashes with corner cases
@kwahoo do you mind testing to this if issue #5707 is still relevant?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: Ticket #5707: VRML - 2 crashes with corner cases
Unfortunately, I'm not able to download the files from Mantis (0 byte size) and they are not migrated to GithubKunda1 wrote: ↑Mon Jun 06, 2022 7:55 pm @kwahoo do you mind testing to this if issue #5707 is still relevant?

Re: Ticket #5707: VRML - 2 crashes with corner cases
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
- adrianinsaval
- Veteran
- Posts: 5369
- Joined: Thu Apr 05, 2018 5:15 pm
Re: Ticket #5707: VRML - 2 crashes with corner cases
Many files in the mantis tracker don't work
Re: Ticket #5707: VRML - 2 crashes with corner cases
Exactly these files.Kunda1 wrote: ↑Tue Jun 07, 2022 9:53 pm The files don't work in
https://tracker.freecad.org/view.php?id=3070 ?
Re: Ticket #5707: VRML - 2 crashes with corner cases
Unfortunately, I cannot find a copy of the files on my disk any more but according to the file names it should be possible to restore the defects of their contents:
- corrupts memory - name too long.wrl -- a VRML2 file with a very long name of a DEF
- corrupts memory - name too long (VRML 1).wrl -- the same for a VRML1 file
- crash - recursive USE.wrl -- a recursive USE definition for a VRML2 file
- crash - recursive USE (VRML 1).wrl -- the same for a VRML1 file
- crash - recursive PROTO.wrl -- a recursive PROTO definition
Re: Ticket #5707: VRML - 2 crashes with corner cases
crash - recursive PROTO.wrl:
crash - recursive USE.wrl:
crash - recursive USE (VRML 1).wrl:
So far the crash is fixed for: crash - recursive USE.wrl and crash - recursive USE (VRML 1).wrl
Code: Select all
#VRML V2.0 utf8
#
# Test case for recursive PROTO definitions. Undefined per specification, but the program should not lifelock in any case.
#
# T H I S F I L E S H O U L D N O T R U N
PROTO Recursive [] {
Group {
children [
Recursive { }
]
}
}
Recursive { }
Code: Select all
#VRML V2.0 utf8
#
# Test case for “USE” of a node in itself (undefined per specification). The program must not lifelock under any circumstances.
# In this test, the recursion is second-level (catches naïve implementations).
#
# S H O U L D D I S P L A Y A G R E E N S P H E R E !
DEF recursive Group{
children [
Group{
children [
USE recursive
]
}
]
}
Code: Select all
#VRML V1.0 ascii
DEF recursive Group {
Group {
USE recursive
}
}
- Attachments
-
- corrupts memory - name too long.zip
- (1.02 KiB) Downloaded 9 times