Thanks testing. Can you also try latest 0.20_pre ?
Importing a IFC file and FC crashes
Re: Importing a IFC file and FC crashes
Better back to testing : QUA_EST_BLE_NAO_OFICIAL.ifc
Crash with -
OK with -
FreeCAD_0.19-24291-Linux-Conda_glibc2.12-x86_64.AppImage
All tested on Fedora 34 -
Crash with -
FreeCAD_0.19.3-Linux-Conda_glibc2.12-x86_64.AppImage
OK with -
FreeCAD_0.19-24291-Linux-Conda_glibc2.12-x86_64.AppImage
All tested on Fedora 34 -
Re: Importing a IFC file and FC crashes
Created a log until crashes, extracted the last few lines before crash
Code: Select all
Msg: 649Msg: Msg: /Msg: Msg: 1199Msg: Msg: object #8105Msg: Msg: :Msg: Msg: IfcFastenerMsg: Msg: layer Msg: Msg: 0 Msg: Msg: foundMsg: Msg: IfcFastenerMsg: Msg: (arch)Msg: Msg: 11k Msg: Msg: : Weld029 Msg: Msg: 1 solidsMsg: Msg: Msg:
Msg: 650Msg: Msg: /Msg: Msg: 1199Msg: Msg: object #8120Msg: Msg: :Msg: Msg: IfcPlateMsg: Msg: layer Msg: Msg: 1 Phase 1Msg: Msg: foundMsg: Msg: IfcPlateMsg: Msg: (arch)Msg: Msg: 2k Msg: Msg: : CHAPA245 Msg: Msg: Msg: Msg: Msg:
Msg: 651Msg: Msg: /Msg: Msg: 1199Msg: Msg: object #8159Msg: Msg: :Msg: Msg: IfcPlateMsg: Msg: layer Msg: Msg: 1 Phase 1Msg: Msg: foundMsg: Msg: IfcPlateMsg: Msg: (arch)Msg: Err: Program received signal SIGSEGV, Segmentation fault.
Re: Importing a IFC file and FC crashes
Crash log on importing the Villa Savoye model (1F only)
- thomas-neemann
- Veteran
- Posts: 11903
- Joined: Wed Jan 22, 2020 6:03 pm
- Location: Osnabrück DE 🇩🇪
- Contact:
Re: Importing a IFC file and FC crashes
here it worked no with 0.20.26155 but with:
OS: Ubuntu 20.04.1 LTS (XFCE/xubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24291 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0.19.2)
Hash: 7b5e18a0759de778b74d3a5c17eba9cb815035ac
Python version: 3.8.8
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.4.0
Locale: German/Germany (de_DE)
it is ok
- thomas-neemann
- Veteran
- Posts: 11903
- Joined: Wed Jan 22, 2020 6:03 pm
- Location: Osnabrück DE 🇩🇪
- Contact:
Re: Importing a IFC file and FC crashes
this is a nice example of how an ifc file shouldn't be. with welds, screws and washers. this relatively small project creates files that are very slow and complicated to import. because ifc files are not used as a data exchange format in the bim process, but only for referencing, a fast dae file is sufficient. converted from ifc
Re: Importing a IFC file and FC crashes
OS: macOS 10.15
Word size of FreeCAD: 64-bit
Version: 0.20.26559 (Git)
Build type: Release
Branch: adaptive_dicretize_bugfix
Hash: 3507f7fc0d81b5281f4194220dc890952320be29
Python version: 3.10.8
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/Germany (en_DE)
still crashes
the issue seems to be fixed a similar way in the latest git source (just checked)
https://www.soil-parts.at/downloads/
https://www.soil-parts.at/app/download/ ... 1637736812
that's what I did for now but certainly at another side it probably expects a nullptr coming out from propset
Word size of FreeCAD: 64-bit
Version: 0.20.26559 (Git)
Build type: Release
Branch: adaptive_dicretize_bugfix
Hash: 3507f7fc0d81b5281f4194220dc890952320be29
Python version: 3.10.8
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/Germany (en_DE)
still crashes
the issue seems to be fixed a similar way in the latest git source (just checked)
https://www.soil-parts.at/downloads/
https://www.soil-parts.at/app/download/ ... 1637736812
Code: Select all
0, debug map time is 2022-10-02 05:59:04.000000000) since this executable was linked, file will be ignored
* thread #1, name = 'CrBrowserMain', queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
* frame #0: 0x00007fff6dceae52 libsystem_platform.dylib`_platform_strlen + 18
frame #1: 0x00000001000101e5 FreeCAD`std::__1::char_traits<char>::length(__s=0x0000000000000000) at __string:253:53
frame #2: 0x00000001052eb149 libFreeCADApp.dylib`std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::basic_string<std::nullptr_t>(this="%\x9es\x01\0\0\0 >???\0\0*", __s=0x0000000000000000) at string:819:19
frame #3: 0x00000001052d681d libFreeCADApp.dylib`std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::basic_string<std::nullptr_t>(this="%\x9es\x01\0\0\0 >???\0\0*", __s=0x0000000000000000) at string:817:88
frame #4: 0x00000001052e5f43 libFreeCADApp.dylib`App::ObjectIdentifier::access(this=0x00007ffeefbf4070, obj=0x0000000132d07800, prop=0x0000000000000000, propName=0x0000000000000000) const::$_0::operator()(App::DocumentObject*, App::Property*, char const*) const at ObjectIdentifier.cpp:1686:28 <<<<------
if(propset.size()!=1 || propset.begin()->size()) {
if(!propName)
propset.clear();
----
>> if (propName == nullptr)
>> propName = strdup("");
----
propset.insert(propName);
}
- thomas-neemann
- Veteran
- Posts: 11903
- Joined: Wed Jan 22, 2020 6:03 pm
- Location: Osnabrück DE 🇩🇪
- Contact:
Re: Importing a IFC file and FC crashes
here it works
Code: Select all
OS: Ubuntu 20.04.1 LTS (XFCE/xubuntu)
Word size of FreeCAD: 64-bit
Version: 0.21.0.32985 (Git) AppImage
Build type: Release
Branch: master
Hash: 5cd377f931312ede305e4c764ba2028b20eaacfd
Python 3.10.10, Qt 5.15.8, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: German/Germany (de_DE)
Installed mods:
* Curves 0.6.8
* fasteners 0.4.56
Re: Importing a IFC file and FC crashes
it also works here, with the patch. Latest Git Sourcecode is already fixed as mentioned.