Bug 118529 - LO crashes when on various UI actions (FreeBSD)
Summary: LO crashes when on various UI actions (FreeBSD)
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.0.2.1 release
Hardware: x86 (IA32) FreeBSD
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: wantBacktrace
Depends on:
Blocks:
 
Reported: 2018-07-03 20:53 UTC by Pelle Hjek
Modified: 2018-11-13 10:58 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pelle Hjek 2018-07-03 20:53:14 UTC
Description:
Various UI actions (that all appear related to formatting) cause LO to CRASH on FreeBSD 11.2-RELEASE on i386.


Steps to Reproduce:
There's quite a few menus that crash LO when clicked:

1. Open Calc
2. Click Format > Cells...
3. LO crashes

1. Open Calc
2. Click Format > Page...
3. LO crashes

1. Open Calc
2. Click Format > Conditional Formatting > Condition...
3. LO crashes

1. Open Calc
2. Click the downwards arrow next to Font Color
3. LO crashes

1. Open Calc
2. Click the downwards arrow next to Highlight Color
3. LO crashes

1. Open Calc
2. Click Insert > Chart...
3. LO crashes

Actual Results:
Doing any of the above closes the LO Calc window and shows the dialog: "Due to an unexpected error, LibreOffice crashed. [...]"

Expected Results:
I'd expected the appropriate UI action to be performed, e.g. a formatting dialog to be shown, or a color menu to be shown, or a chart to be inserted, etc.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Tried disabling OpenGL, but this didn't solve the issue. Tried deleting LO user settings dir, but didn't solve the issue.
Comment 1 Xisco Faulí 2018-07-03 21:14:47 UTC
Does it crash if you call LibreOffice like SAL_USE_VCLPLUGIN=gen soffice ?

Could you please paste the info from Help - about LibreOffice ?

I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' once the information has been provided
Comment 2 Pelle Hjek 2018-07-03 21:23:07 UTC
When I run LO with `SAL_USE_VCLPLUGIN=gen soffice`, the crashes still happen.

The info from Help > About LibreOffice:

Version: 6.0.2.1.0+
Build ID: FreeBSD ports 6.0.2_3
CPU threads: 2; OS: FreeBSD 11.2; UI render: default; VCL: x11;
Comment 3 Julien Nabet 2018-07-04 07:57:05 UTC
Just to be sure it's not due to LO profile, could you rename LO profile and give a new try? (see https://wiki.documentfoundation.org/UserProfile#GNU.2FLinux)

Could you give a try to last stable LO version 6.0.5? Indeed some crashes may have been already fixed.


