-
Notifications
You must be signed in to change notification settings - Fork 330
Description

Environment:
Operating System: Windows 10
Mayo Version: 0.9.0
Problem Description:
The mayo-conv.exe command-line tool crashes during the export phase when attempting to convert a specific STL file to the IGS format.
Steps to Reproduce:
Obtain the problematic STL file (named test_one.stl)..
In a Windows Command Prompt (CMD) or PowerShell, navigate to the directory containing test_one.stl.[https://wangx-1.oss-cn-hangzhou.aliyuncs.com/1745303793560_DWFAPAm1LZPt84da2e1dfa8754ebf686224780fc8bad.stl]
Execute the following command:
Apply to app.py
Run
(Please adjust the paths for mayo-conv.exe and test_one.stl according to your actual setup)
Observe the console output.
Immediately after the command finishes, check the process exit code:
In CMD, run: echo %ERRORLEVEL%
In PowerShell, run: echo $lastexitcode
Expected Behavior:
The command completes successfully without crashing.
A valid output.igs file is generated in the current directory.
The process exit code should be 0.
Actual Behavior:
The console displays:
Apply to app.py
The program then terminates abruptly with no further output or error messages printed to the console.
The observed process exit code is -1073741819 (hexadecimal 0xC0000005), indicating an Access Violation error.
No valid output.igs file is generated (or the file size is 0KB).
Additional Information:
This crash occurs consistently when converting this specific test_one.stl file to IGS.
The issue was initially discovered when calling mayo-conv.exe via Python's subprocess module, and the crash was confirmed by running the command directly in the terminal.
Notably, converting the same test_one.stl file to other formats (like OBJ, STP) appears to work correctly (at least when called via the Python script, resulting in exit code 0).
[Optional, if applicable] During tests within the Python script, attempts to convert this STL file to VRML (.vrm) and AMF (.amf) formats also seemed to result in the same crash (exit code 3221225477, which is 0xC0000005). This might suggest the issue is not limited to IGS export but affects multiple export formats.
Attachments/Links:
[(https://wangx-1.oss-cn-hangzhou.aliyuncs.com/1745303793560_DWFAPAm1LZPt84da2e1dfa8754ebf686224780fc8bad.stl)]