View Issue Details

IDProjectCategoryView StatusLast Update
0004500FreeCADBugpublic2020-12-19 22:05
Reportermlampert Assigned Tomlampert  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Summary0004500: FreeCAD segfaults when changing focus
DescriptionWhen changing focus in attached file from the QLineEntry field of the the "Shape File" to the "Cutting Edge Height" double spin (Gui::QuantumSpinBox) FC crashes with a SEGFAULT while processing the focus change.
Steps To Reproduce* Open attached file and edit Endmill
* click into the "Shape File" entry field
* click into "Cutting Edge Height" entry field
Additional Informationhttps://forum.freecadweb.org/viewtopic.php?f=10&t=52246
TagsNo tags attached.
FreeCAD InformationOS: Debian GNU/Linux bullseye/sid (LXQt/lxqt)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.23040 (Git)
Build type: DEBUG
Branch: master
Hash: 2cfd04d17cae10a5499eaedae621cc624a2eb65f
Python version: 3.8.6
Qt version: 5.15.1
Coin version: 4.0.0
OCC version: 7.4.0
Locale: C/Default (C)

Activities

mlampert

2020-11-22 20:08

developer  

box.FCStd (14,065 bytes)

marthinwurer

2020-12-08 00:29

reporter   ~0015113

Last edited: 2020-12-08 17:16

Was able to reproduce. I had to add a new Endmill to test it because the one in the file could not be found, but once I did I was able to reproduce the segfault following the instructions in the ticket.


$ freecad-daily 
FreeCAD 0.19, Libs: 0.19R
© Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2020
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

connect failed: No such file or directory
Path workbench activated
PathToolBitLibraryGui.ERROR: Could not find tool \0000009: 5mm-thread-cutter.fctb
Program received signal SIGSEGV, Segmentation fault.
Segmentation fault (core dumped)

OS: Pop!_OS 20.04 LTS (pop:GNOME/pop)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Branch: unknown
Hash: b082c813f820ebdb837ba6ace4b9124f9a73cc4a
Python version: 3.8.5
Qt version: 5.12.8
Coin version: 4.0.0
OCC version: 7.3.0
Locale: English/United States (en_US)

wmayer

2020-12-17 15:41

administrator   ~0015155

See https://forum.freecadweb.org/viewtopic.php?f=10&t=52246#p458583 for the root cause of the crash.

mlampert

2020-12-18 07:22

developer   ~0015158

https://github.com/FreeCAD/FreeCAD/pull/4160

Issue History

Date Modified Username Field Change
2020-11-22 20:08 mlampert New Issue
2020-11-22 20:08 mlampert File Added: box.FCStd
2020-12-08 00:29 marthinwurer Note Added: 0015113
2020-12-08 00:30 marthinwurer Note Edited: 0015113
2020-12-08 00:30 marthinwurer Note Edited: 0015113
2020-12-08 17:16 Kunda1 Note Edited: 0015113
2020-12-08 17:18 Kunda1 Status new => confirmed
2020-12-08 17:18 Kunda1 Target Version => 0.19
2020-12-08 17:18 Kunda1 Steps to Reproduce Updated
2020-12-08 17:18 Kunda1 FreeCAD Information OS: Debian GNU/Linux bullseye/sid (LXQt/lxqt) Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.19.23040 (Git) Build type: DEBUG Branch: master Hash: 2cfd04d17cae10a5499eaedae621cc624a2eb65f Python version: 3.8.6 Qt version: 5.15.1 Coin v... => OS: Debian GNU/Linux bullseye/sid (LXQt/lxqt) Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.19.23040 (Git) Build type: DEBUG Branch: master Hash: 2cfd04d17cae10a5499eaedae621cc624a2eb65f Python version: 3.8.6 Qt version: 5.15....
2020-12-17 15:41 wmayer Note Added: 0015155
2020-12-17 22:17 mlampert Assigned To => mlampert
2020-12-17 22:17 mlampert Status confirmed => assigned
2020-12-18 07:22 mlampert Note Added: 0015158
2020-12-19 22:05 mlampert Status assigned => closed
2020-12-19 22:05 mlampert Resolution open => fixed
2020-12-19 22:05 mlampert Fixed in Version => 0.19