FreeCAD crashes - Bug?
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
FreeCAD crashes - Bug?
Hello everybody,
Since version 0.17 I cannot use FreeCAD any longer. When I start FreeCAD I can open an existing file. With one file I cannot even click on the part in the 3D, with another file I can click on the parts in the 3D but when clicking on the part in the tree view FreeCAD crashes.
Running from the console I get "Speicherzugriffsfehler" ... "Memory access error".
Versions:
FreeCAD OS: "openSUSE 13.2 (Harlequin) (x86_64)"
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.7402 (Git) (Packman)
Build type: Release
Branch: master
Hash: 3e941f2b8742c895e7ad3ef1b30d7eae73ae4eca
Python version: 2.7.8
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.18-dev
Linux kernel 3.16.7
Am I correct here or do I need to post that problem anywhere else?
Cheers, Stefan
Since version 0.17 I cannot use FreeCAD any longer. When I start FreeCAD I can open an existing file. With one file I cannot even click on the part in the 3D, with another file I can click on the parts in the 3D but when clicking on the part in the tree view FreeCAD crashes.
Running from the console I get "Speicherzugriffsfehler" ... "Memory access error".
Versions:
FreeCAD OS: "openSUSE 13.2 (Harlequin) (x86_64)"
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.7402 (Git) (Packman)
Build type: Release
Branch: master
Hash: 3e941f2b8742c895e7ad3ef1b30d7eae73ae4eca
Python version: 2.7.8
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.18-dev
Linux kernel 3.16.7
Am I correct here or do I need to post that problem anywhere else?
Cheers, Stefan
Re: FreeCAD crashes - Bug?
Please do
let FreeCAD crash and
provide output then.
It seems it is openSUSE 13.2 only. On 13.1 and Tumbleweed it seems to work properly.
Code: Select all
$ sudo zypper in FreeCAD-debuginfo glibc-debuginfo
$ gdb /usr/bin/FreeCAD -batch -ex "run"
-ex "bt full" -ex "q"
provide output then.
It seems it is openSUSE 13.2 only. On 13.1 and Tumbleweed it seems to work properly.
Re: FreeCAD crashes - Bug?
thanks for the reply.
FreeCAD 0.16 worked well on my openSuSE 13.2 system.
I installed the packages and ran the command. I did the same where FreeCAD 0.17 crashes. It did not terminate as without running under the gdb command but it stalled. The output of gdb is massive and it does not stop so I can only post the lines of just before I <Ctrl><C> the gdb command. The output gdb started with
And it permanently generated lines such as
I hope this helps as I am not into debugging.
Cherrs, Stefan
FreeCAD 0.16 worked well on my openSuSE 13.2 system.
I installed the packages and ran the command. I did the same where FreeCAD 0.17 crashes. It did not terminate as without running under the gdb command but it stalled. The output of gdb is massive and it does not stop so I can only post the lines of just before I <Ctrl><C> the gdb command. The output gdb started with
Code: Select all
warning: /etc/gdbinit.d/gdb-heap.py: Datei oder Verzeichnis nicht gefunden
Got object file from memory but can't read symbols: File truncated.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
FreeCAD 0.17, Libs: 0.17R7402 (Git) (Packman)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
##### #### ### ####
# # # # # #
# ## #### #### # # # # #
#### # # # # # # # ##### # #
# # #### #### # # # # #
# # # # # # # # # ## ## ##
# # #### #### ### # # #### ## ## ##
Fasteners workbench Loaded
[New Thread 0x7fffcb680700 (LWP 3109)]
[New Thread 0x7fff8ad7d700 (LWP 3110)]
[New Thread 0x7fff89ee5700 (LWP 3111)]
[New Thread 0x7fff83fff700 (LWP 3112)]
[New Thread 0x7fff837fe700 (LWP 3113)]
[New Thread 0x7fff82ffd700 (LWP 3114)]
Code: Select all
#2813 any<boost::any const> (value=<unknown type in /usr/lib/debug/usr/lib64/FreeCAD/lib/libFreeCADApp.so.debug, CU 0x1db99f, DIE 0x21f282>, this=0x55c09a8) at /usr/include/boost/any.hpp:72
No locals.
#2814 holder (value=<unknown type in /usr/lib/debug/usr/lib64/FreeCAD/lib/libFreeCADApp.so.debug, CU 0x1db99f, DIE 0x2164e0>, this=0x55c09a0) at /usr/include/boost/any.hpp:175
No locals.
#2815 any<boost::any const> (value=<unknown type in /usr/lib/debug/usr/lib64/FreeCAD/lib/libFreeCADApp.so.debug, CU 0x1db99f, DIE 0x21f282>, this=0x55c0988) at /usr/include/boost/any.hpp:72
No locals.
#2816 holder (value=<unknown type in /usr/lib/debug/usr/lib64/FreeCAD/lib/libFreeCADApp.so.debug, CU 0x1db99f, DIE 0x2164e0>, this=0x55c0980) at /usr/include/boost/any.hpp:175
No locals.
#2817 any<boost::any const> (value=<unknown type in /usr/lib/debug/usr/lib64/FreeCAD/lib/libFreeCADApp.so.debug, CU 0x1db99f, DIE 0x21f282>, this=0x55c0968) at /usr/include/boost/any.hpp:72
No locals.
#2818 holder (value=<unknown type in /usr/lib/debug/usr/lib64/FreeCAD/lib/libFreeCADApp.so.debug, CU 0x1db99f, DIE 0x2164e0>, this=0x55c0960) at /usr/include/boost/any.hpp:175
No locals.
#2819 any<boost::any const> (value=<unknown type in /usr/lib/debug/usr/lib64/FreeCAD/lib/libFreeCADApp.so.debug, CU 0x1db99f, DIE 0x21f282>, this=0x55c0948) at /usr/include/boost/any.hpp:72
No locals.
#2820 holder (value=<unknown type in /usr/lib/debug/usr/lib64/FreeCAD/lib/libFreeCADApp.so.debug, CU 0x1db99f, DIE 0x2164e0>, this=0x55c0940) at /usr/include/boost/any.hpp:175
No locals.
#2821 any<boost::any const> (value=<unknown type in /usr/lib/debug/usr/lib64/FreeCAD/lib/libFreeCADApp.so.debug, CU 0x1db99f, DIE 0x21f282>, this=0x55c0928) at /usr/include/boost/any.hpp:72
No locals.
Cherrs, Stefan
Re: FreeCAD crashes - Bug?
Hello schloeri! Welcome to FreeCAD and the forum
First, thanks for the quality of your 2 first posts. You provided the necessary information in a clear and concise manner. And the help forum is the perfect place to triage potential bugs.
I'm not on openSuSE, so this might be a wild goose chase. But what version of libboost are you using?
First, thanks for the quality of your 2 first posts. You provided the necessary information in a clear and concise manner. And the help forum is the perfect place to triage potential bugs.
I'm not on openSuSE, so this might be a wild goose chase. But what version of libboost are you using?
"fight the good fight"
Re: FreeCAD crashes - Bug?
thanks, I do what I can
The libboost libraries (date_time, filesystem, iostreams, program_options, python, regex, signals, system, thread) are version 1.54.0
The libboost libraries (date_time, filesystem, iostreams, program_options, python, regex, signals, system, thread) are version 1.54.0
Re: FreeCAD crashes - Bug?
Thanks again, shot in the dark worked. Nasty bug in libboost 1.54. Older and newer versions work. Not sure how to fix but this is definitely the problem.schloeri wrote:thanks, I do what I can
"fight the good fight"
Re: FreeCAD crashes - Bug?
ok, thanks for the hint.
Interestingly that library version runs on my computer since February 2015. I have been using FreeCAD since then so something must have changed within FreeCAD
Interestingly that library version runs on my computer since February 2015. I have been using FreeCAD since then so something must have changed within FreeCAD
Re: FreeCAD crashes - Bug?
Hello Stefan,
Unless you want to experiment the new features and participate in bug hunting, it is best to stay with 0.16.6700, which was released just last week. Even better would be to have both installed on your system, 0.16 for regular work and 0.17 for testing.
This version brings many disruptive changes to the Part Design workbench (it includes what devs and regular users call "PartDesignNext", since it's the next generation for this workbench), and there are many bugs to fix, as it is the early start of the 0.17 development cycle, and many things don't work like they used to. Theses changes are the reason why Boost 1.55+ is required.schloeri wrote:FreeCAD OS: "openSUSE 13.2 (Harlequin) (x86_64)"
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.7402 (Git) (Packman)
Unless you want to experiment the new features and participate in bug hunting, it is best to stay with 0.16.6700, which was released just last week. Even better would be to have both installed on your system, 0.16 for regular work and 0.17 for testing.
Re: FreeCAD crashes - Bug?
ok, let me try to downgrade to FreeCAD 0.16
In the meantime I did install libboost 1.56 and 1.58 (not beside each other).
FreeCAD would not start at all. I then did symbolic linking from all libboost-*.1.54.0 to libboost-*.1.5(6 or 8).0. At least FreeCAD did start but no luck with opening a file -> crash. I went back to libboost 1.54
I just saw when starting FreeCAD that the internal console prints
In the meantime I did install libboost 1.56 and 1.58 (not beside each other).
FreeCAD would not start at all. I then did symbolic linking from all libboost-*.1.54.0 to libboost-*.1.5(6 or 8).0. At least FreeCAD did start but no luck with opening a file -> crash. I went back to libboost 1.54
I just saw when starting FreeCAD that the internal console prints
Code: Select all
Unhandled std::exception caught in GUIApplication::notify.
The error message is: Keine Berechtigung
Re: FreeCAD crashes - Bug?
You cannot simply change the Boost version, you need to recompile FreeCAD with a specific Boost version.schloeri wrote:In the meantime I did install libboost 1.56 and 1.58 (not beside each other).
FreeCAD would not start at all.