View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0033665 | Community | OCCT:Data Exchange | public | 2024-04-04 18:37 | 2024-04-12 16:15 |
Reporter | lin789 | Assigned To | dpasukhi | ||
Priority | normal | Severity | crash | ||
Status | resolved | Resolution | open | ||
Product Version | 7.8.0 | ||||
Target Version | 7.9.0 | ||||
Summary | 0033665: Data Exchange, Step Import - TransferRoots crashes for invalid STEP files | ||||
Description | Hello everyone, I would like to report an issue that I encountered. I am new here, so if I am doing this the wrong way, please let me know :) I have played around with an example model and have attached the following: box_invalid1.step: Here, I removed the entity #/18 box_invalid2.step: Here, I removed the first parameter of entity #/11. Both files lead to a crash (segmentation fault) when calling TransferRoots, see below to reproduce. Can you please have a look at this issue? | ||||
Steps To Reproduce | STEPControl_Reader reader; IFSelect_ReturnStatus stat = reader.ReadFile('box_invalid1.step'); reader.TransferRoots(); | ||||
Tags | No tags attached. | ||||
Test case number | |||||
|
box_invalid1.step (16,042 bytes) box_invalid2.step (16,069 bytes) |
|
I can't edit the issue description, so I'll add it here: When I wrote number(#) 18 as the entity number, it was automatically converted to a ticket number. The lines above should be box_invalid1.step: Here, I removed the entity number 18 box_invalid2.step: Here, I removed the first parameter of entity number 11 |
|
Branch CR33665 has been created by ichesnokova. SHA-1: d22aa2cac5f1f008f84dcfe7d073b6c730a16561 Detailed log of new commits: Author: ichesnok Date: Thu Apr 11 14:12:41 2024 +0100 0033665: Data Exchange, Step Import - TransferRoots crashes for invalid STEP files IsNull() check added for StepShape_FaceBound. |
|
Dear dpasukhi, please review branch CR33665. |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-04-04 18:37 | lin789 | New Issue | |
2024-04-04 18:37 | lin789 | Assigned To | => ika |
2024-04-04 18:37 | lin789 | File Added: box_invalid1.step | |
2024-04-04 18:37 | lin789 | File Added: box_invalid2.step | |
2024-04-04 18:55 | lin789 | Note Added: 0115590 | |
2024-04-04 19:10 | dpasukhi | Product Version | 7.7.0 => 7.8.0 |
2024-04-04 20:19 | dpasukhi | Summary | TransferRoots crashes for invalid STEP files => Data Exchange, Step Import - TransferRoots crashes for invalid STEP files |
2024-04-04 20:19 | dpasukhi | Assigned To | ika => ichesnokova |
2024-04-04 20:19 | dpasukhi | Description Updated | |
2024-04-04 20:20 | dpasukhi | Description Updated | |
2024-04-04 20:20 | dpasukhi | Assigned To | ichesnokova => dpasukhi |
2024-04-04 20:20 | dpasukhi | Assigned To | dpasukhi => ichesnokova |
2024-04-04 20:20 | dpasukhi | Target Version | => 7.9.0 |
2024-04-11 18:00 | git | Note Added: 0115686 | |
2024-04-12 16:15 | ichesnokova | Assigned To | ichesnokova => dpasukhi |
2024-04-12 16:15 | ichesnokova | Status | new => resolved |
2024-04-12 16:15 | ichesnokova | Note Added: 0115696 |