In a debug build: - create a spreadsheet - start the function wizard - click 'Next' - insert a character into the 'Number' text field - insert a double quote _before_ that character ->assertion from rtl_uString_newFromSubString() sal3.dll!rtl_uString_newFromSubString(_rtl_uString * * ppThis, const _rtl_uString * pFrom, long beginIndex, long count) Line 1398 C++ foruilo.dll!rtl::OUString::copy(long beginIndex, long count) Line 1721 C++ foruilo.dll!formula::FormulaDlg_Impl::EditThisFunc(long nFStart) Line 1168 C++ foruilo.dll!formula::FormulaDlg_Impl::MakeTree(formula::IStructHelper * _pTree, SvTreeListEntry * pParent, formula::FormulaToken * _pToken, long Count) Line 720 C++ foruilo.dll!formula::FormulaDlg_Impl::fillTree(formula::IStructHelper * _pTree) Line 779 C++ foruilo.dll!formula::FormulaDlg_Impl::CalcStruct(const rtl::OUString & rStrExp) Line 647 C++
On pc Debian x86-64 with master sources updated today, I could reproduce this. Here are params: #4 0x00002aaaaad11d0a in rtl_uString_newFromSubString(rtl_uString**, rtl_uString const*, sal_Int32, sal_Int32) (ppThis=0x7fffffff2880, pFrom=0x3693170, beginIndex=1, count=8) at /home/julien/compile-libreoffice/libreoffice/sal/rtl/strtmpl.cxx:1398 #5 0x00002aaad8e1275a in rtl::OUString::copy(int, int) const (this=0x7fffffff28d0, beginIndex=1, count=8) at /home/julien/compile-libreoffice/libreoffice/include/rtl/ustring.hxx:1721 #6 0x00002aaad8e0d373 in formula::FormulaDlg_Impl::EditThisFunc(int) (this=0x3946850, nFStart=0) at /home/julien/compile-libreoffice/libreoffice/formula/source/ui/dlg/formula.cxx:1168 Some gdb session: (gdb) p PrivStart $17 = 1 (gdb) p PrivEnd $18 = 9 (gdb) p aFormula $19 = "=ABS(\"a)" So double quotes escaped counts for 2 not 1.
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present on a currently supported version of LibreOffice (5.1.5 or 5.2.1 https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 4b. If the bug was not present in 3.3 - add "regression" to keyword Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug-20160920
On pc Debian x86-64 with master sources updated yesterday or with LO Debian package 5.2.5, I don't reproduce this anymore. Let's put this one to WFM. Oliver: don't hesitate to reopen this tracker if you still reproduce this.