Tranform image crash

About the development of the Part Design module/workbench. PLEASE DO NOT POST HELP REQUESTS HERE!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
steve123
Posts: 149
Joined: Fri Sep 04, 2015 8:58 pm

Tranform image crash

Post by steve123 »

Transforming an image appears to cause FreeCAD to crash when using Part Design. This issue probably occurs in other workbenches but I was using Part Design at the time so I am reporting here.

I can reproduce as follows:
Import image
Select image
Transform
Rotate about x axis 15 degrees
Click ok
Crash

Code: Select all

OS: macOS 11.7.7
Word size of FreeCAD: 64-bit
Version: 0.21.0.33357 (Git)
Build type: Release
Branch: master
Hash: f0560ac2078ad71b4c97b74281990bb916431da9
Python 3.11.3, Qt 5.15.8, Coin 4.0.0, Vtk 9.2.2, OCC 7.7.1
Locale: C/Default (C)
Installed mods: 
  * ThreadProfile 1.81.0
  * Reporting
  * WebTools
  * BIM 2021.12.0
  * kicadStepUpMod 10.12.7
  * fasteners 0.3.44

Code: Select all

Process:               freecad [57499]
Path:                  /Applications/FreeCAD.app/Contents/Resources/bin/freecad
Identifier:            org.freecadweb.FreeCAD
Version:               ??? (0.21.0-33357)
Code Type:             X86-64 (Native)
Parent Process:        bash [57493]
User ID:               501

Date/Time:             2023-06-07 14:23:44.883 -0600
OS Version:            macOS 11.7.7 (20G1345)
Report Version:        12
Time Awake Since Boot: 1600000 seconds
Time Since Wake:       8500 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000010
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [57499]

