Finding the origin of Segmentation faults when opening files
It appears I misposted this in the parametric forum...I hope this is the correct forum now. Cocreate ME10 is Cocreate Drafting, no?
I do systems support for users who use Cocreate and I occasionally have to help them when ME10 reports a 'segmentation fault' when opening a file.
The error is pretty much always due to a value having been written out which cannot be read back in by ME10, "-1#CNAM" is a common one but I've also seen decimals being written out with comma separation rather than dot separation. We are in spain, so the local decimal separator is comma rather than dot (i.e 1,2 rather than 1.2) but that particular error only occurs occasionally.
I'd like to know if there is a either
- a command line tool for validating ME10 files, which I could use to bulk identify files which have errors.
- or a tool which identifies the line number of the block which is causing a problem instead of the useless 'segmentation fault' which is displayed to the user.
We have thousands of drawings, many going back to the 90s so quite a few are probably affected..
I realise that ME10 is a macro based system and what it writes out seems to be linked to each individual macro, but there must be so way to validate the format.
At the moment I open the file in a text editor and bulk remove blocks of the file to locate a particular element which causes a problem. Once identified I remove the element and save the file, but its highly time consuming.
The ME10 installation is currently under support, so we can update to a more recent version or work through the distributor to obtain a tool, if one exists, When I asked some time back they didn't even seem to understand the concept. It appears they've spent years manually looking for format errors for clients and just think thats normal.
Anyone able to help?

