Addon manager Preferences crashes FreeCAD

A forum for research and development of the user interface of FreeCAD
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
drmacro
Veteran
Posts: 8867
Joined: Sun Mar 02, 2014 4:35 pm

Addon manager Preferences crashes FreeCAD

Post by drmacro »

@chennes

While attempting to figure out this issuse: https://forum.freecadweb.org/viewtopic. ... 53#p630353 I can consistently crash FreeCAD with today's source.

In order to test PP with AM I attempt to add a custom repo to the the Addon manager in Preferences. After the Custom repo dialog is close and the Apply or OK button is used FreeCAD crashes.

With the following error:

Code: Select all

connect failed: No such file or directory
Program received signal SIGSEGV, Segmentation fault.
#0  /lib/x86_64-linux-gnu/libc.so.6(+0x38d60) [0x7f313a042d60]
#1  [0x7ffcb3d0b1a8]

Code: Select all

OS: Debian GNU/Linux 11 (bullseye) (XFCE/lightdm-xsession)
Word size of FreeCAD: 64-bit
Version: 0.21.30529 (Git)
Build type: Release
Branch: master
Hash: 2575f082d9886c328117744ce3e1013cd1904730
Python 3.9.2, Qt 5.15.2, Coin 4.0.0, Vtk 7.1.1, OCC 7.7.0.dev
Locale: English/United States (en_US)
Installed mods: 
  * parts_library
  * kicadStepUpMod 10.15.4
  * Manipulator 1.4.9
  * PrefExtras
  * MyDefaults 2022.9.15
  * DynamicData 2.46.0
  * fasteners 0.4.13
  * MacMechX 2022.9.15
  * ExtremeProDark 2.2.0
  * ProDarkThemePreferencePack 1.0.0
  * fcgear 1.0.0
  * plugins
  * Pyramids-and-Polyhedrons
  * Defeaturing 1.2.0
  * Assembly4 0.12.4
  * OpticsWorkbench 1.0.9
  * workfeature-macro
  * sheetmetal 0.2.57
  * A2plus 0.4.59d
  * CurvedShapes 1.0.4
  * Dracula 0.0.2
  * Curves 0.5.8
  * workfeature
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
User avatar
chennes
Veteran
Posts: 3881
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Addon manager Preferences crashes FreeCAD

Post by chennes »

I can't reproduce on Windows -- I'll spin up a Linux VM and see if I can crash it there.
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
drmacro
Veteran
Posts: 8867
Joined: Sun Mar 02, 2014 4:35 pm

Re: Addon manager Preferences crashes FreeCAD

Post by drmacro »

chennes wrote: Tue Oct 04, 2022 2:33 pm I can't reproduce on Windows -- I'll spin up a Linux VM and see if I can crash it there.
I tried on my Manjaro machine with same results.
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
User avatar
chennes
Veteran
Posts: 3881
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Addon manager Preferences crashes FreeCAD

Post by chennes »

Tested on Ubuntu 22.04 with no crash:

Code: Select all

OS: Ubuntu 22.04.1 LTS (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.21.30533 (Git)
Build type: Debug
Branch: master
Hash: 4d719d516e177dd2f8c3bb97fb06a8361ffa3bf6
Python 3.10.6, Qt 5.15.3, Coin 4.0.0, Vtk 7.1.1, OCC 7.7.0.dev
Locale: English/United States (en_US)
Installed mods: 
  * Curves 0.3.0
I will recompile in Release next and see if it happens then.
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
drmacro
Veteran
Posts: 8867
Joined: Sun Mar 02, 2014 4:35 pm

Re: Addon manager Preferences crashes FreeCAD

Post by drmacro »

@chennes

I just built 30534 and the crash has gone away. But, depend tag still not working.
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
User avatar
chennes
Veteran
Posts: 3881
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Addon manager Preferences crashes FreeCAD

Post by chennes »

drmacro wrote: Tue Oct 04, 2022 5:50 pm I just built 30534 and the crash has gone away.
Hmmm. Sort of suspicious, I didn't change anything that would affect this. I'll shelve the issue for now, but if it recurs please be sure to let me know.
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
Post Reply