Search found 91 matches
- Thu Oct 20, 2022 4:12 pm
- Forum: Open discussion
- Topic: Segfault when selecting specific object in TreeView
- Replies: 26
- Views: 2509
Re: Segfault when selecting specific object in TreeView
My "normal" debug build (cmake -DCMAKE_BUILD_TYPE=Debug ../FreeCAD) just completed and I ran it in valgrind. I could reproduce the crash again and got a result similar to Werner's: ... ==30043== Conditional jump or move depends on uninitialised value(s) ==30043== at 0x3237D1E6: ??? (in /us...
- Thu Oct 20, 2022 9:40 am
- Forum: Open discussion
- Topic: Segfault when selecting specific object in TreeView
- Replies: 26
- Views: 2509
Re: Segfault when selecting specific object in TreeView
Valgrind is very verbose but generally looking at the last lines already can give clues. Valgrind reports: valgrind: m_mallocfree.c:303 (get_bszB_as_is): Assertion 'bszB_lo == bszB_hi' failed. valgrind: Heap block lo/hi size mismatch: lo = 531954656, hi = 17918116372989377675. This is probably caus...
- Fri Oct 14, 2022 5:37 am
- Forum: Open discussion
- Topic: Segfault when selecting specific object in TreeView
- Replies: 26
- Views: 2509
Re: Segfault when selecting specific object in TreeView
I guess you're using PPA. Don't know if debug symbols are stripped or not. When receiving segfault, gdb should "pause" on the correct thread, so running 'bt' should be OK. Another possible thing is to run FreeCAD into Valgrind to get more info about the memory. I'm not sure, what you mean...
- Thu Oct 13, 2022 9:47 am
- Forum: Open discussion
- Topic: Segfault when selecting specific object in TreeView
- Replies: 26
- Views: 2509
Re: Segfault when selecting specific object in TreeView
I think, core dumps are disabled on my system. I can enable them or maybe just create one from gdb. However you would need the debugging symbols from my system too, won't you? Also I have never used gdb on multi-threaded processes before. Anything I should take care about? Maybe just send me, which ...
- Thu Oct 13, 2022 8:51 am
- Forum: Open discussion
- Topic: Segfault when selecting specific object in TreeView
- Replies: 26
- Views: 2509
Re: Segfault when selecting specific object in TreeView
Could you rename your '~/.config/FreeCAD/' folder -- when FC is closed -- to see if it solves the issue. I did, but I can still reproduce the issue: No automatic recompute between (3) and (4) and a crash: 7.2e-08 <App> Document.cpp(3453): Recursive calling of recompute for document WK3_Neu Program ...
- Wed Oct 12, 2022 8:01 pm
- Forum: Open discussion
- Topic: Segfault when selecting specific object in TreeView
- Replies: 26
- Views: 2509
Re: Segfault when selecting specific object in TreeView
On my machine this recompute happens automatically, and before I can do step 4. Interesting. This must be a setting somewhere, because on my system the object is not recomputed automatically, no matter how long I wait. But I didn't find, where to change this. The "Skip recomputes" option ...
- Wed Oct 12, 2022 6:39 pm
- Forum: Open discussion
- Topic: Segfault when selecting specific object in TreeView
- Replies: 26
- Views: 2509
Re: Segfault when selecting specific object in TreeView
I recompiled FreeCAD and am now on OS: Debian GNU/Linux bookworm/sid Word size of FreeCAD: 64-bit Version: 0.21.30623 (Git) Build type: Unknown Branch: master Hash: 27f08f38b1658e419e20a153e13236eff1293b77 Python 3.10.7, Qt 5.15.4, Coin 4.0.0, Vtk 7.1.1, OCC 7.6.3 Locale: German/Austria (de_AT) an I...
- Wed Oct 12, 2022 1:47 pm
- Forum: Draft, Arch & BIM
- Topic: Energy model of a building with FreeCad
- Replies: 26
- Views: 7046
Re: Energy model of a building with FreeCad
As others have noted already, the real problem is not writing an interface to ladybug tools or whatever engine. The problem is getting the data structures (objects) in FreeCAD to meaningfully store the inputs and results of such calculations. Also, since this is mostly about relations between rooms ...
- Wed Oct 12, 2022 11:04 am
- Forum: Open discussion
- Topic: Segfault when selecting specific object in TreeView
- Replies: 26
- Views: 2509
Re: Segfault when selecting specific object in TreeView
It's crashing in Qt. ;) OCC should have no impact. Yeah, that's what I have been thinking as well. However, we already are on the same versions of Qt and FreeCAD, which makes this issue very strange. I suppose OCC might corrupt some unrelated memory and cause a crash somewhere else. The other diffe...
- Wed Oct 12, 2022 7:55 am
- Forum: Open discussion
- Topic: Segfault when selecting specific object in TreeView
- Replies: 26
- Views: 2509
Re: Segfault when selecting specific object in TreeView
Thanks for looking into this. It seems the most likely difference is the OCC version.
I'll fetch OCC 7.6.3 from debian testing and try again on my end.
I'll fetch OCC 7.6.3 from debian testing and try again on my end.