Hi, step to reproduce:
- add some text to a writer document
- set the cursor in the text
- Ctrl+F2 or Insert > Field > Others
- choose Input field under Function tab
==> Writer crashes
When launching Writer again, the Field dialog is still open on the first tab.
Build ID: 7ef698355ad59c6fa263daa4ded124cf512e8926
TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:master, Time: 2014-10-27_09:37:25 Ubuntu 14.04 x64 - Sophie
Created attachment 108574 [details]
Linux 4.4 master backtrace
Confirmed on Linux / 4.4 master (I suspect this is platform independent but I don't have an OSX master build ready)
Looks like a fatal assert, which would trip on a dbgutil build but not a release build
Same crash on OSX / 4.4 master, so setting platform to All
Created attachment 108660 [details]
On pc Debian x86-64 with master sources updated about 10 days ago, I could reproduce the problem.
The attached naive patch prevents from crashing.
However, perhaps it's more complicated than this.
(In reply to sophie from comment #0)
> Hi, step to reproduce:
> - add some text to a writer document
> - set the cursor in the text
> - Ctrl+F2 or Insert > Field > Others
(For me, the labels are "Insert -> Fields -> More Fields")
> - choose Input field under Function tab
(For me, label is "Functions")
> ==> Writer crashes
Testing with 126.96.36.199.alpha1 (Build ID: e73cb2cc40530caa75d588833c4b690e4f49f630) + Ubuntu 14.04
Hmm... I wonder if this just showed up in Master, as I'm not seeing it with this alpha1 build.
Confirmed on Win 7. Field dialog was still open when launching LO again after crash.
Build ID: 56019dcb79475606952a954fe732a3109441ffec
TinderBox: Win-x86@39, Branch:master, Time: 2014-10-30_07:27:11
On pc Debian x86-64 with LO Debian package 188.8.131.52, I don't reproduce this
Looking at git history of the file sw/source/uibase/wrtsh/wrtsh2.cxx, it seems due or triggered by this:
Michael: any thoughts?
(meanwhile I increase the importance since it's a crash + regression + impact all platforms)
oops that was my fault, thanks Julien for tracking down the commit!
fixed on master
Julien Nabet committed a patch related to this issue.
It has been pushed to "master":
fdo#85562: sw: fix crash on insert of input field and set variable field
It will be available in 4.4.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.
Hi, tested it today with Version: 184.108.40.206.alpha1+
Build ID: b7d8a58ff2698ffc6e22943f64aa97c5ea253bd9
TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:master, Time: 2014-11-04_23:38:58
No crash, works as expected - Thanks a lot Julien and Michael :) set as Verified - Sophie