View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0033487 | Community | OCCT:Data Exchange | public | 2023-09-22 14:22 | 2024-08-05 15:04 |
Reporter | pavelmoje | Assigned To | ichesnokova | ||
Priority | normal | Severity | crash | ||
Status | assigned | Resolution | open | ||
Platform | Windows | OS | VC++ 2022 | ||
Product Version | 7.7.1 | ||||
Summary | 0033487: Data Exchange, Step Import - Unresolved reference crashes | ||||
Description | Call STEPCAFControl_Reader->Transfer() caused exception Access Violation when file has Unresolved Reference, see occt_bug3.PNG. Other attached files occt_bug[1, 2, 4].PNG shows other exception details. | ||||
Steps To Reproduce | Read STEP file with Unresolved Reference (occt_bug3.PNG) and use STEPCAFControl_Reader. I've to ask my college if I can provide this file. | ||||
Additional information and documentation updates | When I've set STEPCAFControl_Reader.SetColorMode(false) file is normally read. | ||||
Tags | No tags attached. | ||||
Test case number | |||||
|
Dear @pavelmoje please reattache a files. There was some problem with attachemtns |
|
Bug is fixed and PR is created https://github.com/Open-Cascade-SAS/OCCT/pull/13. |
|
Missing attached files. occt_bug5.PNG (16,061 bytes) occt_bug4.PNG (39,358 bytes) occt_bug3.PNG (17,108 bytes) occt_bug2.PNG (92,422 bytes) occt_bug1.PNG (39,039 bytes) |
|
Attached occt_bug5.PNG is from CAD Assistant. And see loaded model with applied PR https://github.com/Open-Cascade-SAS/OCCT/pull/13. loaded_model_after_fix.jpg (133,409 bytes) |
|
Fix: https://github.com/Open-Cascade-SAS/OCCT/pull/13 |
|
Needs to prepare correct fix to check empty name |
|
Branch CR33487 has been created by ichesnokova. SHA-1: 1b836c11404072e2a004526950be3a8f0688d569 Detailed log of new commits: Author: ichesnok Date: Tue Apr 16 16:38:20 2024 +0100 0033487: Data Exchange, Step Import - Unresolved reference crashes IsNull() check added for Handle(StepVisual_FillAreaStyleColour). |
|
@ichesnokova please share details about why this entity is null inside file. It is not exist or we have no read some data? Please avoid to write git commit message with trivial description. Try to describe a scenario that leads to the issue and issue itself. |
|
I would like to share this model with unresolved references, but I don't have a permission for it. I can only offer to test it after some provided fix. |
Date Modified | Username | Field | Change |
---|---|---|---|
2023-09-22 14:22 | pavelmoje | New Issue | |
2023-09-22 14:22 | pavelmoje | Assigned To | => pavelmoje |
2023-09-22 14:24 | dpasukhi | Note Added: 0114252 | |
2023-09-22 14:41 | pavelmoje | Note Added: 0114254 | |
2023-09-22 14:42 | pavelmoje | Note Added: 0114255 | |
2023-09-22 14:42 | pavelmoje | File Added: occt_bug5.PNG | |
2023-09-22 14:42 | pavelmoje | File Added: occt_bug4.PNG | |
2023-09-22 14:42 | pavelmoje | File Added: occt_bug3.PNG | |
2023-09-22 14:42 | pavelmoje | File Added: occt_bug2.PNG | |
2023-09-22 14:42 | pavelmoje | File Added: occt_bug1.PNG | |
2023-09-22 14:54 | pavelmoje | Note Added: 0114256 | |
2023-09-22 14:54 | pavelmoje | File Added: loaded_model_after_fix.jpg | |
2024-04-15 11:31 | dpasukhi | Note Added: 0115704 | |
2024-04-15 11:33 | dpasukhi | Note Added: 0115705 | |
2024-04-15 11:34 | dpasukhi | Assigned To | pavelmoje => ichesnokova |
2024-04-15 11:34 | dpasukhi | Severity | major => crash |
2024-04-15 11:34 | dpasukhi | Summary | Read specific STEP file with unresolved references caused Exception Access Violation when Transfer() is called => Data Exchange, Step Import - Unresolved reference crashes |
2024-04-17 10:31 | git | Note Added: 0115728 | |
2024-07-16 10:43 | dpasukhi | Note Added: 0116185 | |
2024-08-05 13:57 | pavelmoje | Note Added: 0116372 | |
2024-08-05 15:04 | dpasukhi | Status | new => assigned |