If you still reproduce this, would it be possible you attach a backtrace? (see https://wiki.documentfoundation.org/QA/BugReport/Debug_Information#GNU.2FLinux:_How_to_get_a_backtrace)
Comment 4 Pelle Hjek 2018-07-04 10:59:40 UTC
I've cleared the user profile, but the crashes still happen.

I'll try compiling LO from git, but I doubt whether I'll be able to on my XP-era laptop. If it works, I'll check if it's an issue in latest version.

Stack trace from LO 6.0.2.1 from the crash when selecting Font Color:

Program received signal SIGSEGV, Segmentation fault.
0x00e85657 in ?? ()
#0  0x00e85657 in ?? ()
#1  0x3017bd8d in com_sun_star_comp_extensions_xml_sax_ParserExpat_get_implementation () from /usr/local/lib/libreoffice/program/../program/libexpwraplo.so
#2  0x3017c26f in com_sun_star_comp_extensions_xml_sax_ParserExpat_get_implementation () from /usr/local/lib/libreoffice/program/../program/libexpwraplo.so
#3  0x2bd17703 in non-virtual thunk to SvXMLLegacyToFastDocHandler::setDocumentLocator(com::sun::star::uno::Reference<com::sun::star::xml::sax::XLocator> const&) () from /usr/local/lib/libreoffice/program/libxolo.so
#4  0x2bd0bf7d in SvXMLImport::SvXMLImport () from /usr/local/lib/libreoffice/program/libxolo.so
#5  0x2a49c20a in com_sun_star_comp_Svx_GraphicExportHelper_get_implementation () from /usr/local/lib/libreoffice/program/libsvxcorelo.so
#6  0x2a49c8a1 in com_sun_star_comp_Svx_GraphicExportHelper_get_implementation () from /usr/local/lib/libreoffice/program/libsvxcorelo.so
#7  0x3423efc0 in ?? ()
#8  0xbfbfda70 in ?? ()
#9  0xbfbfdb50 in ?? ()
#10 0xbfbfda78 in ?? ()
#11 0x00000000 in ?? ()
Comment 5 Julien Nabet 2018-07-04 11:28:10 UTC
Thank you for the reply.
Before building LO, you can give a try to LO 6.0.5.
I never used BSD distros, just heard about them. Perhaps https://www.freshports.org/editors/libreoffice/ may help to retrieve last stable LO version

You might also been interested in https://dev-builds.libreoffice.org/daily/
but you must know that you'll have to deal with dependencies.
Indeed, for Linux/*BSD parts, this link is mainly used by distrib repo maintainers.
Comment 6 Susan Gessing 2018-07-04 20:37:15 UTC
I repeated all steps for the following 2 builds. All dialogs opened with no issues except for the Format->Cells in 6.0.5.2. When I selected this, LO "almost" crashed. What I mean is it took several seconds and the "not responding" message appeared right before the Format Cells dialog finally appeared. It did appear though. (when I selected this option later, after reopening LO, the dialog came up without hesitation, so none of this may matter, but I brought it up just in case).

Version: 6.0.5.2 (x64)
Build ID: 54c8cbb85f300ac59db32fe8a675ff7683cd5a16
CPU threads: 4; OS: Windows 6.3; UI render: GL; 
Locale: en-US (en_US); Calc: CL

and

Version: 6.2.0.0.alpha0+
Build ID: b1740fba0d1e6e3d69c3781734509317f42a0e4f
CPU threads: 4; OS: Windows 6.3; UI render: GL; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-06-15_08:49:04
Locale: en-US (en_US); Calc: CL
Comment 7 Julien Nabet 2018-07-05 18:42:34 UTC
(In reply to Susan Gessing from comment #6)
> I repeated all steps for the following 2 builds. All dialogs opened with no
> issues except for the Format->Cells in 6.0.5.2. When I selected this, LO
> "almost" crashed. What I mean is it took several seconds and the "not
> responding" message appeared right before the Format Cells dialog finally
> appeared. It did appear though. (when I selected this option later, after
> reopening LO, the dialog came up without hesitation, so none of this may
> matter, but I brought it up just in case).
> 
> Version: 6.0.5.2 (x64)
> Build ID: 54c8cbb85f300ac59db32fe8a675ff7683cd5a16
> CPU threads: 4; OS: Windows 6.3; UI render: GL; 
> Locale: en-US (en_US); Calc: CL
> 
> and
> 
> Version: 6.2.0.0.alpha0+
> Build ID: b1740fba0d1e6e3d69c3781734509317f42a0e4f
> CPU threads: 4; OS: Windows 6.3; UI render: GL; 
> TinderBox: Win-x86@42, Branch:master, Time: 2018-06-15_08:49:04
> Locale: en-US (en_US); Calc: CL

I noticed LO uses OpenGL in your case. Could you check your graphic card driver is up-to-date?
Also, for the test could you disable OpenGL (see https://wiki.documentfoundation.org/QA/FirstSteps)?
Comment 8 Pelle Hjek 2018-07-06 13:37:52 UTC
Hi,

I installed LO 6.0.5, then cleaned the profile, `rm -r .config/libreoffice`, and started LO,`SAL_USE_VCLPLUGIN=gen soffice --backtrace`. This is the text in Help > About LibreOffice:

Build ID: FreeBSD ports 6.0.5_1
CPU threads: 2; OS: FreeBSD 11.2; UI render: default; VCL: x11;

Below is the complete gdbtrace.log for LO crash when clicking the little arrow to select font color.

(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...warning: Lowest section in /usr/local/lib/libicudata.so.62 is .hash at 000000b4
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x00e85657 in ?? ()
#0  0x00e85657 in ?? ()
#1  0x2fc9fd8d in com_sun_star_comp_extensions_xml_sax_ParserExpat_get_implementation () from /usr/local/lib/libreoffice/program/../program/libexpwraplo.so
#2  0x2fca026f in com_sun_star_comp_extensions_xml_sax_ParserExpat_get_implementation () from /usr/local/lib/libreoffice/program/../program/libexpwraplo.so
#3  0x2bd179d3 in non-virtual thunk to SvXMLLegacyToFastDocHandler::setDocumentLocator(com::sun::star::uno::Reference<com::sun::star::xml::sax::XLocator> const&) () from /usr/local/lib/libreoffice/program/libxolo.so
#4  0x2bd0c06d in SvXMLImport::SvXMLImport () from /usr/local/lib/libreoffice/program/libxolo.so
#5  0x2a49c11a in com_sun_star_comp_Svx_GraphicExportHelper_get_implementation () from /usr/local/lib/libreoffice/program/libsvxcorelo.so
#6  0x2a49c7b1 in com_sun_star_comp_Svx_GraphicExportHelper_get_implementation () from /usr/local/lib/libreoffice/program/libsvxcorelo.so
#7  0x2fba1b40 in ?? ()
#8  0xbfbfdc30 in ?? ()
#9  0xbfbfdd10 in ?? ()
#10 0xbfbfdc38 in ?? ()
#11 0x00000000 in ?? ()
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...warning: Lowest section in /usr/local/lib/libicudata.so.62 is .hash at 000000b4
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
Comment 9 Pelle Hjek 2018-07-06 13:42:08 UTC
> When I selected this, LO "almost" crashed. What I mean is it took several seconds and the "not responding" message appeared right before the Format Cells dialog finally appeared.

Susan Gessing, I think the "almost-crash" you're experiencing on Windows might be different, as the one I've reported is an always-reproducible instant crash on FreeBSD. (I also run LO on Arch and it's not crashing there, so this particular crash might be OS specific.)
Comment 10 Susan Gessing 2018-07-06 16:24:32 UTC
Pelle,

Thank you for the information. I just thought I'd mention it just in case it helped give more details about your bug. I'm glad my minor issue is not a bug. So, I'm assuming that what your saying is that we can consider that Windows is one of the operating systems that this bug can not be reproduced in.
Comment 11 Buovjaga 2018-07-16 17:29:30 UTC
(In reply to Pelle Hjek from comment #4)
> I'll try compiling LO from git, but I doubt whether I'll be able to on my
> XP-era laptop. If it works, I'll check if it's an issue in latest version.

The laptop might indeed explode from the strain, but if you do get the chance to build it on something more recent, you could use the --enable-symbols build option. With this you get debug symbols which will result in a more informative backtrace of the crash.
Comment 12 Xisco Faulí 2018-10-18 14:32:54 UTC
(In reply to Buovjaga from comment #11)
> (In reply to Pelle Hjek from comment #4)
> > I'll try compiling LO from git, but I doubt whether I'll be able to on my
> > XP-era laptop. If it works, I'll check if it's an issue in latest version.
> 
> The laptop might indeed explode from the strain, but if you do get the
> chance to build it on something more recent, you could use the
> --enable-symbols build option. With this you get debug symbols which will
> result in a more informative backtrace of the crash.

Hi Pelle Hjek,
Did you have the chance to build LibreOffice locally with symbols?
OTOH, is it still crashing for you in LibreOffice 6.1.2.1 ?

I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the bug is still present in the latest version.
Comment 13 Pelle Hjek 2018-11-05 17:30:07 UTC
> Did you have the chance to build LibreOffice locally with symbols?

No, sorry, my laptop doesn't have enough memory to compile it.