Bug, crashes using multitransform.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
-
- Posts: 6
- Joined: Thu Nov 24, 2016 5:52 pm
- Location: USA/Italy
- Contact:
Bug, crashes using multitransform.
Sorry if this is the wrong place.
Running version 0.17.8866 on Linux mint 17.3, X86.
FreeCAD crashes when using the multitransform tool. Seems to be really constant. If I make a few selections and then hit the cancel button the program closes out.
I may try to download the stable 0.16 tomorrow and use that.
Running version 0.17.8866 on Linux mint 17.3, X86.
FreeCAD crashes when using the multitransform tool. Seems to be really constant. If I make a few selections and then hit the cancel button the program closes out.
I may try to download the stable 0.16 tomorrow and use that.
Re: Bug, crashes using multitransform.
I can't reproduce but you have given us almost no detail. Can you post an example file, as well as the steps to reproduce?
0.17.8866 is outdated, the latest daily PPA package is 0.17.8975 from 2 days ago. You should update.
0.17.8866 is outdated, the latest daily PPA package is 0.17.8975 from 2 days ago. You should update.
-
- Posts: 6
- Joined: Thu Nov 24, 2016 5:52 pm
- Location: USA/Italy
- Contact:
Re: Bug, crashes using multitransform.
I have updated to 0.17.8975 and I am still getting the crash. Attached is the file that I have been using to reproduce the error. I am running a ThinkPad T420 with a i5 and 8 Gb of RAM.
To crash FreeCAD I would open up the file, switching to the part design workbench and then clicking on the multitransform button. (Instant crash)
I was able to repeat the failure 4 times this morning. Then It worked the last time.
To crash FreeCAD I would open up the file, switching to the part design workbench and then clicking on the multitransform button. (Instant crash)
I was able to repeat the failure 4 times this morning. Then It worked the last time.
- Attachments
-
- plate_2.fcstd
- (16.62 KiB) Downloaded 70 times
-
- Posts: 6
- Joined: Thu Nov 24, 2016 5:52 pm
- Location: USA/Italy
- Contact:
Re: Bug, crashes using multitransform.
I made a video and posted it as an unlisted line in YouTube.
Take a look, https://youtu.be/RV5wm3X9-ts
This is using the fresh daily install.
Austin.
Take a look, https://youtu.be/RV5wm3X9-ts
This is using the fresh daily install.
Austin.
Re: Bug, crashes using multitransform.
Okay, now I get it, indeed it's a bug. The reason why I couldn't reproduce before is because you are not using PartDesign as it's expected.
When working on a PartDesign body, the Body needs to be active. In the file you attached, you had not activated the body prior to creating the Multitransform feature. This is why the Multitransform feature is outside the body. In your video, you did not activate the body either.
To activate a body, you need to either double click on its label in the Model tree, or right-click on it and select "Toggle active body". You know a body is active when its label is on a light blue background as shown in the screen capture below.
When activating the body in your file, you will be prompted with the following message:
I recommend you delete the Multitransform feature, then activate the body and redo the Multitransform feature. If you do that FreeCAD will crash no further.
Would you be willing to report the crash on the bug tracker? You would need to run a backtrace which might give a little more info. The procedure is explained in the wiki: http://www.freecadweb.org/wiki/index.ph ... _Backtrace
When working on a PartDesign body, the Body needs to be active. In the file you attached, you had not activated the body prior to creating the Multitransform feature. This is why the Multitransform feature is outside the body. In your video, you did not activate the body either.
To activate a body, you need to either double click on its label in the Model tree, or right-click on it and select "Toggle active body". You know a body is active when its label is on a light blue background as shown in the screen capture below.
When activating the body in your file, you will be prompted with the following message:
The "Show details" button will show you an explanation worth a read. The automatic migration will not work reliably. I've had it give me two different results, neither of them good, and with a failed Multitransform feature.The document "plate_2" seems to be either in the middle of the migration process from legacy PartDesign or have a slightly broken structure.
Do you want to make the migration automatically?
Show details | Migrate manually | Yes
I recommend you delete the Multitransform feature, then activate the body and redo the Multitransform feature. If you do that FreeCAD will crash no further.
Would you be willing to report the crash on the bug tracker? You would need to run a backtrace which might give a little more info. The procedure is explained in the wiki: http://www.freecadweb.org/wiki/index.ph ... _Backtrace
-
- Posts: 6
- Joined: Thu Nov 24, 2016 5:52 pm
- Location: USA/Italy
- Contact:
Re: Bug, crashes using multitransform.
Absolutely, I want to help out as much as I can.
I will see if I can get this sorted out tonight or tomorrow.
Thanks for the advice on the bodies. I ran into trouble with this when trying to position parts.
Austin.
edit: What is the best way to obtain a debug build? I could compile one on my machine, but I want to see if there is a simple way to download one first.
I will see if I can get this sorted out tonight or tomorrow.
Thanks for the advice on the bodies. I ran into trouble with this when trying to position parts.
Austin.
edit: What is the best way to obtain a debug build? I could compile one on my machine, but I want to see if there is a simple way to download one first.
Re: Bug, crashes using multitransform.
I hadn't noticed your edit. I'm afraid the only way to get a debug build on Ubuntu and derivatives is to compile one.tex_downey wrote:edit: What is the best way to obtain a debug build? I could compile one on my machine, but I want to see if there is a simple way to download one first.
Re: Bug, crashes using multitransform.
@tex_downey any luck with the debug build ?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: Bug, crashes using multitransform.
Any luck?tex_downey wrote:Absolutely, I want to help out as much as I can.
I will see if I can get this sorted out tonight or tomorrow.
Thanks for the advice on the bodies. I ran into trouble with this when trying to position parts.
Austin.
edit: What is the best way to obtain a debug build? I could compile one on my machine, but I want to see if there is a simple way to download one first.
Could you try recreate with the latest trunk?
Also can you please paste the contents of Help > About FreeCAD > Copy to clipboard
ref: issue #2808
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: Bug, crashes using multitransform.
@tex_downey,NormandC wrote:I'm afraid the only way to get a debug build on Ubuntu and derivatives is to compile one.
The PPA now provides debug symbols, but I have yet to test whether it really makes a difference with a backtrace log.
[Ubuntu Daily PPA] How to install debug symbols package : https://forum.freecadweb.org/viewtopic.php?f=4&t=20347
EDIT: I reproduced the crash and provided a backtrace in the bug report. Debug symbols seem to be working, but we'd need to compare the backtrace without the dbgsym package installed.
Steps to reproduce:
- Debug symbols package is installed
- Launch freecad-daily using gdb (see Debugging)
- Open plate_2.fcstd file
- Delete existing MultiTransform feature
- Select Pocket
- Click on the MultiTransform feature icon
- At the prompt, select "Migrate manually"
- FreeCAD crashes
- Generate the backtrace
Code: Select all
gdb freecad-daily
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from freecad-daily...Reading symbols from /usr/lib/debug//usr/lib/freecad-daily/bin/FreeCAD...done.
done.
(gdb) handle SIG33 noprint nostop
Signal Stop Print Pass to program Description
SIG33 No No Yes Real-time event 33
(gdb) run
Starting program: /usr/bin/freecad-daily
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
FreeCAD 0.17, Libs: 0.17R9898 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2016
##### #### ### ####
# # # # # #
# ## #### #### # # # # #
#### # # # # # # # ##### # #
# # #### #### # # # # #
# # # # # # # # # ## ## ##
# # #### #### ### # # #### ## ## ##
Fasteners workbench Loaded
[New Thread 0x7fffdf897700 (LWP 4190)]
[New Thread 0x7fffdf096700 (LWP 4191)]
[New Thread 0x7fffd65d5700 (LWP 4192)]
[New Thread 0x7fffd5dd4700 (LWP 4193)]
[New Thread 0x7fffd55d3700 (LWP 4194)]
[Thread 0x7fffd5dd4700 (LWP 4193) exited]
[New Thread 0x7fffd5dd4700 (LWP 4198)]
[New Thread 0x7fff6d5cd700 (LWP 4199)]
[New Thread 0x7fff6c6ed700 (LWP 4200)]
[New Thread 0x7fff6a928700 (LWP 4201)]
[New Thread 0x7fff6a127700 (LWP 4202)]
[New Thread 0x7fff69926700 (LWP 4203)]
[Thread 0x7fffd55d3700 (LWP 4194) exited]
[New Thread 0x7fffd55d3700 (LWP 4223)]
[New Thread 0x7fff5bfff700 (LWP 4224)]
[Thread 0x7fffd55d3700 (LWP 4223) exited]
[Thread 0x7fff5bfff700 (LWP 4224) exited]
Can't find Origin for "Body"
Can't find Origin for "Body"
[Thread 0x7fff69926700 (LWP 4203) exited]
[Thread 0x7fff6a127700 (LWP 4202) exited]
Program received signal SIGSEGV, Segmentation fault.
App::PropertyLink::getValue (this=0x2d8)
at /build/freecad-daily-Hcj62j/freecad-daily-0.17~alpha1+git201701310035~ubuntu14.04.1/src/App/PropertyLinks.cpp:89
89 /build/freecad-daily-Hcj62j/freecad-daily-0.17~alpha1+git201701310035~ubuntu14.04.1/src/App/PropertyLinks.cpp: Aucun fichier ou dossier de ce type.
(gdb)