Addon manager Preferences crashes FreeCAD

chennes

While attempting to figure out this issuse: https://forum.freecadweb.org/viewtopic.php?p=630353#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:

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]



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

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.

Tested on Ubuntu 22.04 with no crash:

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.

chennes

I just built 30534 and the crash has gone away. But, depend tag still not working.

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.