Spreadsheet Inserting Row Cause Crash - FC Daily v0.17

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!
3DME
Posts: 7
Joined: Wed Apr 01, 2015 8:57 pm

Spreadsheet Inserting Row Cause Crash - FC Daily v0.17

Postby 3DME » Mon Feb 26, 2018 9:47 am

Problem Description:
I am having problems inserting rows in a spreadsheet,
Inserting Row Causes FC Daily v0.17 to crash

To re-create the problem:
Open the project,
select the spreadsheet workbench,
open the spreadsheet,
right-click mouse on row-2 and select insert row, then FreeCad crashes.

Note:
Alias in the spreadsheet are highlighted in yellow.

Help --> About FreeCAD, Version Info:
OS: Ubuntu 16.04.4 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13331 (Git)
Build type: None
Branch: master
Hash: e5ef0f532d7e733c581d587cb1c4796237912e03
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: English/UnitedStates (en_US)

Thank You
Attachments
Spredsheet_1X_9PTS-Grouped_Cuts.fcstd
(32.18 KiB) Downloaded 10 times
FC_0.17_SS_Crash_2.png
FC_0.17_SS_Crash_2.png (88 KiB) Viewed 1062 times
FC_0.17_SS_Crash_1.png
FC_0.17_SS_Crash_1.png (137.84 KiB) Viewed 1062 times
GeneFC
Posts: 1025
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: Spreadsheet Inserting Row Cause Crash - FC Daily v0.17

Postby GeneFC » Mon Feb 26, 2018 2:53 pm

I realize this response may not help very much, but I had no difficulty in following your instructions with no crash. Insertion worked as expected.

OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13331 (Git)
Build type: Release
Branch: master
Hash: e5ef0f532d7e733c581d587cb1c4796237912e03
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: English/UnitedStates (en_US)

The typical suggestion is to try again and/or to remove the configuration files system.cfg and user.cfg and let them regenerate. (I usually save a copy of those files so I do not lose customizations if those files were not the cause of the problem.)

Gene
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Spreadsheet Inserting Row Cause Crash - FC Daily v0.17

Postby NormandC » Mon Feb 26, 2018 5:29 pm

Please check the Debugging documentation and provide a backtrace. Even without compiling a debug build, this may provide useful info.
triplus
Posts: 8605
Joined: Mon Dec 12, 2011 4:45 pm

Re: Spreadsheet Inserting Row Cause Crash - FC Daily v0.17

Postby triplus » Mon Feb 26, 2018 10:08 pm

Hi @3DME.

On a same system and FreeCAD version as you use i can confirm something is not working as it should. The Row doesn't get inserted. And if i try a few times FreeCAD crash will occur.
3DME
Posts: 7
Joined: Wed Apr 01, 2015 8:57 pm

Re: Spreadsheet Inserting Row Cause Crash - FC Daily v0.17

Postby 3DME » Tue Feb 27, 2018 8:30 am

NormandC wrote:
Mon Feb 26, 2018 5:29 pm
Please check the Debugging documentation and provide a backtrace. Even without compiling a debug build, this may provide useful info.
Hello NormandC,

As recommended I followed the link you provided “https://www.freecadweb.org/wiki/Debugging

After reading the instructions for Linux Debugging, I performed the following:

Test Framework
Ran the “Test framework” and it passed,.
Attached file “Freecad-Test Framework-OK.png” contains the results for the Test framework.


Debugging
Opened terminal and entered :
cd '/usr/lib/freecad-daily/bin/'
gdb FreeCAD

then

(gdb) handle SIG33 noprint nostop
(gdb) run

I then opened my FreeCad project and attempted to insert a new row at row-2 in the spreadsheet, the insert failed as expected.

Attached file ”FreeCad_Debug_Terminal_text.txt” contains the debug results.

Hope this information is helpful.

Thank you.
Attachments
FreeCad_Debug_Terminal_text.txt
(4.29 KiB) Downloaded 6 times
Freecad-Test Framework-OK.png
Freecad-Test Framework-OK.png (29.41 KiB) Viewed 776 times
eivindkvedalen
Posts: 597
Joined: Tue Jan 29, 2013 10:35 pm

Re: Spreadsheet Inserting Row Cause Crash - FC Daily v0.17

Postby eivindkvedalen » Thu Mar 01, 2018 12:56 am

3DME wrote:
Mon Feb 26, 2018 9:47 am
Problem Description:
I am having problems inserting rows in a spreadsheet,
Inserting Row Causes FC Daily v0.17 to crash

To re-create the problem:
Open the project,
select the spreadsheet workbench,
open the spreadsheet,
right-click mouse on row-2 and select insert row, then FreeCad crashes.
...
I've confirmed this bug, please register it in the bug tracker.

EDIT: The crash happens because of a merged cell, for some unknown reason. As a work-around, split your merged cell to avoid the crash.

Eivind
3DME
Posts: 7
Joined: Wed Apr 01, 2015 8:57 pm

Re: Spreadsheet Inserting Row Cause Crash - FC Daily v0.17

Postby 3DME » Thu Mar 01, 2018 6:50 am

Bug Tracker Login Problem:

I am trying to enter/register this to the Bug Tracker.
However, I was not successful login onto the mantis BUG TRACKER.

I get this message:

“Your account may be disabled or blocked or the username/password you entered is incorrect.”

My user name and password are valid, I use them to logo onto this forum.

Does the bug tracker use a different user name/password list?
chrisb
Posts: 17600
Joined: Tue Mar 17, 2015 9:14 am

Re: Spreadsheet Inserting Row Cause Crash - FC Daily v0.17

Postby chrisb » Thu Mar 01, 2018 6:53 am

3DME wrote:
Thu Mar 01, 2018 6:50 am
Does the bug tracker use a different user name/password list?
You have to register separatly. Of course it is sensible to use the same username. So that comments on both sides can be matched with the posters.
User avatar
Kunda1
Posts: 5227
Joined: Thu Jan 05, 2017 9:03 pm

Re: Spreadsheet Inserting Row Cause Crash - FC Daily v0.17

Postby Kunda1 » Tue Jul 31, 2018 11:00 pm

3DME wrote:
Mon Feb 26, 2018 9:47 am
@3DME please mark this thread as [Solved] per git commit d2f9ab6a111975fce69c7f29bf3b
Thanks
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features