View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002561||PartDesign||Bug||public||2016-05-24 08:19||2017-07-15 11:20|
|Target Version||0.17||Fixed in Version||0.17|
|Summary||0002561: SIGSEGV while moving an entity from a body to an other one|
This apply to latest git master version (I've not found it in "Product version" box.
Revision: 7667 (git)
FreeCAD crashes with e SIGSEGV while moving a box from a body to another one in the same part.
|Steps To Reproduce||I start in PartDesign|
- Create a new part
- Create 3 bodies under this part
- Create a box in the third body
- Move the box from the 3rd body to the first one
(right click -> move object to another body -> choose the 1st in the list)
** Abort *** an exception was raised, but no catch was found.
... The exception is:SIGSEGV 'segmentation violation' detected. Address 1a0
|Tags||No tags attached.|
The crash happens in the method CmdPartDesignMoveFeature::activated on line 636:
because 'sourceNewTip ' is a nullptr. Btw, to me this block doesn't make much sense anyway because in line 619 the Tip is removed from 'source' but nothing has been added to it. So, why is there a second call to get its Tip (when it actually must be null).
The code can be easily fixed by adding
but when trying the example with the three bodies and a box, the box will be moved but not its attached coordinate system. So, to me it seems more things are broken in this command (or I don't understand the logic :) ).
||Forum thread: https://forum.freecadweb.org/viewtopic.php?f=10&t=20370|
Doesn't seem to happen with:
OS: Ubuntu 16.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10232 +1 (Git)
Build type: Debug
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
This can not be reproduced anymore. I guess Werner fixed it in the meantime.
I think this ticket should be closed.
@wmayer any idea what git commit you fixed this with?
Resolving in the meantime.
|2016-05-24 08:19||Jean-Luc||New Issue|
|2016-05-24 16:41||wmayer||Note Added: 0007120|
|2016-05-24 16:41||wmayer||Status||new => confirmed|
|2017-01-30 16:12||Kunda1||Note Added: 0008109|
|2017-02-20 22:01||Kunda1||Target Version||=> 0.17|
|2017-02-23 21:06||jnxd||Note Added: 0008413|
|2017-05-24 22:03||abdullah||Note Added: 0009119|
|2017-05-24 22:06||Kunda1||Assigned To||=> wmayer|
|2017-05-24 22:06||Kunda1||Status||confirmed => resolved|
|2017-05-24 22:06||Kunda1||Resolution||open => fixed|
|2017-05-24 22:06||Kunda1||Fixed in Version||=> 0.17|
|2017-05-24 22:06||Kunda1||Note Added: 0009120|
|2017-07-15 11:20||Kunda1||Status||resolved => closed|