When the attached spreadsheet is loaded, entering Form Design Mode immediately crashes Libre Office. Running with --backtrace shows a segfault in
accessibility::AccessibleControlShape::modeChanged (full trace attached).
The crash does not happen with other, less-complicated spreadsheets.
The crash happens even with macros DISABLED. So it is some static state in this spreadsheet which tickles the bug.
Steps to Reproduce:
1. Load attached test spreadsheet
2. DISABLE macros when prompted
3. View->Toolbars->Form Design
4. Click the left-most icon on the Form Design toolbar (enters Design Mode)
User Profile Reset: No
Note: This same spreadsheet provokes a seemingly-unrelated segfault, reported in bug 103632. That other bug happens when a macro sorts the spreadsheet. But maybe there is something about this .ods file which makes LO randomly corrupt memory or in some other way cause different segfaults to happen later.
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0
Created attachment 128418 [details]
.ods spreadsheet which provokes the crash
Created attachment 128419 [details]
Build ID: 64d3bd38c9242c1cc114f6e68bf13475ef679b73
CPU Threads: 4; OS Version: Linux 4.2; UI Render: default; VCL: gtk2; Layout Engine: old;
Locale: ca-ES (ca_ES.UTF-8); Calc: group
I can't reproduce it in
Build ID: 5b168b3fa568e48e795234dc5fa454bf24c9805e
CPU Threads: 4; OS Version: Linux 4.2; UI Render: default;
Locale: ca-ES (ca_ES.UTF-8)
Regression introduced by
author Noel Grandin <email@example.com> 2016-05-31 13:07:58 (GMT)
committer Noel Grandin <firstname.lastname@example.org> 2016-06-02 06:32:07 (GMT)
commit 8e8a88ec1ad02c153ae3c7653edc81716dc91b7a (patch)
parent b6056eabfa8583d687165e3f9656cd322230829c (diff)
Adding Cc: to Noel Grandin
David Tardon committed a patch related to this issue.
It has been pushed to "master":
tdf#103633 avoid segfault in a11y
It will be available in 5.3.0.
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.