[Libreoffice-bugs] [Bug 111818] assertion in SvxSearchItem::GetRegExp() const, srchitem.hxx:244
https://bugs.documentfoundation.org/show_bug.cgi?id=111818 Mike Kaganski changed: What|Removed |Added See Also||https://bugs.documentfounda ||tion.org/show_bug.cgi?id=11 ||9200 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 111818] assertion in SvxSearchItem::GetRegExp() const, srchitem.hxx: 244
https://bugs.documentfoundation.org/show_bug.cgi?id=111818 Commit Notification changed: What|Removed |Added Whiteboard|target:6.0.0|target:6.0.0 target:5.4.2 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 111818] assertion in SvxSearchItem::GetRegExp() const, srchitem.hxx: 244
https://bugs.documentfoundation.org/show_bug.cgi?id=111818 --- Comment #10 from Commit Notification --- Julien Nabet committed a patch related to this issue. It has been pushed to "libreoffice-5-4": http://cgit.freedesktop.org/libreoffice/core/commit/?id=bb8641f649cb53a4afe0653d641bd9907e2dfa57&h=libreoffice-5-4 tdf#111818: add SearchItem.AlgorithmType2 option It will be available in 5.4.2. 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. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 111818] assertion in SvxSearchItem::GetRegExp() const, srchitem.hxx: 244
https://bugs.documentfoundation.org/show_bug.cgi?id=111818 Terrence Enger changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #9 from Terrence Enger --- I see the bug fixed in daily Linux dbgutil bibisect repository version 2017-08-28. I am setting status VERIFIED FIXED. Thank you, Julien. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 111818] assertion in SvxSearchItem::GetRegExp() const, srchitem.hxx: 244
https://bugs.documentfoundation.org/show_bug.cgi?id=111818 --- Comment #8 from Commit Notification --- Julien Nabet committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=97cd8e4d64632bb65445cb2f395b1385a0a2a13b tdf#111818: add SearchItem.AlgorithmType2 option It will be available in 6.0.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. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 111818] assertion in SvxSearchItem::GetRegExp() const, srchitem.hxx: 244
https://bugs.documentfoundation.org/show_bug.cgi?id=111818 Commit Notification changed: What|Removed |Added Whiteboard||target:6.0.0 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 111818] assertion in SvxSearchItem::GetRegExp() const, srchitem.hxx: 244
https://bugs.documentfoundation.org/show_bug.cgi?id=111818 Julien Nabet changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 111818] assertion in SvxSearchItem::GetRegExp() const, srchitem.hxx: 244
https://bugs.documentfoundation.org/show_bug.cgi?id=111818 --- Comment #7 from Eike Rathke --- Yes, AlgorithmType2 should be included as well, though it's unclear to me how the dispatcher actually constructs an SvxSearchItem of the UNO properties. Setting properties should happen through SvxSearchItem::PutValue() just that I don't see how the property name is mapped to member ID. Anyway, try with "SearchItem.AlgorithmType2", the MID_SEARCH_ALGORITHMTYPE2 is already prepared. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 111818] assertion in SvxSearchItem::GetRegExp() const, srchitem.hxx: 244
https://bugs.documentfoundation.org/show_bug.cgi?id=111818 --- Comment #6 from Julien Nabet --- I think the pb is in impl_executeSearch more precisely here: 114 css::uno::Sequence< css::beans::PropertyValue > lArgs(7); 115 lArgs[0].Name = "SearchItem.SearchString"; 116 lArgs[0].Value <<= sFindText; 117 lArgs[1].Name = "SearchItem.Backward"; 118 lArgs[1].Value <<= aSearchBackwards; 119 lArgs[2].Name = "SearchItem.SearchFlags"; 120 lArgs[2].Value <<= (sal_Int32)0; 121 lArgs[3].Name = "SearchItem.TransliterateFlags"; 122 SvtCTLOptions aCTLOptions; 123 TransliterationFlags nFlags = TransliterationFlags::NONE; 124 if (!aMatchCase) 125 nFlags |= TransliterationFlags::IGNORE_CASE; 126 if (aCTLOptions.IsCTLFontEnabled()) 127 nFlags |= TransliterationFlags::IGNORE_DIACRITICS_CTL; 128 if (aCTLOptions.IsCTLFontEnabled()) 129 nFlags |= TransliterationFlags::IGNORE_KASHIDA_CTL; 130 lArgs[3].Value <<= (sal_Int32)nFlags; 131 lArgs[4].Name = "SearchItem.Command"; 132 lArgs[4].Value <<= (sal_Int16)(aFindAll ? 133 SvxSearchCmd::FIND_ALL : SvxSearchCmd::FIND ); 134 lArgs[5].Name = "SearchItem.AlgorithmType"; 135 lArgs[5].Value <<= (sal_Int16)0; // 0 == SearchAlgorithms_ABSOLUTE 136 lArgs[6].Name = "SearchItem.SearchFormatted"; 137 lArgs[6].Value <<= bSearchFormatted; 138 139 css::uno::Reference< css::frame::XDispatchProvider > xDispatchProvider(xFrame, css::uno::UNO_QUERY); (see https://opengrok.libreoffice.org/xref/core/svx/source/tbxctrls/tbunosearchcontrollers.cxx#135) I suppose we should add the arg "SearchItem.AlgorithmType2" with ABSOLUTE too, unless we should synchronize with options set before? -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 111818] assertion in SvxSearchItem::GetRegExp() const, srchitem.hxx: 244
https://bugs.documentfoundation.org/show_bug.cgi?id=111818 --- Comment #5 from Julien Nabet --- Rerunning the test on gdb, I found that at the assert, m_aSearchOpt.algorithmType = com::sun::star::util::SearchAlgorithms::SearchAlgorithms_ABSOLUTE (instead of css::util::SearchAlgorithms_REGEXP) -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 111818] assertion in SvxSearchItem::GetRegExp() const, srchitem.hxx: 244
https://bugs.documentfoundation.org/show_bug.cgi?id=111818 Julien Nabet changed: What|Removed |Added Blocks||105537 Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=105537 [Bug 105537] [META] Assertion failed crashes -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 111818] assertion in SvxSearchItem::GetRegExp() const, srchitem.hxx: 244
https://bugs.documentfoundation.org/show_bug.cgi?id=111818 Julien Nabet changed: What|Removed |Added CC||serval2...@yahoo.fr --- Comment #3 from Julien Nabet --- Created attachment 135561 --> https://bugs.documentfoundation.org/attachment.cgi?id=135561&action=edit bt with debug symbols On pc Debian x86-64 with master sources updated today, I could reproduce this. To reproduce this, I had to check first "Regular expressions" in "Other options" from "Find and Replace". Then, I closed this window and tried Ctrl-F (so no specific window, just the cursor which goes on box to type the expression to search), then typed something and had an assert when typing Enter. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 111818] assertion in SvxSearchItem::GetRegExp() const, srchitem.hxx: 244
https://bugs.documentfoundation.org/show_bug.cgi?id=111818 Terrence Enger changed: What|Removed |Added Keywords||bibisected, regression --- Comment #1 from Terrence Enger --- I am unable to reproduce the assertion in a local build Version: 6.0.0.0.alpha0+ Build ID: 46aba1db9a8e43da03f4db580b8dc9de7b850b00 CPU threads: 2; OS: Linux 4.9; UI render: default; VCL: gtk3; Locale: en-CA (en_CA.utf8); Calc: group configured CC=ccache /usr/bin/gcc CXX=ccache /usr/bin/g++ --enable-option-checking=fatal --enable-dbgutil --enable-debug --without-system-postgresql --without-myspell-dicts --with-extra-buildid --without-doxygen --with-external-tar=/home/terry/lo_hacking/git/src --without-package-format built and running under gdb on debian-stretch. I am setting keywords regression, bibisected. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs