Description: 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) Actual Results: Immediate crash Expected Results: No crash Reproducible: Always User Profile Reset: No Additional Info: 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] gdb backtrace
Confirmed in Version: 5.3.0.0.alpha1+ 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 Version: 5.2.0.0.alpha1+ 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 <noel@peralex.com> 2016-05-31 13:07:58 (GMT) committer Noel Grandin <noelgrandin@gmail.com> 2016-06-02 06:32:07 (GMT) commit 8e8a88ec1ad02c153ae3c7653edc81716dc91b7a (patch) tree 6762b644bdfbadeaacea13c05abb23b8c95e1efe parent b6056eabfa8583d687165e3f9656cd322230829c (diff) loplugin:unusedfields Adding Cc: to Noel Grandin
David Tardon committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=4a83464f718ba8534a738178670077d5636ad051 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: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.