VM Regions Near 0x10:
--> 
    __TEXT                      1056d3000-1056ec000    [  100K] r-x/r-x SM=COW  /Applications/FreeCAD.app/Contents/Resources/bin/freecad

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libCoin.4.0.0.dylib           	0x0000000108947a90 SoCallbackAction::~SoCallbackAction() + 144
1   libCoin.4.0.0.dylib           	0x0000000108947bfe SoCallbackAction::~SoCallbackAction() + 14
2   libCoin.4.0.0.dylib           	0x00000001089c10c2 SoDragger::~SoDragger() + 194
3   libFreeCADGui.dylib           	0x0000000106e727fe Gui::RDragger::~RDragger() + 14
4   libCoin.4.0.0.dylib           	0x0000000108b1faac SoBase::destroy() + 172
5   libCoin.4.0.0.dylib           	0x0000000108b1327a SoBaseList::truncate(int) + 74
6   libCoin.4.0.0.dylib           	0x0000000108b241b1 SoChildList::~SoChildList() + 17
7   libCoin.4.0.0.dylib           	0x0000000108b7a925 SoGroup::~SoGroup() + 37
8   libCoin.4.0.0.dylib           	0x0000000108b96dce SoSeparator::~SoSeparator() + 14
9   libCoin.4.0.0.dylib           	0x0000000108b1faac SoBase::destroy() + 172
10  libCoin.4.0.0.dylib           	0x0000000108b1327a SoBaseList::truncate(int) + 74
11  libCoin.4.0.0.dylib           	0x0000000108b241b1 SoChildList::~SoChildList() + 17
12  libCoin.4.0.0.dylib           	0x0000000108b7a925 SoGroup::~SoGroup() + 37
13  libCoin.4.0.0.dylib           	0x0000000108b9b008 SoSwitch::~SoSwitch() + 56
14  libCoin.4.0.0.dylib           	0x0000000108b1faac SoBase::destroy() + 172
15  libCoin.4.0.0.dylib           	0x0000000108b1327a SoBaseList::truncate(int) + 74
16  libCoin.4.0.0.dylib           	0x0000000108b241b1 SoChildList::~SoChildList() + 17
17  libCoin.4.0.0.dylib           	0x0000000108b7a925 SoGroup::~SoGroup() + 37
18  libCoin.4.0.0.dylib           	0x0000000108b6352e SoAnnotation::~SoAnnotation() + 14
19  libCoin.4.0.0.dylib           	0x0000000108b1faac SoBase::destroy() + 172
20  libCoin.4.0.0.dylib           	0x0000000108b1327a SoBaseList::truncate(int) + 74
21  libCoin.4.0.0.dylib           	0x0000000108b241b1 SoChildList::~SoChildList() + 17
22  libCoin.4.0.0.dylib           	0x0000000108b7a925 SoGroup::~SoGroup() + 37
23  libCoin.4.0.0.dylib           	0x0000000108b96dce SoSeparator::~SoSeparator() + 14
24  libCoin.4.0.0.dylib           	0x0000000108b1faac SoBase::destroy() + 172
25  libCoin.4.0.0.dylib           	0x0000000108b1327a SoBaseList::truncate(int) + 74
26  libCoin.4.0.0.dylib           	0x0000000108b241b1 SoChildList::~SoChildList() + 17
27  libCoin.4.0.0.dylib           	0x0000000108b7a925 SoGroup::~SoGroup() + 37
28  libCoin.4.0.0.dylib           	0x0000000108b96dce SoSeparator::~SoSeparator() + 14
29  libCoin.4.0.0.dylib           	0x0000000108b1faac SoBase::destroy() + 172
30  libCoin.4.0.0.dylib           	0x0000000108b1327a SoBaseList::truncate(int) + 74
31  libCoin.4.0.0.dylib           	0x0000000108b241b1 SoChildList::~SoChildList() + 17
32  libCoin.4.0.0.dylib           	0x0000000108b53215 SoBaseKit::~SoBaseKit() + 37
33  libFreeCADGui.dylib           	0x0000000106e78b2e Gui::SoFCCSysDragger::~SoFCCSysDragger() + 14
34  libCoin.4.0.0.dylib           	0x0000000108b1faac SoBase::destroy() + 172
35  libFreeCADGui.dylib           	0x0000000106cbbe30 Gui::TaskCSysDragger::~TaskCSysDragger() + 32
36  libFreeCADGui.dylib           	0x0000000106cbbece Gui::TaskCSysDragger::~TaskCSysDragger() + 14
37  libFreeCADGui.dylib           	0x0000000106ed231e Gui::TaskView::TaskView::removeDialog() + 318
38  libFreeCADGui.dylib           	0x0000000106ed29ba Gui::TaskView::TaskView::accept() + 202
39  libQt5Core.5.15.8.dylib       	0x00000001084eaf3a 0x10839f000 + 1359674
40  libQt5Widgets.5.15.8.dylib    	0x0000000107fd9e7b 0x107ecb000 + 1109627
41  libQt5Widgets.5.15.8.dylib    	0x0000000107fd9e7b 0x107ecb000 + 1109627
chrisb
Veteran
Posts: 53930
Joined: Tue Mar 17, 2015 9:14 am

Re: Tranform image crash

Post by chrisb »

It's a known issue with the Transform tool in general.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: Tranform image crash

Post by adrianinsaval »

Do we have a GitHub issue for this?
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: Tranform image crash

Post by adrianinsaval »

I can't reproduce this
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: Tranform image crash

Post by GeneFC »

No problem here.

Likely related to libraries rather than core functions.

Code: Select all

OS: Windows 7 build 7601
Word size of FreeCAD: 64-bit
Version: 0.21.0.33345 (Git)
Build type: Release
Branch: master
Hash: a3c4f4bb01f5201daf666852444a8f9c5adbda8d
Python 3.10.11, Qt 5.15.8, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods: 
  * FeedsAndSpeeds 0.5.0
  * FeedsAndSpeeds-master.zip
  * freecad.gears-master 1.0.0
  * Help 1.0.3
Gene
chrisb
Veteran
Posts: 53930
Joined: Tue Mar 17, 2015 9:14 am

Re: Tranform image crash

Post by chrisb »

adrianinsaval wrote: Thu Jun 08, 2023 12:24 pm Do we have a GitHub issue for this?
Yes and it's a macOS specific issue.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Post Reply