View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001318 | FreeCAD | Bug | public | 2013-11-29 11:31 | 2014-03-02 17:39 |
Reporter | NormD | Assigned To | wmayer | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Windows | OS | XP Pro | OS Version | SP3 |
Product Version | 0.13 | ||||
Summary | 0001318: Crash when exporting .step file | ||||
Description | I use Edit -> Select All, then export, choose .step and FreeCad crashes. | ||||
Additional Information | Visual Studio debugger shows the crash is in free.c, Line 110. The crash is: Unhandled exception at 0x07f73684 in FreeCAD.exe: 0xC0000005: Access violation reading location 0xfefd0000. The part I made was a little strange, I was having problems making a part with an edge. I made a pad, then another pad on top of it then a pocket and another pocket (the first pocket did not go through the original pad. | ||||
Tags | No tags attached. | ||||
FreeCAD Information | |||||
|
|
|
> Access violation reading location 0xfefd0000. The address indicates invalid part objects. So, it's probably not checked if a shape is null when exporting it. Nevertheless, do NOT select all objects unless you are sure that they don't overlap. Otherwise when importing the STEP file it might give you a broken part object. |
|
The file Top.FCStd exports just fine in both STEP and STEP with colors format using the latest development version of FreeCAD. (0.14 - 2791 (Git) / OCC 6.6.0). I experienced trouble with STEP files in version 0.13 and earlier versions of 0.14 dev. The workaround for me was to use Part Workbench > Part > Export CAD and pick the STEP format, NOT the STEP with colors. NormD might want to try this approach along with the recommendations given by wmayer. If I am remembering correctly, there were some issues with older OCC in dealing with STEP with colors format. |
|
I don't get a crash either with: OS: Ubuntu 12.04.3 LTS Platform: 32-bit Version: 0.14.2781 (Git) Branch: master Hash: feeb053e18bb2d6a2b5364bb16c97467dcda9e58 Python version: 2.7.3 Qt version: 4.8.1 Coin version: 3.1.3 SoQt version: 1.5.0 OCC version: 6.5.0 |
|
Crash caused inside ExportOCAF::saveShape(Part::Feature* part, const std::vector<App::Color>& colors) due to null shape. Newer versions of OCC handle this also. |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-11-29 11:31 | NormD | New Issue | |
2013-11-29 11:31 | NormD | File Added: Top.FCStd | |
2013-11-29 17:19 | wmayer | Note Added: 0003910 | |
2013-11-29 22:45 | quick61 | Note Added: 0003913 | |
2013-11-30 12:54 | wmayer | Note Added: 0003914 | |
2013-11-30 12:54 | wmayer | Resolution | open => unable to reproduce |
2014-03-02 17:17 | wmayer | Status | new => confirmed |
2014-03-02 17:17 | wmayer | Resolution | unable to reproduce => open |
2014-03-02 17:18 | wmayer | Note Added: 0004357 | |
2014-03-02 17:39 | wmayer | Changeset attached | => FreeCAD Master master 629d5cc1 |
2014-03-02 17:39 | wmayer | Assigned To | => wmayer |
2014-03-02 17:39 | wmayer | Status | confirmed => closed |
2014-03-02 17:39 | wmayer | Resolution | open => fixed |