Description: Crash swlo!SwNumRule::MakeNumString Steps to Reproduce: 1. Open attachment 165096 [details] (bug 122792) 2. CTRL+A 3. CTRL+X 4. CTRL+V -> Crash 5. Wait for save file.. 6. Crash again Actual Results: Crash Expected Results: No crash Reproducible: Always User Profile Reset: No Additional Info: Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 6ee7a3b2c0565c2871d32d704cb2899445b9f88d CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win Locale: nl-NL (nl_NL); UI: en-US Calc: CL
Created attachment 169095 [details] Example file somewhat reduced
warn:legacy.osl:3732:8520:sw/source/core/fields/reffld.cxx:775: <SwGetRefField::MakeRefNumStr(..)> - referenced paragraph has number, but no <SwNodeNum> instance!
Comment on attachment 169095 [details] Example file somewhat reduced Not working
Crash reproduced in step 4 Version: 7.2.0.0.alpha0+ / LibreOffice Community Build ID: 40b56cd8da8c38582dc4660b486993d1b4711535 CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded
Also reproduced in Version: 6.4.0.0.alpha1+ Build ID: 9bc848cf0d301aa57eabcffa101a1cf87bad6470 CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3; Locale: en-US (en_US.UTF-8); UI-Language: en-US Calc: threaded
Not reproducible in Version: 5.4.0.0.alpha1+ Build ID: 9feb7f7039a3b59974cbf266922177e961a52dd1 CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3; Locale: en-US (en_US.UTF-8); Calc: group
This seems to have begun at the below commit. Adding Cc: to Michael Stahl ; Could you possibly take a look at this one? Thanks bibisect-linux-64-6.3$ 63dec39f2e1dab30a4c3ea8bdcea290600cf6983 is the first bad commit commit 63dec39f2e1dab30a4c3ea8bdcea290600cf6983 Author: Jenkins Build User <tdf@pollux.tdf> Date: Tue Dec 18 22:07:56 2018 +0100 source 32902f66e7749b2d06d13f50416be5323a0c0ea9 commit 32902f66e7749b2d06d13f50416be5323a0c0ea9 [log] author Michael Stahl <Michael.Stahl@cib.de> Fri Nov 30 17:54:41 2018 +0100 committer Michael Stahl <Michael.Stahl@cib.de> Tue Dec 18 17:55:30 2018 +0100 tree 901ab6577d25102c0a855d2a63964dfef67b34c4 parent b310378e874bc8fa7005352fcd85fa64eb075f54 [diff] sw_redlinehide: make layout based Show/Hide mode the default
(In reply to raal from comment #7) > This seems to have begun at the below commit. > Adding Cc: to Michael Stahl ; Could you possibly take a look at this one? > Thanks > bibisect-linux-64-6.3$ > 63dec39f2e1dab30a4c3ea8bdcea290600cf6983 is the first bad commit > commit 63dec39f2e1dab30a4c3ea8bdcea290600cf6983 > Author: Jenkins Build User <tdf@pollux.tdf> > Date: Tue Dec 18 22:07:56 2018 +0100 > > source 32902f66e7749b2d06d13f50416be5323a0c0ea9 > > commit 32902f66e7749b2d06d13f50416be5323a0c0ea9 [log] > author Michael Stahl <Michael.Stahl@cib.de> Fri Nov 30 17:54:41 2018 +0100 > committer Michael Stahl <Michael.Stahl@cib.de> Tue Dec 18 17:55:30 2018 +0100 > tree 901ab6577d25102c0a855d2a63964dfef67b34c4 > parent b310378e874bc8fa7005352fcd85fa64eb075f54 [diff] > > sw_redlinehide: make layout based Show/Hide mode the default The bisection is not correct. The commits just moves the feature out of experimental mode. You have to bisect it further with experimental mode enabled
copying comments from bug 136409: [tag] [reply] [−] Comment 6 Telesto 2020-09-03 20:04:10 CEST Crash with 6.3 No crash on paste with 6.2 [tag] [reply] [−] Comment 7 Terrence Enger 2020-09-23 19:30:36 CEST Created attachment 165798 [details] bibisect-linux-64-6.3, tail of terminal output Working in bibisect-linux-64-6.3 repository on debian-buster, I find the bug started: commit s-h date -------- -------- ------------------- good 717ce60f 43a7231c 2018-11-15 14:10:06 bad f7287b31 ae246b44 2018-11-15 14:10:06 for which the commit message is commit ae246b44da1708417aaaefe4f9186cfbbb9a9137 Author: Michael Stahl <Michael.Stahl@cib.de> AuthorDate: Wed Nov 7 14:16:28 2018 +0100 Commit: Michael Stahl <Michael.Stahl@cib.de> CommitDate: Thu Nov 15 15:10:06 2018 +0100 sw_redlinehide_3: add second result to SwGetRefField ... and init it in SwGetRefField::UpdateField(). Change-Id: I69af00678e84214d4a122d8b2d940fcdda5f4ccf I waited for CPU usage to return to 0% before each operation. This introduces considerable delay, especially between first rendering of the document and <Ctrl>+A. When I probed the "good" versions, after LibreOffice correctly responded to <Ctrl>+V, I continued with 5. CTRL+Q ALT+D the <Alt>+D being a reponse to the question about saving the document before quitting.) In the probes of versions closest the first bad version, LibreOffice promptly closed the Writer window and then finished normally after about 3 more minutes with 100% CPU. However, two probes of the earliest versions in the repository, upon <Ctrl>+Q <Alt>+D, crashed with a Signal 6. A backtrace from this crash looks quite different from the backtrace from a crash upon <Ctrl>+V. I am removing keyword bibisectRequest and adding bibisected, bisected. [tag] [reply] [−] Comment 8 Terrence Enger 2020-09-23 19:40:16 CEST Created attachment 165799 [details] backtrace from master This backtrace is from a local build of commit b42d5557, 2020-09-10, built and running on debian-buster, configured: --with-vendor=Terrence Enger --with-jdk-home=/usr/lib/jvm/default-java --enable-split-debug --enable-gdb-index --enable-ld=gold --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 I am removing keyword wantBacktrace and adding haveBacktrace.
Michael Stahl committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/cc02c0e32fda654cb4bcb93f87ceb48b356e1d84 tdf#139843 sw_redlinehide: fix crash while updating reference fields It will be available in 7.4.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
fixed on master
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-7-3": https://git.libreoffice.org/core/commit/b96b996db44810a1577ffbbc8ebe5518ca9b3f1f tdf#139843 sw_redlinehide: fix crash while updating reference fields It will be available in 7.3.0.0.beta2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-7-2": https://git.libreoffice.org/core/commit/0d05c7a566f0fd9660c48b3efb74d3c3d969226d tdf#139843 sw_redlinehide: fix crash while updating reference fields It will be available in 7.2.6. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-7-2-5": https://git.libreoffice.org/core/commit/bcaded18437e2421de2011d24e5d611af4e1ddf3 tdf#139843 sw_redlinehide: fix crash while updating reference fields It will be available in 7.2.5. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Xisco Fauli committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/3ed01498d10b0eca08453eb29fcc2c59c33d2467 tdf#139843: sw_uiwriter3: Add unittest It will be available in 7.4.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.