View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000295 | FreeCAD | Bug | public | 2011-03-02 09:37 | 2011-03-08 19:37 |
Reporter | pperisin | Assigned To | |||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 0.11 | ||||
Target Version | 0.11 | Fixed in Version | 0.12 | ||
Summary | 0000295: STEP AP214 export crashes FreeCAD on win7 | ||||
Description | Hi, I have tested this function on couple of winxp, one ubuntu and 3 win7 computers. Ubuntu and xp stuff went ok - FreeCAD exported STEP AP214 successfully. But on all three installations on win7, FreeCAD Crashes when trying to export simple cube with random color to STEP AP214 Regards Petar Perisin | ||||
Additional Information | Crashes on one comp with win7 32bit and two comps with win7 64bit | ||||
Tags | No tags attached. | ||||
FreeCAD Information | |||||
|
I can confirm the crash... |
|
in AppImportGuiPy.cpp line 170 OpenCasCade totaly screw the heap. Its not cachable by exception. Did it somtimes work? |
|
nope. It would always crash on win7 never got it to work. but, while we (I mean Werner) were developing this stuff, first we were using script that was using pythonOCC. Script is here on third page -> last werner's post. http://forum.freecadweb.org/viewtopic.php?f=8&t=516&start=20 Script would translate parts using __toPythonOCC__, and everithing else was done using pythonOCC (except during export FreeCAD was used to get color info from all parts). Using this script worked, but after Werner implemented it using C++, and without pythonOCC, it never worked. Regards, Petar Perisin |
|
No crash here on Win7 64-bit. Maybe the package from SF has some OCC DLLs that use different C runtime DLLs. |
|
Using the latest version from SF I see this crash, too. However, the files TKXCAF.dll, TKXDEIGES.dll, TKXDESTEP.dll are wrong because they link to MSVCRT version 7 while other DLLs are using version 9. Mixing up runtime DLLs is a bad idea because it could lead to unexpected behaviour. When replacing the above three files with the correctly built ones everything works. |
|
It is up to you: just build the three files using VS 2008 and you're done. |
|
Mhh, thats seldome, I will check! |
2011-03-04 07:47
|
|
|
I have uploaded the updated files in the attached zip file. Please replace those of your FreeCAD installation with them. |
|
Confirmed that it works after replacing files. Regards, Petar Perisin |
|
Hi, Just to inform that Release candidate from today does not have this update. I think LibPack should also be updated with this three files. But on my own builds, after switching files in LibPack, the function works. Regards Petar Perisin |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-03-02 09:37 | pperisin | New Issue | |
2011-03-02 16:37 |
|
Note Added: 0000676 | |
2011-03-02 16:37 |
|
Status | new => confirmed |
2011-03-02 19:49 |
|
Note Added: 0000677 | |
2011-03-02 19:49 |
|
Status | confirmed => assigned |
2011-03-02 19:49 |
|
Assigned To | => wmayer |
2011-03-02 19:49 |
|
Target Version | => 0.11 |
2011-03-03 07:30 | unauthenticated | Note Added: 0000678 | |
2011-03-03 15:03 | wmayer | Note Added: 0000679 | |
2011-03-03 16:07 | wmayer | Note Added: 0000680 | |
2011-03-03 16:09 | wmayer | Note Added: 0000681 | |
2011-03-03 16:09 | wmayer | Assigned To | wmayer => Jriegel |
2011-03-03 17:18 |
|
Note Added: 0000682 | |
2011-03-04 07:47 | wmayer | File Added: XDE.zip | |
2011-03-04 07:49 | wmayer | Note Added: 0000685 | |
2011-03-04 14:57 | unauthenticated | Note Added: 0000690 | |
2011-03-04 17:36 | pperisin | Note Added: 0000691 | |
2011-03-08 19:37 |
|
Status | assigned => closed |
2011-03-08 19:37 |
|
Resolution | open => fixed |
2011-03-08 19:37 |
|
Fixed in Version | => 0.12 |