Recompute failed (SIGSEGV) after editing a cell in a spreadsheet

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
madhead
Posts: 4
Joined: Mon Dec 23, 2019 5:25 pm

Recompute failed (SIGSEGV) after editing a cell in a spreadsheet

Postby madhead » Mon Dec 23, 2019 5:29 pm

After the update from 0.18 to 0.19 FreeCAD crashes on updating spreadsheet cells. Is it a bug or not?

Steps to reproduce:
  1. Open the attached file rig.fcstd.
  2. Open "data" spreadsheet from the tree for editing.
  3. Set cell B15 to, say, 80mm.
  4. Save the spreadsheet.
  5. FreeCAD crashes, log file attached as well. The issue is not reproducible on 0.18, it started to crash in 0.19 only.
Attachments
FreeCAD.log
(11.67 KiB) Downloaded 8 times
rig.FCStd
(441.34 KiB) Downloaded 10 times
chrisb
Posts: 35223
Joined: Tue Mar 17, 2015 9:14 am

Re: Recompute failed (SIGSEGV) after editing a cell in a spreadsheet

Postby chrisb » Mon Dec 23, 2019 5:48 pm

Hi and welcome to the forum!

This is a known bug, see https://forum.freecadweb.org/viewtopic.php?f=3&t=40790, although I am not sure if something is happening and if a bug report has been created, you may check this.

Does it work on your side when using Tab instead of return to leave the field?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
ulrich1a
Posts: 1958
Joined: Sun Jul 07, 2013 12:08 pm

Re: Recompute failed (SIGSEGV) after editing a cell in a spreadsheet

Postby ulrich1a » Mon Dec 23, 2019 7:53 pm

chrisb wrote: Mon Dec 23, 2019 5:48 pm although I am not sure if something is happening and if a bug reprot has been created
I think there was no bug report. But wmayer made a commit regarding a similar failure. So I would expect, that it is solved in an actual development version. See here: https://forum.freecadweb.org/viewtopic. ... 95#p354282

Ulrich
openBrain
Posts: 5899
Joined: Fri Nov 09, 2018 5:38 pm

Re: Recompute failed (SIGSEGV) after editing a cell in a spreadsheet

Postby openBrain » Mon Dec 23, 2019 8:11 pm

madhead wrote: Mon Dec 23, 2019 5:29 pm After the update from 0.18 to 0.19 FreeCAD crashes on updating spreadsheet cells. Is it a bug or not?
Thanks for opening the topic. Could you please add your full FreeCAD info as described in the 'IMPORTANT' link on top of the page ?
chrisb wrote: Mon Dec 23, 2019 5:48 pm This is a known bug, see https://forum.freecadweb.org/viewtopic.php?f=3&t=40790, although I am not sure if something is happening and if a bug reprot has been created, you may check this.
OP created a bug report (before opening this topic, keep cool :lol:), so if we need one, we'll have it. ;)
ulrich1a wrote: Mon Dec 23, 2019 7:53 pm I think there was no bug report. But wmayer made a commit regarding a similar failure. So I would expect, that it is solved in an actual development version. See here: https://forum.freecadweb.org/viewtopic. ... 95#p354282
This is commit 18956 (just give the info so we can look if further builds solve the problem).
Last edited by openBrain on Mon Dec 23, 2019 8:12 pm, edited 1 time in total.
madhead
Posts: 4
Joined: Mon Dec 23, 2019 5:25 pm

Re: Recompute failed (SIGSEGV) after editing a cell in a spreadsheet

Postby madhead » Tue Dec 24, 2019 5:48 pm

chrisb wrote: Mon Dec 23, 2019 5:48 pm Does it work on your side when using Tab instead of return to leave the field?
Thanks, it works with Tab, indeed!
madhead
Posts: 4
Joined: Mon Dec 23, 2019 5:25 pm

Re: Recompute failed (SIGSEGV) after editing a cell in a spreadsheet

Postby madhead » Tue Dec 24, 2019 5:51 pm

openBrain wrote: Mon Dec 23, 2019 8:11 pm Could you please add your full FreeCAD info as described in the 'IMPORTANT' link on top of the page
Here is my full FreeCAD info:

======================================

OS: Manjaro Linux (KDE//usr/share/xsessions/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18947 (Git) AppImage
Build type: Release
Branch: master
Hash: 91f6a5e5ee1b48063d5d4b59cc6250fc2a1021b1
Python version: 3.7.3
Qt version: 5.12.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United Kingdom (en_GB)

======================================

And, yes, I've opened a ticket, but prior to posting on forum: https://www.freecadweb.org/tracker/view.php?id=4232
ulrich1a
Posts: 1958
Joined: Sun Jul 07, 2013 12:08 pm

Re: Recompute failed (SIGSEGV) after editing a cell in a spreadsheet

Postby ulrich1a » Tue Dec 24, 2019 6:42 pm

It does not crash here at leaving the cell with return. But a recompute fails after changing B15 to 80 mm with:

Code: Select all

9.6e-08 <App> Document.cpp(3462): Failed to recompute rig#Sketch026: AttachEngine3D: subshape not found
Recompute failed! Please check report view.
OS: Debian GNU/Linux 10 (buster) (XFCE/lightdm-xsession)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19056 (Git)
Build type: Unknown
Branch: Rueck6
Hash: 7dbc309015606fca1aa1f1561ae166ef719b2234
Python version: 3.7.3
Qt version: 5.11.3
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)

Can you please test with a FreeCAD version higher than 18956. I do expect, that the crash is fixed now.


Ulrich
madhead
Posts: 4
Joined: Mon Dec 23, 2019 5:25 pm

Re: Recompute failed (SIGSEGV) after editing a cell in a spreadsheet

Postby madhead » Tue Dec 24, 2019 10:20 pm

Seems to be fixed in 19056! Thanks!