Bug 98912 - Calc crashes when editing chart.
Summary: Calc crashes when editing chart.
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
Version:
(earliest affected)
5.1.1.3 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace
Depends on:
Blocks: Chart
  Show dependency treegraph
 
Reported: 2016-03-26 20:38 UTC by nj.hutchison
Modified: 2017-05-25 06:34 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Libeoffice spreadsheet exhibiting crash on chart edit. (38.22 KB, application/vnd.oasis.opendocument.spreadsheet)
2016-03-26 20:38 UTC, nj.hutchison
Details
Debug file attached as requested. (36.03 KB, text/plain)
2016-04-08 12:07 UTC, nj.hutchison
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nj.hutchison 2016-03-26 20:38:56 UTC
Created attachment 123876 [details]
Libeoffice spreadsheet exhibiting crash on chart edit.

Chart is line graph showing daily prices for a fund. The attached spreadsheet has been simplified but still exhibits the fault. The spreadsheet was created about 2/6/2015 with a previous version of Libreoffice.

The program crashes on attempting to extend the x axis (by typing new column id into category text box) or to delete one of the redundant data series titles.
Comment 1 nj.hutchison 2016-03-26 20:40:41 UTC
System is AMD 64 bit Windows 10.
Comment 2 m_a_riosv 2016-03-26 23:01:51 UTC
I can't reproduce.
Win10x64
Version: 5.1.2.1 (x64)Build ID: 2603b69c5ec5981bb5f053f8ebfd1f3de00a4c29
CPU Threads: 4; OS Version: Windows 6.19; UI Render: GL; 

Please test disabling the option:
Menu/Tools/Options/LibreOffice/View - Graphics output - Use OpenGL...
Comment 3 Buovjaga 2016-04-07 09:56:45 UTC
Changed LE to LF in the data range, but no crash.

Win 7 Pro 64-bit Version: 5.2.0.0.alpha0+
Build ID: 7a7be32e5265f897174f3880adc061dac0203f1f
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2016-03-31_07:39:11
Locale: fi-FI (fi_FI)
Comment 4 Buovjaga 2016-04-07 09:57:09 UTC
Please give us the full info in About LibreOffice dialog.

Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the information.
Comment 5 nj.hutchison 2016-04-07 16:36:00 UTC
Info from About LibreOffice dialog:

Version: 5.1.1.3
Build ID: 89f508ef3ecebd2cfb8e1def0f0ba9a803b88a6d
CPU Threads: 4; OS Version: Windows 6.2; UI Render: GL; 
Locale: en-GB (en_GB)
Comment 6 Buovjaga 2016-04-07 16:41:09 UTC
(In reply to nj.hutchison from comment #5)
> CPU Threads: 4; OS Version: Windows 6.2; UI Render: GL; 

This seems to be the key.

Copy and paste to us the contents of:
C:\Users\User\AppData\Roaming\LibreOffice\4\cache\opengl_device.log

Disable this option and restart LibreOffice and try to make it crash:
Tools - Options - LibreOffice - View - Use OpenGL for all rendering
Comment 7 nj.hutchison 2016-04-07 16:48:05 UTC
Contents of C:\Users\User\AppData\Roaming\LibreOffice\4\cache\opengl_device.log:

DriverVersion: 10.18.13.5906
DriverDate: 11-24-2015
DeviceID: PCI\VEN_10DE&DEV_11C0&SUBSYS_11C010B0&REV_A1
AdapterVendorID: 0x10de
AdapterDeviceID: 0x11c0
AdapterSubsysID: 0x11c010b0
DeviceKey: System\CurrentControlSet\Control\Video\{D1D67B5F-F815-4C6C-AAAD-B2438FF5A9D9}\0000
DeviceString: NVIDIA GeForce GTX 660
Comment 8 Buovjaga 2016-04-08 05:43:39 UTC
What are your results after disabling OpenGL?
Comment 9 nj.hutchison 2016-04-08 07:38:51 UTC
Disabled openGL in tools/options/view and restarted Libreoffice. Still crashes on attempting to change chart data series/categories from $prices.$D$1:$LE$1 to $prices.$D$1:$LF$1. Selected LF. Crash occurs after keying first character (L). Hope that helps.
Comment 10 Buovjaga 2016-04-08 08:38:37 UTC
Ok, as we testers are unable to make it crash, you could try this process of getting a backtrace: https://wiki.documentfoundation.org/How_to_get_a_backtrace_with_WinDbg

If you need help with the steps, join IRC and ask https://webchat.freenode.net/?channels=#libreoffice-qa
Comment 11 nj.hutchison 2016-04-08 12:07:49 UTC
Created attachment 124186 [details]
Debug file attached as requested.

Followed instructions in Wiki. Hope I've done it correctly.
Comment 12 Buovjaga 2016-04-08 12:19:22 UTC
Thanks. I'm not a developer, so not sure how useful the trace is (you did it correctly nevertheless).

Could you test with a fresh master build to see, if the problem still exists in it: http://dev-builds.libreoffice.org/daily/master/Win-x86@62-merge-TDF/current/

It installs separately and won't mess with your stable installation.
Comment 13 raal 2016-05-11 12:36:16 UTC
No crash with Version: 5.2.0.0.alpha1+; win7
Comment 14 Buovjaga 2016-07-18 08:57:49 UTC
A crash on inserting chart was reported as fixed in version 5.2: bug 100812
NJ: could you test with 5.2 to see, if it still crashes for you?
http://www.libreoffice.org/download/pre-releases/

Set to NEEDINFO.
Change back to UNCONFIRMED, if the problem persists. Change to RESOLVED WORKSFORME, if the problem went away.
Comment 15 nj.hutchison 2016-08-09 21:01:45 UTC
Tested  with LO 5.2.0.4 in Win 10 system. Fixed, Thanks.